Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members  

prapi::texture::LaplaceOfGaussian< T, U > Class Template Reference

#include <EdgeDetector.h>

Inheritance diagram for prapi::texture::LaplaceOfGaussian< T, U >:

prapi::texture::EdgeDetector< T, U > prapi::ImageTransform< U, T > List of all members.

Detailed Description

template<class T, class U = bool>
class prapi::texture::LaplaceOfGaussian< T, U >

Laplace of gaussian detects edges in a local 3-by-3 neighborhood using a simple convolution mask:
   0 -1  0
  -1  4 -1
   0 -1  0

Public Methods

 LaplaceOfGaussian (BorderAction borderAction=BORDER_CROP)
 Constructor for the LaplaceOfGaussian operator.

 ~LaplaceOfGaussian ()
 The destructor of LaplaceOfGaussian.

util::Matrix< U > getTransformedImage (const util::Matrix< T > &mat) throw (ImageTransformException&)
 Makes the LaplaceOfGaussian operation for the matrix given in parameter.

Constructor & Destructor Documentation

template<class T, class U = bool>
prapi::texture::LaplaceOfGaussian< T, U >::LaplaceOfGaussian BorderAction    borderAction = BORDER_CROP [inline]

Constructor for the LaplaceOfGaussian operator.

borderAction  for the border handling.

Member Function Documentation

template<class T, class U>
util::Matrix< U > prapi::texture::LaplaceOfGaussian< T, U >::getTransformedImage const util::Matrix< T > &    mat throw (ImageTransformException&) [virtual]

Makes the LaplaceOfGaussian operation for the matrix given in parameter.

mat  an input image
the new LOG matrix which indicates the edges. The type of the matrix is specified by the template parameter U.

Implements prapi::ImageTransform< U, T >.

The documentation for this class was generated from the following file:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.