Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vimt_sample_profile_bilin.h File Reference


Detailed Description

Profile sampling functions for 2D images.

Author:
Tim Cootes

Definition in file vimt_sample_profile_bilin.h.

#include <vimt/vimt_image_2d_of.h>
#include <vnl/vnl_fwd.h>

Go to the source code of this file.

Functions

template<class imType, class vecType>
void vimt_sample_profile_bilin (vnl_vector< vecType > &v, const vimt_image_2d_of< imType > &image, const vgl_point_2d< double > &p, const vgl_vector_2d< double > &u, int n)
 Sample along profile, using bilinear interpolation.


Function Documentation

template<class imType, class vecType>
void vimt_sample_profile_bilin vnl_vector< vecType > &  vec,
const vimt_image_2d_of< imType > &  image,
const vgl_point_2d< double > &  p0,
const vgl_vector_2d< double > &  u,
int  n
 

Sample along profile, using bilinear interpolation.

Profile points are p+i*u, where i=[0..n-1]. Vector v is resized to n*np elements, where np=image.n_planes(). v[0]..v[np-1] are the values from point p

Definition at line 30 of file vimt_sample_profile_bilin.txx.


Generated on Thu Jan 10 14:43:58 2008 for contrib/mul/vimt by  doxygen 1.4.4