Operator Reference

gen_cross_contour_xldgen_cross_contour_xldGenCrossContourXldGenCrossContourXldgen_cross_contour_xld (Operator)

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

gen_cross_contour_xld( : Cross : Row, Col, Size, Angle : )

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_xldGenCrossContourXldGenCrossContourXldgen_cross_contour_xld 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.

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

  • 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) objectHXLDContHObjectHObjectHobject *

Generated XLD contours.

RowRowRowrowrow (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.

ColColColcolcol (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)

SizeSizeSizesizesize (input_control)  number HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Length of the cross bars.

Default: 6.0

Suggested values: 4.0, 6.0, 8.0, 10.0

Restriction: 0.0 <= Size

AngleAngleAngleangleangle (input_control)  angle.rad HTuplefloatHTupleHtuple (real) (double) (double) (double)

Orientation of the crosses.

Default: 0.785398

Suggested values: 0.0, 0.785398

Result

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

Possible Predecessors

points_foerstnerpoints_foerstnerPointsFoerstnerPointsFoerstnerpoints_foerstner, points_harrispoints_harrisPointsHarrisPointsHarrispoints_harris, critical_points_sub_pixcritical_points_sub_pixCriticalPointsSubPixCriticalPointsSubPixcritical_points_sub_pix, local_max_sub_pixlocal_max_sub_pixLocalMaxSubPixLocalMaxSubPixlocal_max_sub_pix, local_min_sub_pixlocal_min_sub_pixLocalMinSubPixLocalMinSubPixlocal_min_sub_pix, saddle_points_sub_pixsaddle_points_sub_pixSaddlePointsSubPixSaddlePointsSubPixsaddle_points_sub_pix

Alternatives

disp_crossdisp_crossDispCrossDispCrossdisp_cross

Module

Foundation