next up previous contents index
Next: fzrt Up: Reference Previous: funzoom   Contents   Index

fzoom

$ \bigcirc$Name


fzoom Zoom of a floating point image




$ \bigcirc$Command Synopsis


fzoom [-x] [-y] [-X zoom] [-o o] [-p p] [-i] in out



-x : to zoom only in the x direction

-y : to zoom only in the y direction

-X zoom : zoom factor (default 2.0)

-o o : order: 0,1,-3,3,5,..11 (zoom) / 0..5 (unzoom) default 0

-p p : Keys' parameter (when o=-3), in [-1,0], default -0.5

-i : apply inverse zooming

in : input Fimage

out : output Fimage




$ \bigcirc$Function Summary


Fimage fzoom (in , out , x_flg , y_flg , zoom , o , p , i_flg )

Fimage in , out ;

char *x_flg , *y_flg , *i_flg ;

float *zoom , *p ;

int *o ;




$ \bigcirc$Description


This module performs a zoom of an image using floating point representation. The zoom ratio factor may be a float number.


If the -i option is specified, the funzoom module is called with tx = ty = 0, the same zoom factor and the corresponding spline order. In this case, the -p, -x and -y options have no effect, and the order is limited to {0, 1, 2, 3, 4, 5}.


If not, the fcrop module is called with the same order options (-o, -p) to produce an image magnified by factor.


Notice that fzoom -X 0.5 and fzoom -i -X 2 will not have the same effect: the first one will produce aliasing (at zero order (o=0), the first one is a 2x2 subsampling while the second one is a 2x2 averaging).




$ \bigcirc$See Also


fcrop, funzoom.

czoom, fview.


$ \bigcirc$Version 2.01


Last Modification date : Wed Apr 9 21:09:13 2003


$ \bigcirc$Author


Lionel Moisan






next up previous contents index
Next: fzrt Up: Reference Previous: funzoom   Contents   Index
mw 2004-05-05