Defines | Functions
core/vil/vil_rotate.txx File Reference

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

#include "vil_rotate.h"
#include <vil/vil_resample_bilin.h>
#include <vcl_cassert.h>
#include <vcl_cmath.h>

Go to the source code of this file.

Defines

#define vil_rotate_txx_
#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).

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.txx.


Define Documentation

#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)

Definition at line 121 of file vil_rotate.txx.

#define vil_rotate_txx_

Definition at line 3 of file vil_rotate.txx.


Function Documentation

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 29 of file vil_rotate.txx.