Cut out a rectangular image area.
The operator crop_rectangle1 cuts a rectangular area from the input images. The area is indicated by a rectangle (upper left and lower right corner). 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.
|
Image (input_object) |
(multichannel-)image(-array) -> object : byte / direction / cyclic / int1 / int2 / uint2 / int4 / real |
| Input image. | |
|
ImagePart (output_object) |
(multichannel-)image(-array) -> object : byte / direction / cyclic / int1 / int2 / uint2 / int4 / real |
| Image area. | |
|
Row1 (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 | |
| Typical range of values: 0 <= Row1 <= 1024 | |
|
Column1 (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 | |
| Typical range of values: 0 <= Column1 <= 1024 | |
|
Row2 (input_control) |
rectangle.corner.y -> integer |
| Line index of lower right corner of image area. | |
| Default value: 200 | |
| Suggested values: 10, 20, 50, 100, 200, 300, 500 | |
| Typical range of values: 0 <= Row2 <= 1024 | |
|
Column2 (input_control) |
rectangle.corner.x -> integer |
| Column index of lower right corner of image area. | |
| Default value: 200 | |
| Suggested values: 10, 20, 50, 100, 200, 300, 500 | |
| Typical range of values: 0 <= Column2 <= 1024 | |
crop_rectangle1 is reentrant and automatically parallelized (on tuple level).
crop_part, crop_domain, change_format, reduce_domain
zoom_image_size, zoom_image_factor
Foundation