Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Protected Attributes | List of all members
HuginBase::Nona::WeightedStitcher< ImageType, AlphaType > Class Template Reference

#include <Stitcher.h>

Inheritance diagram for HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >:
Inheritance graph

Public Types

typedef Stitcher< ImageType,
AlphaType > 
Base
 

Public Member Functions

 WeightedStitcher (const PanoramaData &pano, AppBase::ProgressDisplay *progress)
 
virtual ~WeightedStitcher ()
 
void stitch (const PanoramaOptions &opts, const UIntSet &imgSet, const std::string &filename, ImageType &panoImage, AlphaType &alpha, SingleImageRemapper< ImageType, AlphaType > &remapper, const AdvancedOptions &advOptions)
 
void stitch (const PanoramaOptions &opts, const UIntSet &imgSet, const std::string &filename, SingleImageRemapper< ImageType, AlphaType > &remapper, const AdvancedOptions &advOptions)
 
vigra::Rect2D GetPanoROI () const
 
vigra::ImageImportInfo::ICCProfile GetICCProfile () const
 
- 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 ()
 

Protected Attributes

vigra::ImageImportInfo::ICCProfile iccProfile
 
vigra::Rect2D m_panoROI
 
- Protected Attributes inherited from HuginBase::Nona::Stitcher< ImageType, AlphaType >
const PanoramaDatam_pano
 
AppBase::ProgressDisplaym_progress
 
UIntSet m_images
 
std::vector< vigra::Rect2D > m_rois
 

Additional Inherited Members

- Protected Member Functions inherited from HuginBase::Nona::Stitcher< ImageType, AlphaType >
virtual void calcOutputROIS (const PanoramaOptions &opts, const UIntSet &images)
 

Detailed Description

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

Definition at line 460 of file Stitcher.h.

Member Typedef Documentation

template<typename ImageType, typename AlphaType>
typedef Stitcher<ImageType, AlphaType> HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::Base

Definition at line 464 of file Stitcher.h.

Constructor & Destructor Documentation

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

Definition at line 465 of file Stitcher.h.

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

Definition at line 471 of file Stitcher.h.

Member Function Documentation

template<typename ImageType, typename AlphaType>
vigra::ImageImportInfo::ICCProfile HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::GetICCProfile ( ) const
inline
template<typename ImageType, typename AlphaType>
vigra::Rect2D HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::GetPanoROI ( ) const
inline
template<typename ImageType, typename AlphaType>
void HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch ( const PanoramaOptions opts,
const UIntSet imgSet,
const std::string &  filename,
ImageType panoImage,
AlphaType &  alpha,
SingleImageRemapper< ImageType, AlphaType > &  remapper,
const AdvancedOptions advOptions 
)
inline

Definition at line 473 of file Stitcher.h.

References vigra_ext::ROIImage< Image, Mask >::boundingBox(), HuginBase::PanoramaOptions::colorReferenceImage, DEBUG_DEBUG, DEBUG_ERROR, HuginBase::Nona::GetAdvancedOption(), HuginBase::getEstimatedBlendingOrder(), HuginBase::PanoramaOptions::getHFOV(), HuginBase::PanoramaData::getImage(), HuginBase::Nona::SingleImageRemapper< ImageType, AlphaType >::getRemapped(), HuginBase::PanoramaOptions::getROI(), HuginBase::PanoramaOptions::getWidth(), HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::iccProfile, HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::m_ICCProfile, vigra_ext::ROIImage< Image, Mask >::m_image, vigra_ext::ROIImage< Image, Mask >::m_mask, HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_pano, HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::m_panoROI, HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_progress, HuginBase::Nona::Stitcher< ImageType, AlphaType >::m_rois, HuginBase::PanoramaOptions::outputExposureValue, HuginBase::PanoramaOptions::outputFormat, HuginBase::PanoramaOptions::outputRangeCompression, HuginBase::Nona::SingleImageRemapper< ImageType, AlphaType >::release(), HuginBase::Nona::detail::saveRemapped(), AppBase::ProgressDisplay::setMessage(), hugin_utils::stripPath(), HuginBase::PanoramaOptions::TIFF_m, and HuginBase::PanoramaOptions::tiff_saveROI.

Referenced by GenerateThumbnail(), HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch(), and HuginBase::Nona::stitchPanoIntern().

template<typename ImageType, typename AlphaType>
void HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch ( const PanoramaOptions opts,
const UIntSet imgSet,
const std::string &  filename,
SingleImageRemapper< ImageType, AlphaType > &  remapper,
const AdvancedOptions advOptions 
)
inline

Member Data Documentation

template<typename ImageType, typename AlphaType>
vigra::ImageImportInfo::ICCProfile HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::iccProfile
protected
template<typename ImageType, typename AlphaType>
vigra::Rect2D HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::m_panoROI
protected

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