Herror ::select_lines_longest (
const HTuple &RowBeginIn,
const HTuple &ColBeginIn,
const HTuple &RowEndIn,
const HTuple &ColEndIn,
const HTuple &Num,
HTuple *RowBeginOut,
HTuple *ColBeginOut,
HTuple *RowEndOut,
HTuple *ColEndOut
)
Select the longest input lines.
The operator ::select_lines_longest 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 -> HTuple.long
|
|
Row coordinates of the starting points of the
input lines. |
ColBeginIn (input_control)
|
line.begin.x-array -> HTuple.long
|
|
Column coordinates of the starting points of the
input lines. |
RowEndIn (input_control)
|
line.end.y-array -> HTuple.long
|
|
Row coordinates of the ending points of the
input lines. |
ColEndIn (input_control)
|
line.end.x-array -> HTuple.long
|
|
Column coordinates of the ending points of the
input lines. |
Num (input_control)
|
integer -> HTuple.long
|
|
(Maximum) desired number of output lines. |
|
Default value: 10 |
RowBeginOut (output_control)
|
line.begin.y-array -> HTuple.long *
|
|
Row coordinates of the starting points of the
output lines. |
ColBeginOut (output_control)
|
line.begin.x-array -> HTuple.long *
|
|
Column coordinates of the starting points of the
output lines. |
RowEndOut (output_control)
|
line.end.y-array -> HTuple.long *
|
|
Row coordinates of the ending points of the
output lines. |
ColEndOut (output_control)
|
line.end.x-array -> HTuple.long *
|
|
Column coordinates of the ending points of the
output lines. |
Result
The operator ::select_lines_longest returns the value H_MSG_TRUE
if the parameter values are correct. Otherwise an exception is
raised.
Possible Predecessors
::sobel_amp,
::edges_image,
::threshold,
::hysteresis_threshold,
::split_skeleton_region,
::split_skeleton_lines
Possible Successors
::set_line_width,
::disp_line
Alternatives
::line_orientation,
::line_position,
::select_lines,
::partition_lines
See also
::select_lines,
::partition_lines,
::detect_edge_segments,
::select_shape
Module
Region processing
Copyright © 1996-2002 MVTec Software GmbH