#include <ResponseTransform.h>
Inheritance diagram for HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >:

Public Types | |
| typedef vigra_ext::ValueTypeTraits< VTIn >::value_type | VT1 |
| typedef vigra::NumericTraits< VT1 >::RealPromote | VTInCompReal |
| typedef vigra_ext::ValueTypeTraits< VTOut >::value_type | dest_type |
| typedef std::vector< double > | LUT |
| typedef std::vector< dest_type > | LUTD |
Public Member Functions | |
| InvResponseTransform () | |
| InvResponseTransform (const HuginBase::SrcPanoImage &src) | |
| virtual | ~InvResponseTransform () |
| void | setHDROutput (bool hdrMode, double destExposure) |
| void | setOutput (double destExposure, const LUTD &destLut, double scale) |
| output lut | |
| void | enforceMonotonicity () |
| double | dither (const double &v) const |
| Dithering is used to fool the eye into seeing gradients that are finer than the precision of the pixel type. | |
| vigra::NumericTraits< dest_type >::RealPromote | apply (VT1 v, const hugin_utils::FDiff2D &pos, vigra::VigraTrueType) const |
| function for gray values (ignores white balance :-) | |
| vigra::NumericTraits< dest_type >::RealPromote | apply (VT1 v, const hugin_utils::FDiff2D &pos) const |
| 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 | |
| template<class T, class A> | |
| A | hdrWeight (T v, A a) const |
| void | emitGLSL (std::ostringstream &oss, std::vector< double > &invLut, std::vector< double > &destLut) const |
Protected Attributes | |
| vigra_ext::InvLUTFunctor< VT1, LUT > | m_lutRInvFunc |
| LUTD | m_destLut |
| vigra_ext::LUTFunctor< VTInCompReal, LUTD > | m_destLutFunc |
| double | m_destExposure |
| bool | m_hdrMode |
| double | m_intScale |
Private Types | |
| typedef ResponseTransform< VTIn > | Base |
Private Member Functions | |
| void | init (const HuginBase::SrcPanoImage &src) |
Private Attributes | |
| RANDOMGENERATOR | Twister |
camera color values -> scene referred irradiance
Definition at line 143 of file ResponseTransform.h.
|
|||||
|
Definition at line 146 of file ResponseTransform.h. Referenced by HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >::InvResponseTransform(). |
|
|||||
|
Definition at line 151 of file ResponseTransform.h. |
|
|||||
|
Reimplemented from HuginBase::Photometric::ResponseTransform< VTIn >. Definition at line 153 of file ResponseTransform.h. |
|
|||||
|
Definition at line 154 of file ResponseTransform.h. |
|
|||||
|
Reimplemented from HuginBase::Photometric::ResponseTransform< VTIn >. Definition at line 149 of file ResponseTransform.h. |
|
|||||
|
Definition at line 150 of file ResponseTransform.h. |
|
|||||||||
|
||||||||||
|
|||||||||
|
Definition at line 165 of file ResponseTransform.h. |
|
||||||||||||||||
|
function for color values
Reimplemented from HuginBase::Photometric::ResponseTransform< VTIn >. Definition at line 547 of file ResponseTransform.h. References HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >::apply(), and hugin_utils::FDiff2D. |
|
||||||||||||||||||||
|
||||||||||||||||
|
Definition at line 539 of file ResponseTransform.h. References HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >::apply(), and hugin_utils::FDiff2D. |
|
||||||||||||||||||||
|
||||||||||
|
Dithering is used to fool the eye into seeing gradients that are finer than the precision of the pixel type. This prevents the occurence of cleanly-bordered regions in the output where the pixel values suddenly change from N to N+1. Such regions are especially objectionable in the green channel of 8-bit images. Definition at line 464 of file ResponseTransform.h. References RANDOMGENERATOR. Referenced by HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >::apply(). |
|
||||||||||||||||||||
|
|||||||||
|
Reimplemented from HuginBase::Photometric::ResponseTransform< VTIn >. Definition at line 179 of file ResponseTransform.h. References vigra_ext::enforceMonotonicity(). Referenced by correctImage(), HuginBase::PhotometricOptimizer::photometricError(), and HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::remapImage(). |
|
||||||||||||||||||||
|
Definition at line 223 of file ResponseTransform.h. References celeste::max(). |
|
||||||||||
|
||||||||||||||||||||
|
deprecated
Reimplemented from HuginBase::Photometric::ResponseTransform< VTIn >. Definition at line 216 of file ResponseTransform.h. References hugin_utils::FDiff2D. |
|
||||||||||||||||
|
||||||||||||||||||||
|
|||||
|
|||||
|
|||||
|
Definition at line 238 of file ResponseTransform.h. Referenced by HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >::apply(), and HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >::setOutput(). |
|
|||||
|
|||||
|
|||||
|
|||||
|
Definition at line 244 of file ResponseTransform.h. |
1.3.9.1