KlassenKlassenKlassenKlassen | | | | Operatoren

select_linesT_select_linesSelectLinesselect_linesSelectLinesSelectLines (Operator)

Name

select_linesT_select_linesSelectLinesselect_linesSelectLinesSelectLines — Auswahl von Linien gemäß verschiedener Kriterien.

Warnung

select_linesselect_linesSelectLinesselect_linesSelectLinesSelectLines 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)

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

void HOperatorSetX.SelectLines(
[in] VARIANT RowBeginIn, [in] VARIANT ColBeginIn, [in] VARIANT RowEndIn, [in] VARIANT ColEndIn, [in] VARIANT Feature, [in] VARIANT Operation, [in] VARIANT Min, [in] VARIANT Max, [out] VARIANT* RowBeginOut, [out] VARIANT* ColBeginOut, [out] VARIANT* RowEndOut, [out] VARIANT* ColEndOut)

VARIANT HMiscX.SelectLines(
[in] VARIANT RowBeginIn, [in] VARIANT ColBeginIn, [in] VARIANT RowEndIn, [in] VARIANT ColEndIn, [in] VARIANT Feature, [in] BSTR Operation, [in] VARIANT Min, [in] VARIANT Max, [out] VARIANT* ColBeginOut, [out] VARIANT* RowEndOut, [out] VARIANT* ColEndOut)

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_linesSelectLinesselect_linesSelectLinesSelectLines wählt Linien anhand verschiedener Kriterien aus. Für jede Eingabelinie werden die angegebenen Merkmale (FeatureFeatureFeatureFeatureFeaturefeature) berechnet. Wenn jedes (OperationOperationOperationOperationOperationoperation = 'and') oder mindestens eines (OperationOperationOperationOperationOperationoperation = 'or') der so berechneten Merkmale in den vorgegebenen Grenzen (MinMinMinMinMinmin,MaxMaxMaxMaxMaxmax) liegt, wird die Linie in die Ausgabe übernommen. Mit den Defaultwerten 'min'"min""min""min""min""min" beziehungsweise 'max'"max""max""max""max""max" der Parameter MinMinMinMinMinmin und MaxMaxMaxMaxMaxmax werden diese Grenzen nach unten beziehungsweise oben offen gelassen.

Mögliche Werte für FeatureFeatureFeatureFeatureFeaturefeature:

'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 OperationOperationOperationOperationOperationoperation bedeutungslos. Mehrere Merkmale werden in der Reihenfolge abgearbeitet, in der sie übergeben werden.

Parallelisierung

Parameter

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

Zeilenkoordinaten der Anfangspunkte der Eingabelinien.

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

Spaltenkoordinaten der Anfangspunkte der Eingabelinien.

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

Zeilenkoordinaten der Endpunkte der Eingabelinien.

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

Spaltenkoordinaten der Endpunkte der Eingabelinien.

FeatureFeatureFeatureFeatureFeaturefeature (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Gewünschte Merkmale.

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

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

OperationOperationOperationOperationOperationoperation (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Gewünschte Verknüpfung.

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

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

MinMinMinMinMinmin (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double) (BSTR / Hlong / double) (char* / Hlong / double)

Untere Grenzen der Merkmale oder 'min'.

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

MaxMaxMaxMaxMaxmax (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double) (BSTR / Hlong / double) (char* / Hlong / double)

Obere Grenzen der Merkmale oder 'max'.

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

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

Zeilenkoordinaten der Anfangspunkte der Ausgabelinien.

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

Spaltenkoordinaten der Anfangspunkte der Ausgabelinien.

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

Zeilenkoordinaten der Endpunkte der Ausgabelinien.

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

Spaltenindizes der Endpunkte der Ausgabelinien.

Ergebnis

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

Vorgänger

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

Nachfolger

set_line_widthset_line_widthSetLineWidthset_line_widthSetLineWidthSetLineWidth, disp_linedisp_lineDispLinedisp_lineDispLineDispLine

Alternativen

line_orientationline_orientationLineOrientationline_orientationLineOrientationLineOrientation, line_positionline_positionLinePositionline_positionLinePositionLinePosition, partition_linespartition_linesPartitionLinespartition_linesPartitionLinesPartitionLines

Siehe auch

partition_linespartition_linesPartitionLinespartition_linesPartitionLinesPartitionLines, select_lines_longestselect_lines_longestSelectLinesLongestselect_lines_longestSelectLinesLongestSelectLinesLongest, detect_edge_segmentsdetect_edge_segmentsDetectEdgeSegmentsdetect_edge_segmentsDetectEdgeSegmentsDetectEdgeSegments, select_shapeselect_shapeSelectShapeselect_shapeSelectShapeSelectShape

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren