Defines | Functions
contrib/rpl/rgrl/rgrl_matcher_pseudo_3d.txx File Reference
#include "rgrl_matcher_pseudo_3d.h"
#include <rgrl/rgrl_feature_face_region.h>
#include <rgrl/rgrl_feature_trace_region.h>
#include <rgrl/rgrl_cast.h>
#include <rgrl/rgrl_match_set.h>
#include <vnl/vnl_matrix.h>
#include <vnl/vnl_math.h>
#include <vnl/vnl_vector.h>
#include <vnl/vnl_int_3.h>
#include <vnl/vnl_inverse.h>
#include <vil3d/vil3d_trilin_interp.h>
#include <vcl_cassert.h>
#include <vcl_iostream.h>

Go to the source code of this file.

Defines

#define rgrl_matcher_pseudo_3d_txx_
#define DEBUG
#define DBG(x)   x

Functions

void rgrl_matcher_pseudo_3d_pixel_to_physical (vnl_int_3 const &pixel_loc, vnl_double_3 &point, vnl_double_3 const &spacing_ratio)
void rgrl_matcher_pseudo_3d_physical_to_pixel (vnl_double_3 const &point, vnl_int_3 &pixel_loc, vnl_double_3 const &spacing_ratio)
void rgrl_matcher_pseudo_3d_physical_to_pixel (vnl_double_3 const &point, vnl_double_3 &pixel_loc, vnl_double_3 const &spacing_ratio)
template<class PixelType >
bool rgrl_matcher_pseudo_3d_pixel_in_range (vil3d_image_view< PixelType > const &image, rgrl_mask_sptr const &mask, vnl_int_3 const &location)
template<class PixelType >
bool rgrl_matcher_pseudo_3d_physical_in_range (vil3d_image_view< PixelType > const &image, rgrl_mask_sptr const &mask, vnl_double_3 const &location, vnl_double_3 const &spacing_ratio)
double rgrl_matcher_pseudo_3d_sub_pixel (vcl_vector< double > const &responses)

Define Documentation

#define DBG (   x)    x

Definition at line 24 of file rgrl_matcher_pseudo_3d.txx.

#define DEBUG

Definition at line 19 of file rgrl_matcher_pseudo_3d.txx.

#define rgrl_matcher_pseudo_3d_txx_

Definition at line 2 of file rgrl_matcher_pseudo_3d.txx.


Function Documentation

template<class PixelType >
bool rgrl_matcher_pseudo_3d_physical_in_range ( vil3d_image_view< PixelType > const &  image,
rgrl_mask_sptr const &  mask,
vnl_double_3 const &  location,
vnl_double_3 const &  spacing_ratio 
) [inline]

Definition at line 96 of file rgrl_matcher_pseudo_3d.txx.

void rgrl_matcher_pseudo_3d_physical_to_pixel ( vnl_double_3 const &  point,
vnl_int_3 &  pixel_loc,
vnl_double_3 const &  spacing_ratio 
) [inline]

Definition at line 41 of file rgrl_matcher_pseudo_3d.txx.

void rgrl_matcher_pseudo_3d_physical_to_pixel ( vnl_double_3 const &  point,
vnl_double_3 &  pixel_loc,
vnl_double_3 const &  spacing_ratio 
) [inline]

Definition at line 51 of file rgrl_matcher_pseudo_3d.txx.

template<class PixelType >
bool rgrl_matcher_pseudo_3d_pixel_in_range ( vil3d_image_view< PixelType > const &  image,
rgrl_mask_sptr const &  mask,
vnl_int_3 const &  location 
) [inline]

Definition at line 62 of file rgrl_matcher_pseudo_3d.txx.

void rgrl_matcher_pseudo_3d_pixel_to_physical ( vnl_int_3 const &  pixel_loc,
vnl_double_3 &  point,
vnl_double_3 const &  spacing_ratio 
) [inline]

Definition at line 31 of file rgrl_matcher_pseudo_3d.txx.

double rgrl_matcher_pseudo_3d_sub_pixel ( vcl_vector< double > const &  responses) [inline]

Definition at line 332 of file rgrl_matcher_pseudo_3d.txx.