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

vimt_sample_profile_bilin.txx File Reference


Detailed Description

Profile sampling functions for 2D images.

Author:
Tim Cootes

Definition in file vimt_sample_profile_bilin.txx.

#include "vimt_sample_profile_bilin.h"
#include <vil/vil_sample_profile_bilin.h>
#include <vil/vil_bilin_interp.h>
#include <vnl/vnl_vector.h>
#include <vgl/vgl_vector_2d.h>

Go to the source code of this file.

Defines

#define VIMT_SAMPLE_PROFILE_BILIN_INSTANTIATE(imType, vecType)

Functions

bool vimt_profile_in_image (const vgl_point_2d< double > &p0, const vgl_point_2d< double > &p1, const vil_image_view_base &image)
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.


Define Documentation

#define VIMT_SAMPLE_PROFILE_BILIN_INSTANTIATE imType,
vecType   ) 
 

Value:

Definition at line 101 of file vimt_sample_profile_bilin.txx.


Function Documentation

bool vimt_profile_in_image const vgl_point_2d< double > &  p0,
const vgl_point_2d< double > &  p1,
const vil_image_view_base image
[inline]
 

Definition at line 15 of file vimt_sample_profile_bilin.txx.

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