Convolve image with horizontal [-1 1] filter. More...
#include <vil/vil_image_resource.h>
Go to the source code of this file.
Functions | |
vil_image_resource_sptr | vepl_x_gradient (vil_image_resource_sptr, double scale=1.0, double shift=0.0) |
Convolve image with horizontal [-1 1] filter. |
Convolve image with horizontal [-1 1] filter.
Note that the user has to make sure that the output values fall into the output pixel range, by specifying appropriate scale and shift; wrap-around will occur if it does not.
Note also the implicit use of DataOut::DataOut(DataIn), which you probably will have to provide when DataIn and DataOut are not the same type.
Modifications Peter Vanroose - 20 aug 2003 - changed parameter and return types from vil_image_view_base_sptr to vil_image_resource_sptr
Definition in file vepl_x_gradient.h.
vil_image_resource_sptr vepl_x_gradient | ( | vil_image_resource_sptr | , |
double | scale = 1.0 , |
||
double | shift = 0.0 |
||
) |
Convolve image with horizontal [-1 1] filter.
Definition at line 11 of file vepl_x_gradient.cxx.