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

bmrf_epi_transform.h File Reference


Detailed Description

Epipolar transformation functions.

Author:
Matt Leotta (mleotta@lems.brown.edu)
Date:
02/24/04
This file contains a set of functions for epipolar transformations Transformations are calculated as $ s(\alpha,t) = \frac{s_{0}(\alpha)}{1-\gamma(\alpha,t)*t} $ , where (s0,alpha) is an initial point in epipolar space, (s,alpha) is the transformed point, t is time, and gamma is a function of alpha and time that defines the transformation. See bmrf_gamma_func.h

    Modifications
   

Definition in file bmrf_epi_transform.h.

#include <bmrf/bmrf_gamma_func.h>
#include <bmrf/bmrf_gamma_func_sptr.h>
#include <bmrf/bmrf_epi_point_sptr.h>
#include <bmrf/bmrf_epi_seg_sptr.h>

Go to the source code of this file.

Functions

double bmrf_epi_transform (double s0, double alpha, const bmrf_gamma_func_sptr &gamma, double t=1.0)
 Calculates the transformed value of s.
bmrf_epi_point_sptr bmrf_epi_transform (const bmrf_epi_point_sptr &ep, const bmrf_gamma_func_sptr &gamma, double t=1.0, bool update_all=false)
 Calculates a transformed epi_point.
bmrf_epi_seg_sptr bmrf_epi_transform (const bmrf_epi_seg_sptr &ep, const bmrf_gamma_func_sptr &gamma, double t=1.0, bool update_all=false)
 Calculates a transformed epi_seg.


Function Documentation

bmrf_epi_seg_sptr bmrf_epi_transform const bmrf_epi_seg_sptr ep,
const bmrf_gamma_func_sptr gamma,
double  t = 1.0,
bool  update_all = false
 

Calculates a transformed epi_seg.

Parameters:
ep is the epipoint to trasform
t is the time step
update_all is a flag indicating whether or not to update all members of the bmrf_epi_seg. By default, only the s values of each epi_point are updated

Definition at line 58 of file bmrf_epi_transform.cxx.

bmrf_epi_point_sptr bmrf_epi_transform const bmrf_epi_point_sptr ep,
const bmrf_gamma_func_sptr gamma,
double  t = 1.0,
bool  update_all = false
 

Calculates a transformed epi_point.

Parameters:
ep is the epipoint to trasform
t is the time step
update_all is a flag indicating whether or not to update all members of the bmrf_epi_point. By default, only the s value is updated

Definition at line 40 of file bmrf_epi_transform.cxx.

double bmrf_epi_transform double  s0,
double  alpha,
const bmrf_gamma_func_sptr gamma,
double  t = 1.0
[inline]
 

Calculates the transformed value of s.

Definition at line 28 of file bmrf_epi_transform.h.


Generated on Thu Jan 10 14:51:53 2008 for contrib/brl/bseg/bmrf by  doxygen 1.4.4