Skip to content

gen_cross_contour_xldgen_cross_contour_xldGenCrossContourXldGenCrossContourXldgen_cross_contour_xldgen_cross_contour_xld🔗

Short description🔗

gen_cross_contour_xldgen_cross_contour_xldGenCrossContourXldGenCrossContourXldgen_cross_contour_xldgen_cross_contour_xld — Generate one XLD contour in the shape of a cross for each input point.

Signature🔗

gen_cross_contour_xld( out xld_cont Cross, point.y Row, point.x Col, number Size, angle.rad Angle )gen_cross_contour_xld( : Cross : Row, Col, Size, Angle : )void GenCrossContourXld( HObject* Cross, const HTuple& Row, const HTuple& Col, const HTuple& Size, const HTuple& Angle )static void HOperatorSet.GenCrossContourXld( out HObject cross, HTuple row, HTuple col, HTuple size, HTuple angle )def gen_cross_contour_xld( row: MaybeSequence[Union[float, int]], col: MaybeSequence[Union[float, int]], size: Union[float, int], angle: float ) -> HObject

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 HXLDCont::GenCrossContourXld( const HTuple& Row, const HTuple& Col, const HTuple& Size, double Angle )

void HXLDCont::GenCrossContourXld( double Row, double Col, double Size, double 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_xldGenCrossContourXld generates an XLD contour in the shape of a cross for each input point (Rowrowrow,Colcolcol). Conceptually, the contour consists of two lines of length Sizesizesize, which intersect exactly in the input point. Their orientation is determined by Angleangleangle. The cross is returned in Crosscrosscross.

Parameter Broadcasting🔗

This operator supports parameter broadcasting. This means that each parameter can be given as a tuple of length 1 or N. Parameters with tuple length 1 will be repeated internally such that the number of created items is always N.

Execution information🔗

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🔗

Crosscrosscross (output_object) xld_cont(-array) → objectobjectHObjectHXLDContHObjectHobject *

Generated XLD contours.

Rowrowrow (input_control) point.y(-array) → (real / integer)(real / integer)HTuple (double / Hlong)HTuple (double / int / long)MaybeSequence[Union[float, int]]Htuple (double / Hlong)

Row coordinates of the input points.

Colcolcol (input_control) point.x(-array) → (real / integer)(real / integer)HTuple (double / Hlong)HTuple (double / int / long)MaybeSequence[Union[float, int]]Htuple (double / Hlong)

Column coordinates of the input points.

Restriction: number(Col) == number(Row)

Sizesizesize (input_control) number → (real / integer)(real / integer)HTuple (double / Hlong)HTuple (double / int / long)Union[float, int]Htuple (double / Hlong)

Length of the cross bars.

Default: 6.06.0
Suggested values: 4.0, 6.0, 8.0, 10.04.0, 6.0, 8.0, 10.0
Restriction: 0.0 <= Size

Angleangleangle (input_control) angle.rad → (real)(real)HTuple (double)HTuple (double)floatHtuple (double)

Orientation of the crosses.

Default: 0.7853980.785398
Suggested values: 0.0, 0.7853980.0, 0.785398

Result🔗

gen_cross_contour_xldGenCrossContourXld returns 2 (H_MSG_TRUE) if all parameters are correct and no error occurs during execution.

Combinations with other operators🔗

Combinations

Possible predecessors

points_foerstnerPointsFoerstner, points_harrisPointsHarris, critical_points_sub_pixCriticalPointsSubPix, local_max_sub_pixLocalMaxSubPix, local_min_sub_pixLocalMinSubPix, saddle_points_sub_pixSaddlePointsSubPix

Alternatives

disp_crossDispCross

Module🔗

Foundation