Name
line_positionline_positionLinePositionline_positionLinePositionLinePosition — Berechnung des Schwerpunktes, der Länge und der Orientierung
von Linien.
Herror line_position(const Hlong RowBegin, const Hlong ColBegin, const Hlong RowEnd, const Hlong ColEnd, double* RowCenter, double* ColCenter, double* Length, double* Phi)
Herror T_line_position(const Htuple RowBegin, const Htuple ColBegin, const Htuple RowEnd, const Htuple ColEnd, Htuple* RowCenter, Htuple* ColCenter, Htuple* Length, Htuple* Phi)
Herror line_position(const HTuple& RowBegin, const HTuple& ColBegin, const HTuple& RowEnd, const HTuple& ColEnd, double* RowCenter, double* ColCenter, double* Length, double* Phi)
Herror line_position(const HTuple& RowBegin, const HTuple& ColBegin, const HTuple& RowEnd, const HTuple& ColEnd, HTuple* RowCenter, HTuple* ColCenter, HTuple* Length, HTuple* Phi)
void LinePosition(const HTuple& RowBegin, const HTuple& ColBegin, const HTuple& RowEnd, const HTuple& ColEnd, HTuple* RowCenter, HTuple* ColCenter, HTuple* Length, HTuple* Phi)
static void HMisc::LinePosition(const HTuple& RowBegin, const HTuple& ColBegin, const HTuple& RowEnd, const HTuple& ColEnd, HTuple* RowCenter, HTuple* ColCenter, HTuple* Length, HTuple* Phi)
static void HMisc::LinePosition(Hlong RowBegin, Hlong ColBegin, Hlong RowEnd, Hlong ColEnd, double* RowCenter, double* ColCenter, double* Length, double* Phi)
void HOperatorSetX.LinePosition(
[in] VARIANT RowBegin, [in] VARIANT ColBegin, [in] VARIANT RowEnd, [in] VARIANT ColEnd, [out] VARIANT* RowCenter, [out] VARIANT* ColCenter, [out] VARIANT* Length, [out] VARIANT* Phi)
VARIANT HMiscX.LinePosition(
[in] VARIANT RowBegin, [in] VARIANT ColBegin, [in] VARIANT RowEnd, [in] VARIANT ColEnd, [out] VARIANT* ColCenter, [out] VARIANT* Length, [out] VARIANT* Phi)
static void HOperatorSet.LinePosition(HTuple rowBegin, HTuple colBegin, HTuple rowEnd, HTuple colEnd, out HTuple rowCenter, out HTuple colCenter, out HTuple length, out HTuple phi)
static void HMisc.LinePosition(HTuple rowBegin, HTuple colBegin, HTuple rowEnd, HTuple colEnd, out HTuple rowCenter, out HTuple colCenter, out HTuple length, out HTuple phi)
static void HMisc.LinePosition(int rowBegin, int colBegin, int rowEnd, int colEnd, out double rowCenter, out double colCenter, out double length, out double phi)
line_positionline_positionLinePositionline_positionLinePositionLinePosition liefert den Schwerpunkt
(RowCenterRowCenterRowCenterRowCenterRowCenterrowCenter, ColCenterColCenterColCenterColCenterColCentercolCenter), die (euklidische)
Länge (LengthLengthLengthLengthLengthlength) und die Orientierung
(-pi/2 < PhiPhiPhiPhiPhiphi <= 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 sind die
Ausgabeparameter natürlich ebenfalls Tupel.
Die Routine wird beispielsweise auf Modellinien angewandt, um
Suchbereiche für die Kantendetektion (detect_edge_segmentsdetect_edge_segmentsDetectEdgeSegmentsdetect_edge_segmentsDetectEdgeSegmentsDetectEdgeSegments)
zu bestimmen.
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Zeilenkoordinaten der Anfangspunkte der Eingabelinien.
Spaltenkoordinaten der Anfangspunkte der Eingabelinien.
Zeilenkoordinaten der Endpunkte der Eingabelinien.
Spaltenkoordinaten der Endpunkte der Eingabelinien.
Zeilenkoordinaten der Schwerpunkte der Eingabelinien.
Spaltenindizes der Schwerpunkte der Eingabelinien.
Euklidische Länge der Eingabelinien.
Orientierung der Eingabelinien.
line_positionline_positionLinePositionline_positionLinePositionLinePosition liefert immer den Wert 2 (H_MSG_TRUE).
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
set_line_widthset_line_widthSetLineWidthset_line_widthSetLineWidthSetLineWidth,
disp_linedisp_lineDispLinedisp_lineDispLineDispLine
line_orientationline_orientationLineOrientationline_orientationLineOrientationLineOrientation
line_orientationline_orientationLineOrientationline_orientationLineOrientationLineOrientation,
detect_edge_segmentsdetect_edge_segmentsDetectEdgeSegmentsdetect_edge_segmentsDetectEdgeSegmentsDetectEdgeSegments
Foundation