KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dog.h
Go to the documentation of this file.
1 // dog.h - generate 2D difference of Gaussian kernels
3 // Author: Doron Tal
4 // Date created: April, 2000
5 
6 #ifndef _DOG_H
7 #define _DOG_H
8 
10 
11 namespace DTLib {
12 
13  // From an isotropic Gaussian of variance sigma, subtract *two*
14  // other isotropic Gaussians, usually, of larger variance each.
15  // derived from a Gaussian Kernel class which in turn is derived
16  // from Img class. Constructor produces a DOG image that can be
17  // used like a CImg<float>
18 
19  class CDOG : public CGaussKernel
20  {
21  public:
22  // PRECOND: 'Size' must be odd.
23  // POSTCOND: becomes a float CImg with the kernel in it
24  CDOG(const int& Size, const float& ExcitSigma,
25  const float& InhibSigma1, const float& InhibSigma2);
26  }; // class CDOG
27 
28 } // namespace DTLib {
29 
30 #endif /* #ifndef _DOG_H */
CDOG(const int &Size, const float &ExcitSigma, const float &InhibSigma1, const float &InhibSigma2)
Definition: dog.cpp:11
Definition: dog.h:19
Definition: gausskernel.h:18