bazar  1.3.1
Macros | Variables
keypoint_orientation_corrector.cpp File Reference
#include <iostream>
#include <cmath>
#include <starter.h>
#include "keypoint_orientation_corrector.h"
Include dependency graph for keypoint_orientation_corrector.cpp:

Go to the source code of this file.

Macros

#define ATAN2_TABLE_INDEX(dx, dy)   (((dy + MAX_GRADIENT) * (2 * MAX_GRADIENT + 1)) + (dx + MAX_GRADIENT))
#define DERIVATIVES_KERNEL_SIZE   1

Variables

const short ACTUAL_MAX_GRADIENT = 1024
const unsigned short GRADIENT_SHIFT = 2
const short MAX_GRADIENT = ACTUAL_MAX_GRADIENT >> GRADIENT_SHIFT
const short MINIMAL_NORM = 0

Macro Definition Documentation

#define ATAN2_TABLE_INDEX (   dx,
  dy 
)    (((dy + MAX_GRADIENT) * (2 * MAX_GRADIENT + 1)) + (dx + MAX_GRADIENT))
#define DERIVATIVES_KERNEL_SIZE   1

Variable Documentation

const short ACTUAL_MAX_GRADIENT = 1024

Definition at line 28 of file keypoint_orientation_corrector.cpp.

const unsigned short GRADIENT_SHIFT = 2
const short MAX_GRADIENT = ACTUAL_MAX_GRADIENT >> GRADIENT_SHIFT
const short MINIMAL_NORM = 0

Definition at line 34 of file keypoint_orientation_corrector.cpp.