Operator Reference

get_distance_transform_xld_contourT_get_distance_transform_xld_contourGetDistanceTransformXldContourGetDistanceTransformXldContourget_distance_transform_xld_contour (Operator)

get_distance_transform_xld_contourT_get_distance_transform_xld_contourGetDistanceTransformXldContourGetDistanceTransformXldContourget_distance_transform_xld_contour — Get the reference contour used to build the XLD distance transform.

Signature

get_distance_transform_xld_contour( : Contour : DistanceTransformID : )

Herror T_get_distance_transform_xld_contour(Hobject* Contour, const Htuple DistanceTransformID)

void GetDistanceTransformXldContour(HObject* Contour, const HTuple& DistanceTransformID)

HXLDCont HXLDDistTrans::GetDistanceTransformXldContour() const

static void HOperatorSet.GetDistanceTransformXldContour(out HObject contour, HTuple distanceTransformID)

HXLDCont HXLDDistTrans.GetDistanceTransformXldContour()

def get_distance_transform_xld_contour(distance_transform_id: HHandle) -> HObject

Description

get_distance_transform_xld_contourget_distance_transform_xld_contourGetDistanceTransformXldContourGetDistanceTransformXldContourget_distance_transform_xld_contour returns the reference contour ContourContourContourcontourcontour that was used to build the XLD distance transform DistanceTransformIDDistanceTransformIDDistanceTransformIDdistanceTransformIDdistance_transform_id. This can be used for visualization purposes while comparing a given contour against the reference contour using apply_distance_transform_xldapply_distance_transform_xldApplyDistanceTransformXldApplyDistanceTransformXldapply_distance_transform_xld.

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

ContourContourContourcontourcontour (output_object)  xld_cont(-array) objectHXLDContHObjectHObjectHobject *

Reference contour.

DistanceTransformIDDistanceTransformIDDistanceTransformIDdistanceTransformIDdistance_transform_id (input_control)  xld_dist_trans HXLDDistTrans, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the XLD distance transform.

Result

If all parameters are correct, the operator returns the value 2 ( H_MSG_TRUE) . Otherwise, an exception is raised.

Possible Predecessors

read_distance_transform_xldread_distance_transform_xldReadDistanceTransformXldReadDistanceTransformXldread_distance_transform_xld, deserialize_distance_transform_xlddeserialize_distance_transform_xldDeserializeDistanceTransformXldDeserializeDistanceTransformXlddeserialize_distance_transform_xld

See also

get_distance_transform_xld_paramget_distance_transform_xld_paramGetDistanceTransformXldParamGetDistanceTransformXldParamget_distance_transform_xld_param, set_distance_transform_xld_paramset_distance_transform_xld_paramSetDistanceTransformXldParamSetDistanceTransformXldParamset_distance_transform_xld_param, create_distance_transform_xldcreate_distance_transform_xldCreateDistanceTransformXldCreateDistanceTransformXldcreate_distance_transform_xld, apply_distance_transform_xldapply_distance_transform_xldApplyDistanceTransformXldApplyDistanceTransformXldapply_distance_transform_xld, clear_distance_transform_xldclear_distance_transform_xldClearDistanceTransformXldClearDistanceTransformXldclear_distance_transform_xld, write_distance_transform_xldwrite_distance_transform_xldWriteDistanceTransformXldWriteDistanceTransformXldwrite_distance_transform_xld, serialize_distance_transform_xldserialize_distance_transform_xldSerializeDistanceTransformXldSerializeDistanceTransformXldserialize_distance_transform_xld

Module

Foundation