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 // \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   7 October 2002
00012 //
00013 // \verbatim
00014 //  Modifications
00015 //   Peter Vanroose - 20 aug 2003 - changed parameter and return types from vil_image_view_base_sptr to vil_image_resource_sptr
00016 // \endverbatim
00017 
00018 #include <vil/vil_image_resource.h>
00019 
00020 //: gradient magnitude: sqrt of x_gradient square plus y_gradient square
00021 vil_image_resource_sptr vepl_gradient_mag(vil_image_resource_sptr , double scale=1.0, double shift=0.0);
00022 
00023 #endif // vepl_gradient_mag_h_