select_linesT_select_linesSelectLinesSelectLines (Operator)

Name

select_linesT_select_linesSelectLinesSelectLines — Auswahl von Linien gemäß verschiedener Kriterien.

Warnung

select_linesselect_linesSelectLinesSelectLinesSelectLines ist veraltet und wird nur aus Gründen der Rückwärtskompatibilität zur Verfügung gestellt.

Signatur

select_lines( : : RowBeginIn, ColBeginIn, RowEndIn, ColEndIn, Feature, Operation, Min, Max : RowBeginOut, ColBeginOut, RowEndOut, ColEndOut)

Herror T_select_lines(const Htuple RowBeginIn, const Htuple ColBeginIn, const Htuple RowEndIn, const Htuple ColEndIn, const Htuple Feature, const Htuple Operation, const Htuple Min, const Htuple Max, Htuple* RowBeginOut, Htuple* ColBeginOut, Htuple* RowEndOut, Htuple* ColEndOut)

void SelectLines(const HTuple& RowBeginIn, const HTuple& ColBeginIn, const HTuple& RowEndIn, const HTuple& ColEndIn, const HTuple& Feature, const HTuple& Operation, const HTuple& Min, const HTuple& Max, HTuple* RowBeginOut, HTuple* ColBeginOut, HTuple* RowEndOut, HTuple* ColEndOut)

static void HMisc::SelectLines(const HTuple& RowBeginIn, const HTuple& ColBeginIn, const HTuple& RowEndIn, const HTuple& ColEndIn, const HTuple& Feature, const HString& Operation, const HTuple& Min, const HTuple& Max, HTuple* RowBeginOut, HTuple* ColBeginOut, HTuple* RowEndOut, HTuple* ColEndOut)

static void HMisc::SelectLines(const HTuple& RowBeginIn, const HTuple& ColBeginIn, const HTuple& RowEndIn, const HTuple& ColEndIn, const HString& Feature, const HString& Operation, const HString& Min, const HString& Max, HTuple* RowBeginOut, HTuple* ColBeginOut, HTuple* RowEndOut, HTuple* ColEndOut)

static void HMisc::SelectLines(const HTuple& RowBeginIn, const HTuple& ColBeginIn, const HTuple& RowEndIn, const HTuple& ColEndIn, const char* Feature, const char* Operation, const char* Min, const char* Max, HTuple* RowBeginOut, HTuple* ColBeginOut, HTuple* RowEndOut, HTuple* ColEndOut)

static void HMisc::SelectLines(const HTuple& RowBeginIn, const HTuple& ColBeginIn, const HTuple& RowEndIn, const HTuple& ColEndIn, const wchar_t* Feature, const wchar_t* Operation, const wchar_t* Min, const wchar_t* Max, HTuple* RowBeginOut, HTuple* ColBeginOut, HTuple* RowEndOut, HTuple* ColEndOut)   (Nur Windows)

static void HOperatorSet.SelectLines(HTuple rowBeginIn, HTuple colBeginIn, HTuple rowEndIn, HTuple colEndIn, HTuple feature, HTuple operation, HTuple min, HTuple max, out HTuple rowBeginOut, out HTuple colBeginOut, out HTuple rowEndOut, out HTuple colEndOut)

static void HMisc.SelectLines(HTuple rowBeginIn, HTuple colBeginIn, HTuple rowEndIn, HTuple colEndIn, HTuple feature, string operation, HTuple min, HTuple max, out HTuple rowBeginOut, out HTuple colBeginOut, out HTuple rowEndOut, out HTuple colEndOut)

static void HMisc.SelectLines(HTuple rowBeginIn, HTuple colBeginIn, HTuple rowEndIn, HTuple colEndIn, string feature, string operation, string min, string max, out HTuple rowBeginOut, out HTuple colBeginOut, out HTuple rowEndOut, out HTuple colEndOut)

Beschreibung

select_linesselect_linesSelectLinesSelectLinesSelectLines wählt Linien anhand verschiedener Kriterien aus. Für jede Eingabelinie werden die angegebenen Merkmale (FeatureFeatureFeatureFeaturefeature) berechnet. Wenn jedes (OperationOperationOperationOperationoperation = 'and') oder mindestens eines (OperationOperationOperationOperationoperation = 'or') der so berechneten Merkmale in den vorgegebenen Grenzen (MinMinMinMinmin,MaxMaxMaxMaxmax) liegt, wird die Linie in die Ausgabe übernommen. Mit den Defaultwerten 'min'"min""min""min""min" beziehungsweise 'max'"max""max""max""max" der Parameter MinMinMinMinmin und MaxMaxMaxMaxmax werden diese Grenzen nach unten beziehungsweise oben offen gelassen.

Mögliche Werte für FeatureFeatureFeatureFeaturefeature:

'length'

(euklidische) Länge der Linie

'row'

Zeilenindex des Schwerpunkts

'column'

Spaltenindex des Schwerpunkts

'phi'

Orientierung der Linie ( )

Achtung

Wird nur ein Merkmal verwendet, dann ist der Wert von OperationOperationOperationOperationoperation bedeutungslos. Mehrere Merkmale werden in der Reihenfolge abgearbeitet, in der sie übergeben werden.

Ausführungsinformationen

Parameter

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

Zeilenkoordinaten der Anfangspunkte der Eingabelinien.

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

Spaltenkoordinaten der Anfangspunkte der Eingabelinien.

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

Zeilenkoordinaten der Endpunkte der Eingabelinien.

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

Spaltenkoordinaten der Endpunkte der Eingabelinien.

FeatureFeatureFeatureFeaturefeature (input_control)  string(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Gewünschte Merkmale.

Defaultwert: 'length' "length" "length" "length" "length"

Werteliste: 'column'"column""column""column""column", 'length'"length""length""length""length", 'phi'"phi""phi""phi""phi", 'row'"row""row""row""row"

OperationOperationOperationOperationoperation (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Gewünschte Verknüpfung.

Defaultwert: 'and' "and" "and" "and" "and"

Werteliste: 'and'"and""and""and""and", 'or'"or""or""or""or"

MinMinMinMinmin (input_control)  string(-array) HTupleHTupleHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)

Untere Grenzen der Merkmale oder 'min'.

Defaultwert: 'min' "min" "min" "min" "min"

MaxMaxMaxMaxmax (input_control)  string(-array) HTupleHTupleHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)

Obere Grenzen der Merkmale oder 'max'.

Defaultwert: 'max' "max" "max" "max" "max"

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

Zeilenkoordinaten der Anfangspunkte der Ausgabelinien.

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

Spaltenkoordinaten der Anfangspunkte der Ausgabelinien.

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

Zeilenkoordinaten der Endpunkte der Ausgabelinien.

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

Spaltenindizes der Endpunkte der Ausgabelinien.

Ergebnis

select_linesselect_linesSelectLinesSelectLinesSelectLines liefert den Wert 2 (H_MSG_TRUE), falls die Parameterwerte korrekt sind. Ansonsten wird eine Fehlerbehandlung durchgeführt.

Vorgänger

sobel_ampsobel_ampSobelAmpSobelAmpSobelAmp, edges_imageedges_imageEdgesImageEdgesImageEdgesImage, thresholdthresholdThresholdThresholdThreshold, hysteresis_thresholdhysteresis_thresholdHysteresisThresholdHysteresisThresholdHysteresisThreshold, split_skeleton_regionsplit_skeleton_regionSplitSkeletonRegionSplitSkeletonRegionSplitSkeletonRegion, split_skeleton_linessplit_skeleton_linesSplitSkeletonLinesSplitSkeletonLinesSplitSkeletonLines

Nachfolger

set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth, disp_linedisp_lineDispLineDispLineDispLine

Alternativen

line_orientationline_orientationLineOrientationLineOrientationLineOrientation, line_positionline_positionLinePositionLinePositionLinePosition, partition_linespartition_linesPartitionLinesPartitionLinesPartitionLines

Siehe auch

partition_linespartition_linesPartitionLinesPartitionLinesPartitionLines, select_lines_longestselect_lines_longestSelectLinesLongestSelectLinesLongestSelectLinesLongest, detect_edge_segmentsdetect_edge_segmentsDetectEdgeSegmentsDetectEdgeSegmentsDetectEdgeSegments, select_shapeselect_shapeSelectShapeSelectShapeSelectShape

Modul

Foundation