|
Hugin trunk 0.1
|
#include "GenerateThumbnail.h"#include "algorithms/nona/NonaFileStitcher.h"#include "hugin_base/nona/ImageRemapper.h"#include "hugin_base/nona/Stitcher.h"Go to the source code of this file.
Functions | |
| bool | GenerateThumbnail (const std::string pto_filename, const wxSize size, vigra::BRGBImage &panoImage, vigra::BImage &panoMask, vigra::ImageImportInfo::ICCProfile &iccProfile) |
| generate thumbnail image for given pto_filename | |
| bool GenerateThumbnail | ( | const std::string | pto_filename, |
| const wxSize | size, | ||
| vigra::BRGBImage & | panoImage, | ||
| vigra::BImage & | panoMask, | ||
| vigra::ImageImportInfo::ICCProfile & | iccProfile | ||
| ) |
generate thumbnail image for given pto_filename
| [in] | pto_filename | filename of pto file for which the thumbnail should be generated |
| [in] | size | maximal width and height of generated thumbnail |
| [out] | panoImage | vigra::BRGBImage holding the preview image data |
| [out] | panoMask | alpha channel of the preview image |
| [out] | iccProfile | iccProfile for the given panorama read from the input files |
Definition at line 33 of file GenerateThumbnail.cpp.
References hugin_utils::FileExists(), HuginBase::Panorama::getActiveImages(), HuginBase::PanoramaOptions::getHeight(), HuginBase::Panorama::getImage(), HuginBase::Panorama::getNrOfImages(), HuginBase::Panorama::getOptions(), hugin_utils::getPathPrefix(), HuginBase::PanoramaOptions::getROI(), HuginBase::Panorama::getSrcImage(), HuginBase::PanoramaOptions::getWidth(), HuginBase::PanoramaOptions::OUTPUT_LDR, HuginBase::PanoramaOptions::outputEMoRParams, HuginBase::PanoramaOptions::outputFormat, HuginBase::PanoramaOptions::outputImageType, HuginBase::PanoramaOptions::outputMode, HuginBase::PanoramaOptions::PNG, HuginBase::Panorama::ReadPTOFile(), HuginBase::PanoramaOptions::remapUsingGPU, HuginBase::BaseSrcPanoImage::RESPONSE_EMOR, HuginBase::Nona::SetAdvancedOption(), HuginBase::Nona::SingleImageRemapper< ImageType, AlphaType >::setAdvancedOptions(), HuginBase::PanoramaOptions::setROI(), HuginBase::PanoramaOptions::setWidth(), threshold(), and HuginBase::PanoramaOptions::tiff_saveROI.
Referenced by ThumbnailThread::Entry(), and BrowsePTOFilesDialog::GeneratePreview().