write_descriptor_modelwrite_descriptor_modelWriteDescriptorModelWriteDescriptorModelwrite_descriptor_modelT_write_descriptor_model
Short description
write_descriptor_modelwrite_descriptor_modelWriteDescriptorModelWriteDescriptorModelwrite_descriptor_modelT_write_descriptor_model — Write a descriptor model to a file.
Signature
write_descriptor_model( descriptor_model ModelID, filename.write FileName )write_descriptor_model( : : ModelID, FileName : )void WriteDescriptorModel( const HTuple& ModelID, const HTuple& FileName )static void HOperatorSet.WriteDescriptorModel( HTuple modelID, HTuple fileName )def write_descriptor_model( model_id: HHandle, file_name: str ) -> None
Herror T_write_descriptor_model( 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)
void HDescriptorModel.WriteDescriptorModel( string fileName )
Description
The operator write_descriptor_modelWriteDescriptorModel writes a descriptor model
to the file FileNamefileNamefile_name. The model can be read again with
read_descriptor_modelReadDescriptorModel. 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
ModelIDmodelIDmodel_id (input_control) descriptor_model → (handle)(handle)HTuple (HHandle)HDescriptorModel, HTuple (IntPtr)HHandleHtuple (handle)
Handle of a model to be saved.
FileNamefileNamefile_name (input_control) filename.write → (string)(string)HTuple (HString)HTuple (string)strHtuple (char*)
The path and filename of the model to be saved.
File extension: .dsm
Combinations with other operators
Combinations
Possible predecessors
points_lepetitPointsLepetit, create_uncalib_descriptor_modelCreateUncalibDescriptorModel, create_calib_descriptor_modelCreateCalibDescriptorModel
See also
create_uncalib_descriptor_modelCreateUncalibDescriptorModel, create_calib_descriptor_modelCreateCalibDescriptorModel
Module
Matching