ClassesClassesClassesClasses | | | | Operators

select_lines_longestT_select_lines_longestSelectLinesLongestselect_lines_longestSelectLinesLongestSelectLinesLongest (Operator)

Name

select_lines_longestT_select_lines_longestSelectLinesLongestselect_lines_longestSelectLinesLongestSelectLinesLongest — Select the longest input lines.

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)

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)

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)

void HOperatorSetX.SelectLinesLongest(
[in] VARIANT RowBeginIn, [in] VARIANT ColBeginIn, [in] VARIANT RowEndIn, [in] VARIANT ColEndIn, [in] VARIANT Num, [out] VARIANT* RowBeginOut, [out] VARIANT* ColBeginOut, [out] VARIANT* RowEndOut, [out] VARIANT* ColEndOut)

VARIANT HMiscX.SelectLinesLongest(
[in] VARIANT RowBeginIn, [in] VARIANT ColBeginIn, [in] VARIANT RowEndIn, [in] VARIANT ColEndIn, [in] Hlong Num, [out] VARIANT* ColBeginOut, [out] VARIANT* RowEndOut, [out] VARIANT* 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_longestSelectLinesLongestselect_lines_longestSelectLinesLongestSelectLinesLongest selects the NumNumNumNumNumnum longest input lines from the input lines described by the tuples RowBeginInRowBeginInRowBeginInRowBeginInRowBeginInrowBeginIn, ColBeginInColBeginInColBeginInColBeginInColBeginIncolBeginIn, RowEndInRowEndInRowEndInRowEndInRowEndInrowEndIn and ColEndInColEndInColEndInColEndInColEndIncolEndIn.

Parallelization

Parameters

RowBeginInRowBeginInRowBeginInRowBeginInRowBeginInrowBeginIn (input_control)  line.begin.y-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Row coordinates of the starting points of the input lines.

ColBeginInColBeginInColBeginInColBeginInColBeginIncolBeginIn (input_control)  line.begin.x-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Column coordinates of the starting points of the input lines.

RowEndInRowEndInRowEndInRowEndInRowEndInrowEndIn (input_control)  line.end.y-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Row coordinates of the ending points of the input lines.

ColEndInColEndInColEndInColEndInColEndIncolEndIn (input_control)  line.end.x-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Column coordinates of the ending points of the input lines.

NumNumNumNumNumnum (input_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

(Maximum) desired number of output lines.

Default value: 10

RowBeginOutRowBeginOutRowBeginOutRowBeginOutRowBeginOutrowBeginOut (output_control)  line.begin.y-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Row coordinates of the starting points of the output lines.

ColBeginOutColBeginOutColBeginOutColBeginOutColBeginOutcolBeginOut (output_control)  line.begin.x-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Column coordinates of the starting points of the output lines.

RowEndOutRowEndOutRowEndOutRowEndOutRowEndOutrowEndOut (output_control)  line.end.y-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Row coordinates of the ending points of the output lines.

ColEndOutColEndOutColEndOutColEndOutColEndOutcolEndOut (output_control)  line.end.x-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Column coordinates of the ending points of the output lines.

Result

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

Possible Predecessors

sobel_ampsobel_ampSobelAmpsobel_ampSobelAmpSobelAmp, edges_imageedges_imageEdgesImageedges_imageEdgesImageEdgesImage, thresholdthresholdThresholdthresholdThresholdThreshold, hysteresis_thresholdhysteresis_thresholdHysteresisThresholdhysteresis_thresholdHysteresisThresholdHysteresisThreshold, split_skeleton_regionsplit_skeleton_regionSplitSkeletonRegionsplit_skeleton_regionSplitSkeletonRegionSplitSkeletonRegion, split_skeleton_linessplit_skeleton_linesSplitSkeletonLinessplit_skeleton_linesSplitSkeletonLinesSplitSkeletonLines

Possible Successors

set_line_widthset_line_widthSetLineWidthset_line_widthSetLineWidthSetLineWidth, disp_linedisp_lineDispLinedisp_lineDispLineDispLine

Alternatives

line_orientationline_orientationLineOrientationline_orientationLineOrientationLineOrientation, line_positionline_positionLinePositionline_positionLinePositionLinePosition, select_linesselect_linesSelectLinesselect_linesSelectLinesSelectLines, partition_linespartition_linesPartitionLinespartition_linesPartitionLinesPartitionLines

See also

select_linesselect_linesSelectLinesselect_linesSelectLinesSelectLines, partition_linespartition_linesPartitionLinespartition_linesPartitionLinesPartitionLines, detect_edge_segmentsdetect_edge_segmentsDetectEdgeSegmentsdetect_edge_segmentsDetectEdgeSegmentsDetectEdgeSegments, select_shapeselect_shapeSelectShapeselect_shapeSelectShapeSelectShape

Module

Foundation


ClassesClassesClassesClasses | | | | Operators