Operators |
get_descriptor_model_results — Query alphanumerical results that were accumulated during descriptor-based matching.
get_descriptor_model_results( : : ModelID, ObjectID, ResultNames : Results)
The operator get_descriptor_model_results allows to access alphanumeric results of the descriptor based matching process. The results are stored in a descriptor based model specified by ModelID. ObjectID 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_model or find_calib_descriptor_model, respectively. Results can be queried for all objects at once by specifying 'all' in ObjectID, if they are single valued (e.g., ResultNames='num_points' or ResultNames='inlier_ratio' ).
The results returned in Results can be selected by setting ResultNames to:
number of object points that correspond to model points.
ratio of successfully matched object points relative to all descriptor model points.
a 3x3 projective transformation matrix which transforms model points into object points. Note that the result of the mapping depends on the selected model origin (see set_descriptor_model_origin).
returns the estimated object pose. Note that this result can only be queried after find_calib_descriptor_model was called.
returns concatenated triads representing the classification results for the interest points extracted from the search image during the last call of find_uncalib_descriptor_model or find_calib_descriptor_model. Each triad consists of a search point index on the first, a model point index on the second, and a classification score on the third position. The search and model point indices correspond to the point coordinates returned by get_descriptor_model_points with the parameter Subset set to 'all' and the parameter Set set to 'search' and 'model' , respectively. If a number is passed in ObjectID only the classification results for the points matched to this object are returned. If 'all' is passed in ObjectID the classification results for all points, including the points not matched to any object, are returned. The triads are sorted in descending order with respect to their score. Points having a score less than the value of the descriptor parameter 'min_score_descr' (see find_calib_descriptor_model or find_uncalib_descriptor_model) are rejected and are not listed in the resulting classification results.
Handle of a descriptor model.
Handle of the object for which the results are queried.
Default value: 'all'
Suggested values: 'all' , 0, 1, 2, 3
Name of the results to be queried.
Default value: 'num_points'
List of values: 'homography' , 'inlier_ratio' , 'num_points' , 'point_classification' , 'pose'
Returned results.
find_uncalib_descriptor_model, find_calib_descriptor_model
get_descriptor_model_origin, get_descriptor_model_params, get_descriptor_model_points
Matching
Operators |