Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Namespaces | Functions
ImageTransforms.h File Reference

Contains functions to transform whole images. More...

#include <fstream>
#include <vigra/basicimage.hxx>
#include <vigra_ext/ROIImage.h>
#include <vigra_ext/Interpolators.h>
#include <hugin_math/hugin_math.h>
#include <hugin_utils/utils.h>
#include <appbase/ProgressDisplay.h>
Include dependency graph for ImageTransforms.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 vigra_ext
 

Functions

template<class T >
vigra_ext::zeroNegative (T p)
 Set negative elements of a pixel to zero. More...
 
template<class T >
vigra::RGBValue< T > vigra_ext::zeroNegative (vigra::RGBValue< T > p)
 Set negative elements of a pixel to zero. More...
 
template<class SrcImageIterator , class SrcAccessor , class DestImageIterator , class DestAccessor , class TRANSFORM , class PixelTransform , class AlphaImageIterator , class AlphaAccessor , class Interpolator >
void vigra_ext::transformImageIntern (vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor > src, vigra::triple< DestImageIterator, DestImageIterator, DestAccessor > dest, std::pair< AlphaImageIterator, AlphaAccessor > alpha, TRANSFORM &transform, PixelTransform &pixelTransform, vigra::Diff2D destUL, Interpolator interp, bool warparound, AppBase::ProgressDisplay *progress, bool singleThreaded)
 Transform an image into the panorama. More...
 
template<class SrcImageIterator , class SrcAccessor , class SrcAlphaIterator , class SrcAlphaAccessor , class DestImageIterator , class DestAccessor , class TRANSFORM , class PixelTransform , class AlphaImageIterator , class AlphaAccessor , class Interpolator >
void vigra_ext::transformImageAlphaIntern (vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor > src, std::pair< SrcAlphaIterator, SrcAlphaAccessor > srcAlpha, vigra::triple< DestImageIterator, DestImageIterator, DestAccessor > dest, std::pair< AlphaImageIterator, AlphaAccessor > alpha, TRANSFORM &transform, PixelTransform &pixelTransform, vigra::Diff2D destUL, Interpolator interp, bool warparound, AppBase::ProgressDisplay *progress, bool singleThreaded)
 transform input images with alpha channel More...
 
template<class SrcImageIterator , class SrcAccessor , class DestImageIterator , class DestAccessor , class AlphaImageIterator , class AlphaAccessor , class TRANSFORM , class PixelTransform >
void vigra_ext::transformImage (vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor > src, vigra::triple< DestImageIterator, DestImageIterator, DestAccessor > dest, std::pair< AlphaImageIterator, AlphaAccessor > alpha, vigra::Diff2D destUL, TRANSFORM &transform, PixelTransform &pixelTransform, bool warparound, Interpolator interpol, AppBase::ProgressDisplay *progress, bool singleThreaded=false)
 Transform an image into the panorama. More...
 
template<class SrcImageIterator , class SrcAccessor , class SrcAlphaIterator , class SrcAlphaAccessor , class DestImageIterator , class DestAccessor , class AlphaImageIterator , class AlphaAccessor , class TRANSFORM , class PixelTransform >
void vigra_ext::transformImageAlpha (vigra::triple< SrcImageIterator, SrcImageIterator, SrcAccessor > src, std::pair< SrcAlphaIterator, SrcAlphaAccessor > srcAlpha, vigra::triple< DestImageIterator, DestImageIterator, DestAccessor > dest, std::pair< AlphaImageIterator, AlphaAccessor > alpha, vigra::Diff2D destUL, TRANSFORM &transform, PixelTransform &pixelTransform, bool warparound, Interpolator interpol, AppBase::ProgressDisplay *progress, bool singleThreaded=false)
 Transform image, and respect a possible alpha channel. More...
 

Detailed Description

Contains functions to transform whole images.

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

Author
Pablo d'Angelo pablo.nosp@m..dan.nosp@m.gelo@.nosp@m.web..nosp@m.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, see http://www.gnu.org/licenses/.

Definition in file ImageTransforms.h.