Operator Reference

read_descriptor_modelT_read_descriptor_modelReadDescriptorModelReadDescriptorModelread_descriptor_model (Operator)

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_modelReadDescriptorModelReadDescriptorModelread_descriptor_model reads a descriptor model, which has been written with write_descriptor_modelwrite_descriptor_modelWriteDescriptorModelWriteDescriptorModelwrite_descriptor_model, from the file FileNameFileNameFileNamefileNamefile_name. The default HALCON file extension for the descriptor model is 'dsm'.

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

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

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

File name.

File extension: .dsm

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

Handle of the model.

Possible Successors

find_uncalib_descriptor_modelfind_uncalib_descriptor_modelFindUncalibDescriptorModelFindUncalibDescriptorModelfind_uncalib_descriptor_model, find_calib_descriptor_modelfind_calib_descriptor_modelFindCalibDescriptorModelFindCalibDescriptorModelfind_calib_descriptor_model

See also

create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelcreate_calib_descriptor_model, create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model

Module

Matching