gen_region_line ( : RegionLines : BeginRow, BeginCol, EndRow, EndCol : )

Store input lines as regions.

The operator gen_region_line stores the given lines (with starting point [BeginRow,BeginCol] and ending point [EndRow, EndCol]) as region.


Parameters

RegionLines (output_object)
region(-array) -> object
Created regions.

BeginRow (input_control)
line.begin.y(-array) -> integer
Line coordinates of the starting points of the input lines.
Default value: 100
Suggested values: 10, 50, 100, 200, 300, 400
Typical range of values: -oo <= BeginRow <= -oo (lin)
Minimum increment: 1
Recommended increment: 1

BeginCol (input_control)
line.begin.x(-array) -> integer
Column coordinates of the starting points of the input lines.
Default value: 50
Suggested values: 10, 50, 100, 200, 300, 400
Typical range of values: -oo <= BeginCol <= -oo (lin)
Minimum increment: 1
Recommended increment: 1

EndRow (input_control)
line.end.y(-array) -> integer
Line coordinates of the ending points of the input lines.
Default value: 150
Suggested values: 50, 100, 200, 300, 400, 500
Typical range of values: -oo <= EndRow <= -oo (lin)
Minimum increment: 1
Recommended increment: 1

EndCol (input_control)
line.end.x(-array) -> integer
Column coordinates of the ending points of the input lines.
Default value: 250
Suggested values: 50, 100, 200, 300, 400, 500
Typical range of values: -oo <= EndCol <= -oo (lin)
Minimum increment: 1
Recommended increment: 1


Result

The operator gen_region_line always returns the value 2 (H_MSG_TRUE). The clipping according to the current image format is determined by the operator set_system('clip_region',<'true'/'false'>).


Parallelization Information

gen_region_line is reentrant and processed without parallelization.


Possible Predecessors

split_skeleton_lines


Alternatives

gen_region_hline


Module

Region processing



Copyright © 1996-2005 MVTec Software GmbH