Hugintrunk
0.1
|
stitch multilayer More...
#include <Stitcher.h>
Public Types | |
typedef MultiImageRemapper < ImageType, AlphaImageType > | Base |
Public Types inherited from HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType > | |
typedef Stitcher< ImageType, AlphaImageType > | Base |
Public Member Functions | |
TiffMultiLayerRemapper (const PanoramaData &pano, AppBase::ProgressDisplay *progress) | |
virtual | ~TiffMultiLayerRemapper () |
virtual void | prepareOutputFile (const PanoramaOptions &opts, const AdvancedOptions &advOptions) |
prepare the output file (setup file structures etc.) More... | |
virtual void | saveRemapped (RemappedPanoImage< ImageType, AlphaImageType > &remapped, unsigned int imgNr, unsigned int nImg, const PanoramaOptions &opts, const AdvancedOptions &advOptions) |
save the remapped image in a partial tiff layer More... | |
virtual void | finalizeOutputFile (const PanoramaOptions &opts) |
close the tiff file More... | |
Public Member Functions inherited from HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType > | |
MultiImageRemapper (const PanoramaData &pano, AppBase::ProgressDisplay *progress) | |
virtual | ~MultiImageRemapper () |
virtual void | stitch (const PanoramaOptions &opts, const UIntSet &images, const std::string &basename, SingleImageRemapper< ImageType, AlphaImageType > &remapper, const AdvancedOptions &advOptions) |
Public Member Functions inherited from HuginBase::Nona::Stitcher< ImageType, AlphaImageType > | |
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, AlphaImageType > &remapper) |
Stitch some images into a panorama file. More... | |
void | init (const PanoramaOptions &opts, const UIntSet &images) |
virtual UIntSet | getUsedImages () |
Protected Attributes | |
vigra::TiffImage * | m_tiff |
Protected Attributes inherited from HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType > | |
std::string | m_basename |
Protected Attributes inherited from HuginBase::Nona::Stitcher< ImageType, AlphaImageType > | |
const PanoramaData & | m_pano |
AppBase::ProgressDisplay * | m_progress |
UIntSet | m_images |
std::vector< vigra::Rect2D > | m_rois |
Additional Inherited Members | |
Protected Member Functions inherited from HuginBase::Nona::Stitcher< ImageType, AlphaImageType > | |
virtual void | calcOutputROIS (const PanoramaOptions &opts, const UIntSet &images) |
stitch multilayer
Definition at line 399 of file Stitcher.h.
typedef MultiImageRemapper<ImageType, AlphaImageType> HuginBase::Nona::TiffMultiLayerRemapper< ImageType, AlphaImageType >::Base |
Definition at line 403 of file Stitcher.h.
|
inline |
Definition at line 404 of file Stitcher.h.
|
inlinevirtual |
Definition at line 410 of file Stitcher.h.
|
inlinevirtual |
close the tiff file
Reimplemented from HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType >.
Definition at line 447 of file Stitcher.h.
References HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType >::m_basename, HuginBase::Nona::Stitcher< ImageType, AlphaImageType >::m_progress, HuginBase::Nona::TiffMultiLayerRemapper< ImageType, AlphaImageType >::m_tiff, AppBase::ProgressDisplay::setMessage(), hugin_utils::stripPath(), and AppBase::ProgressDisplay::taskFinished().
|
inlinevirtual |
prepare the output file (setup file structures etc.)
Reimplemented from HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType >.
Definition at line 414 of file Stitcher.h.
References DEBUG_ASSERT, DEBUG_DEBUG, HuginBase::Nona::GetAdvancedOption(), HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType >::m_basename, HuginBase::Nona::Stitcher< ImageType, AlphaImageType >::m_progress, HuginBase::Nona::TiffMultiLayerRemapper< ImageType, AlphaImageType >::m_tiff, and AppBase::ProgressDisplay::setMessage().
|
inlinevirtual |
save the remapped image in a partial tiff layer
Reimplemented from HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType >.
Definition at line 424 of file Stitcher.h.
References vigra_ext::ROIImage< RemapImage, AlphaImage >::boundingBox(), vigra_ext::createAlphaTiffImage(), vigra_ext::createTiffDirectory(), DEBUG_DEBUG, HuginBase::PanoramaOptions::getROI(), HuginBase::Nona::MultiImageRemapper< ImageType, AlphaImageType >::m_basename, HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::m_ICCProfile, vigra_ext::ROIImage< RemapImage, AlphaImage >::m_image, vigra_ext::ROIImage< RemapImage, AlphaImage >::m_mask, HuginBase::Nona::Stitcher< ImageType, AlphaImageType >::m_pano, HuginBase::Nona::TiffMultiLayerRemapper< ImageType, AlphaImageType >::m_tiff, vigra_ext::srcImageRange(), and HuginBase::PanoramaOptions::tiffCompression.
|
protected |
Definition at line 456 of file Stitcher.h.
Referenced by HuginBase::Nona::TiffMultiLayerRemapper< ImageType, AlphaImageType >::finalizeOutputFile(), HuginBase::Nona::TiffMultiLayerRemapper< ImageType, AlphaImageType >::prepareOutputFile(), and HuginBase::Nona::TiffMultiLayerRemapper< ImageType, AlphaImageType >::saveRemapped().