00001 // This is core/vil/vil_rotate.h 00002 #ifndef vil_rotate_h_ 00003 #define vil_rotate_h_ 00004 //: 00005 // \file 00006 // \brief rotate an image, using the resampling functions 00007 // \author dac 00008 // 00009 // A front end to the resampling functions that allows 00010 // an image to be rotated by any angle theta 00011 00012 #include <vil/vil_image_view.h> 00013 00014 //: Rotate image by angle theta 00015 // \relatesalso vil_image_view 00016 template <class sType, class dType> 00017 void vil_rotate_image(const vil_image_view<sType>& src_image, 00018 vil_image_view<dType>& dest_image, 00019 double theta_deg); 00020 00021 #endif // vil_rotate_h_