select_lines_longestT_select_lines_longestSelectLinesLongestSelectLinesLongestselect_lines_longest (算子名称)
名称
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.
参数签名
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)
描述
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
.
运行信息
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
参数表
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:
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.
结果
The operator select_lines_longestselect_lines_longestSelectLinesLongestSelectLinesLongestSelectLinesLongestselect_lines_longest
returns the value 2 (
H_MSG_TRUE)
if the parameter values are correct. Otherwise an exception is
raised.
可能的前置算子
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
可能的后置算子
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidthset_line_width
,
disp_linedisp_lineDispLineDispLineDispLinedisp_line
可替代算子
line_orientationline_orientationLineOrientationLineOrientationLineOrientationline_orientation
,
line_positionline_positionLinePositionLinePositionLinePositionline_position
,
select_linesselect_linesSelectLinesSelectLinesSelectLinesselect_lines
,
partition_linespartition_linesPartitionLinesPartitionLinesPartitionLinespartition_lines
参考其它
select_linesselect_linesSelectLinesSelectLinesSelectLinesselect_lines
,
partition_linespartition_linesPartitionLinesPartitionLinesPartitionLinespartition_lines
,
detect_edge_segmentsdetect_edge_segmentsDetectEdgeSegmentsDetectEdgeSegmentsDetectEdgeSegmentsdetect_edge_segments
,
select_shapeselect_shapeSelectShapeSelectShapeSelectShapeselect_shape
模块
Foundation