Hugintrunk
0.1
|
#include <CalculateFOV.h>
Public Member Functions | |
CalculateFOV (PanoramaData &panorama) | |
virtual | ~CalculateFOV () |
bool | modifiesPanoramaData () const |
returns true if the algorithm changes the PanoramaData. More... | |
bool | runAlgorithm () |
implementation of the algorithm. More... | |
double | getResultHorizontalFOV () |
double | getResultVerticalFOV () |
hugin_utils::FDiff2D | getResultFOV () |
Public Member Functions inherited from HuginBase::PanoramaAlgorithm | |
virtual | ~PanoramaAlgorithm () |
virtual bool | hasRunSuccessfully () |
virtual void | run () |
runs the algorithm. More... | |
Static Public Member Functions | |
static hugin_utils::FDiff2D | calcFOV (const PanoramaData &panorama) |
Protected Attributes | |
hugin_utils::FDiff2D | o_resultFOV |
Protected Attributes inherited from HuginBase::PanoramaAlgorithm | |
PanoramaData & | o_panorama |
bool | o_successful |
Additional Inherited Members | |
Protected Member Functions inherited from HuginBase::PanoramaAlgorithm | |
PanoramaAlgorithm (PanoramaData &panorama) | |
Definition at line 38 of file CalculateFOV.h.
|
inlineexplicit |
Definition at line 43 of file CalculateFOV.h.
|
inlinevirtual |
Definition at line 48 of file CalculateFOV.h.
|
static |
Definition at line 34 of file CalculateFOV.cpp.
References vigra_ext::applyRect(), vigra_ext::ROIImage< RemapImage, AlphaImage >::boundingBox(), HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::calcAlpha(), vigra::omp::copyImageIf(), vigra_ext::destImage(), HuginBase::PanoramaOptions::EQUIRECTANGULAR, HuginBase::PanoramaData::getActiveImages(), HuginBase::PanoramaOptions::getHFOV(), HuginBase::PanoramaData::getNrOfImages(), HuginBase::PanoramaData::getOptions(), HuginBase::PanoramaData::getSrcImage(), HuginBase::PanoramaOptions::getVFOV(), vigra_ext::EMoR::h, celeste::max(), HuginBase::PanoramaOptions::setHeight(), HuginBase::PanoramaOptions::setHFOV(), HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::setPanoImage(), HuginBase::PanoramaOptions::setProjection(), HuginBase::PanoramaOptions::setWidth(), vigra_ext::srcMask(), vigra_ext::srcMaskRange(), hugin_utils::TDiff2D< T >::x, and hugin_utils::TDiff2D< T >::y.
Referenced by HuginBase::CalculateFitPanorama::fitPano(), and HuginBase::SmartOptimise::smartOptimize().
|
inline |
Definition at line 84 of file CalculateFOV.h.
|
inline |
Definition at line 70 of file CalculateFOV.h.
|
inline |
Definition at line 77 of file CalculateFOV.h.
|
inlinevirtual |
returns true if the algorithm changes the PanoramaData.
Implements HuginBase::PanoramaAlgorithm.
Definition at line 53 of file CalculateFOV.h.
|
inlinevirtual |
implementation of the algorithm.
You should override with your algorithm's implementiation.
Implements HuginBase::PanoramaAlgorithm.
Definition at line 57 of file CalculateFOV.h.
|
protected |
Definition at line 92 of file CalculateFOV.h.