NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
good_features_to_track_detector.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 VISION_COMMON_GOOD_FEATURES_TO_TRACK_DETECTOR_H_
19 #define VISION_COMMON_GOOD_FEATURES_TO_TRACK_DETECTOR_H_
20 
22 
23 #include <opencv2/features2d.hpp>
24 
25 #include <vector>
26 
27 namespace cv {
28 class GoodFeaturesToTrackDetector : public cv::Feature2D {
29  public:
32  void detectAndCompute(cv::InputArray image, cv::InputArray mask, std::vector<cv::KeyPoint>& keypoints,
33  cv::OutputArray descriptors, bool useProvidedKeypoints = false) final;
34 
35  private:
36  vision_common::GoodFeaturesToTrackDetectorParams params_;
37 };
38 } // namespace cv
39 
40 #endif // VISION_COMMON_GOOD_FEATURES_TO_TRACK_DETECTOR_H_
cv::GoodFeaturesToTrackDetector::GoodFeaturesToTrackDetector
GoodFeaturesToTrackDetector(const vision_common::GoodFeaturesToTrackDetectorParams &params)
Definition: good_features_to_track_detector.cc:25
cv::GoodFeaturesToTrackDetector::detectAndCompute
void detectAndCompute(cv::InputArray image, cv::InputArray mask, std::vector< cv::KeyPoint > &keypoints, cv::OutputArray descriptors, bool useProvidedKeypoints=false) final
Definition: good_features_to_track_detector.cc:27
vision_common
Definition: brisk_feature_detector_and_matcher.h:25
vision_common::GoodFeaturesToTrackDetectorParams
Definition: good_features_to_track_detector_params.h:22
good_features_to_track_detector_params.h
mask
uint8_t mask
Definition: signal_lights.h:72
cv::GoodFeaturesToTrackDetector::~GoodFeaturesToTrackDetector
~GoodFeaturesToTrackDetector() final
Definition: good_features_to_track_detector.h:31
cv::GoodFeaturesToTrackDetector
Definition: good_features_to_track_detector.h:28
cv
Definition: camera_params.h:31