get_part ( : : : Row1, Column1, Row2, Column2 )

Query of the current image part.

get_part returns the upper left and lower right corner of the image part shown in the active window. The image part can be changed with the procedure set_part (Default is the whole image).


Parameters

Row1 (output_control)
rectangle.origin.y -> integer
row index of the current image part's upper left corner.

Column1 (output_control)
rectangle.origin.x -> integer
column index of the current image part's upper left corner.

Row2 (output_control)
rectangle.corner.y -> integer
row index of the current image part's lower right corner.

Column2 (output_control)
rectangle.corner.x -> integer
column index of the current image part's lower right corner.


Result

get_part returns TRUE, if a window is active. Otherwise an exception is raised.


Possible Successors

set_part, disp_region, disp_image


See also

set_part, disp_image, disp_region, disp_color



Copyright © 1996-1997 MVTec Software GmbH