00001 #ifndef vepl_x_gradient_h_ 00002 #define vepl_x_gradient_h_ 00003 //: 00004 // \file 00005 // \brief Convolve image with horizontal [-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 7 October 2002 00017 // 00018 // \verbatim 00019 // Modifications 00020 // Peter Vanroose - 20 aug 2003 - changed parameter and return types from vil_image_view_base_sptr to vil_image_resource_sptr 00021 // \endverbatim 00022 00023 #include <vil/vil_image_resource.h> 00024 00025 //: Convolve image with horizontal [-1 1] filter 00026 vil_image_resource_sptr vepl_x_gradient(vil_image_resource_sptr , double scale=1.0, double shift=0.0); 00027 00028 #endif // vepl_x_gradient_h_