ClassesClasses | | Operators

select_lines_longestT_select_lines_longestSelectLinesLongestSelectLinesLongest (Operator)

Name

select_lines_longestT_select_lines_longestSelectLinesLongestSelectLinesLongest — Select the longest input lines.

Warning

select_lines_longestselect_lines_longestSelectLinesLongestSelectLinesLongestSelectLinesLongest is obsolete and is only provided for reasons of backward compatibility.

Signature

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

Herror T_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)

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_longestSelectLinesLongestSelectLinesLongestSelectLinesLongest selects the NumNumNumNumnum longest input lines from the input lines described by the tuples RowBeginInRowBeginInRowBeginInRowBeginInrowBeginIn, ColBeginInColBeginInColBeginInColBeginIncolBeginIn, RowEndInRowEndInRowEndInRowEndInrowEndIn and ColEndInColEndInColEndInColEndIncolEndIn.

Execution Information

Parameters

RowBeginInRowBeginInRowBeginInRowBeginInrowBeginIn (input_control)  line.begin.y-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Row coordinates of the starting points of the input lines.

ColBeginInColBeginInColBeginInColBeginIncolBeginIn (input_control)  line.begin.x-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Column coordinates of the starting points of the input lines.

RowEndInRowEndInRowEndInRowEndInrowEndIn (input_control)  line.end.y-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Row coordinates of the ending points of the input lines.

ColEndInColEndInColEndInColEndIncolEndIn (input_control)  line.end.x-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Column coordinates of the ending points of the input lines.

NumNumNumNumnum (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

(Maximum) desired number of output lines.

Default value: 10

RowBeginOutRowBeginOutRowBeginOutRowBeginOutrowBeginOut (output_control)  line.begin.y-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Row coordinates of the starting points of the output lines.

ColBeginOutColBeginOutColBeginOutColBeginOutcolBeginOut (output_control)  line.begin.x-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Column coordinates of the starting points of the output lines.

RowEndOutRowEndOutRowEndOutRowEndOutrowEndOut (output_control)  line.end.y-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Row coordinates of the ending points of the output lines.

ColEndOutColEndOutColEndOutColEndOutcolEndOut (output_control)  line.end.x-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Column coordinates of the ending points of the output lines.

Result

The operator select_lines_longestselect_lines_longestSelectLinesLongestSelectLinesLongestSelectLinesLongest returns the value 2 (H_MSG_TRUE) if the parameter values are correct. Otherwise an exception is raised.

Possible Predecessors

sobel_ampsobel_ampSobelAmpSobelAmpSobelAmp, edges_imageedges_imageEdgesImageEdgesImageEdgesImage, thresholdthresholdThresholdThresholdThreshold, hysteresis_thresholdhysteresis_thresholdHysteresisThresholdHysteresisThresholdHysteresisThreshold, split_skeleton_regionsplit_skeleton_regionSplitSkeletonRegionSplitSkeletonRegionSplitSkeletonRegion, split_skeleton_linessplit_skeleton_linesSplitSkeletonLinesSplitSkeletonLinesSplitSkeletonLines

Possible Successors

set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth, disp_linedisp_lineDispLineDispLineDispLine

Alternatives

line_orientationline_orientationLineOrientationLineOrientationLineOrientation, line_positionline_positionLinePositionLinePositionLinePosition, select_linesselect_linesSelectLinesSelectLinesSelectLines, partition_linespartition_linesPartitionLinesPartitionLinesPartitionLines

See also

select_linesselect_linesSelectLinesSelectLinesSelectLines, partition_linespartition_linesPartitionLinesPartitionLinesPartitionLines, detect_edge_segmentsdetect_edge_segmentsDetectEdgeSegmentsDetectEdgeSegmentsDetectEdgeSegments, select_shapeselect_shapeSelectShapeSelectShapeSelectShape

Module

Foundation


ClassesClasses | | Operators