Herror ::rectangle1_domain (
    Hobject Image,
    Hobject *ImageReduced,
    const HTuple &Row1,
    const HTuple &Column1,
    const HTuple &Row2,
    const HTuple &Column2
)
HImage HImage::Rectangle1Domain (
    const HTuple &Row1,
    const HTuple &Column1,
    const HTuple &Row2,
    const HTuple &Column2
) const
HImageArray HImageArray::Rectangle1Domain (
    const HTuple &Row1,
    const HTuple &Column1,
    const HTuple &Row2,
    const HTuple &Column2
) const

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) -> Hobject: HImage(Array)
Input image.

ImageReduced (output_object)
image(-array) -> Hobject * : HImage(Array)
Image with reduced definition domain.

Row1 (input_control)
rectangle.origin.y -> HTuple.long
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 -> HTuple.long
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 -> HTuple.long
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 -> HTuple.long
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


Possible Predecessors

::get_domain


Alternatives

::change_domain, ::reduce_domain, ::add_channels


See also

::full_domain, ::get_domain, ::intersection


Module

Image / region / XLD management



Copyright © 1996-2002 MVTec Software GmbH