Zoom an image to a given size.
zoom_image_size scales the image Image to the size given by Width and 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. | |
|
ImageZoom (output_object) |
(multichannel-)image(-array) -> object : byte / int2 / uint2 / real |
| Scaled image. | |
|
Width (input_control) |
extent.x -> integer |
| Width of the resulting image. | |
| Default value: 512 | |
| Suggested values: 128, 256, 512 | |
| Typical range of values: 2 <= Width <= 512 | |
| Minimum increment: 1 | |
|
Recommended increment: 10 | |
|
Height (input_control) |
extent.y -> integer |
| Height of the resulting image. | |
| Default value: 512 | |
| Suggested values: 128, 256, 512 | |
| Typical range of values: 2 <= Height <= 512 | |
| Minimum increment: 1 | |
|
Recommended increment: 10 | |
|
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_size(Image,ZooImage,0,200,200). disp_image(ZooImage,WindowHandle)
zoom_image_size 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