Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
osl_canny_base Class Reference

#include <osl_canny_base.h>

Inheritance diagram for osl_canny_base:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 osl_canny_base (float sigma, float low, float high, bool verbose=true)
 ~osl_canny_base ()
 Destructor does nothing at all.

Protected Member Functions

void Final_follow (int, int, vcl_list< int > *, vcl_list< int > *, vcl_list< float > *, int)
 Following routine looking for connectiveness of edgel chains and accounts for single pixel gaps in the chains.

Static Protected Member Functions

static void Initial_follow (float *const *thin, int xsize, int ysize, float low, int x, int y, vcl_list< int > *xc, vcl_list< int > *yc, vcl_list< float > *grad)
 Following routine looking for connectiveness of edgel chains and accounts for single pixel gaps in the chains.
static void Follow_junctions (int *const *junction, int x, int y, vcl_list< int > *xc, vcl_list< int > *yc)
 Following routine looking for searching out junction clusters.
static void Cluster_centre_of_gravity (int *const *jx, int *const *jy, vcl_list< int > &xc, vcl_list< int > &yc, int &x0, int &y0)
 Finds which member of the lists lies closest to the centre of gravity of the lists.
static int Junction_neighbour (int const *const *junction, int x, int y)
 Determines whether the point (x,y) is a neighbour to a junction.

Protected Attributes

unsigned int xstart_
unsigned int ystart_
unsigned int xsize_
unsigned int ysize_
float ** smooth_
float ** dx_
float ** dy_
float ** grad_
float ** thick_
float ** thin_
float ** theta_
int ** junction_
int ** jx_
int ** jy_
vcl_list< int > * xjunc_
vcl_list< int > * yjunc_
vcl_list< osl_Vertex * > * vlist_
float gauss_tail_
float sigma_
int width_
int w0_
int k_size_
float * kernel_
float low_
float high_
float jval_
int chain_no_
bool verbose

Detailed Description

Definition at line 41 of file osl_canny_base.h.


Constructor & Destructor Documentation

osl_canny_base::osl_canny_base ( float  sigma,
float  low,
float  high,
bool  verbose = true 
)

Definition at line 13 of file osl_canny_base.cxx.

osl_canny_base::~osl_canny_base ( )

Destructor does nothing at all.

Definition at line 42 of file osl_canny_base.cxx.


Member Function Documentation

void osl_canny_base::Cluster_centre_of_gravity ( int *const *  jx,
int *const *  jy,
vcl_list< int > &  xc,
vcl_list< int > &  yc,
int &  x0,
int &  y0 
) [static, protected]

Finds which member of the lists lies closest to the centre of gravity of the lists.

Definition at line 206 of file osl_canny_base.cxx.

void osl_canny_base::Final_follow ( int  x,
int  y,
vcl_list< int > *  xc,
vcl_list< int > *  yc,
vcl_list< float > *  grad,
int  reverse 
) [protected]

Following routine looking for connectiveness of edgel chains and accounts for single pixel gaps in the chains.

Definition at line 92 of file osl_canny_base.cxx.

void osl_canny_base::Follow_junctions ( int *const *  junction,
int  x,
int  y,
vcl_list< int > *  xc,
vcl_list< int > *  yc 
) [static, protected]

Following routine looking for searching out junction clusters.

Definition at line 172 of file osl_canny_base.cxx.

void osl_canny_base::Initial_follow ( float *const *  thin,
int  xsize,
int  ysize,
float  low,
int  x,
int  y,
vcl_list< int > *  xc,
vcl_list< int > *  yc,
vcl_list< float > *  grad 
) [static, protected]

Following routine looking for connectiveness of edgel chains and accounts for single pixel gaps in the chains.

Definition at line 50 of file osl_canny_base.cxx.

int osl_canny_base::Junction_neighbour ( int const *const *  junction,
int  x,
int  y 
) [static, protected]

Determines whether the point (x,y) is a neighbour to a junction.

Definition at line 252 of file osl_canny_base.cxx.


Member Data Documentation

int osl_canny_base::chain_no_ [protected]

Definition at line 89 of file osl_canny_base.h.

float** osl_canny_base::dx_ [protected]

Definition at line 64 of file osl_canny_base.h.

float** osl_canny_base::dy_ [protected]

Definition at line 65 of file osl_canny_base.h.

float osl_canny_base::gauss_tail_ [protected]

Definition at line 79 of file osl_canny_base.h.

float** osl_canny_base::grad_ [protected]

Definition at line 66 of file osl_canny_base.h.

float osl_canny_base::high_ [protected]

Definition at line 86 of file osl_canny_base.h.

int** osl_canny_base::junction_ [protected]

Definition at line 73 of file osl_canny_base.h.

float osl_canny_base::jval_ [protected]

Definition at line 88 of file osl_canny_base.h.

int** osl_canny_base::jx_ [protected]

Definition at line 74 of file osl_canny_base.h.

int ** osl_canny_base::jy_ [protected]

Definition at line 74 of file osl_canny_base.h.

int osl_canny_base::k_size_ [protected]

Definition at line 83 of file osl_canny_base.h.

float* osl_canny_base::kernel_ [protected]

Definition at line 84 of file osl_canny_base.h.

float osl_canny_base::low_ [protected]

Definition at line 85 of file osl_canny_base.h.

float osl_canny_base::sigma_ [protected]

Definition at line 80 of file osl_canny_base.h.

float** osl_canny_base::smooth_ [protected]

Definition at line 63 of file osl_canny_base.h.

float** osl_canny_base::theta_ [protected]

Definition at line 70 of file osl_canny_base.h.

float** osl_canny_base::thick_ [protected]

Definition at line 68 of file osl_canny_base.h.

float** osl_canny_base::thin_ [protected]

Definition at line 69 of file osl_canny_base.h.

bool osl_canny_base::verbose [protected]

Definition at line 90 of file osl_canny_base.h.

vcl_list<osl_Vertex*>* osl_canny_base::vlist_ [protected]

Definition at line 77 of file osl_canny_base.h.

int osl_canny_base::w0_ [protected]

Definition at line 82 of file osl_canny_base.h.

int osl_canny_base::width_ [protected]

Definition at line 81 of file osl_canny_base.h.

vcl_list<int>* osl_canny_base::xjunc_ [protected]

Definition at line 75 of file osl_canny_base.h.

unsigned int osl_canny_base::xsize_ [protected]

Definition at line 61 of file osl_canny_base.h.

unsigned int osl_canny_base::xstart_ [protected]

Definition at line 60 of file osl_canny_base.h.

vcl_list<int>* osl_canny_base::yjunc_ [protected]

Definition at line 76 of file osl_canny_base.h.

unsigned int osl_canny_base::ysize_ [protected]

Definition at line 61 of file osl_canny_base.h.

unsigned int osl_canny_base::ystart_ [protected]

Definition at line 60 of file osl_canny_base.h.


The documentation for this class was generated from the following files: