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::MultiProgressDisplay &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)

Protected 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 706 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 708 of file Stitcher.h.


Constructor & Destructor Documentation

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

Definition at line 710 of file Stitcher.h.

References ImageType.

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

Definition at line 716 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 783 of file Stitcher.h.

References vigra_ext::ROIImage< Image, Mask >::getMask(), HuginBase::Nona::SingleImageRemapper< ImageType, AlphaType >::getRemapped(), HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::m_ICCProfile, celeste::max(), enblend::reduce(), and HuginBase::Nona::SingleImageRemapper< ImageType, AlphaType >::release().

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 721 of file Stitcher.h.

References DEBUG_DEBUG, vigra::exportImageAlpha(), hugin_utils::getExtension(), HuginBase::PanoramaOptions::getHeight(), HuginBase::PanoramaOptions::getOutputExtension(), HuginBase::PanoramaOptions::getWidth(), ImageType, HuginBase::PanoramaOptions::outputFormat, HuginBase::PanoramaOptions::outputPixelType, HuginBase::PanoramaOptions::quality, vigra_ext::srcImage(), vigra_ext::srcImageRange(), hugin_utils::stripExtension(), and HuginBase::PanoramaOptions::tiffCompression.

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 [protected]
 

Definition at line 853 of file Stitcher.h.


The documentation for this class was generated from the following file:
Generated on Tue Sep 30 01:25:48 2014 for Hugintrunk by  doxygen 1.3.9.1