Skip to content

clear_descriptor_modelClearDescriptorModelClearDescriptorModelclear_descriptor_modelT_clear_descriptor_model🔗

Short description🔗

clear_descriptor_modelClearDescriptorModelClearDescriptorModelclear_descriptor_modelT_clear_descriptor_model — Free the memory of a descriptor model.

Signature🔗

clear_descriptor_model( descriptor_model ModelID )void ClearDescriptorModel( const HTuple& ModelID )static void HOperatorSet.ClearDescriptorModel( HTuple modelID )def clear_descriptor_model( model_id: MaybeSequence[HHandle] ) -> None

Herror T_clear_descriptor_model( const Htuple ModelID )

static void HDescriptorModel::ClearDescriptorModel( const HDescriptorModelArray& ModelID )

void HDescriptorModel::ClearDescriptorModel( ) const

static void HDescriptorModel.ClearDescriptorModel( HDescriptorModel[] modelID )

void HDescriptorModel.ClearDescriptorModel( )

Description🔗

The operator clear_descriptor_modelClearDescriptorModel frees the memory of a descriptor model that was created by create_calib_descriptor_modelCreateCalibDescriptorModel or create_uncalib_descriptor_modelCreateUncalibDescriptorModel. After calling clear_descriptor_modelClearDescriptorModel, the model can no longer be used. The handle ModelIDmodelIDmodel_id becomes invalid.

Execution information🔗

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 modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

Parameters🔗

ModelIDmodelIDmodel_id (input_control, state is modified) descriptor_model(-array) → (handle)HTuple (HHandle)HDescriptorModel, HTuple (IntPtr)MaybeSequence[HHandle]Htuple (handle)

Handle of the descriptor model.

Result🔗

If the handle of the model is valid, the operator clear_descriptor_modelClearDescriptorModel returns the value 2 (H_MSG_TRUE). If necessary an exception is raised.

Combinations with other operators🔗

Combinations

See also

create_uncalib_descriptor_modelCreateUncalibDescriptorModel, create_calib_descriptor_modelCreateCalibDescriptorModel

Module🔗

Matching