NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
brisk.h
Go to the documentation of this file.
1 /* Copyright (c) 2017, United States Government, as represented by the
2  * Administrator of the National Aeronautics and Space Administration.
3  *
4  * All rights reserved.
5  *
6  * The Astrobee platform is licensed under the Apache License, Version 2.0
7  * (the "License"); you may not use this file except in compliance with the
8  * License. You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15  * License for the specific language governing permissions and limitations
16  * under the License.
17  */
18 #ifndef INTEREST_POINT_BRISK_H_
19 #define INTEREST_POINT_BRISK_H_
20 
21 #include <opencv2/xfeatures2d.hpp>
22 
23 using namespace cv;
24 
25 namespace interest_point {
26 
27 // this is from opencv master on 1/16/2018
30 class CV_EXPORTS_W BRISK : public Feature2D
31 {
32 public:
39  CV_WRAP static Ptr<BRISK> create(int thresh=30, int octaves=3, float patternScale=1.0f);
40 
51  CV_WRAP static Ptr<BRISK> create(const std::vector<float> &radiusList, const std::vector<int> &numberList,
52  float dMax=5.85f, float dMin=8.2f, const std::vector<int>& indexChange=std::vector<int>());
53 
66  CV_WRAP static Ptr<BRISK> create(int thresh, int octaves, const std::vector<float> &radiusList,
67  const std::vector<int> &numberList, float dMax=5.85f, float dMin=8.2f,
68  const std::vector<int>& indexChange=std::vector<int>());
69  CV_WRAP virtual String getDefaultName() const;
70 
74  CV_WRAP virtual void setThreshold(int threshold) { CV_UNUSED(threshold); return; }
75  CV_WRAP virtual int getThreshold() const { return -1; }
76 
80  CV_WRAP virtual void setOctaves(int octaves) { CV_UNUSED(octaves); return; }
81  CV_WRAP virtual int getOctaves() const { return -1; }
82 };
83 
84 } // end namespace interest_point
85 
86 #endif // INTEREST_POINT_BRISK_H_
interest_point::BRISK::getThreshold
virtual CV_WRAP int getThreshold() const
Definition: brisk.h:75
interest_point::BRISK::getOctaves
virtual CV_WRAP int getOctaves() const
Definition: brisk.h:81
interest_point::BRISK
Class implementing the BRISK keypoint detector and descriptor extractor, described in .
Definition: brisk.h:30
interest_point::BRISK::setOctaves
virtual CV_WRAP void setOctaves(int octaves)
Set detection octaves.
Definition: brisk.h:80
cv
Definition: camera_params.h:31
interest_point
Definition: brisk.h:25
interest_point::BRISK::setThreshold
virtual CV_WRAP void setThreshold(int threshold)
Set detection threshold.
Definition: brisk.h:74