rectangle1_domain ( Image : ImageReduced : Row1, Column1, Row2, Column2 : )

Reduce the domain of an image to a rectangle.

The operator rectangle1_domain reduces the definition domain of the given image to the specified rectangle. The old domain of the input image is ignored. The size of the matrix is not changed.


Parameters

Image (input_object)
image(-array) -> object : byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / dvf
Input image.

ImageReduced (output_object)
image(-array) -> object : byte / direction / cyclic / int1 / int2 / uint2 / int4 / real / complex / dvf
Image with reduced definition domain.

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.origin.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.origin.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


Parallelization Information

rectangle1_domain is reentrant and automatically parallelized (on tuple level).


Possible Predecessors

get_domain


Alternatives

change_domain, reduce_domain, add_channels


See also

full_domain, get_domain, intersection


Module

Foundation



Copyright © 1996-2008 MVTec Software GmbH