Subversion Repositories seema-scanner

Rev

Rev 128 | Rev 148 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 128 Rev 133
Line 5... Line 5...
5
 
5
 
6
#ifndef M_PI
6
#ifndef M_PI
7
    #define M_PI 3.14159265358979323846
7
    #define M_PI 3.14159265358979323846
8
#endif
8
#endif
9
 
9
 
10
static unsigned int nStepsPrimary = 16; // number of shifts/steps in primary
10
static unsigned int nStepsPrimary = 32; // number of shifts/steps in primary
11
static unsigned int nStepsSecondary = 6; // number of shifts/steps in secondary
11
static unsigned int nStepsSecondary = 32; // number of shifts/steps in secondary
12
static float periodPrimary = 32; // primary period
12
static float periodPrimary = 48; // primary period
13
 
13
 
14
// Algorithm
14
// Algorithm
15
static cv::Mat computePhaseVector(unsigned int length, float phase, float pitch){
15
static cv::Mat computePhaseVector(unsigned int length, float phase, float pitch){
16
 
16
 
17
    cv::Mat phaseVector(length, 1, CV_8UC3);
17
    cv::Mat phaseVector(length, 1, CV_8UC3);