line_orientationline_orientationLineOrientationLineOrientation (Operator)

Name

line_orientationline_orientationLineOrientationLineOrientation — Berechnung der Orientierung von Linien.

Signatur

line_orientation( : : RowBegin, ColBegin, RowEnd, ColEnd : Phi)

Herror line_orientation(double RowBegin, double ColBegin, double RowEnd, double ColEnd, double* Phi)

Herror T_line_orientation(const Htuple RowBegin, const Htuple ColBegin, const Htuple RowEnd, const Htuple ColEnd, Htuple* Phi)

void LineOrientation(const HTuple& RowBegin, const HTuple& ColBegin, const HTuple& RowEnd, const HTuple& ColEnd, HTuple* Phi)

static HTuple HMisc::LineOrientation(const HTuple& RowBegin, const HTuple& ColBegin, const HTuple& RowEnd, const HTuple& ColEnd)

static double HMisc::LineOrientation(double RowBegin, double ColBegin, double RowEnd, double ColEnd)

static void HOperatorSet.LineOrientation(HTuple rowBegin, HTuple colBegin, HTuple rowEnd, HTuple colEnd, out HTuple phi)

static HTuple HMisc.LineOrientation(HTuple rowBegin, HTuple colBegin, HTuple rowEnd, HTuple colEnd)

static double HMisc.LineOrientation(double rowBegin, double colBegin, double rowEnd, double colEnd)

Beschreibung

line_orientationline_orientationLineOrientationLineOrientationLineOrientation liefert die Orientierung (-pi/2 < PhiPhiPhiPhiphi <= pi/2) der übergebenen Linien. Falls mehr als eine Linie behandelt werden soll, können die Zeilen- und Spaltenindizes als Tupel übergeben werden. In diesem Fall ist PhiPhiPhiPhiphi natürlich ebenfalls ein Tupel und enthält die entsprechenden Orientierungen.

Ausführungsinformationen

Parameter

RowBeginRowBeginRowBeginRowBeginrowBegin (input_control)  line.begin.y(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Zeilenkoordinaten der Anfangspunkte der Eingabelinien.

ColBeginColBeginColBeginColBegincolBegin (input_control)  line.begin.x(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Spaltenkoordinaten der Anfangspunkte der Eingabelinien.

RowEndRowEndRowEndRowEndrowEnd (input_control)  line.end.y(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Zeilenkoordinaten der Endpunkte der Eingabelinien.

ColEndColEndColEndColEndcolEnd (input_control)  line.end.x(-array) HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Spaltenkoordinaten der Endpunkte der Eingabelinien.

PhiPhiPhiPhiphi (output_control)  angle.rad(-array) HTupleHTupleHtuple (real) (double) (double) (double)

Orientierung der Eingabelinien.

Ergebnis

line_orientationline_orientationLineOrientationLineOrientationLineOrientation liefert immer den Wert 2 (H_MSG_TRUE).

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_positionline_positionLinePositionLinePositionLinePosition

Siehe auch

line_positionline_positionLinePositionLinePositionLinePosition, detect_edge_segmentsdetect_edge_segmentsDetectEdgeSegmentsDetectEdgeSegmentsDetectEdgeSegments

Modul

Foundation