Macros | Functions
vil_rotate.hxx File Reference

rotate an image, using the resampling functions More...

#include <cmath>
#include "vil_rotate.h"
#include <vil/vil_resample_bilin.h>
#include <cassert>

Go to the source code of this file.

Macros

#define VIL_ROTATE_INSTANTIATE(sType, dType)
 

Functions

template<class sType , class dType >
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 ( here theta is in degrees). More...
 

Detailed Description

rotate an image, using the resampling functions

Author
dac

A front end to the resampling functions that allows an image to be rotated by any angle theta

Definition in file vil_rotate.hxx.

Macro Definition Documentation

◆ VIL_ROTATE_INSTANTIATE

#define VIL_ROTATE_INSTANTIATE (   sType,
  dType 
)
Value:
template void vil_rotate_image(const vil_image_view<sType >& src_image, \
vil_image_view<dType >& dest_image, \
double theta)
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.

Definition at line 124 of file vil_rotate.hxx.

Function Documentation

◆ vil_rotate_image()

template<class sType , class dType >
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 ( here theta is in degrees).

Rotate image by angle theta.

Definition at line 32 of file vil_rotate.hxx.