[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

HuginBase::Photometric::ResponseTransform< VTIn > Class Template Reference

radiometric transformation, includes exposure, vignetting and white balance. More...

#include <ResponseTransform.h>

Inheritance diagram for HuginBase::Photometric::ResponseTransform< VTIn >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef vigra_ext::ValueTypeTraits<
VTIn >::value_type 
VT1
typedef std::vector< doubleLUT

Public Member Functions

 ResponseTransform ()
 ResponseTransform (const HuginBase::SrcPanoImage &src)
virtual ~ResponseTransform ()
void setFlatfield (const vigra::FImage *flat)
double calcVigFactor (hugin_utils::FDiff2D d) const
void enforceMonotonicity ()
vigra::NumericTraits< VT1
>::RealPromote 
apply (VT1 v, const hugin_utils::FDiff2D &pos, vigra::VigraTrueType) const
 function for gray values (ignores white balance :-)
vigra::NumericTraits< VT1
>::RealPromote 
apply (VT1 v, const hugin_utils::FDiff2D &pos) const
 function for color values
vigra::NumericTraits< vigra::RGBValue<
VT1 > >::RealPromote 
apply (vigra::RGBValue< VT1 > v, const hugin_utils::FDiff2D &pos, vigra::VigraFalseType) const
 function for color values
vigra::NumericTraits< vigra::RGBValue<
VT1 > >::RealPromote 
apply (vigra::RGBValue< VT1 > v, const hugin_utils::FDiff2D &pos) const
 function for color values
template<class T>
vigra::NumericTraits< T
>::RealPromote 
operator() (T v, const hugin_utils::FDiff2D &pos) const
 deprecated

Public Attributes

LUT m_lutR
double m_radiusScale
vigra_ext::LUTFunctor< VT1,
LUT
m_lutRFunc
const vigra::FImage * m_flatfield
double m_srcExposure
std::vector< doublem_RadialVigCorrCoeff
hugin_utils::FDiff2D m_RadialVigCorrCenter
int m_VigCorrMode
double m_WhiteBalanceRed
double m_WhiteBalanceBlue
HuginBase::SrcPanoImage m_src

Detailed Description

template<class VTIn>
class HuginBase::Photometric::ResponseTransform< VTIn >

radiometric transformation, includes exposure, vignetting and white balance.

scene referred irradiance -> camera color values


Member Typedef Documentation

template<class VTIn>
typedef std::vector<double> HuginBase::Photometric::ResponseTransform< VTIn >::LUT
 

Reimplemented in HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >.

template<class VTIn>
typedef vigra_ext::ValueTypeTraits<VTIn>::value_type HuginBase::Photometric::ResponseTransform< VTIn >::VT1
 

Reimplemented in HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >.


Constructor & Destructor Documentation

template<class VTIn>
HuginBase::Photometric::ResponseTransform< VTIn >::ResponseTransform  ) 
 

template<class VTIn>
HuginBase::Photometric::ResponseTransform< VTIn >::ResponseTransform const HuginBase::SrcPanoImage src  ) 
 

template<class VTIn>
virtual HuginBase::Photometric::ResponseTransform< VTIn >::~ResponseTransform  )  [inline, virtual]
 


Member Function Documentation

template<class VTIn>
vigra::NumericTraits<vigra::RGBValue<VT1> >::RealPromote HuginBase::Photometric::ResponseTransform< VTIn >::apply vigra::RGBValue< VT1 v,
const hugin_utils::FDiff2D pos
const
 

function for color values

Reimplemented in HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >.

template<class VTIn>
vigra::NumericTraits<vigra::RGBValue<VT1> >::RealPromote HuginBase::Photometric::ResponseTransform< VTIn >::apply vigra::RGBValue< VT1 v,
const hugin_utils::FDiff2D pos,
vigra::VigraFalseType 
const
 

function for color values

Reimplemented in HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >.

template<class VTIn>
vigra::NumericTraits< typename ResponseTransform< VTIn >::VT1 >::RealPromote HuginBase::Photometric::ResponseTransform< VTIn >::apply VT1  v,
const hugin_utils::FDiff2D pos
const
 

function for color values

template<class VTIn>
vigra::NumericTraits< typename ResponseTransform< VTIn >::VT1 >::RealPromote HuginBase::Photometric::ResponseTransform< VTIn >::apply VT1  v,
const hugin_utils::FDiff2D pos,
vigra::VigraTrueType 
const
 

function for gray values (ignores white balance :-)

template<class VTIn>
double HuginBase::Photometric::ResponseTransform< VTIn >::calcVigFactor hugin_utils::FDiff2D  d  )  const
 

template<class VTIn>
void HuginBase::Photometric::ResponseTransform< VTIn >::enforceMonotonicity  )  [inline]
 

Reimplemented in HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >.

template<class VTIn>
template<class T>
vigra::NumericTraits<T>::RealPromote HuginBase::Photometric::ResponseTransform< VTIn >::operator() v,
const hugin_utils::FDiff2D pos
const [inline]
 

deprecated

Reimplemented in HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >.

template<class VTIn>
void HuginBase::Photometric::ResponseTransform< VTIn >::setFlatfield const vigra::FImage *  flat  )  [inline]
 


Member Data Documentation

template<class VTIn>
const vigra::FImage* HuginBase::Photometric::ResponseTransform< VTIn >::m_flatfield
 

template<class VTIn>
LUT HuginBase::Photometric::ResponseTransform< VTIn >::m_lutR
 

template<class VTIn>
vigra_ext::LUTFunctor<VT1, LUT> HuginBase::Photometric::ResponseTransform< VTIn >::m_lutRFunc
 

template<class VTIn>
hugin_utils::FDiff2D HuginBase::Photometric::ResponseTransform< VTIn >::m_RadialVigCorrCenter
 

template<class VTIn>
std::vector<double> HuginBase::Photometric::ResponseTransform< VTIn >::m_RadialVigCorrCoeff
 

template<class VTIn>
double HuginBase::Photometric::ResponseTransform< VTIn >::m_radiusScale
 

template<class VTIn>
HuginBase::SrcPanoImage HuginBase::Photometric::ResponseTransform< VTIn >::m_src
 

template<class VTIn>
double HuginBase::Photometric::ResponseTransform< VTIn >::m_srcExposure
 

template<class VTIn>
int HuginBase::Photometric::ResponseTransform< VTIn >::m_VigCorrMode
 

template<class VTIn>
double HuginBase::Photometric::ResponseTransform< VTIn >::m_WhiteBalanceBlue
 

template<class VTIn>
double HuginBase::Photometric::ResponseTransform< VTIn >::m_WhiteBalanceRed
 


The documentation for this class was generated from the following file:

Generated on Mon Sep 20 01:01:36 2010 for Hugintrunk by doxygen 1.3.9.1