Skip to content

get_descriptor_model_paramsGetDescriptorModelParamsGetDescriptorModelParamsget_descriptor_model_paramsT_get_descriptor_model_params🔗

Short description🔗

get_descriptor_model_paramsGetDescriptorModelParamsGetDescriptorModelParamsget_descriptor_model_paramsT_get_descriptor_model_params — Return the parameters of a descriptor model.

Signature🔗

get_descriptor_model_params( descriptor_model ModelID, out string DetectorType, out attribute.name DetectorParamName, out attribute.value DetectorParamValue, out attribute.name DescriptorParamName, out attribute.value DescriptorParamValue )void GetDescriptorModelParams( const HTuple& ModelID, HTuple* DetectorType, HTuple* DetectorParamName, HTuple* DetectorParamValue, HTuple* DescriptorParamName, HTuple* DescriptorParamValue )static void HOperatorSet.GetDescriptorModelParams( HTuple modelID, out HTuple detectorType, out HTuple detectorParamName, out HTuple detectorParamValue, out HTuple descriptorParamName, out HTuple descriptorParamValue )def get_descriptor_model_params( model_id: HHandle ) -> Tuple[str, Sequence[str], Sequence[Union[int, float, str]], Sequence[str], Sequence[Union[int, float, str]]]

Herror T_get_descriptor_model_params( const Htuple ModelID, Htuple* DetectorType, Htuple* DetectorParamName, Htuple* DetectorParamValue, Htuple* DescriptorParamName, Htuple* DescriptorParamValue )

HString HDescriptorModel::GetDescriptorModelParams( HTuple* DetectorParamName, HTuple* DetectorParamValue, HTuple* DescriptorParamName, HTuple* DescriptorParamValue ) const

string HDescriptorModel.GetDescriptorModelParams( out HTuple detectorParamName, out HTuple detectorParamValue, out HTuple descriptorParamName, out HTuple descriptorParamValue )

Description🔗

The operator get_descriptor_model_paramsGetDescriptorModelParams allows to access the parameters of a descriptor model that was created with create_uncalib_descriptor_modelCreateUncalibDescriptorModel or create_calib_descriptor_modelCreateCalibDescriptorModel. Therefore, a handle of a descriptor model must be passed in ModelIDmodelIDmodel_id. The operator returns in DetectorTypedetectorTypedetector_type, DetectorParamNamedetectorParamNamedetector_param_name and DetectorParamValuedetectorParamValuedetector_param_value the type and parametrization of the detector. In DescriptorType, DescriptorParamNamedescriptorParamNamedescriptor_param_name and DescriptorParamValuedescriptorParamValuedescriptor_param_value the respective descriptor is returned.

An application for this operator is the possibility to query the parameters that where used in a stored model. As the operator needs a handle to a descriptor model, it has to be loaded first by using read_descriptor_modelReadDescriptorModel.

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.

Parameters🔗

ModelIDmodelIDmodel_id (input_control) descriptor_model → (handle)HTuple (HHandle)HDescriptorModel, HTuple (IntPtr)HHandleHtuple (handle)

The object handle to the descriptor model.

DetectorTypedetectorTypedetector_type (output_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

The type of the detector.

DetectorParamNamedetectorParamNamedetector_param_name (output_control) attribute.name-array → (string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)

The detectors parameter names.

DetectorParamValuedetectorParamValuedetector_param_value (output_control) attribute.value-array → (integer / real / string)HTuple (Hlong / double / HString)HTuple (int / long / double / string)Sequence[Union[int, float, str]]Htuple (Hlong / double / char*)

Values of the detectors parameters.

DescriptorParamNamedescriptorParamNamedescriptor_param_name (output_control) attribute.name-array → (string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)

The descriptors parameter names.

DescriptorParamValuedescriptorParamValuedescriptor_param_value (output_control) attribute.value-array → (integer / real / string)HTuple (Hlong / double / HString)HTuple (int / long / double / string)Sequence[Union[int, float, str]]Htuple (Hlong / double / char*)

Values of the descriptors parameters.

Combinations with other operators🔗

Combinations

Possible predecessors

create_uncalib_descriptor_modelCreateUncalibDescriptorModel, create_calib_descriptor_modelCreateCalibDescriptorModel, read_descriptor_modelReadDescriptorModel

See also

create_uncalib_descriptor_modelCreateUncalibDescriptorModel, create_calib_descriptor_modelCreateCalibDescriptorModel

Module🔗

Matching