Operator Reference

write_descriptor_modelT_write_descriptor_modelWriteDescriptorModelWriteDescriptorModelwrite_descriptor_model (Operator)

write_descriptor_modelT_write_descriptor_modelWriteDescriptorModelWriteDescriptorModelwrite_descriptor_model — Write a descriptor model to a file.

Signature

write_descriptor_model( : : ModelID, FileName : )

Herror T_write_descriptor_model(const Htuple ModelID, const Htuple FileName)

void WriteDescriptorModel(const HTuple& ModelID, const HTuple& FileName)

void HDescriptorModel::WriteDescriptorModel(const HString& FileName) const

void HDescriptorModel::WriteDescriptorModel(const char* FileName) const

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

static void HOperatorSet.WriteDescriptorModel(HTuple modelID, HTuple fileName)

void HDescriptorModel.WriteDescriptorModel(string fileName)

def write_descriptor_model(model_id: HHandle, file_name: str) -> None

Description

The operator write_descriptor_modelwrite_descriptor_modelWriteDescriptorModelWriteDescriptorModelwrite_descriptor_model writes a descriptor model to the file FileNameFileNameFileNamefileNamefile_name. The model can be read again with read_descriptor_modelread_descriptor_modelReadDescriptorModelReadDescriptorModelread_descriptor_model. 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.

Parameters

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

Handle of a model to be saved.

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

The path and filename of the model to be saved.

File extension: .dsm

Possible Predecessors

points_lepetitpoints_lepetitPointsLepetitPointsLepetitpoints_lepetit, create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model, create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelcreate_calib_descriptor_model

See also

create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model, create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelcreate_calib_descriptor_model

Module

Matching