KJB
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
work
kobus
src
lib
wrap_dtlib_cpp
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
9
#include "
wrap_dtlib_cpp/gausskernel.h
"
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 */
gausskernel.h
DTLib::CDOG::CDOG
CDOG(const int &Size, const float &ExcitSigma, const float &InhibSigma1, const float &InhibSigma2)
Definition:
dog.cpp:11
DTLib::CDOG
Definition:
dog.h:19
DTLib::CGaussKernel
Definition:
gausskernel.h:18
Generated by
1.8.6