zoom_image1 ( Image : ImageZoom : Interpolation, Width, Height : )
Zoom an image to a given size.
zoom_image1 scales the image Image to the
size given by Width and Height. The parameter
Interpolation determines the type of interpolation used
(see image_transform__).
Parameters
Image (input_object)
|
(multichannel-)image(-array) -> object : byte
|
Input image. |
ImageZoom (output_object)
|
(multichannel-)image(-array) -> object : byte
|
Scaled image. |
Interpolation (input_control)
|
integer -> integer
|
Type of interpolation. |
Default value: 1 |
List of values: 0, 1, 2 |
Width (input_control)
|
extent.x -> integer
|
Width of the resulting image. |
Default value: 512 |
Suggested values: 128, 256, 512 |
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 |
Range of values: 2 <= Height <= 512 |
Minimum increment: 1
|
Recommended increment: 10
|
Example
read_image(:Image:'affe':) >
disp_image(Image:::) >
zoom_image1(Image:ZooImage:0,200,200:).
disp_image(ZooImage:::) >
Alternatives
zoom_image2,
image_transform__,
image_scale
See also
image_scale,
image_transform__
Copyright © 1996-1997 MVTec Software GmbH