Functions
contrib/oxl/osl/osl_canny_gradient.h File Reference

Go to the source code of this file.

Functions

void osl_canny_gradient (int xsize_, int ysize_, float const *const *smooth_, float *const *dx_, float *const *dy_, float *const *grad_)
 compute x,y-derivatives and absolute value of gradient.
void osl_canny_gradient_central (int xsize_, int ysize_, float const *const *smooth_, float *const *dx_, float *const *dy_, float *const *grad_)
 computes doubled central derivatives : df[i] = f[i+1]-f[i-1].

Detailed Description

Author:
fsm

Definition in file osl_canny_gradient.h.


Function Documentation

void osl_canny_gradient ( int  xsize_,
int  ysize_,
float const *const *  smooth_,
float *const *  dx_,
float *const *  dy_,
float *const *  grad_ 
)

compute x,y-derivatives and absolute value of gradient.

xsize_ is the number of rows [sic] and ysize_ the number of columns [sic].

Definition at line 19 of file osl_canny_gradient.cxx.

void osl_canny_gradient_central ( int  xsize_,
int  ysize_,
float const *const *  smooth_,
float *const *  dx_,
float *const *  dy_,
float *const *  grad_ 
)

computes doubled central derivatives : df[i] = f[i+1]-f[i-1].

the boundary pixels are left untouched.

Definition at line 67 of file osl_canny_gradient.cxx.