Zoom an image by a given factor.
zoom_image_factor scales the image Image by a factor of ScaleWidth in width and a factor ScaleHeight in height. The parameter Interpolation determines the type of interpolation used (see affine_trans_image).
|
Image (input_object) |
(multichannel-)image(-array) -> object : byte / int2 / uint2 / real |
| Input image. | |
|
ImageZoomed (output_object) |
(multichannel-)image(-array) -> object : byte / int2 / uint2 / real |
| Scaled image. | |
|
ScaleWidth (input_control) |
extent.x -> real |
| Scale factor for the width of the image. | |
| Default value: 0.5 | |
| Suggested values: 0.25, 0.5, 1.5, 2.0 | |
| Typical range of values: 0.001 <= ScaleWidth <= 10.0 | |
| Minimum increment: 0.001 | |
|
Recommended increment: 0.1 | |
|
ScaleHeight (input_control) |
extent.y -> real |
| Scale factor for the height of the image. | |
| Default value: 0.5 | |
| Suggested values: 0.25, 0.5, 1.5, 2.0 | |
| Typical range of values: 0.001 <= ScaleHeight <= 10.0 | |
| Minimum increment: 0.001 | |
|
Recommended increment: 0.1 | |
|
Interpolation (input_control) |
string -> string |
| Type of interpolation. | |
| Default value: 'constant' | |
| List of values: 'none', 'constant', 'weighted' | |
read_image(Image,'affe') disp_image(Image,WindowHandle) zoom_image_factor(Image,ZooImage,0,0.5,0.5). disp_image(ZooImage,WindowHandle)
zoom_image_factor is reentrant and automatically parallelized (on tuple level, channel level).
zoom_image_factor, affine_trans_image, hom_mat2d_scale
hom_mat2d_scale, affine_trans_image
Image filters