|
NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
|
Go to the documentation of this file.
11 #ifndef INTEREST_POINT_BAD_H_
12 #define INTEREST_POINT_BAD_H_
14 #include <opencv2/opencv.hpp>
29 class BAD :
public cv::Feature2D {
61 return cv::makePtr<upm::BAD>(scale_factor, n_bits);
75 void compute(cv::InputArray image,
76 CV_OUT CV_IN_OUT std::vector<cv::KeyPoint> &keypoints,
77 cv::OutputArray descriptors)
override;
82 bool empty()
const override {
return false; }
94 const std::vector<cv::KeyPoint> &keypoints,
95 cv::Mat &descriptors);
104 #endif // INTEREST_POINT_BAD_H_
int x2
Definition: BAD.h:88
std::vector< BoxPairParams > box_params_
Definition: BAD.h:98
@ SIZE_256_BITS
Definition: BAD.h:36
int descriptorSize() const override
Definition: BAD.h:79
cv::String getDefaultName() const override
Definition: BAD.h:84
bool empty() const override
Definition: BAD.h:82
void computeBAD(const cv::Mat &integral_img, const std::vector< cv::KeyPoint > &keypoints, cv::Mat &descriptors)
Definition: BAD.cpp:549
int y2
Definition: BAD.h:88
@ SIZE_512_BITS
Definition: BAD.h:36
int x1
Definition: BAD.h:88
std::vector< float > thresholds_
Definition: BAD.h:97
static cv::Ptr< BAD > create(float scale_factor=1.0f, BadSize n_bits=SIZE_512_BITS)
Creates the BAD descriptor.
Definition: BAD.h:60
cv::Size patch_size_
Definition: BAD.h:100
BAD(float scale_factor=1.0f, BadSize n_bits=SIZE_512_BITS)
Definition: BAD.cpp:185
int defaultNorm() const override
Definition: BAD.h:81
int y1
Definition: BAD.h:88
int descriptorType() const override
Definition: BAD.h:80
BadSize
Descriptor number of bits, each bit is a weak-descriptor. The user can choose between 512 or 256 bits...
Definition: BAD.h:35
void compute(cv::InputArray image, CV_OUT CV_IN_OUT std::vector< cv::KeyPoint > &keypoints, cv::OutputArray descriptors) override
Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (se...
Definition: BAD.cpp:519
float scale_factor_
Definition: BAD.h:99
int boxRadius
Definition: BAD.h:88