write_descriptor_modelT_write_descriptor_modelWriteDescriptorModelWriteDescriptorModelwrite_descriptor_model (Operator)

Name

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_modelWriteDescriptorModelWriteDescriptorModelWriteDescriptorModelwrite_descriptor_model writes a descriptor model to the file FileNameFileNameFileNameFileNamefileNamefile_name. The model can be read again with read_descriptor_modelread_descriptor_modelReadDescriptorModelReadDescriptorModelReadDescriptorModelread_descriptor_model. The default HALCON file extension for the descriptor model is 'dsm'.

Execution Information

Parameters

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

Handle of a model to be saved.

FileNameFileNameFileNameFileNamefileNamefile_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_lepetitPointsLepetitPointsLepetitPointsLepetitpoints_lepetit, create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model, create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModelcreate_calib_descriptor_model

See also

create_uncalib_descriptor_modelcreate_uncalib_descriptor_modelCreateUncalibDescriptorModelCreateUncalibDescriptorModelCreateUncalibDescriptorModelcreate_uncalib_descriptor_model, create_calib_descriptor_modelcreate_calib_descriptor_modelCreateCalibDescriptorModelCreateCalibDescriptorModelCreateCalibDescriptorModelcreate_calib_descriptor_model

Module

Matching