|
Hugin trunk 0.1
|
struct to hold a image state for stitching More...
#include <RemappedPanoImage.h>

Public Attributes | |
| vigra::ImageImportInfo::ICCProfile | m_ICCProfile |
Public Attributes inherited from vigra_ext::ROIImage< RemapImage, AlphaImage > | |
| RemapImage | m_image |
| remapped image | |
| AlphaImage | m_mask |
| corresponding alpha channel | |
Protected Attributes | |
| SrcPanoImage | m_srcImg |
| PanoramaOptions | m_destImg |
| PTools::Transform | m_transf |
| AdvancedOptions | m_advancedOptions |
Protected Attributes inherited from vigra_ext::ROIImage< RemapImage, AlphaImage > | |
| vigra::Rect2D | m_region |
| bounding rectangle of the image | |
Private Types | |
| typedef vigra_ext::ROIImage< RemapImage, AlphaImage > | Base |
struct to hold a image state for stitching
Definition at line 80 of file RemappedPanoImage.h.
|
private |
Definition at line 83 of file RemappedPanoImage.h.
| typedef vigra_ext::ValueTypeTraits<image_value_type>::value_type HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::component_type |
Definition at line 99 of file RemappedPanoImage.h.
| typedef RemapImage::const_traverser HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::const_image_traverser |
Definition at line 89 of file RemappedPanoImage.h.
| typedef AlphaImage::const_traverser HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::const_mask_traverser |
Definition at line 95 of file RemappedPanoImage.h.
| typedef RemapImage::ConstAccessor HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::ConstImageAccessor |
Definition at line 91 of file RemappedPanoImage.h.
| typedef AlphaImage::ConstAccessor HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::ConstMaskAccessor |
Definition at line 97 of file RemappedPanoImage.h.
| typedef RemapImage::traverser HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::image_traverser |
Definition at line 88 of file RemappedPanoImage.h.
| typedef RemapImage::value_type HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::image_value_type |
Definition at line 87 of file RemappedPanoImage.h.
| typedef RemapImage::Accessor HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::ImageAccessor |
Definition at line 90 of file RemappedPanoImage.h.
| typedef AlphaImage::traverser HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::mask_traverser |
Definition at line 94 of file RemappedPanoImage.h.
| typedef AlphaImage::value_type HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::mask_value_type |
Definition at line 93 of file RemappedPanoImage.h.
| typedef AlphaImage::Accessor HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::MaskAccessor |
Definition at line 96 of file RemappedPanoImage.h.
|
inline |
create a remapped pano image
the actual remapping is done by the remapImage() function.
Definition at line 107 of file RemappedPanoImage.h.
| void HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::calcAlpha | ( | ) |
calculate only the alpha channel.
works for arbitrary transforms, with holes and so on, but is very crude and slow (remapps all image pixels...)
better transform all images, and get the alpha channel for free!
setPanoImage() should be called before.
Definition at line 378 of file RemappedPanoImage.h.
References hugin_utils::roundi(), and threshold().
| void HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::calcSrcCoordImgs | ( | DistImgType & | imgX, |
| DistImgType & | imgY | ||
| ) |
calculate distance map.
pixels contain distance from image center
setPanoImage() has to be called before!
Definition at line 332 of file RemappedPanoImage.h.
References hugin_utils::roundi(), and threshold().
| void HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::remapImage | ( | vigra::triple< ImgIter, ImgIter, ImgAccessor > | srcImg, |
| std::pair< AlphaIter, AlphaAccessor > | alphaImg, | ||
| vigra_ext::Interpolator | interp, | ||
| AppBase::ProgressDisplay * | progress, | ||
| bool | singleThreaded = false |
||
| ) |
remap a image, with alpha channel
Definition at line 643 of file RemappedPanoImage.h.
References vigra_ext::applyExposureClipMask(), vigra_ext::applyMask(), vigra_ext::circularCrop(), HuginBase::Nona::CopyImageNewSize(), vigra_ext::EMoR::createEMoRLUT(), HuginBase::BaseSrcPanoImage::CROP_CIRCLE, HuginBase::BaseSrcPanoImage::CROP_RECTANGLE, vigra_ext::enforceMonotonicity(), HuginBase::Nona::GetAdvancedOption(), vigra_ext::getMaxValForPixelType(), HuginBase::BaseSrcPanoImage::NO_CROP, NONA_DEFAULT_EXPOSURE_LOWER_CUTOFF, NONA_DEFAULT_EXPOSURE_UPPER_CUTOFF, HuginBase::PanoramaOptions::OUTPUT_LDR, hugin_utils::stripPath(), threshold(), vigra_ext::transformImageAlpha(), and vigra_ext::transformImageAlphaGPU().
| void HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::remapImage | ( | vigra::triple< ImgIter, ImgIter, ImgAccessor > | srcImg, |
| vigra_ext::Interpolator | interpol, | ||
| AppBase::ProgressDisplay * | progress, | ||
| bool | singleThreaded = false |
||
| ) |
remap a image without alpha channel
Definition at line 433 of file RemappedPanoImage.h.
References vigra_ext::applyExposureClipMask(), vigra_ext::applyMask(), vigra_ext::circularCrop(), HuginBase::Nona::CopyImageNewSize(), vigra_ext::EMoR::createEMoRLUT(), HuginBase::BaseSrcPanoImage::CROP_CIRCLE, HuginBase::BaseSrcPanoImage::CROP_RECTANGLE, DEBUG_DEBUG, HuginBase::Nona::GetAdvancedOption(), vigra_ext::getMaxValForPixelType(), HuginBase::BaseSrcPanoImage::NO_CROP, NONA_DEFAULT_EXPOSURE_LOWER_CUTOFF, NONA_DEFAULT_EXPOSURE_UPPER_CUTOFF, HuginBase::PanoramaOptions::OUTPUT_LDR, and threshold().
|
inline |
Definition at line 116 of file RemappedPanoImage.h.
References HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::m_advancedOptions, and threshold().
| void HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::setPanoImage | ( | const SrcPanoImage & | src, |
| const PanoramaOptions & | dest, | ||
| vigra::Rect2D | roi | ||
| ) |
Definition at line 212 of file RemappedPanoImage.h.
References DEBUG_DEBUG, and threshold().
Referenced by HuginBase::CalculateFOV::calcFOV().
|
protected |
Definition at line 163 of file RemappedPanoImage.h.
Referenced by HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::setAdvancedOptions().
|
protected |
Definition at line 161 of file RemappedPanoImage.h.
| vigra::ImageImportInfo::ICCProfile HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::m_ICCProfile |
Definition at line 157 of file RemappedPanoImage.h.
Referenced by HuginBase::SmallRemappedImageCache::getRemapped(), HuginBase::Nona::WeightedStitcher< ImageType, AlphaType >::stitch(), HuginBase::Nona::SimpleStitcher< ImageType, AlphaType >::stitch(), and HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::stitch().
|
protected |
Definition at line 160 of file RemappedPanoImage.h.
|
protected |
Definition at line 162 of file RemappedPanoImage.h.