#include <ImageRemapper.h>
Inheritance diagram for HuginBase::Nona::FileRemapper< ImageType, AlphaType >:

Public Types | |
| typedef std::vector< float > | LUT |
| #define HUGIN_REMAP_IMGLOAD(TYPE, lut) \ { \ vigra::TYPE tmpImg(info.width(), info.height()); \ if (alpha) { \ vigra::importImageAlpha(info, vigra::destImage(tmpImg), \ vigra::destImage(srcAlpha)); \ { \ vigra::ImageExportInfo exi(DEBUG_FILE_PREFIX "hugin01_original_mask.tif"); \ vigra::exportImage(vigra::srcImageRange(srcAlpha), exi); \ } \ } else { \ vigra::importImage(info, vigra::destImage(tmpImg)); \ } \ { \ vigra::ImageExportInfo exi(DEBUG_FILE_PREFIX "hugin01_original.tif"); \ vigra::exportImage(vigra::srcImageRange(tmpImg), exi); \ } \ } | |
Public Member Functions | |
| FileRemapper () | |
| virtual | ~FileRemapper () |
| void | loadImage (const PanoramaOptions &opts, vigra::ImageImportInfo &info, ImageType &srcImg, AlphaType &srcAlpha) |
| virtual RemappedPanoImage< ImageType, AlphaType > * | getRemapped (const PanoramaData &pano, const PanoramaOptions &opts, unsigned int imgNr, vigra::Rect2D outputROI, AppBase::MultiProgressDisplay &progress) |
| create a remapped pano image. | |
| virtual void | release (RemappedPanoImage< ImageType, AlphaType > *d) |
Protected Attributes | |
| RemappedPanoImage< ImageType, AlphaType > * | m_remapped |
Definition at line 67 of file ImageRemapper.h.
|
|||||
|
#define HUGIN_REMAP_IMGLOAD(TYPE, lut) \ { \ vigra::TYPE tmpImg(info.width(), info.height()); \ if (alpha) { \ vigra::importImageAlpha(info, vigra::destImage(tmpImg), \ vigra::destImage(srcAlpha)); \ { \ vigra::ImageExportInfo exi(DEBUG_FILE_PREFIX "hugin01_original_mask.tif"); \ vigra::exportImage(vigra::srcImageRange(srcAlpha), exi); \ } \ } else { \ vigra::importImage(info, vigra::destImage(tmpImg)); \ } \ { \ vigra::ImageExportInfo exi(DEBUG_FILE_PREFIX "hugin01_original.tif"); \ vigra::exportImage(vigra::srcImageRange(tmpImg), exi); \ } \ }
Definition at line 99 of file ImageRemapper.h. |
|
|||||||||
|
Definition at line 71 of file ImageRemapper.h. |
|
|||||||||
|
Definition at line 76 of file ImageRemapper.h. |
|
||||||||||||||||||||||||||||
|
create a remapped pano image. The image ownership is transferred to the caller. Implements HuginBase::Nona::SingleImageRemapper< ImageType, AlphaType >. Definition at line 161 of file ImageRemapper.h. References vigra_ext::destImage(), HuginBase::PanoramaOptions::getHeight(), HuginBase::PanoramaData::getImage(), vigra_ext::getMaxValForPixelType(), HuginBase::PanoramaData::getSrcImage(), HuginBase::PanoramaOptions::getWidth(), ImageType, vigra::importImageAlpha(), celeste::info(), HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::m_ICCProfile, HuginBase::Nona::FileRemapper< ImageType, AlphaType >::m_remapped, celeste::max(), HuginBase::Nona::remapImage(), HuginBase::PanoramaOptions::remapUsingGPU, vigra_ext::ROIImage< Image, Mask >::resize(), AppBase::MultiProgressDisplay::setMessage(), and vigra_ext::transformImage(). |
|
||||||||||||||||||||||||
|
Definition at line 104 of file ImageRemapper.h. |
|
||||||||||
|
Implements HuginBase::Nona::SingleImageRemapper< ImageType, AlphaType >. Definition at line 116 of file ImageRemapper.h. |
|
|||||
|
Definition at line 121 of file ImageRemapper.h. Referenced by HuginBase::Nona::FileRemapper< ImageType, AlphaType >::getRemapped(). |
1.3.9.1