Defines | Functions
contrib/oxl/osl/osl_canny_ox.cxx File Reference
#include "osl_canny_ox.h"
#include <osl/osl_canny_port.h>
#include <osl/osl_canny_ox_params.h>
#include <osl/osl_kernel.h>
#include <osl/osl_canny_smooth.h>
#include <osl/osl_canny_gradient.h>
#include <osl/osl_canny_nms.h>
#include <vcl_cmath.h>
#include <vcl_cstdlib.h>
#include <vcl_list.h>
#include <vcl_iostream.h>
#include <vcl_cassert.h>
#include <vnl/vnl_math.h>

Go to the source code of this file.

Defines

#define smoo(a, b)
#define smoo(a, b)   else if ( (thin_[a][b] >= edge_min_OX_) && (!junction_[a][b]) ) Final_followOX(a,b ,xc,yc,grad,0);
#define smoo(a, b)
#define Set_intsOX(d1, d2, v1, v2)   ((d1)=(v1), (d2)=(v2))

Functions

osl_Vertexosl_find (vcl_list< osl_Vertex * > const *l, osl_Vertex const &v)
 Returns the first osl_Vertex* in l which matches (i.e. compares equal to) v.
osl_Vertexosl_find (vcl_list< osl_Vertex * > const *l, float x, float y)

Detailed Description

Definition in file osl_canny_ox.cxx.


Define Documentation

#define Set_intsOX (   d1,
  d2,
  v1,
  v2 
)    ((d1)=(v1), (d2)=(v2))

Definition at line 869 of file osl_canny_ox.cxx.

#define smoo (   a,
 
)
Value:
else if ( (thin_[a][b] >= edge_min_OX_) && (!junction_[a][b]) ) \
      Final_followOX(a,b,xc,yc,grad,0);
#define smoo (   a,
 
)    else if ( (thin_[a][b] >= edge_min_OX_) && (!junction_[a][b]) ) Final_followOX(a,b ,xc,yc,grad,0);
#define smoo (   a,
 
)
Value:
else if ( junction_[a][b] && ((xc->size()>2) || (junction_[a][b]!=chain_no_)) ) { \
    xc->push_front(jx_[a][b]); \
    yc->push_front(jy_[a][b]); \
    grad->push_front(jval_); \
    junction_[a][b] = chain_no_; \
  }

Function Documentation

osl_Vertex* osl_find ( vcl_list< osl_Vertex * > const *  l,
osl_Vertex const &  v 
)

Returns the first osl_Vertex* in l which matches (i.e. compares equal to) v.

returns 0 if none found.

Definition at line 556 of file osl_canny_ox.cxx.

osl_Vertex* osl_find ( vcl_list< osl_Vertex * > const *  l,
float  x,
float  y 
)

Definition at line 564 of file osl_canny_ox.cxx.