vil_rotate.h
Go to the documentation of this file.
1 // This is core/vil/vil_rotate.h
2 #ifndef vil_rotate_h_
3 #define vil_rotate_h_
4 //:
5 // \file
6 // \brief rotate an image, using the resampling functions
7 // \author dac
8 //
9 // A front end to the resampling functions that allows
10 // an image to be rotated by any angle theta
11 
12 #include <vil/vil_image_view.h>
13 
14 //: Rotate image by angle theta
15 // \relatesalso vil_image_view
16 template <class sType, class dType>
17 void vil_rotate_image(const vil_image_view<sType>& src_image,
18  vil_image_view<dType>& dest_image,
19  double theta_deg);
20 
21 #endif // vil_rotate_h_
Concrete view of image data of type T held in memory.
Definition: vil_fwd.h:13
void vil_rotate_image(const vil_image_view< sType > &src_image, vil_image_view< dType > &dest_image, double theta_deg)
Rotate image by angle theta.
A base class reference-counting view of some image data.