Operator Reference

write_distance_transform_xldT_write_distance_transform_xldWriteDistanceTransformXldWriteDistanceTransformXldwrite_distance_transform_xld (Operator)

write_distance_transform_xldT_write_distance_transform_xldWriteDistanceTransformXldWriteDistanceTransformXldwrite_distance_transform_xld — 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)

def write_distance_transform_xld(distance_transform_id: HHandle, file_name: str) -> None

Description

write_distance_transform_xldwrite_distance_transform_xldWriteDistanceTransformXldWriteDistanceTransformXldwrite_distance_transform_xld writes the XLD distance transform DistanceTransformIDDistanceTransformIDDistanceTransformIDdistanceTransformIDdistance_transform_id into the file given by FileNameFileNameFileNamefileNamefile_name. 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_xldReadDistanceTransformXldReadDistanceTransformXldread_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

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

Handle of the XLD distance transform.

FileNameFileNameFileNamefileNamefile_name (input_control)  filename.write HTuplestrHTupleHtuple (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_xldCreateDistanceTransformXldCreateDistanceTransformXldcreate_distance_transform_xld

Possible Successors

clear_distance_transform_xldclear_distance_transform_xldClearDistanceTransformXldClearDistanceTransformXldclear_distance_transform_xld

Alternatives

serialize_distance_transform_xldserialize_distance_transform_xldSerializeDistanceTransformXldSerializeDistanceTransformXldserialize_distance_transform_xld

See also

read_distance_transform_xldread_distance_transform_xldReadDistanceTransformXldReadDistanceTransformXldread_distance_transform_xld, deserialize_distance_transform_xlddeserialize_distance_transform_xldDeserializeDistanceTransformXldDeserializeDistanceTransformXlddeserialize_distance_transform_xld, get_distance_transform_xld_contourget_distance_transform_xld_contourGetDistanceTransformXldContourGetDistanceTransformXldContourget_distance_transform_xld_contour, apply_distance_transform_xldapply_distance_transform_xldApplyDistanceTransformXldApplyDistanceTransformXldapply_distance_transform_xld, 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

Module

Foundation