select_longest_lines ( : : RowBeginIn, ColBeginIn, RowEndIn, ColEndIn, Num : RowBeginOut, ColBeginOut, RowEndOut, ColEndOut )

Select the longest input lines.

The operator select_longest_lines selects the Num longest input lines from the input lines described by the tuples RowBeginIn, ColBeginIn, RowEndIn, and ColEndIn.


Parameters

RowBeginIn (input_control)
line.begin.y-array -> integer
Row coordinates of the starting points of the input lines.

ColBeginIn (input_control)
line.begin.x-array -> integer
Column coordinates of the starting points of the input lines.

RowEndIn (input_control)
line.end.y-array -> integer
Row coordinates of the ending points of the input lines.

ColEndIn (input_control)
line.end.x-array -> integer
Column coordinates of the ending points of the input lines.

Num (input_control)
integer -> integer
(Maximum) desired number of output lines.
Default value: 10

RowBeginOut (output_control)
line.begin.y-array -> integer
Row coordinates of the starting points of the output lines.

ColBeginOut (output_control)
line.begin.x-array -> integer
Column coordinates of the starting points of the output lines.

RowEndOut (output_control)
line.end.y-array -> integer
Row coordinates of the ending points of the output lines.

ColEndOut (output_control)
line.end.x-array -> integer
Column coordinates of the ending points of the output lines.


Result

The operator select_longest_lines returns the value TRUE if the parameter values are correct. Otherwise an exception is raised.


Possible Predecessors

sobel_amp, edges__, threshold__, hysteresis_threshold__, split_skeleton1, split_skeleton2


Possible Successors

set_line_width, disp_line


Alternatives

line_orientation, line_position, select_lines1, select_lines2


See also

select_lines1, select_lines2, detect_edges1, select_shape



Copyright © 1996-1997 MVTec Software GmbH