contrib/oxl/osl/osl_canny_gradient.h
Go to the documentation of this file.
00001 // This is oxl/osl/osl_canny_gradient.h
00002 #ifndef osl_canny_gradient_h_
00003 #define osl_canny_gradient_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007 //:
00008 // \file
00009 // \author fsm
00010 
00011 //: compute x,y-derivatives and absolute value of gradient.
00012 // xsize_ is the number of rows [sic] and
00013 // ysize_ the number of columns [sic].
00014 void osl_canny_gradient(int xsize_, int ysize_,
00015                         float const * const * smooth_,
00016                         float * const * dx_,
00017                         float * const * dy_,
00018                         float * const * grad_);
00019 
00020 //: computes doubled central derivatives : df[i] = f[i+1]-f[i-1].
00021 // the boundary pixels are left untouched.
00022 void osl_canny_gradient_central(int xsize_, int ysize_,
00023                                 float const * const * smooth_,
00024                                 float * const * dx_,
00025                                 float * const * dy_,
00026                                 float * const * grad_);
00027 
00028 #endif // osl_canny_gradient_h_