PANDORE Version 6 GREYC-IMAGE

psubsampling



Sub-sampling of an image.



Synopsis

psubsampling factor [im_in|-] [im_out|-]

Description

The operator psubsampling builds a new image with a subsampled version of the input image. Subsampling consists in spliting the input image into tiles of size factor x factor and setting all the pixels in each tile with the mean value of the tile.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

See also

Miscellaneous.

C++ prototype

Errc PSubsampling( const Img2duc &im_in, Img2duc &im_out, int factor );

Author: Régis Clouard