00001 #ifndef vepl1_gradient_mag_h_ 00002 #define vepl1_gradient_mag_h_ 00003 //: 00004 // \file 00005 // \brief gradient magnitude: sqrt of x_gradient square plus y_gradient square 00006 // 00007 // Note that the pixel types must support conversion from/to double 00008 // where the sqrt computation takes place. 00009 // 00010 // \author Peter Vanroose, K.U.Leuven (ESAT/PSI) 00011 // \date 28 April 2001 00012 00013 #include <vil1/vil1_image.h> 00014 00015 //: gradient magnitude: sqrt of x_gradient square plus y_gradient square 00016 vil1_image vepl1_gradient_mag(vil1_image const& , double scale=1.0, double shift=0.0); 00017 00018 #endif // vepl1_gradient_mag_h_