next up previous contents index
Next: czoom Up: Reference Previous: cmzoom   Contents   Index


$ \bigcirc$Name

csample sampling of a cimage

$ \bigcirc$Command Synopsis

csample in out step

in : input image

out : sampled image

step : new grid step (factor of sampling)

$ \bigcirc$Function Summary

Cimage csample (in , out , step )

Cimage out , in ;

double step ;

$ \bigcirc$Description

The input is decomposed into square blocks of size reduction×reduction. From each block, we extract the upper left pixel, to synthetize the sampled image.

$ \bigcirc$Version 1.2

Last Modification date : Thu Nov 29 20:23:56 2001

$ \bigcirc$Author

Jacques Froment, Regis Monneau

mw 2004-05-05