RemappedPanoImage.h File Reference

Contains functions to transform whole images. More...

#include <vigra/impex.hxx>
#include <vigra/flatmorphology.hxx>
#include <vigra_ext/ROIImage.h>
#include <appbase/ProgressDisplayOld.h>
#include <panodata/SrcPanoImage.h>
#include <panodata/Mask.h>
#include <panodata/PanoramaOptions.h>
#include <panotools/PanoToolsInterface.h>
#include <photometric/ResponseTransform.h>
#include <vigra_ext/ImageTransforms.h>
#include <vigra_ext/ImageTransformsGPU.h>

Include dependency graph for RemappedPanoImage.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  HuginBase
namespace  HuginBase::Nona

Classes

class  HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >
 struct to hold a image state for stitching More...

Functions

template<class TRANSFORM>
void estimateImageRect (const SrcPanoImage &src, const PanoramaOptions &dest, TRANSFORM &transf, vigra::Rect2D &imgRect)
 calculate the outline of the image
template<class TRANSFORM>
void estimateImageAlpha (const SrcPanoImage &src, const PanoramaOptions &dest, TRANSFORM &transf, vigra::Rect2D &imgRect, vigra::BImage &alpha, double &scale)
template<class SrcImgType, class FlatImgType, class DestImgType, class MaskImgType>
void remapImage (SrcImgType &srcImg, const MaskImgType &srcAlpha, const FlatImgType &srcFlat, const SrcPanoImage &src, const PanoramaOptions &dest, vigra::Rect2D outputRect, RemappedPanoImage< DestImgType, MaskImgType > &remapped, AppBase::MultiProgressDisplay &progress)
 remap a single image


Detailed Description

Contains functions to transform whole images.

Can use PTools::Transform or PT::SpaceTransform for the calculations

Author:
Pablo d'Angelo <pablo.dangelo@web.de>
$Id$

This is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU General Public License along with this software; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Definition in file RemappedPanoImage.h.


Function Documentation

template<class TRANSFORM>
void estimateImageAlpha const SrcPanoImage &  src,
const PanoramaOptions &  dest,
TRANSFORM &  transf,
vigra::Rect2D &  imgRect,
vigra::BImage &  alpha,
double &  scale
 

Referenced by HuginBase::estimateImageRect().

template<class TRANSFORM>
void estimateImageRect const SrcPanoImage &  src,
const PanoramaOptions &  dest,
TRANSFORM &  transf,
vigra::Rect2D &  imgRect
 

calculate the outline of the image

Parameters:
src description of source picture
dest description of output picture (panorama)
imgRect output: position of image in panorama.

Referenced by HuginBase::estimateOutputROI().

template<class SrcImgType, class FlatImgType, class DestImgType, class MaskImgType>
void HuginBase::Nona::remapImage SrcImgType &  srcImg,
const MaskImgType &  srcAlpha,
const FlatImgType &  srcFlat,
const SrcPanoImage &  src,
const PanoramaOptions &  dest,
vigra::Rect2D  outputROI,
RemappedPanoImage< DestImgType, MaskImgType > &  remapped,
AppBase::MultiProgressDisplay progress
 

remap a single image

Definition at line 756 of file RemappedPanoImage.h.

References DEBUG_DEBUG, HuginBase::PanoramaOptions::interpolator, vigra_ext::ROIImage< RemapImage, AlphaImage >::m_image, vigra_ext::ROIImage< RemapImage, AlphaImage >::m_mask, HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::remapImage(), AppBase::MultiProgressDisplay::setMessage(), and HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::setPanoImage().

Referenced by HuginBase::Nona::FileRemapper< ImageType, AlphaType >::getRemapped(), and HuginBase::SmallRemappedImageCache::getRemapped().


Generated on Sun Aug 31 01:25:42 2014 for Hugintrunk by  doxygen 1.3.9.1