Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
Correlation.h File Reference
#include <hugin_shared.h>
#include <vigra/stdimage.hxx>
#include <vigra/inspectimage.hxx>
#include <vigra/copyimage.hxx>
#include <vigra/resizeimage.hxx>
#include <vigra/transformimage.hxx>
#include "hugin_utils/utils.h"
#include "hugin_math/hugin_math.h"
#include "vigra_ext/FitPolynom.h"
#include "vigra_ext/utils.h"
#include "vigra_ext/ImageTransforms.h"
#include "hugin_config.h"
Include dependency graph for Correlation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vigra_ext::CorrelationResult
 Maximum of correlation, position and value. More...
 
class  vigra_ext::RotateTransform
 clockwise rotation around a origin point, and a translation afterwards. More...
 

Namespaces

 vigra_ext
 

Macros

#define VIGRA_EXT_USE_FAST_CORR
 

Functions

template<class SrcImage , class DestImage , class KernelImage >
CorrelationResult vigra_ext::correlateImageFast (SrcImage &src, DestImage &dest, KernelImage &kernel, vigra::Diff2D kul, vigra::Diff2D klr, double threshold=0.7)
 correlate a template with an image. More...
 
template<class Iterator , class Accessor >
CorrelationResult vigra_ext::subpixelMaxima (vigra::triple< Iterator, Iterator, Accessor > img, vigra::Diff2D max)
 find the subpixel maxima by fitting 2nd order polynoms to x and y. More...
 
template<class IMAGET , class ACCESSORT , class IMAGES , class ACCESSORS >
CorrelationResult vigra_ext::PointFineTune (const IMAGET &templImg, ACCESSORT access_t, vigra::Diff2D templPos, int templSize, const IMAGES &searchImg, ACCESSORS access_s, vigra::Diff2D searchPos, int sWidth)
 fine tune a point with normalized cross correlation More...
 
template<class IMAGET , class IMAGES >
CorrelationResult vigra_ext::PointFineTuneRotSearch (const IMAGET &templImg, vigra::Diff2D templPos, int templSize, const IMAGES &searchImg, vigra::Diff2D searchPos, int sWidth, double startAngle, double stopAngle, int angleSteps)
 fine tune a point with normalized cross correlation, searches x,y and phi (rotation around z) More...
 
template<class SrcIterator , class SrcAccessor , class DestIterator , class DestAccessor , class KernelIterator , class KernelAccessor >
CorrelationResult vigra_ext::correlateImage (SrcIterator sul, SrcIterator slr, SrcAccessor as, DestIterator dul, DestAccessor ad, KernelIterator ki, KernelAccessor ak, vigra::Diff2D kul, vigra::Diff2D klr, double threshold=0.7)
 correlate a template with an image. More...
 

Detailed Description

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

Macro Definition Documentation

#define VIGRA_EXT_USE_FAST_CORR

Definition at line 48 of file Correlation.h.