read_descriptor_modelT_read_descriptor_modelReadDescriptorModelReadDescriptorModel (Operator)

Name

read_descriptor_modelT_read_descriptor_modelReadDescriptorModelReadDescriptorModel — Read a descriptor model from a file.

Signature

read_descriptor_model( : : FileName : ModelID)

Herror T_read_descriptor_model(const Htuple FileName, Htuple* ModelID)

void ReadDescriptorModel(const HTuple& FileName, HTuple* ModelID)

void HDescriptorModel::HDescriptorModel(const HString& FileName)

void HDescriptorModel::HDescriptorModel(const char* FileName)

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

void HDescriptorModel::ReadDescriptorModel(const HString& FileName)

void HDescriptorModel::ReadDescriptorModel(const char* FileName)

void HDescriptorModel::ReadDescriptorModel(const wchar_t* FileName)   (Windows only)

static void HOperatorSet.ReadDescriptorModel(HTuple fileName, out HTuple modelID)

public HDescriptorModel(string fileName)

void HDescriptorModel.ReadDescriptorModel(string fileName)

Description

The operator read_descriptor_modelread_descriptor_modelReadDescriptorModelReadDescriptorModelReadDescriptorModel reads a descriptor model, which has been written with write_descriptor_modelwrite_descriptor_modelWriteDescriptorModelWriteDescriptorModelWriteDescriptorModel, from the file FileNameFileNameFileNameFileNamefileName. The default HALCON file extension for the descriptor model is 'dsm'.

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

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

File name.

File extension: .dsm

ModelIDModelIDModelIDModelIDmodelID (output_control)  descriptor_model HDescriptorModel, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the model.

Possible Successors

find_uncalib_descriptor_modelfind_uncalib_descriptor_modelFindUncalibDescriptorModelFindUncalibDescriptorModelFindUncalibDescriptorModel, find_calib_descriptor_modelfind_calib_descriptor_modelFindCalibDescriptorModelFindCalibDescriptorModelFindCalibDescriptorModel

See also

create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModel, create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModel

Module

Matching