set_distance_transform_xld_paramT_set_distance_transform_xld_paramSetDistanceTransformXldParamSetDistanceTransformXldParam (Operator)

Name

set_distance_transform_xld_paramT_set_distance_transform_xld_paramSetDistanceTransformXldParamSetDistanceTransformXldParam — Set new parameters for an XLD distance transform.

Signature

set_distance_transform_xld_param( : : DistanceTransformID, GenParamName, GenParamValue : )

Herror T_set_distance_transform_xld_param(const Htuple DistanceTransformID, const Htuple GenParamName, const Htuple GenParamValue)

void SetDistanceTransformXldParam(const HTuple& DistanceTransformID, const HTuple& GenParamName, const HTuple& GenParamValue)

void HXLDDistTrans::SetDistanceTransformXldParam(const HTuple& GenParamName, const HTuple& GenParamValue) const

void HXLDDistTrans::SetDistanceTransformXldParam(const HString& GenParamName, const HString& GenParamValue) const

void HXLDDistTrans::SetDistanceTransformXldParam(const char* GenParamName, const char* GenParamValue) const

void HXLDDistTrans::SetDistanceTransformXldParam(const wchar_t* GenParamName, const wchar_t* GenParamValue) const   (Windows only)

static void HOperatorSet.SetDistanceTransformXldParam(HTuple distanceTransformID, HTuple genParamName, HTuple genParamValue)

void HXLDDistTrans.SetDistanceTransformXldParam(HTuple genParamName, HTuple genParamValue)

void HXLDDistTrans.SetDistanceTransformXldParam(string genParamName, string genParamValue)

Description

set_distance_transform_xld_paramset_distance_transform_xld_paramSetDistanceTransformXldParamSetDistanceTransformXldParamSetDistanceTransformXldParam sets new parameters for the XLD distance transform DistanceTransformIDDistanceTransformIDDistanceTransformIDDistanceTransformIDdistanceTransformID. The names and values of the parameters are passed in GenParamNameGenParamNameGenParamNameGenParamNamegenParamName and GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue, respectively. GenParamNameGenParamNameGenParamNameGenParamNamegenParamName can contain the names of parameters 'mode'"mode""mode""mode""mode" and 'max_distance'"max_distance""max_distance""max_distance""max_distance". The XLD distance transform of the original reference contour is then rebuilt with updated values of parameters.

Execution Information

This operator modifies the state of the following input parameter:

The value of this parameter may not be shared across multiple threads without external synchronization.

Parameters

DistanceTransformIDDistanceTransformIDDistanceTransformIDDistanceTransformIDdistanceTransformID (input_control, state is modified)  xld_dist_trans HXLDDistTrans, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the XLD distance transform.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  attribute.name(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Names of the generic parameters.

Default value: 'mode' "mode" "mode" "mode" "mode"

List of values: 'max_distance'"max_distance""max_distance""max_distance""max_distance", 'mode'"mode""mode""mode""mode"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (input_control)  attribute.value(-array) HTupleHTupleHtuple (string / real) (string / double) (HString / double) (char* / double)

Values of the generic parameters.

Default value: 'point_to_point' "point_to_point" "point_to_point" "point_to_point" "point_to_point"

Suggested values: 'point_to_point'"point_to_point""point_to_point""point_to_point""point_to_point", 'point_to_segment'"point_to_segment""point_to_segment""point_to_segment""point_to_segment", 5.0

Result

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

Possible Predecessors

get_distance_transform_xld_paramget_distance_transform_xld_paramGetDistanceTransformXldParamGetDistanceTransformXldParamGetDistanceTransformXldParam

Possible Successors

apply_distance_transform_xldapply_distance_transform_xldApplyDistanceTransformXldApplyDistanceTransformXldApplyDistanceTransformXld

See also

write_distance_transform_xldwrite_distance_transform_xldWriteDistanceTransformXldWriteDistanceTransformXldWriteDistanceTransformXld, serialize_distance_transform_xldserialize_distance_transform_xldSerializeDistanceTransformXldSerializeDistanceTransformXldSerializeDistanceTransformXld, get_distance_transform_xld_contourget_distance_transform_xld_contourGetDistanceTransformXldContourGetDistanceTransformXldContourGetDistanceTransformXldContour, read_distance_transform_xldread_distance_transform_xldReadDistanceTransformXldReadDistanceTransformXldReadDistanceTransformXld, deserialize_distance_transform_xlddeserialize_distance_transform_xldDeserializeDistanceTransformXldDeserializeDistanceTransformXldDeserializeDistanceTransformXld, clear_distance_transform_xldclear_distance_transform_xldClearDistanceTransformXldClearDistanceTransformXldClearDistanceTransformXld

Module

Foundation