EgoVideoStabilizer  1.0.0
define.h
Go to the documentation of this file.
1 //
4 // SemanticFastForward_EPIC@ECCVW is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // SemanticFastForward_JVCI is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with SemanticFastForward_EPIC@ECCVW. If not, see <http://www.gnu.org/licenses/>.
16 //
18 
26 #ifndef DEFINE_H
27 #define DEFINE_H
28 
30 #define VIEW 1 /*true*/ /*false*/
31 
33 #define VIEW_DELAY 0
34 
36 #define FRAME_NUMBER_RESULT 0 /*true*/ /*false*/
37 
39 #define DEBUG_INTERMEDIATE_FRAME 0 /*true*/ /*false*/
40 
42 #define DEBUG_FRAME_STATUS 1 /*true*/ /*false*/
43 
45 #define DEBUG_HOMOGRAPHY 0 /*true*/ /*false*/
46 
48 #define DEBUG_RECONSTRUCTION 0 /*true*/ /*false*/
49 
51 #define MIN_NUMBER_OF_GOOD_MATCHES 50
52 
54 #define MAXIMUM_AREA_ALLOWED 0.001d
55 
57 #define NUM_MAX_IMAGES_TO_RECONSTRUCT 30
58 
60 #define MIN_HESSIAN 400
61 
63 #define MATCHES_THRESHOLD_FACTOR 3
64 
66 #define CROP_PORTION 0.05f
67 
69 #define DROP_PORTION 0.2f
70 
72 #define MAX_DROP_ATTEMPTS 3
73 
75 #define MAX_SKIP 100
76 
77 #endif // DEFINE_H