ClassesClassesClassesClasses | | | | Operators

line_orientationline_orientationLineOrientationline_orientationLineOrientationLineOrientation (Operator)

Name

line_orientationline_orientationLineOrientationline_orientationLineOrientationLineOrientation — Calculate the orientation of lines.

Signature

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)

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

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

void HOperatorSetX.LineOrientation(
[in] VARIANT RowBegin, [in] VARIANT ColBegin, [in] VARIANT RowEnd, [in] VARIANT ColEnd, [out] VARIANT* Phi)

VARIANT HMiscX.LineOrientation(
[in] VARIANT RowBegin, [in] VARIANT ColBegin, [in] VARIANT RowEnd, [in] VARIANT 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)

Description

The operator line_orientationline_orientationLineOrientationline_orientationLineOrientationLineOrientation returns the orientation (-pi/2 < PhiPhiPhiPhiPhiphi <= pi/2) of the given lines. If more than one line is to be treated the line and column indices can be passed as tuples. In this case PhiPhiPhiPhiPhiphi is, of course, also a tuple and contains the corresponding orientations.

Parallelization

Parameters

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

Row coordinates of the starting points of the input lines.

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

Column coordinates of the starting points of the input lines.

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

Row coordinates of the ending points of the input lines.

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

Column coordinates of the ending points of the input lines.

PhiPhiPhiPhiPhiphi (output_control)  angle.rad(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Orientation of the input lines.

Result

line_orientationline_orientationLineOrientationline_orientationLineOrientationLineOrientation always returns the value 2 (H_MSG_TRUE).

Possible Predecessors

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

Possible Successors

set_line_widthset_line_widthSetLineWidthset_line_widthSetLineWidthSetLineWidth, disp_linedisp_lineDispLinedisp_lineDispLineDispLine

Alternatives

line_positionline_positionLinePositionline_positionLinePositionLinePosition

See also

line_positionline_positionLinePositionline_positionLinePositionLinePosition, detect_edge_segmentsdetect_edge_segmentsDetectEdgeSegmentsdetect_edge_segmentsDetectEdgeSegmentsDetectEdgeSegments

Module

Foundation


ClassesClassesClassesClasses | | | | Operators