contrib/tbl/vepl/vepl_y_gradient.h
Go to the documentation of this file.
00001 #ifndef vepl_y_gradient_h_
00002 #define vepl_y_gradient_h_
00003 
00004 //:
00005 // \file
00006 // \brief Convolve image with vertical [-1 1] filter
00007 //
00008 //   Note that the user has to make sure that the output values fall into
00009 //   the output pixel range, by specifying appropriate scale and shift;
00010 //   wrap-around will occur if it does not.
00011 //
00012 //   Note also the implicit use of DataOut::DataOut(DataIn),
00013 //   which you probably will have to provide when DataIn and DataOut
00014 //   are not the same type.
00015 //
00016 // \author Peter Vanroose, K.U.Leuven (ESAT/PSI)
00017 // \date   28 April 2001
00018 
00019 #include <vil1/vil1_image.h>
00020 
00021 //: Convolve image with vertical [-1 1] filter
00022 vil1_image vepl_y_gradient(vil1_image const& , double scale=1.0, double shift=0.0);
00023 
00024 #endif // vepl_y_gradient_h_