read_descriptor_modelT_read_descriptor_modelReadDescriptorModelReadDescriptorModelread_descriptor_model (Operator)

Name

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

def read_descriptor_model(file_name: str) -> HHandle

Description

The operator read_descriptor_modelread_descriptor_modelReadDescriptorModelReadDescriptorModelReadDescriptorModelread_descriptor_model reads a descriptor model, which has been written with write_descriptor_modelwrite_descriptor_modelWriteDescriptorModelWriteDescriptorModelWriteDescriptorModelwrite_descriptor_model, from the file FileNameFileNameFileNameFileNamefileNamefile_name. 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

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

File name.

File extension: .dsm

ModelIDModelIDModelIDModelIDmodelIDmodel_id (output_control)  descriptor_model HDescriptorModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Handle of the model.

Possible Successors

find_uncalib_descriptor_modelfind_uncalib_descriptor_modelFindUncalibDescriptorModelFindUncalibDescriptorModelFindUncalibDescriptorModelfind_uncalib_descriptor_model, find_calib_descriptor_modelfind_calib_descriptor_modelFindCalibDescriptorModelFindCalibDescriptorModelFindCalibDescriptorModelfind_calib_descriptor_model

See also

create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModelcreate_calib_descriptor_model, create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model

Module

Matching