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