Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Tetragramm
GitHub Repository: Tetragramm/opencv
Path: blob/master/modules/features2d/src/kaze/KAZEConfig.h
16337 views
1
/**
2
* @file KAZEConfig.h
3
* @brief Configuration file
4
* @date Dec 27, 2011
5
* @author Pablo F. Alcantarilla
6
*/
7
8
#ifndef __OPENCV_FEATURES_2D_KAZE_CONFIG_H__
9
#define __OPENCV_FEATURES_2D_KAZE_CONFIG_H__
10
11
// OpenCV Includes
12
#include "../precomp.hpp"
13
#include <opencv2/features2d.hpp>
14
15
namespace cv
16
{
17
//*************************************************************************************
18
19
struct KAZEOptions {
20
21
KAZEOptions()
22
: diffusivity(KAZE::DIFF_PM_G2)
23
24
, soffset(1.60f)
25
, omax(4)
26
, nsublevels(4)
27
, img_width(0)
28
, img_height(0)
29
, sderivatives(1.0f)
30
, dthreshold(0.001f)
31
, kcontrast(0.01f)
32
, kcontrast_percentille(0.7f)
33
, kcontrast_bins(300)
34
, upright(false)
35
, extended(false)
36
{
37
}
38
39
KAZE::DiffusivityType diffusivity;
40
float soffset;
41
int omax;
42
int nsublevels;
43
int img_width;
44
int img_height;
45
float sderivatives;
46
float dthreshold;
47
float kcontrast;
48
float kcontrast_percentille;
49
int kcontrast_bins;
50
bool upright;
51
bool extended;
52
};
53
54
}
55
56
#endif
57
58