HuginBase::Nona::ReduceStitcher< ImageType, AlphaType > Class Template Reference

create a panorama using the reduce operation on all overlapping pixels. More...

#include <Stitcher.h>

Inheritance diagram for HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ReduceStitcher (const PanoramaData &pano, AppBase::ProgressDisplay *progress)
virtual ~ReduceStitcher ()
template<class FUNCTOR>
void stitch (const PanoramaOptions &opts, UIntSet &imgSet, const std::string &filename, SingleImageRemapper< ImageType, AlphaType > &remapper, FUNCTOR &reduce)
template<class ImgIter, class ImgAccessor, class AlphaIter, class AlphaAccessor, class FUNCTOR>
void stitch (const PanoramaOptions &opts, UIntSet &imgSet, vigra::triple< ImgIter, ImgIter, ImgAccessor > pano, std::pair< AlphaIter, AlphaAccessor > alpha, SingleImageRemapper< ImageType, AlphaType > &remapper, FUNCTOR &reduce)

Public Attributes

vigra::ImageImportInfo::ICCProfile iccProfile

Private Types

typedef Stitcher< ImageType,
AlphaType > 
Base

Detailed Description

template<typename ImageType, typename AlphaType>
class HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >

create a panorama using the reduce operation on all overlapping pixels.

WARNING: this version is very memory hungry for large panoramas (> 3 images ;-)

Definition at line 689 of file Stitcher.h.


Member Typedef Documentation

template<typename ImageType, typename AlphaType>
typedef Stitcher<ImageType, AlphaType> HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::Base [private]

Definition at line 691 of file Stitcher.h.


Constructor & Destructor Documentation

template<typename ImageType, typename AlphaType>
HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::ReduceStitcher ( const PanoramaData pano,
AppBase::ProgressDisplay progress 
) [inline]

Definition at line 693 of file Stitcher.h.

template<typename ImageType, typename AlphaType>
virtual HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::~ReduceStitcher (  )  [inline, virtual]

Definition at line 699 of file Stitcher.h.


Member Function Documentation

template<typename ImageType, typename AlphaType>
template<class ImgIter, class ImgAccessor, class AlphaIter, class AlphaAccessor, class FUNCTOR>
void HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::stitch ( const PanoramaOptions opts,
UIntSet imgSet,
vigra::triple< ImgIter, ImgIter, ImgAccessor >  pano,
std::pair< AlphaIter, AlphaAccessor >  alpha,
SingleImageRemapper< ImageType, AlphaType > &  remapper,
FUNCTOR &  reduce 
) [inline]

Definition at line 765 of file Stitcher.h.

References HuginBase::Nona::SingleImageRemapper< ImageType, AlphaType >::getRemapped(), HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::iccProfile, HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_pano, HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_progress, HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_rois, celeste::max(), enblend::reduce(), HuginBase::Nona::SingleImageRemapper< ImageType, AlphaType >::release(), AppBase::ProgressDisplay::setMessage(), and HuginBase::Nona::Stitcher< ImageType, AlphaType >::stitch().

template<typename ImageType, typename AlphaType>
template<class FUNCTOR>
void HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::stitch ( const PanoramaOptions opts,
UIntSet imgSet,
const std::string filename,
SingleImageRemapper< ImageType, AlphaType > &  remapper,
FUNCTOR &  reduce 
) [inline]

Definition at line 704 of file Stitcher.h.

References DEBUG_DEBUG, vigra_ext::destImage(), vigra_ext::destImageRange(), vigra::exportImageAlpha(), hugin_utils::getExtension(), HuginBase::PanoramaOptions::getHeight(), HuginBase::PanoramaOptions::getOutputExtension(), HuginBase::PanoramaOptions::getWidth(), HuginBase::PanoramaOptions::HDR, HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::iccProfile, HuginBase::PanoramaOptions::JPEG, HuginBase::PanoramaOptions::outputFormat, HuginBase::PanoramaOptions::outputPixelType, HuginBase::PanoramaOptions::quality, vigra_ext::srcImage(), vigra_ext::srcImageRange(), HuginBase::Nona::Stitcher< ImageType, AlphaType >::stitch(), hugin_utils::stripExtension(), HuginBase::PanoramaOptions::TIFF, HuginBase::PanoramaOptions::tiffCompression, and hugin_utils::tolower().

Referenced by HuginBase::Nona::stitchPanoIntern(), and PreviewPanel::updatePreview().


Member Data Documentation

template<typename ImageType, typename AlphaType>
vigra::ImageImportInfo::ICCProfile HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::iccProfile

Definition at line 834 of file Stitcher.h.

Referenced by HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::stitch(), and PreviewPanel::updatePreview().


The documentation for this class was generated from the following file:
Generated on 1 Aug 2015 for Hugintrunk by  doxygen 1.4.7