gen_cross_contour_xldgen_cross_contour_xldGenCrossContourXldGenCrossContourXldgen_cross_contour_xld (Operator)
Name
gen_cross_contour_xldgen_cross_contour_xldGenCrossContourXldGenCrossContourXldgen_cross_contour_xld
— 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)
def gen_cross_contour_xld(row: MaybeSequence[Union[float, int]], col: MaybeSequence[Union[float, int]], size: Union[float, int], angle: float) -> HObject
Description
gen_cross_contour_xldgen_cross_contour_xldGenCrossContourXldGenCrossContourXldGenCrossContourXldgen_cross_contour_xld
generates an XLD contour in the shape of a
cross for each input point (RowRowRowRowrowrow
,ColColColColcolcol
).
Conceptually, the contour consists of two lines of length SizeSizeSizeSizesizesize
,
which intersect exactly in the input point. Their orientation is determined
by AngleAngleAngleAngleangleangle
. The cross is returned in CrossCrossCrossCrosscrosscross
. 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
CrossCrossCrossCrosscrosscross
(output_object) xld_cont(-array) →
objectHXLDContHObjectHXLDContHobject *
Generated XLD contours.
RowRowRowRowrowrow
(input_control) point.y(-array) →
HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Row coordinates of the input points.
ColColColColcolcol
(input_control) point.x(-array) →
HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Column coordinates of the input points.
Restriction: number(Col) == number(Row)
SizeSizeSizeSizesizesize
(input_control) number →
HTupleUnion[float, int]HTupleHtuple (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
AngleAngleAngleAngleangleangle
(input_control) angle.rad →
HTuplefloatHTupleHtuple (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_xldGenCrossContourXldGenCrossContourXldGenCrossContourXldgen_cross_contour_xld
returns 2 (H_MSG_TRUE) if all parameters are correct
and no error occurs during execution.
Possible Predecessors
points_foerstnerpoints_foerstnerPointsFoerstnerPointsFoerstnerPointsFoerstnerpoints_foerstner
,
points_harrispoints_harrisPointsHarrisPointsHarrisPointsHarrispoints_harris
,
critical_points_sub_pixcritical_points_sub_pixCriticalPointsSubPixCriticalPointsSubPixCriticalPointsSubPixcritical_points_sub_pix
,
local_max_sub_pixlocal_max_sub_pixLocalMaxSubPixLocalMaxSubPixLocalMaxSubPixlocal_max_sub_pix
,
local_min_sub_pixlocal_min_sub_pixLocalMinSubPixLocalMinSubPixLocalMinSubPixlocal_min_sub_pix
,
saddle_points_sub_pixsaddle_points_sub_pixSaddlePointsSubPixSaddlePointsSubPixSaddlePointsSubPixsaddle_points_sub_pix
Alternatives
disp_crossdisp_crossDispCrossDispCrossDispCrossdisp_cross
Module
Foundation