gen_cross_contour_xldgen_cross_contour_xldGenCrossContourXldGenCrossContourXld (Operator)
Name
gen_cross_contour_xldgen_cross_contour_xldGenCrossContourXldGenCrossContourXld
— Generate one XLD contour in the shape of a cross for each input point.
Signature
Herror gen_cross_contour_xld(Hobject* Cross, double Row, double Col, double Size, double Angle)
Herror T_gen_cross_contour_xld(Hobject* Cross, const Htuple Row, const Htuple Col, const Htuple Size, const Htuple Angle)
void GenCrossContourXld(HObject* Cross, const HTuple& Row, const HTuple& Col, const HTuple& Size, const HTuple& Angle)
void HXLDCont::GenCrossContourXld(const HTuple& Row, const HTuple& Col, const HTuple& Size, double Angle)
void HXLDCont::GenCrossContourXld(double Row, double Col, double Size, double Angle)
static void HOperatorSet.GenCrossContourXld(out HObject cross, HTuple row, HTuple col, HTuple size, HTuple angle)
void HXLDCont.GenCrossContourXld(HTuple row, HTuple col, HTuple size, double angle)
void HXLDCont.GenCrossContourXld(double row, double col, double size, double angle)
Description
gen_cross_contour_xldgen_cross_contour_xldGenCrossContourXldGenCrossContourXldGenCrossContourXld
generates an XLD contour in the shape of a
cross for each input point (RowRowRowRowrow
,ColColColColcol
).
Conceptually, the contour consists of two lines of length SizeSizeSizeSizesize
,
which intersect exactly in the input point. Their orientation is determined
by AngleAngleAngleAngleangle
. The cross is returned in CrossCrossCrossCrosscross
. If there are
multiple points to be processed, their coordinates must be passed as tuples.
Execution Information
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Parameters
CrossCrossCrossCrosscross
(output_object) xld_cont(-array) →
objectHXLDContHXLDContHobject *
Generated XLD contours.
RowRowRowRowrow
(input_control) point.y(-array) →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Row coordinates of the input points.
ColColColColcol
(input_control) point.x(-array) →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Column coordinates of the input points.
Restriction: number(Col) == number(Row)
SizeSizeSizeSizesize
(input_control) number →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Length of the cross bars.
Default value: 6.0
Suggested values: 4.0, 6.0, 8.0, 10.0
Restriction: 0.0 <= Size
AngleAngleAngleAngleangle
(input_control) angle.rad →
HTupleHTupleHtuple (real) (double) (double) (double)
Orientation of the crosses.
Default value: 0.785398
Suggested values: 0.0, 0.785398
Result
gen_cross_contour_xldgen_cross_contour_xldGenCrossContourXldGenCrossContourXldGenCrossContourXld
returns 2 (H_MSG_TRUE) if all parameters are correct
and no error occurs during execution.
Possible Predecessors
points_foerstnerpoints_foerstnerPointsFoerstnerPointsFoerstnerPointsFoerstner
,
points_harrispoints_harrisPointsHarrisPointsHarrisPointsHarris
,
critical_points_sub_pixcritical_points_sub_pixCriticalPointsSubPixCriticalPointsSubPixCriticalPointsSubPix
,
local_max_sub_pixlocal_max_sub_pixLocalMaxSubPixLocalMaxSubPixLocalMaxSubPix
,
local_min_sub_pixlocal_min_sub_pixLocalMinSubPixLocalMinSubPixLocalMinSubPix
,
saddle_points_sub_pixsaddle_points_sub_pixSaddlePointsSubPixSaddlePointsSubPixSaddlePointsSubPix
Alternatives
disp_crossdisp_crossDispCrossDispCrossDispCross
Module
Foundation