00001 #ifndef vepl_gradient_dir_h_ 00002 #define vepl_gradient_dir_h_ 00003 //: 00004 // \file 00005 // \brief gradient direction: atan2 of x_gradient and y_gradient 00006 // 00007 // Note that the pixel types must support conversion from/to double 00008 // where the atan2 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 direction: atan2 of x_gradient and y_gradient 00021 vil_image_resource_sptr vepl_gradient_dir(vil_image_resource_sptr , double scale=1.0, double shift=0.0); 00022 00023 #endif // vepl_gradient_dir_h_