00001 // This is oxl/osl/osl_kernel.h 00002 #ifndef osl_kernel_h_ 00003 #define osl_kernel_h_ 00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE 00005 #pragma interface 00006 #endif 00007 //: 00008 // \file 00009 // \author fsm 00010 00011 //: Compute one half of the 1st Derivative Of a Gaussian. 00012 // 'k_size_' is the actual size of the array pointed to by 'kernel_'. 00013 void osl_kernel_DOG(float sigma_, float *kernel_, int k_size_, int width_); 00014 00015 //: Fancy version 00016 void osl_kernel_DOG(float *kernel_, float *sub_area_OX_, int &k_size_, 00017 float sigma_, float gauss_tail_, 00018 int max_width_OX_, int &width_); 00019 00020 #endif // osl_kernel_h_