write_distance_transform_xldT_write_distance_transform_xldWriteDistanceTransformXldWriteDistanceTransformXld (Operator)

Name

write_distance_transform_xldT_write_distance_transform_xldWriteDistanceTransformXldWriteDistanceTransformXld — Write an XLD distance transform into a file.

Signature

write_distance_transform_xld( : : DistanceTransformID, FileName : )

Herror T_write_distance_transform_xld(const Htuple DistanceTransformID, const Htuple FileName)

void WriteDistanceTransformXld(const HTuple& DistanceTransformID, const HTuple& FileName)

void HXLDDistTrans::WriteDistanceTransformXld(const HString& FileName) const

void HXLDDistTrans::WriteDistanceTransformXld(const char* FileName) const

void HXLDDistTrans::WriteDistanceTransformXld(const wchar_t* FileName) const   (Windows only)

static void HOperatorSet.WriteDistanceTransformXld(HTuple distanceTransformID, HTuple fileName)

void HXLDDistTrans.WriteDistanceTransformXld(string fileName)

Description

write_distance_transform_xldwrite_distance_transform_xldWriteDistanceTransformXldWriteDistanceTransformXldWriteDistanceTransformXld writes the XLD distance transform DistanceTransformIDDistanceTransformIDDistanceTransformIDDistanceTransformIDdistanceTransformID into the file given by FileNameFileNameFileNameFileNamefileName. The default HALCON extension for the XLD distance transform is 'hdtc'.

The stored XLD distance transform can be read in with read_distance_transform_xldread_distance_transform_xldReadDistanceTransformXldReadDistanceTransformXldReadDistanceTransformXld.

Execution Information

Parameters

DistanceTransformIDDistanceTransformIDDistanceTransformIDDistanceTransformIDdistanceTransformID (input_control)  xld_dist_trans HXLDDistTrans, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the XLD distance transform.

FileNameFileNameFileNameFileNamefileName (input_control)  filename.write HTupleHTupleHtuple (string) (string) (HString) (char*)

Name of the file.

File extension: .hdtc

Result

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

Possible Predecessors

create_distance_transform_xldcreate_distance_transform_xldCreateDistanceTransformXldCreateDistanceTransformXldCreateDistanceTransformXld

Possible Successors

clear_distance_transform_xldclear_distance_transform_xldClearDistanceTransformXldClearDistanceTransformXldClearDistanceTransformXld

Alternatives

serialize_distance_transform_xldserialize_distance_transform_xldSerializeDistanceTransformXldSerializeDistanceTransformXldSerializeDistanceTransformXld

See also

read_distance_transform_xldread_distance_transform_xldReadDistanceTransformXldReadDistanceTransformXldReadDistanceTransformXld, deserialize_distance_transform_xlddeserialize_distance_transform_xldDeserializeDistanceTransformXldDeserializeDistanceTransformXldDeserializeDistanceTransformXld, get_distance_transform_xld_contourget_distance_transform_xld_contourGetDistanceTransformXldContourGetDistanceTransformXldContourGetDistanceTransformXldContour, apply_distance_transform_xldapply_distance_transform_xldApplyDistanceTransformXldApplyDistanceTransformXldApplyDistanceTransformXld, get_distance_transform_xld_paramget_distance_transform_xld_paramGetDistanceTransformXldParamGetDistanceTransformXldParamGetDistanceTransformXldParam, set_distance_transform_xld_paramset_distance_transform_xld_paramSetDistanceTransformXldParamSetDistanceTransformXldParamSetDistanceTransformXldParam

Module

Foundation