crop_image ( Image : ImagePart : Row, Column, Width, Height : )
Cut out a rectangular image area.
The operator crop_image cuts a rectangular area from the
input images. The area is indicated by a rectangle (upper left
corner and size). The area must be within the image. The
definition domain includes all pixels of the new image. The new
image matrix has the size of a rectangle.
Parameters
Image (input_object)
|
(multichannel-)image(-array) -> object
|
Input image. |
ImagePart (output_object)
|
(multichannel-)image(-array) -> object
|
Image area |
Row (input_control)
|
rectangle.origin.y -> integer
|
Line index of upper left corner of image area. |
Default value: 100 |
Suggested values: 10, 20, 50, 100, 200, 300, 500 |
Range of values: 0 <= Row <= 1024 |
Column (input_control)
|
rectangle.origin.x -> integer
|
Column index of upper left corner of image area. |
Default value: 100 |
Suggested values: 10, 20, 50, 100, 200, 300, 500 |
Range of values: 0 <= Column <= 1024 |
Width (input_control)
|
rectangle.extent.x -> integer
|
Width of new image. |
Default value: 128 |
Suggested values: 32, 64, 128, 256, 512, 768 |
Range of values: 0 <= Width <= 1024 |
Height (input_control)
|
rectangle.extent.y -> integer
|
Height of new image. |
Default value: 128 |
Suggested values: 32, 64, 128, 256, 512, 525 |
Range of values: 0 <= Height <= 1024 |
Possible Successors
disp_image
Alternatives
change_format,
reduce_domain
See also
zoom_image1,
zoom_image2
Copyright © 1996-1997 MVTec Software GmbH