mirror of https://github.com/opencv/opencv.git
Open Source Computer Vision Library
https://opencv.org/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
56 lines
1.1 KiB
56 lines
1.1 KiB
/** |
|
* @file KAZEConfig.h |
|
* @brief Configuration file |
|
* @date Dec 27, 2011 |
|
* @author Pablo F. Alcantarilla |
|
*/ |
|
|
|
#ifndef __OPENCV_FEATURES_2D_KAZE_CONFIG_H__ |
|
#define __OPENCV_FEATURES_2D_KAZE_CONFIG_H__ |
|
|
|
// OpenCV Includes |
|
#include "../precomp.hpp" |
|
#include <opencv2/features2d.hpp> |
|
|
|
namespace cv |
|
{ |
|
//************************************************************************************* |
|
|
|
struct KAZEOptions { |
|
|
|
KAZEOptions() |
|
: diffusivity(KAZE::DIFF_PM_G2) |
|
|
|
, soffset(1.60f) |
|
, omax(4) |
|
, nsublevels(4) |
|
, img_width(0) |
|
, img_height(0) |
|
, sderivatives(1.0f) |
|
, dthreshold(0.001f) |
|
, kcontrast(0.01f) |
|
, kcontrast_percentille(0.7f) |
|
, kcontrast_bins(300) |
|
, upright(false) |
|
, extended(false) |
|
{ |
|
} |
|
|
|
int diffusivity; |
|
float soffset; |
|
int omax; |
|
int nsublevels; |
|
int img_width; |
|
int img_height; |
|
float sderivatives; |
|
float dthreshold; |
|
float kcontrast; |
|
float kcontrast_percentille; |
|
int kcontrast_bins; |
|
bool upright; |
|
bool extended; |
|
}; |
|
|
|
} |
|
|
|
#endif
|
|
|