Go to the documentation of this file. 1 #ifndef CSVKEYPOINTDETECTOR_H
2 #define CSVKEYPOINTDETECTOR_H
38 std::vector<std::shared_ptr<AFeature>> &features)
override;
39 void computeDescriptor(
const cv::Mat &img, std::vector<std::shared_ptr<AFeature>> &features)
override;
42 double computeDist(
const cv::Mat &desc1,
const cv::Mat &desc2)
const override;
45 std::string _folder_path;
50 #endif // CSVKEYPOINTDETECTOR_H
void init() override
Virtual function to initialize the feature detector.
Definition: csvKeypointDetector.cpp:11
void computeDescriptor(const cv::Mat &img, std::vector< std::shared_ptr< AFeature >> &features) override
Virtual function to compute descriptors for a set of features.
Definition: csvKeypointDetector.cpp:62
CsvKeypointDetector(int n, int n_per_cell, double max_matching_dist=64)
Definition: csvKeypointDetector.h:30
This Class is design for CSV reading features.
Definition: csvKeypointDetector.h:28
Definition: AFeature2D.h:8
double _max_matching_dist
distance threshold for matching
Definition: aFeatureDetector.h:136
double computeDist(const cv::Mat &desc1, const cv::Mat &desc2) const override
Virtual function to compute the distance between two feature descriptors.
Definition: csvKeypointDetector.cpp:64
Class for custom feature detection and computation.
Definition: aCustomFeatureDetector.h:20
void customDetectAndCompute(const cv::Mat &img, const cv::Mat &mask, std::vector< std::shared_ptr< AFeature >> &features) override
Definition: csvKeypointDetector.cpp:15