Use 8 directions, with 45 degree angle in between them. More...
#include "gevd_step.h"
#include <vcl_vector.h>
#include <vcl_iostream.h>
#include <vnl/vnl_math.h>
#include <gevd/gevd_noise.h>
#include <gevd/gevd_float_operators.h>
#include <gevd/gevd_pixel.h>
#include <gevd/gevd_bufferxy.h>
Go to the source code of this file.
Functions | |
vcl_ostream & | operator<< (vcl_ostream &os, const gevd_step &st) |
Output a snapshot of current control parameters. | |
vcl_ostream & | operator<< (vcl_ostream &os, gevd_step &st) |
Output a snapshot of current control parameters. | |
Variables | |
const unsigned char | TWOPI = 8 |
const unsigned char | FULLPI = 4 |
const unsigned char | HALFPI = 2 |
const int | DIS [] |
const int | DJS [] |
const int | RDS [] = {0,-1, 1,-2, 2,-3, 3,-4, 4,-5, 5} |
const int | FRAME = 4 |
Use 8 directions, with 45 degree angle in between them.
The array DIS gives the i-component of the directions The array DJS gives the j-component of the directions. Shown here for a right-handed coordinate system for (i,j) in accordance with standard texts. -- JLM
j ______|_____________ | | | | | 3 | 2 | 1 <------ Direction Code |______|______|______| for 8-connected | | | | neighbors | 4 |(i,j) | 0 | |______|______|______|___ i | | | | | 5 | 6 | 7 | |______|______|______|
Definition in file gevd_step.cxx.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
const gevd_step & | st | ||
) |
Output a snapshot of current control parameters.
Definition at line 530 of file gevd_step.cxx.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
gevd_step & | st | ||
) |
Output a snapshot of current control parameters.
Definition at line 543 of file gevd_step.cxx.
const int DIS[] |
{ 1, 1, 0,-1,-1,-1, 0, 1, 1, 1, 0,-1,-1,-1, 0, 1, 1, 1, 0,-1,-1,-1, 0, 1}
Definition at line 37 of file gevd_step.cxx.
const int DJS[] |
{ 0, 1, 1, 1, 0,-1,-1,-1, 0, 1, 1, 1, 0,-1,-1,-1, 0, 1, 1, 1, 0,-1,-1,-1}
Definition at line 40 of file gevd_step.cxx.
const int FRAME = 4 |
Definition at line 46 of file gevd_step.cxx.
const unsigned char FULLPI = 4 |
Definition at line 36 of file gevd_step.cxx.
const unsigned char HALFPI = 2 |
Definition at line 36 of file gevd_step.cxx.
const int RDS[] = {0,-1, 1,-2, 2,-3, 3,-4, 4,-5, 5} |
Definition at line 43 of file gevd_step.cxx.
const unsigned char TWOPI = 8 |
Definition at line 36 of file gevd_step.cxx.