SIFTKeypointMatcherOptions¶
giant.image_processing.feature_matchers
:
- class giant.image_processing.feature_matchers.SIFTKeypointMatcherOptions(ratio_threshold=0.9, flann_index_algorithm_type=FLANNIndexAlgorithmType.FLANN_INDEX_KDTREE, flann_algorithm_parameters=<factory>, flann_search_parameters=<factory>, sift_options=<factory>)[source]¶
Options for configuring the ORB keypoint matcher
- Parameters:
ratio_threshold (float)
flann_index_algorithm_type (FLANNIndexAlgorithmType)
flann_algorithm_parameters (FLANNIndexAutotunedParams | FLANNIndexCompositeParams | FLANNIndexHierarchicalParams | FLANNIndexKdTreeParams | FLANNIndexKdTreeSingleParams | FLANNIndexKMeansParams | FLANNIndexLinearParams | FLANNIndexLSHParams)
flann_search_parameters (FLANNSearchParams)
sift_options (SIFTOptions)
- sift_options: SIFTOptions¶
Options used to configure cv2.ORB.create() which configures how keypoints are detected and described
- property options_dict: Dict¶
Determine the options input to the dataclass.
This property method will ignore all internal properties and functions
- ratio_threshold: float = 0.9¶
The threshold to use in Lowe’s ratio test
- flann_search_parameters: FLANNSearchParams¶
The parameters to configure how FLANN performs searches
- flann_index_algorithm_type: FLANNIndexAlgorithmType = 1¶
What FLANN algorithm to use.
For SIFT, FLANN_INDEX_KDTREE is recommended
- 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.
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 |