read_distance_transform_xldT_read_distance_transform_xldReadDistanceTransformXldReadDistanceTransformXldread_distance_transform_xld (Operator)

Name

read_distance_transform_xldT_read_distance_transform_xldReadDistanceTransformXldReadDistanceTransformXldread_distance_transform_xld — Read an XLD distance transform from a file.

Signature

read_distance_transform_xld( : : FileName : DistanceTransformID)

Herror T_read_distance_transform_xld(const Htuple FileName, Htuple* DistanceTransformID)

void ReadDistanceTransformXld(const HTuple& FileName, HTuple* DistanceTransformID)

void HXLDDistTrans::HXLDDistTrans(const HString& FileName)

void HXLDDistTrans::HXLDDistTrans(const char* FileName)

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

void HXLDDistTrans::ReadDistanceTransformXld(const HString& FileName)

void HXLDDistTrans::ReadDistanceTransformXld(const char* FileName)

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

static void HOperatorSet.ReadDistanceTransformXld(HTuple fileName, out HTuple distanceTransformID)

public HXLDDistTrans(string fileName)

void HXLDDistTrans.ReadDistanceTransformXld(string fileName)

def read_distance_transform_xld(file_name: str) -> HHandle

Description

read_distance_transform_xldread_distance_transform_xldReadDistanceTransformXldReadDistanceTransformXldReadDistanceTransformXldread_distance_transform_xld reads an XLD distance transform which previously has been stored with write_distance_transform_xldwrite_distance_transform_xldWriteDistanceTransformXldWriteDistanceTransformXldWriteDistanceTransformXldwrite_distance_transform_xld from the file given by FileNameFileNameFileNameFileNamefileNamefile_name and returns the handle DistanceTransformIDDistanceTransformIDDistanceTransformIDDistanceTransformIDdistanceTransformIDdistance_transform_id. The default HALCON extension for the XLD distance transform is 'hdtc'.

get_distance_transform_xld_contourget_distance_transform_xld_contourGetDistanceTransformXldContourGetDistanceTransformXldContourGetDistanceTransformXldContourget_distance_transform_xld_contour can be used to get the reference contour that was used to build the XLD distance transform DistanceTransformIDDistanceTransformIDDistanceTransformIDDistanceTransformIDdistanceTransformIDdistance_transform_id.

Execution Information

This operator returns a handle. Note that the state of an instance of this handle type may be changed by specific operators even though the handle is used as an input parameter by those operators.

Parameters

FileNameFileNameFileNameFileNamefileNamefile_name (input_control)  filename.write HTuplestrHTupleHtuple (string) (string) (HString) (char*)

Name of the file.

File extension: .hdtc

DistanceTransformIDDistanceTransformIDDistanceTransformIDDistanceTransformIDdistanceTransformIDdistance_transform_id (output_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 Successors

apply_distance_transform_xldapply_distance_transform_xldApplyDistanceTransformXldApplyDistanceTransformXldApplyDistanceTransformXldapply_distance_transform_xld, get_distance_transform_xld_contourget_distance_transform_xld_contourGetDistanceTransformXldContourGetDistanceTransformXldContourGetDistanceTransformXldContourget_distance_transform_xld_contour, get_distance_transform_xld_paramget_distance_transform_xld_paramGetDistanceTransformXldParamGetDistanceTransformXldParamGetDistanceTransformXldParamget_distance_transform_xld_param

See also

write_distance_transform_xldwrite_distance_transform_xldWriteDistanceTransformXldWriteDistanceTransformXldWriteDistanceTransformXldwrite_distance_transform_xld, serialize_distance_transform_xldserialize_distance_transform_xldSerializeDistanceTransformXldSerializeDistanceTransformXldSerializeDistanceTransformXldserialize_distance_transform_xld, deserialize_distance_transform_xlddeserialize_distance_transform_xldDeserializeDistanceTransformXldDeserializeDistanceTransformXldDeserializeDistanceTransformXlddeserialize_distance_transform_xld, create_distance_transform_xldcreate_distance_transform_xldCreateDistanceTransformXldCreateDistanceTransformXldCreateDistanceTransformXldcreate_distance_transform_xld, set_distance_transform_xld_paramset_distance_transform_xld_paramSetDistanceTransformXldParamSetDistanceTransformXldParamSetDistanceTransformXldParamset_distance_transform_xld_param, clear_distance_transform_xldclear_distance_transform_xldClearDistanceTransformXldClearDistanceTransformXldClearDistanceTransformXldclear_distance_transform_xld

Module

Foundation