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
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
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
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