select_lines T_select_lines SelectLines SelectLines (Operator)
Name
select_lines T_select_lines SelectLines SelectLines
— Auswahl von Linien gemäß verschiedener Kriterien.
Warnung
select_lines select_lines SelectLines SelectLines SelectLines
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_lines select_lines SelectLines SelectLines SelectLines
wählt Linien anhand verschiedener
Kriterien aus. Für jede Eingabelinie werden die angegebenen
Merkmale (Feature Feature Feature Feature feature
) berechnet. Wenn jedes
(Operation Operation Operation Operation operation
= 'and') oder mindestens eines
(Operation Operation Operation Operation operation
= 'or') der so berechneten Merkmale in den
vorgegebenen Grenzen (Min Min Min Min min
,Max Max Max Max max
) liegt, wird die
Linie in die Ausgabe übernommen.
Mit den Defaultwerten 'min' "min" "min" "min" "min" beziehungsweise 'max' "max" "max" "max" "max" der
Parameter Min Min Min Min min
und Max Max Max Max max
werden
diese Grenzen nach unten beziehungsweise oben offen gelassen.
Mögliche Werte für Feature Feature Feature Feature feature
:
'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
Operation Operation Operation Operation operation
bedeutungslos. Mehrere Merkmale werden in der
Reihenfolge abgearbeitet, in der sie übergeben werden.
Ausführungsinformationen
Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
Wird ohne Parallelisierung verarbeitet.
Parameter
RowBeginIn RowBeginIn RowBeginIn RowBeginIn rowBeginIn
(input_control) line.begin.y-array →
HTuple HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Zeilenkoordinaten der Anfangspunkte der Eingabelinien.
ColBeginIn ColBeginIn ColBeginIn ColBeginIn colBeginIn
(input_control) line.begin.x-array →
HTuple HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Spaltenkoordinaten der Anfangspunkte der Eingabelinien.
RowEndIn RowEndIn RowEndIn RowEndIn rowEndIn
(input_control) line.end.y-array →
HTuple HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Zeilenkoordinaten der Endpunkte der Eingabelinien.
ColEndIn ColEndIn ColEndIn ColEndIn colEndIn
(input_control) line.end.x-array →
HTuple HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Spaltenkoordinaten der Endpunkte der Eingabelinien.
Feature Feature Feature Feature feature
(input_control) string(-array) →
HTuple HTuple Htuple (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"
Operation Operation Operation Operation operation
(input_control) string →
HTuple HTuple Htuple (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"
Min Min Min Min min
(input_control) string(-array) →
HTuple HTuple Htuple (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"
Max Max Max Max max
(input_control) string(-array) →
HTuple HTuple Htuple (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"
RowBeginOut RowBeginOut RowBeginOut RowBeginOut rowBeginOut
(output_control) line.begin.y-array →
HTuple HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Zeilenkoordinaten der Anfangspunkte der Ausgabelinien.
ColBeginOut ColBeginOut ColBeginOut ColBeginOut colBeginOut
(output_control) line.begin.x-array →
HTuple HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Spaltenkoordinaten der Anfangspunkte der Ausgabelinien.
RowEndOut RowEndOut RowEndOut RowEndOut rowEndOut
(output_control) line.end.y-array →
HTuple HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Zeilenkoordinaten der Endpunkte der Ausgabelinien.
ColEndOut ColEndOut ColEndOut ColEndOut colEndOut
(output_control) line.end.x-array →
HTuple HTuple Htuple (integer) (int / long) (Hlong ) (Hlong )
Spaltenindizes der Endpunkte der Ausgabelinien.
Ergebnis
select_lines select_lines SelectLines SelectLines SelectLines
liefert den Wert 2 (H_MSG_TRUE), falls die
Parameterwerte korrekt sind. Ansonsten wird eine
Fehlerbehandlung durchgeführt.
Vorgänger
sobel_amp sobel_amp SobelAmp SobelAmp SobelAmp
,
edges_image edges_image EdgesImage EdgesImage EdgesImage
,
threshold threshold Threshold Threshold Threshold
,
hysteresis_threshold hysteresis_threshold HysteresisThreshold HysteresisThreshold HysteresisThreshold
,
split_skeleton_region split_skeleton_region SplitSkeletonRegion SplitSkeletonRegion SplitSkeletonRegion
,
split_skeleton_lines split_skeleton_lines SplitSkeletonLines SplitSkeletonLines SplitSkeletonLines
Nachfolger
set_line_width set_line_width SetLineWidth SetLineWidth SetLineWidth
,
disp_line disp_line DispLine DispLine DispLine
Alternativen
line_orientation line_orientation LineOrientation LineOrientation LineOrientation
,
line_position line_position LinePosition LinePosition LinePosition
,
partition_lines partition_lines PartitionLines PartitionLines PartitionLines
Siehe auch
partition_lines partition_lines PartitionLines PartitionLines PartitionLines
,
select_lines_longest select_lines_longest SelectLinesLongest SelectLinesLongest SelectLinesLongest
,
detect_edge_segments detect_edge_segments DetectEdgeSegments DetectEdgeSegments DetectEdgeSegments
,
select_shape select_shape SelectShape SelectShape SelectShape
Modul
Foundation