Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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

Public Member Functions

 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 ()
 

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

template<typename ImageType, typename AlphaType>
virtual HuginBase::Nona::Stitcher< ImageType, AlphaType >::~Stitcher ( )
inlinevirtual

Definition at line 79 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 
)
inlineprotectedvirtual
template<typename ImageType, typename AlphaType>
virtual UIntSet HuginBase::Nona::Stitcher< ImageType, AlphaType >::getUsedImages ( )
inlinevirtual

Definition at line 99 of file Stitcher.h.

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

Stitch some images into a panorama file.

The filename can be specified with and without extension

Definition at line 85 of file Stitcher.h.

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

Member Data Documentation

template<typename ImageType, typename AlphaType>
UIntSet HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_images
protected
template<typename ImageType, typename AlphaType>
const PanoramaData& HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_pano
protected
template<typename ImageType, typename AlphaType>
AppBase::ProgressDisplay* HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_progress
protected
template<typename ImageType, typename AlphaType>
std::vector<vigra::Rect2D> HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_rois
protected

The documentation for this class was generated from the following file: