Fix line ending at EOF

pull/2673/head
Ievgen Khvedchenia 11 years ago
parent 3cfc22ae4e
commit 61f79c2632
  1. 43
      modules/features2d/src/akaze/AKAZE.cpp
  2. 14
      modules/features2d/src/kaze/config.h

@ -572,8 +572,8 @@ public:
void Get_SURF_Descriptor_Upright_64(const cv::KeyPoint& kpt, float* desc) const; void Get_SURF_Descriptor_Upright_64(const cv::KeyPoint& kpt, float* desc) const;
private: private:
std::vector<cv::KeyPoint>& keypoints_; std::vector<cv::KeyPoint>& keypoints_;
cv::Mat& descriptors_; cv::Mat& descriptors_;
std::vector<TEvolution>& evolution_; std::vector<TEvolution>& evolution_;
AKAZEOptions& options_; AKAZEOptions& options_;
}; };
@ -601,8 +601,8 @@ public:
void Get_SURF_Descriptor_64(const cv::KeyPoint& kpt, float* desc) const; void Get_SURF_Descriptor_64(const cv::KeyPoint& kpt, float* desc) const;
private: private:
std::vector<cv::KeyPoint>& keypoints_; std::vector<cv::KeyPoint>& keypoints_;
cv::Mat& descriptors_; cv::Mat& descriptors_;
std::vector<TEvolution>& evolution_; std::vector<TEvolution>& evolution_;
AKAZEOptions& options_; AKAZEOptions& options_;
}; };
@ -612,7 +612,7 @@ class MSURF_Upright_Descriptor_64_Invoker : public cv::ParallelLoopBody
public: public:
MSURF_Upright_Descriptor_64_Invoker(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc, std::vector<TEvolution>& evolution, AKAZEOptions& options) MSURF_Upright_Descriptor_64_Invoker(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc, std::vector<TEvolution>& evolution, AKAZEOptions& options)
: keypoints_(kpts) : keypoints_(kpts)
, descriptors_(desc) , descriptors_(desc)
, evolution_(evolution) , evolution_(evolution)
, options_(options) , options_(options)
{ {
@ -629,8 +629,8 @@ public:
void Get_MSURF_Upright_Descriptor_64(const cv::KeyPoint& kpt, float* desc) const; void Get_MSURF_Upright_Descriptor_64(const cv::KeyPoint& kpt, float* desc) const;
private: private:
std::vector<cv::KeyPoint>& keypoints_; std::vector<cv::KeyPoint>& keypoints_;
cv::Mat& descriptors_; cv::Mat& descriptors_;
std::vector<TEvolution>& evolution_; std::vector<TEvolution>& evolution_;
AKAZEOptions& options_; AKAZEOptions& options_;
}; };
@ -640,7 +640,7 @@ class MSURF_Descriptor_64_Invoker : public cv::ParallelLoopBody
public: public:
MSURF_Descriptor_64_Invoker(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc, std::vector<TEvolution>& evolution, AKAZEOptions& options) MSURF_Descriptor_64_Invoker(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc, std::vector<TEvolution>& evolution, AKAZEOptions& options)
: keypoints_(kpts) : keypoints_(kpts)
, descriptors_(desc) , descriptors_(desc)
, evolution_(evolution) , evolution_(evolution)
, options_(options) , options_(options)
{ {
@ -658,8 +658,8 @@ public:
void Get_MSURF_Descriptor_64(const cv::KeyPoint& kpt, float* desc) const; void Get_MSURF_Descriptor_64(const cv::KeyPoint& kpt, float* desc) const;
private: private:
std::vector<cv::KeyPoint>& keypoints_; std::vector<cv::KeyPoint>& keypoints_;
cv::Mat& descriptors_; cv::Mat& descriptors_;
std::vector<TEvolution>& evolution_; std::vector<TEvolution>& evolution_;
AKAZEOptions& options_; AKAZEOptions& options_;
}; };
@ -669,7 +669,7 @@ class Upright_MLDB_Full_Descriptor_Invoker : public cv::ParallelLoopBody
public: public:
Upright_MLDB_Full_Descriptor_Invoker(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc, std::vector<TEvolution>& evolution, AKAZEOptions& options) Upright_MLDB_Full_Descriptor_Invoker(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc, std::vector<TEvolution>& evolution, AKAZEOptions& options)
: keypoints_(kpts) : keypoints_(kpts)
, descriptors_(desc) , descriptors_(desc)
, evolution_(evolution) , evolution_(evolution)
, options_(options) , options_(options)
{ {
@ -686,8 +686,8 @@ public:
void Get_Upright_MLDB_Full_Descriptor(const cv::KeyPoint& kpt, unsigned char* desc) const; void Get_Upright_MLDB_Full_Descriptor(const cv::KeyPoint& kpt, unsigned char* desc) const;
private: private:
std::vector<cv::KeyPoint>& keypoints_; std::vector<cv::KeyPoint>& keypoints_;
cv::Mat& descriptors_; cv::Mat& descriptors_;
std::vector<TEvolution>& evolution_; std::vector<TEvolution>& evolution_;
AKAZEOptions& options_; AKAZEOptions& options_;
}; };
@ -721,8 +721,8 @@ public:
void Get_Upright_MLDB_Descriptor_Subset(const cv::KeyPoint& kpt, unsigned char* desc) const; void Get_Upright_MLDB_Descriptor_Subset(const cv::KeyPoint& kpt, unsigned char* desc) const;
private: private:
std::vector<cv::KeyPoint>& keypoints_; std::vector<cv::KeyPoint>& keypoints_;
cv::Mat& descriptors_; cv::Mat& descriptors_;
std::vector<TEvolution>& evolution_; std::vector<TEvolution>& evolution_;
AKAZEOptions& options_; AKAZEOptions& options_;
@ -735,7 +735,7 @@ class MLDB_Full_Descriptor_Invoker : public cv::ParallelLoopBody
public: public:
MLDB_Full_Descriptor_Invoker(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc, std::vector<TEvolution>& evolution, AKAZEOptions& options) MLDB_Full_Descriptor_Invoker(std::vector<cv::KeyPoint>& kpts, cv::Mat& desc, std::vector<TEvolution>& evolution, AKAZEOptions& options)
: keypoints_(kpts) : keypoints_(kpts)
, descriptors_(desc) , descriptors_(desc)
, evolution_(evolution) , evolution_(evolution)
, options_(options) , options_(options)
{ {
@ -753,8 +753,8 @@ public:
void Get_MLDB_Full_Descriptor(const cv::KeyPoint& kpt, unsigned char* desc) const; void Get_MLDB_Full_Descriptor(const cv::KeyPoint& kpt, unsigned char* desc) const;
private: private:
std::vector<cv::KeyPoint>& keypoints_; std::vector<cv::KeyPoint>& keypoints_;
cv::Mat& descriptors_; cv::Mat& descriptors_;
std::vector<TEvolution>& evolution_; std::vector<TEvolution>& evolution_;
AKAZEOptions& options_; AKAZEOptions& options_;
}; };
@ -789,8 +789,8 @@ public:
void Get_MLDB_Descriptor_Subset(const cv::KeyPoint& kpt, unsigned char* desc) const; void Get_MLDB_Descriptor_Subset(const cv::KeyPoint& kpt, unsigned char* desc) const;
private: private:
std::vector<cv::KeyPoint>& keypoints_; std::vector<cv::KeyPoint>& keypoints_;
cv::Mat& descriptors_; cv::Mat& descriptors_;
std::vector<TEvolution>& evolution_; std::vector<TEvolution>& evolution_;
AKAZEOptions& options_; AKAZEOptions& options_;
@ -2295,5 +2295,4 @@ inline void check_descriptor_limits(int &x, int &y, int width, int height) {
*/ */
inline int fRound(float flt) { inline int fRound(float flt) {
return (int)(flt + 0.5f); return (int)(flt + 0.5f);
} }

@ -1,4 +1,3 @@
/** /**
* @file config.h * @file config.h
* @brief Configuration file * @brief Configuration file
@ -24,13 +23,6 @@
// OpenCV Includes // OpenCV Includes
#include "precomp.hpp" #include "precomp.hpp"
// OpenMP Includes
#ifdef _OPENMP
#include <omp.h>
#else
#define omp_get_thread_num() 0
#endif
//************************************************************************************* //*************************************************************************************
//************************************************************************************* //*************************************************************************************
@ -122,8 +114,4 @@ struct TEvolution {
//************************************************************************************* //*************************************************************************************
//************************************************************************************* //*************************************************************************************
#endif #endif
Loading…
Cancel
Save