Skip to content

get_descriptor_model_resultsget_descriptor_model_resultsGetDescriptorModelResultsGetDescriptorModelResultsget_descriptor_model_resultsT_get_descriptor_model_results🔗

Short description🔗

get_descriptor_model_resultsget_descriptor_model_resultsGetDescriptorModelResultsGetDescriptorModelResultsget_descriptor_model_resultsT_get_descriptor_model_results — Query alphanumerical results that were accumulated during descriptor-based matching.

Signature🔗

get_descriptor_model_results( descriptor_model ModelID, integer ObjectID, attribute.name ResultNames, out attribute.value Results )get_descriptor_model_results( : : ModelID, ObjectID, ResultNames : Results )void GetDescriptorModelResults( const HTuple& ModelID, const HTuple& ObjectID, const HTuple& ResultNames, HTuple* Results )static void HOperatorSet.GetDescriptorModelResults( HTuple modelID, HTuple objectID, HTuple resultNames, out HTuple results )def get_descriptor_model_results( model_id: HHandle, object_id: Union[int, str], result_names: str ) -> Sequence[Union[int, float, str]]

def get_descriptor_model_results_s( model_id: HHandle, object_id: Union[int, str], result_names: str ) -> Union[int, float, str]Herror T_get_descriptor_model_results( const Htuple ModelID, const Htuple ObjectID, const Htuple ResultNames, Htuple* Results )

HTuple HDescriptorModel::GetDescriptorModelResults( const HTuple& ObjectID, const HString& ResultNames ) const

HTuple HDescriptorModel::GetDescriptorModelResults( Hlong ObjectID, const HString& ResultNames ) const

HTuple HDescriptorModel::GetDescriptorModelResults( Hlong ObjectID, const char* ResultNames ) const

HTuple HDescriptorModel::GetDescriptorModelResults( Hlong ObjectID, const wchar_t* ResultNames ) const (Windows only)

HTuple HDescriptorModel.GetDescriptorModelResults( HTuple objectID, string resultNames )

HTuple HDescriptorModel.GetDescriptorModelResults( int objectID, string resultNames )

Description🔗

The operator get_descriptor_model_resultsGetDescriptorModelResults allows to access alphanumeric results of the descriptor based matching process. The results are stored in a descriptor based model specified by ModelIDmodelIDmodel_id. ObjectIDobjectIDobject_id specifies for which object the results should be returned. The objects are 0-based indexed and in the same order as they are detected by find_uncalib_descriptor_modelFindUncalibDescriptorModel or find_calib_descriptor_modelFindCalibDescriptorModel, respectively. Results can be queried for all objects at once by specifying 'all'"all" in ObjectIDobjectIDobject_id, if they are single valued (e.g., ResultNamesresultNamesresult_names='num_points'"num_points" or ResultNamesresultNamesresult_names='inlier_ratio'"inlier_ratio").

The results returned in Resultsresultsresults can be selected by setting ResultNamesresultNamesresult_names to:

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

Parameters🔗

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

Handle of a descriptor model.

ObjectIDobjectIDobject_id (input_control) integer → (integer / string)(integer / string)HTuple (Hlong / HString)HTuple (int / long / string)Union[int, str]Htuple (Hlong / char*)

Handle of the object for which the results are queried.

Default: 'all'"all"
Suggested values: 'all', 0, 1, 2, 3"all", 0, 1, 2, 3

ResultNamesresultNamesresult_names (input_control) attribute.name → (string)(string)HTuple (HString)HTuple (string)strHtuple (char*)

Name of the results to be queried.

Default: 'num_points'"num_points"
List of values: 'homography', 'inlier_ratio', 'num_points', 'point_classification', 'pose'"homography", "inlier_ratio", "num_points", "point_classification", "pose"

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

Returned results.

Combinations with other operators🔗

Combinations

Possible predecessors

find_uncalib_descriptor_modelFindUncalibDescriptorModel, find_calib_descriptor_modelFindCalibDescriptorModel

See also

get_descriptor_model_originGetDescriptorModelOrigin, get_descriptor_model_paramsGetDescriptorModelParams, get_descriptor_model_pointsGetDescriptorModelPoints

Module🔗

Matching