EgoVideoStabilizer  1.0.0
define.h File Reference

Macros used in the code relate with debug/view flags and usual values. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VIEW   1 /*true*/ /*false*/
 Show images for each step of processing in a window called 'Homography'. More...
 
#define VIEW_DELAY   0
 Show images for each step of processing in a window called 'Homography'. More...
 
#define FRAME_NUMBER_RESULT   0 /*true*/ /*false*/
 Print the frame number in the images before save it. More...
 
#define DEBUG_INTERMEDIATE_FRAME   0 /*true*/ /*false*/
 Print variable values for each step of processing in the main cpp file. More...
 
#define DEBUG_FRAME_STATUS   1 /*true*/ /*false*/
 Print variable values for each step of processing in the main cpp file. More...
 
#define DEBUG_HOMOGRAPHY   0 /*true*/ /*false*/
 Print variable values for each step of processing in the homography cpp file. More...
 
#define DEBUG_RECONSTRUCTION   0 /*true*/ /*false*/
 Print variable values for each step of processing in the image_reconstruciton cpp file. More...
 
#define MIN_NUMBER_OF_GOOD_MATCHES   50
 Minimum number of good matches to calcule the homography matrix. More...
 
#define MAXIMUM_AREA_ALLOWED   0.001d
 Maximum area allowed to check if an image need to continue on being reconstructed. More...
 
#define NUM_MAX_IMAGES_TO_RECONSTRUCT   30
 Number maximum of images that could be used to reconstruct a image in the image_reconstruction.cpp. More...
 
#define MIN_HESSIAN   400
 The SURF Hessian minimum threshold. More...
 
#define MATCHES_THRESHOLD_FACTOR   3
 Multiplier to the minimum distance from descriptors to set a threshold in matches search. More...
 
#define CROP_PORTION   0.05f
 The percentage of the original image that can be lost. More...
 
#define DROP_PORTION   0.2f
 The percentage of the original image that can be lost. More...
 
#define MAX_DROP_ATTEMPTS   3
 Max number of drops if smaller than the drop area. More...
 
#define MAX_SKIP   100
 Max number of frames skip from any frame. More...
 

Detailed Description

Macros used in the code relate with debug/view flags and usual values.

Macro Definition Documentation

#define CROP_PORTION   0.05f

The percentage of the original image that can be lost.

#define DEBUG_FRAME_STATUS   1 /*true*/ /*false*/

Print variable values for each step of processing in the main cpp file.

#define DEBUG_HOMOGRAPHY   0 /*true*/ /*false*/

Print variable values for each step of processing in the homography cpp file.

#define DEBUG_INTERMEDIATE_FRAME   0 /*true*/ /*false*/

Print variable values for each step of processing in the main cpp file.

#define DEBUG_RECONSTRUCTION   0 /*true*/ /*false*/

Print variable values for each step of processing in the image_reconstruciton cpp file.

#define DROP_PORTION   0.2f

The percentage of the original image that can be lost.

#define FRAME_NUMBER_RESULT   0 /*true*/ /*false*/

Print the frame number in the images before save it.

#define MATCHES_THRESHOLD_FACTOR   3

Multiplier to the minimum distance from descriptors to set a threshold in matches search.

#define MAX_DROP_ATTEMPTS   3

Max number of drops if smaller than the drop area.

#define MAX_SKIP   100

Max number of frames skip from any frame.

Defined by the fast-forward algorithm.

#define MAXIMUM_AREA_ALLOWED   0.001d

Maximum area allowed to check if an image need to continue on being reconstructed.

#define MIN_HESSIAN   400

The SURF Hessian minimum threshold.

#define MIN_NUMBER_OF_GOOD_MATCHES   50

Minimum number of good matches to calcule the homography matrix.

#define NUM_MAX_IMAGES_TO_RECONSTRUCT   30

Number maximum of images that could be used to reconstruct a image in the image_reconstruction.cpp.

#define VIEW   1 /*true*/ /*false*/

Show images for each step of processing in a window called 'Homography'.

#define VIEW_DELAY   0

Show images for each step of processing in a window called 'Homography'.