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