select_lines_longestT_select_lines_longestSelectLinesLongestSelectLinesLongestselect_lines_longest (算子)
名称
select_lines_longestT_select_lines_longestSelectLinesLongestSelectLinesLongestselect_lines_longest — 选择最长的输入线。
警告
select_lines_longestselect_lines_longestSelectLinesLongestSelectLinesLongestSelectLinesLongestselect_lines_longest 已过时,仅出于向后兼容性考虑而保留。
签名
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)
描述
算子 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。
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
RowBeginInRowBeginInRowBeginInRowBeginInrowBeginInrow_begin_in (输入控制) 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 (输入控制) 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 (输入控制) 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 (输入控制) line.end.x-array → HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Column coordinates of the ending points of the
input lines.
NumNumNumNumnumnum (输入控制) integer → HTupleintHTupleHtuple (integer) (int / long) (Hlong) (Hlong)
(Maximum) desired number of output lines.
默认值:
10
RowBeginOutRowBeginOutRowBeginOutRowBeginOutrowBeginOutrow_begin_out (输出控制) 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 (输出控制) 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 (输出控制) 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 (输出控制) line.end.x-array → HTupleSequence[int]HTupleHtuple (integer) (int / long) (Hlong) (Hlong)
Column coordinates of the ending points of the
output lines.
结果
算子 select_lines_longestselect_lines_longestSelectLinesLongestSelectLinesLongestSelectLinesLongestselect_lines_longest 在参数值正确时返回值 2 ( H_MSG_TRUE )。否则将抛出异常。
可能的前趋
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
模块
基础