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

implements a stitching algorithm More...

#include <Stitcher.h>

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

Inheritance graph
[legend]
List of all members.

Public Member Functions

 Stitcher (const PanoramaData &pano, AppBase::ProgressDisplay *progress)
 create a stitcher for the given panorama
virtual ~Stitcher ()
virtual void stitch (const PanoramaOptions &opts, UIntSet &images, const std::string &file, SingleImageRemapper< ImageType, AlphaType > &remapper)
 Stitch some images into a panorama file.
virtual UIntSet getUsedImages ()

Protected Member Functions

virtual void calcOutputROIS (const PanoramaOptions &opts, const UIntSet &images)

Protected Attributes

const PanoramaDatam_pano
AppBase::ProgressDisplaym_progress
UIntSet m_images
std::vector< vigra::Rect2D > m_rois

Detailed Description

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

implements a stitching algorithm

Definition at line 72 of file Stitcher.h.


Constructor & Destructor Documentation

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

create a stitcher for the given panorama

Definition at line 76 of file Stitcher.h.

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

Definition at line 81 of file Stitcher.h.


Member Function Documentation

template<typename ImageType, typename AlphaType>
virtual void HuginBase::Nona::Stitcher< ImageType, AlphaType >::calcOutputROIS ( const PanoramaOptions opts,
const UIntSet images 
) [inline, protected, virtual]

Definition at line 111 of file Stitcher.h.

Referenced by HuginBase::Nona::SimpleStitcher< ImageType, AlphaType >::stitch(), and HuginBase::Nona::Stitcher< vigra::FRGBImage, AlphaType >::stitch().

template<typename ImageType, typename AlphaType>
virtual UIntSet HuginBase::Nona::Stitcher< ImageType, AlphaType >::getUsedImages (  )  [inline, virtual]

Definition at line 96 of file Stitcher.h.

template<typename ImageType, typename AlphaType>
virtual void HuginBase::Nona::Stitcher< ImageType, AlphaType >::stitch ( const PanoramaOptions opts,
UIntSet images,
const std::string file,
SingleImageRemapper< ImageType, AlphaType > &  remapper 
) [inline, virtual]

Stitch some images into a panorama file.

The filename can be specified with and without extension

Definition at line 87 of file Stitcher.h.

Referenced by HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::stitch(), HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch(), and HuginBase::Nona::MultiImageRemapper< vigra::FRGBImage, AlphaImageType >::stitch().


Member Data Documentation

template<typename ImageType, typename AlphaType>
UIntSet HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_images [protected]

Definition at line 118 of file Stitcher.h.

Referenced by HuginBase::Nona::Stitcher< vigra::FRGBImage, AlphaType >::getUsedImages(), HuginBase::Nona::SimpleStitcher< ImageType, AlphaType >::stitch(), and HuginBase::Nona::Stitcher< vigra::FRGBImage, AlphaType >::stitch().

template<typename ImageType, typename AlphaType>
const PanoramaData& HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_pano [protected]

Definition at line 116 of file Stitcher.h.

Referenced by HuginBase::Nona::Stitcher< vigra::FRGBImage, AlphaType >::calcOutputROIS(), HuginBase::Nona::TiffMultiLayerRemapper< ImageType, AlphaImageType >::saveRemapped(), HuginBase::Nona::SimpleStitcher< ImageType, AlphaType >::stitch(), HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::stitch(), HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch(), and HuginBase::Nona::MultiImageRemapper< vigra::FRGBImage, AlphaImageType >::stitch().

template<typename ImageType, typename AlphaType>
AppBase::ProgressDisplay* HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_progress [protected]

Definition at line 117 of file Stitcher.h.

Referenced by HuginBase::Nona::TiffMultiLayerRemapper< ImageType, AlphaImageType >::finalizeOutputFile(), HuginBase::Nona::MultiImageRemapper< vigra::FRGBImage, AlphaImageType >::finalizeOutputFile(), HuginBase::Nona::TiffMultiLayerRemapper< ImageType, AlphaImageType >::prepareOutputFile(), HuginBase::Nona::MultiImageRemapper< vigra::FRGBImage, AlphaImageType >::prepareOutputFile(), HuginBase::Nona::MultiImageRemapper< vigra::FRGBImage, AlphaImageType >::saveRemapped(), HuginBase::Nona::SimpleStitcher< ImageType, AlphaType >::stitch(), HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::stitch(), HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch(), and HuginBase::Nona::MultiImageRemapper< vigra::FRGBImage, AlphaImageType >::stitch().

template<typename ImageType, typename AlphaType>
std::vector<vigra::Rect2D> HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_rois [protected]

Definition at line 119 of file Stitcher.h.

Referenced by HuginBase::Nona::Stitcher< vigra::FRGBImage, AlphaType >::calcOutputROIS(), HuginBase::Nona::Stitcher< vigra::FRGBImage, AlphaType >::getUsedImages(), HuginBase::Nona::SimpleStitcher< ImageType, AlphaType >::stitch(), HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::stitch(), HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch(), and HuginBase::Nona::MultiImageRemapper< vigra::FRGBImage, AlphaImageType >::stitch().


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