Hugintrunk
0.1
|
create a panorama using the reduce operation on all overlapping pixels. More...
#include <Stitcher.h>
Public Member Functions | |
ReduceStitcher (const PanoramaData &pano, AppBase::ProgressDisplay *progress) | |
virtual | ~ReduceStitcher () |
template<class FUNCTOR > | |
void | stitch (const PanoramaOptions &opts, const UIntSet &imgSet, const std::string &filename, SingleImageRemapper< ImageType, AlphaType > &remapper, FUNCTOR &reduce, const AdvancedOptions &advOptions) |
template<class ImgIter , class ImgAccessor , class AlphaIter , class AlphaAccessor , class FUNCTOR > | |
void | stitch (const PanoramaOptions &opts, const UIntSet &imgSet, vigra::triple< ImgIter, ImgIter, ImgAccessor > pano, std::pair< AlphaIter, AlphaAccessor > alpha, SingleImageRemapper< ImageType, AlphaType > &remapper, FUNCTOR &reduce) |
Public Member Functions inherited from HuginBase::Nona::Stitcher< ImageType, AlphaType > | |
Stitcher (const PanoramaData &pano, AppBase::ProgressDisplay *progress) | |
create a stitcher for the given panorama More... | |
virtual | ~Stitcher () |
virtual void | stitch (const PanoramaOptions &opts, const UIntSet &images, const std::string &file, SingleImageRemapper< ImageType, AlphaType > &remapper) |
Stitch some images into a panorama file. More... | |
void | init (const PanoramaOptions &opts, const UIntSet &images) |
virtual UIntSet | getUsedImages () |
Public Attributes | |
vigra::ImageImportInfo::ICCProfile | iccProfile |
Private Types | |
typedef Stitcher< ImageType, AlphaType > | Base |
Additional Inherited Members | |
Protected Member Functions inherited from HuginBase::Nona::Stitcher< ImageType, AlphaType > | |
virtual void | calcOutputROIS (const PanoramaOptions &opts, const UIntSet &images) |
Protected Attributes inherited from HuginBase::Nona::Stitcher< ImageType, AlphaType > | |
const PanoramaData & | m_pano |
AppBase::ProgressDisplay * | m_progress |
UIntSet | m_images |
std::vector< vigra::Rect2D > | m_rois |
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.
|
private |
Definition at line 691 of file Stitcher.h.
|
inline |
Definition at line 693 of file Stitcher.h.
|
inlinevirtual |
Definition at line 699 of file Stitcher.h.
|
inline |
Definition at line 704 of file Stitcher.h.
References DEBUG_DEBUG, vigra_ext::destImage(), vigra_ext::destImageRange(), vigra::exportImageAlpha(), HuginBase::Nona::GetAdvancedOption(), 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().
|
inline |
Definition at line 766 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().
vigra::ImageImportInfo::ICCProfile HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::iccProfile |
Definition at line 831 of file Stitcher.h.
Referenced by HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::stitch(), and PreviewPanel::updatePreview().