KeypointMatcherOptions¶
giant.image_processing.feature_matchers
:
- class giant.image_processing.feature_matchers.KeypointMatcherOptions(ratio_threshold=0.9, flann_index_algorithm_type=FLANNIndexAlgorithmType.FLANN_INDEX_COMPOSITE, flann_algorithm_parameters=<factory>, flann_search_parameters=<factory>)[source]¶
Options for configuring a KeypointMatcher
- Parameters:
ratio_threshold (float)
flann_index_algorithm_type (FLANNIndexAlgorithmType)
flann_algorithm_parameters (FLANNIndexAutotunedParams | FLANNIndexCompositeParams | FLANNIndexHierarchicalParams | FLANNIndexKdTreeParams | FLANNIndexKdTreeSingleParams | FLANNIndexKMeansParams | FLANNIndexLinearParams | FLANNIndexLSHParams)
flann_search_parameters (FLANNSearchParams)
- ratio_threshold: float = 0.9¶
The threshold to use in Lowe’s ratio test
- flann_index_algorithm_type: FLANNIndexAlgorithmType = 3¶
What FLANN algorithm to use.
- flann_algorithm_parameters: FLANNIndexAutotunedParams | FLANNIndexCompositeParams | FLANNIndexHierarchicalParams | FLANNIndexKdTreeParams | FLANNIndexKdTreeSingleParams | FLANNIndexKMeansParams | FLANNIndexLinearParams | FLANNIndexLSHParams¶
The parameters to configure the index in FLANN.
This should match the flann_index_algorithm_type although OpenCV will not complain if it doesn’t.
- flann_search_parameters: FLANNSearchParams¶
The parameters to configure how FLANN performs searches
- property options_dict: Dict¶
Determine the options input to the dataclass.
This property method will ignore all internal properties and functions
Summary of Methods
Update the options as attributes of the object class |
|
this is used to overwrite options in variables only used in __init__ |
|
This method is used for special cases when certain options should be overwritten |