Defines | Functions
contrib/oxl/osl/osl_canny_smooth.cxx File Reference
#include "osl_canny_smooth.h"
#include <vcl_cstdlib.h>
#include <vcl_iostream.h>
#include <vxl_config.h>
#include <vil1/vil1_rgb.h>
#include <vil1/vil1_pixel.h>
#include <vil1/vil1_memory_image_of.h>

Go to the source code of this file.

Defines

#define macro(pt, st)
#define macro(pt, st)
#define macro(pt, st)

Functions

void osl_canny_smooth_rothwell (vil1_image const &image_in, float const *kernel_, int width_, int k_size_, float *const *smooth_)
void osl_canny_smooth_rothwell_adaptive (vil1_image const &image_in, int x0, int y0, int image_size, float const *kernel_, int width_, int k_size_, float *const *dx, float *const *dy, float *const *grad)
void osl_canny_smooth (vil1_image const &image_in, float const *kernel_, int width_, float const *sub_area_OX_, float *const *image_out)

Detailed Description

Author:
fsm see osl_canny_smooth.txx for template functions.

Definition in file osl_canny_smooth.cxx.


Define Documentation

#define macro (   pt,
  st 
)
Value:
else if (vil1_pixel_format(image_in) == pt) { \
    vil1_memory_image_of<st > sec(image_in); \
    osl_canny_smooth_rothwell(const_cast<st const *const*>(sec.row_array()), sec.height(), sec.width(), \
                              kernel_, width_, k_size_, smooth_); \
  }
#define macro (   pt,
  st 
)
Value:
else if (vil1_pixel_format(image_in) == pt) { \
    vil1_memory_image_of<st > sec(image_in); \
    osl_canny_smooth_rothwell_adaptive(const_cast<st const * const *>(sec.row_array()), sec.height(), sec.width(), \
                                       x0, y0, image_size, kernel_, width_, k_size_, dx, dy, grad); \
  }
#define macro (   pt,
  st 
)
Value:
else if (vil1_pixel_format(image_in) == pt) { \
    vil1_memory_image_of<st > sec(image_in); \
    osl_canny_smooth(const_cast<st const * const *>(sec.row_array()), sec.height(), sec.width(), \
                     kernel_, width_, sub_area_OX_, image_out); \
  }

Function Documentation

void osl_canny_smooth ( vil1_image const &  image_in,
float const *  kernel_,
int  width_,
float const *  sub_area_OX_,
float *const *  image_out 
)

Definition at line 81 of file osl_canny_smooth.cxx.

void osl_canny_smooth_rothwell ( vil1_image const &  image_in,
float const *  kernel_,
int  width_,
int  k_size_,
float *const *  smooth_ 
)

Definition at line 36 of file osl_canny_smooth.cxx.

void osl_canny_smooth_rothwell_adaptive ( vil1_image const &  image_in,
int  x0,
int  y0,
int  image_size,
float const *  kernel_,
int  width_,
int  k_size_,
float *const *  dx,
float *const *  dy,
float *const *  grad 
)

Definition at line 58 of file osl_canny_smooth.cxx.