Functions
contrib/mul/vimt/vimt_bilin_interp.h File Reference

Bilinear interpolation functions for 2D images. More...

#include <vil/vil_bilin_interp.h>
#include <vimt/vimt_image_2d_of.h>
#include <vgl/vgl_point_2d.h>

Go to the source code of this file.

Functions

template<class T >
double vimt_bilin_interp_safe (const vimt_image_2d_of< T > &image, const vgl_point_2d< double > &p, int plane=0)
 Compute bilinear interpolation at (x,y) in world coordinates, no bound checks.

Detailed Description

Bilinear interpolation functions for 2D images.

Author:
Tim Cootes

Definition in file vimt_bilin_interp.h.


Function Documentation

template<class T >
double vimt_bilin_interp_safe ( const vimt_image_2d_of< T > &  image,
const vgl_point_2d< double > &  p,
int  plane = 0 
) [inline]

Compute bilinear interpolation at (x,y) in world coordinates, no bound checks.

Interpolates given plane of image.image() at image.world2im(p)

Definition at line 16 of file vimt_bilin_interp.h.