Pyramid.h File Reference

#include <vigra/separableconvolution.hxx>
#include <hugin_utils/utils.h>
#include <vigra_ext/pyramid2.h>

Include dependency graph for Pyramid.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  vigra_ext

Functions

template<class ImageIn, class Image>
void reduceNTimes (ImageIn &in, Image &out, int n)
template<class Image, class ImageMask>
void reduceNTimes (Image &in, ImageMask &inMask, Image &out, ImageMask &outMask, int n)
template<class ImageIn, class ImageOut>
void reduceToNextLevel (ImageIn &in, ImageOut &out)
template<class ImageIn, class ImageInMask, class ImageOut, class ImageOutMask>
void reduceToNextLevel (ImageIn &in, ImageInMask &inMask, ImageOut &out, ImageOutMask &outMask)
template<class Image>
void reduceToNextLevelOld (Image &in, Image &out)
 Gaussian reduction to next pyramid level.

Variables

const double AA = 0.4
const double W [] = {0.25 - AA / 2.0, 0.25, AA, 0.25, 0.25 - AA / 2.0}


Detailed Description

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 Pyramid.h.


Function Documentation

template<class Image, class ImageMask>
void reduceNTimes Image &  in,
ImageMask &  inMask,
Image &  out,
ImageMask &  outMask,
int  n
 

Definition at line 80 of file Pyramid.h.

References vigra_ext::destImageRange(), out, vigra_ext::srcImage(), and vigra_ext::srcImageRange().

Referenced by main2().

template<class ImageIn, class Image>
void reduceNTimes ImageIn &  in,
Image &  out,
int  n
 

Definition at line 39 of file Pyramid.h.

References vigra_ext::destImageRange(), out, and vigra_ext::srcImageRange().

Referenced by HuginBase::ImageCache::loadSmallImageSafely().

template<class ImageIn, class ImageInMask, class ImageOut, class ImageOutMask>
void reduceToNextLevel ImageIn &  in,
ImageInMask &  inMask,
ImageOut &  out,
ImageOutMask &  outMask
 

Definition at line 153 of file Pyramid.h.

References vigra_ext::destImageRange(), out, vigra_ext::srcImage(), and vigra_ext::srcImageRange().

Referenced by loadImagesPyr(), and OptimizePhotometricPanel::runOptimizer().

template<class ImageIn, class ImageOut>
void reduceToNextLevel ImageIn &  in,
ImageOut &  out
 

Definition at line 138 of file Pyramid.h.

References vigra_ext::destImageRange(), out, and vigra_ext::srcImageRange().

Referenced by PT::loadImagesPyr().

template<class Image>
void reduceToNextLevelOld Image &  in,
Image &  out
 

Gaussian reduction to next pyramid level.

out is rescaled to the correct size.

Definition at line 179 of file Pyramid.h.

References DEBUG_TRACE, vigra_ext::destImage(), vigra_ext::destImageRange(), out, vigra_ext::srcImageRange(), and vigra_ext::W.


Variable Documentation

const double vigra_ext::AA = 0.4 [static]
 

Definition at line 171 of file Pyramid.h.

const double vigra_ext::W[] = {0.25 - AA / 2.0, 0.25, AA, 0.25, 0.25 - AA / 2.0} [static]
 

Definition at line 172 of file Pyramid.h.

Referenced by vigra_ext::reduceToNextLevelOld().


Generated on Sat Aug 30 01:25:43 2014 for Hugintrunk by  doxygen 1.3.9.1