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) -> Hobject: HImage(Array) ( byte / int2 ) |
| Input image. | |
|
ImageZoom (output_object) |
(multichannel-)image(-array) -> Hobject * : HImage(Array) ( byte / int2 ) |
| Scaled image. | |
|
Width (input_control) |
extent.x -> HTuple.long |
| 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 -> HTuple.long |
| 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 -> HTuple.char * |
| 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_factor, ::affine_trans_image, ::hom_mat2d_scale
::hom_mat2d_scale, ::affine_trans_image
Image filters