select_lines_longestT_select_lines_longestSelectLinesLongestSelectLinesLongestselect_lines_longest (Operator)
Name
select_lines_longestT_select_lines_longestSelectLinesLongestSelectLinesLongestselect_lines_longest
— Select the longest input lines.
Warning
select_lines_longestselect_lines_longestSelectLinesLongestSelectLinesLongestSelectLinesLongestselect_lines_longest
is obsolete and is only provided for
reasons of backward compatibility.
Signature
void SelectLinesLongest(const HTuple& RowBeginIn, const HTuple& ColBeginIn, const HTuple& RowEndIn, const HTuple& ColEndIn, const HTuple& Num, HTuple* RowBeginOut, HTuple* ColBeginOut, HTuple* RowEndOut, HTuple* ColEndOut)
static void HMisc::SelectLinesLongest(const HTuple& RowBeginIn, const HTuple& ColBeginIn, const HTuple& RowEndIn, const HTuple& ColEndIn, Hlong Num, HTuple* RowBeginOut, HTuple* ColBeginOut, HTuple* RowEndOut, HTuple* ColEndOut)
static void HOperatorSet.SelectLinesLongest(HTuple rowBeginIn, HTuple colBeginIn, HTuple rowEndIn, HTuple colEndIn, HTuple num, out HTuple rowBeginOut, out HTuple colBeginOut, out HTuple rowEndOut, out HTuple colEndOut)
static void HMisc.SelectLinesLongest(HTuple rowBeginIn, HTuple colBeginIn, HTuple rowEndIn, HTuple colEndIn, int num, out HTuple rowBeginOut, out HTuple colBeginOut, out HTuple rowEndOut, out HTuple colEndOut)
Description
The operator select_lines_longestselect_lines_longestSelectLinesLongestSelectLinesLongestSelectLinesLongestselect_lines_longest
selects the
NumNumNumNumnumnum
longest input lines from the input lines described by
the tuples RowBeginInRowBeginInRowBeginInRowBeginInrowBeginInrow_begin_in
, ColBeginInColBeginInColBeginInColBeginIncolBeginIncol_begin_in
,
RowEndInRowEndInRowEndInRowEndInrowEndInrow_end_in
and ColEndInColEndInColEndInColEndIncolEndIncol_end_in
.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
RowBeginInRowBeginInRowBeginInRowBeginInrowBeginInrow_begin_in
(input_control) line.begin.y-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Row coordinates of the starting points of the
input lines.
ColBeginInColBeginInColBeginInColBeginIncolBeginIncol_begin_in
(input_control) line.begin.x-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Column coordinates of the starting points of the
input lines.
RowEndInRowEndInRowEndInRowEndInrowEndInrow_end_in
(input_control) line.end.y-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Row coordinates of the ending points of the
input lines.
ColEndInColEndInColEndInColEndIncolEndIncol_end_in
(input_control) line.end.x-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Column coordinates of the ending points of the
input lines.
NumNumNumNumnumnum
(input_control) integer →
HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
(Maximum) desired number of output lines.
Default value: 10
RowBeginOutRowBeginOutRowBeginOutRowBeginOutrowBeginOutrow_begin_out
(output_control) line.begin.y-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Row coordinates of the starting points of the
output lines.
ColBeginOutColBeginOutColBeginOutColBeginOutcolBeginOutcol_begin_out
(output_control) line.begin.x-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Column coordinates of the starting points of the
output lines.
RowEndOutRowEndOutRowEndOutRowEndOutrowEndOutrow_end_out
(output_control) line.end.y-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Row coordinates of the ending points of the
output lines.
ColEndOutColEndOutColEndOutColEndOutcolEndOutcol_end_out
(output_control) line.end.x-array →
HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Column coordinates of the ending points of the
output lines.
Result
The operator select_lines_longestselect_lines_longestSelectLinesLongestSelectLinesLongestSelectLinesLongestselect_lines_longest
returns the value TRUE
if the parameter values are correct. Otherwise an exception is
raised.
Possible Predecessors
sobel_ampsobel_ampSobelAmpSobelAmpSobelAmpsobel_amp
,
edges_imageedges_imageEdgesImageEdgesImageEdgesImageedges_image
,
thresholdthresholdThresholdThresholdThresholdthreshold
,
hysteresis_thresholdhysteresis_thresholdHysteresisThresholdHysteresisThresholdHysteresisThresholdhysteresis_threshold
,
split_skeleton_regionsplit_skeleton_regionSplitSkeletonRegionSplitSkeletonRegionSplitSkeletonRegionsplit_skeleton_region
,
split_skeleton_linessplit_skeleton_linesSplitSkeletonLinesSplitSkeletonLinesSplitSkeletonLinessplit_skeleton_lines
Possible Successors
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width
,
disp_linedisp_lineDispLineDispLineDispLinedisp_line
Alternatives
line_orientationline_orientationLineOrientationLineOrientationLineOrientationline_orientation
,
line_positionline_positionLinePositionLinePositionLinePositionline_position
,
select_linesselect_linesSelectLinesSelectLinesSelectLinesselect_lines
,
partition_linespartition_linesPartitionLinesPartitionLinesPartitionLinespartition_lines
See also
select_linesselect_linesSelectLinesSelectLinesSelectLinesselect_lines
,
partition_linespartition_linesPartitionLinesPartitionLinesPartitionLinespartition_lines
,
detect_edge_segmentsdetect_edge_segmentsDetectEdgeSegmentsDetectEdgeSegmentsDetectEdgeSegmentsdetect_edge_segments
,
select_shapeselect_shapeSelectShapeSelectShapeSelectShapeselect_shape
Module
Foundation