| 1 |
|
/*========================================================================= |
| 2 |
|
|
| 3 |
|
Program: Insight Segmentation & Registration Toolkit |
| 4 |
|
Module: $RCSfile: itkGaussianKernelFunction.cxx.html,v $ |
| 5 |
|
Language: C++ |
| 6 |
|
Date: $Date: 2006/01/17 19:15:36 $ |
| 7 |
|
Version: $Revision: 1.4 $ |
| 8 |
|
|
| 9 |
|
Copyright (c) Insight Software Consortium. All rights reserved. |
| 10 |
|
See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. |
| 11 |
|
|
| 12 |
|
This software is distributed WITHOUT ANY WARRANTY; without even |
| 13 |
|
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 14 |
|
PURPOSE. See the above copyright notices for more information. |
| 15 |
|
|
| 16 |
DEF |
=========================================================================*/ |
| 17 |
|
#include "itkGaussianKernelFunction.h" |
| 18 |
|
#include "vnl/vnl_math.h" |
| 19 |
|
|
| 20 |
|
namespace itk |
| 21 |
|
{ |
| 22 |
|
|
| 23 |
|
/** |
| 24 |
|
* Initialize static const m_Factor |
| 25 |
|
*/ |
| 26 |
|
const double GaussianKernelFunction::m_Factor = |
| 27 |
|
1.0 / vcl_sqrt( 2.0 * vnl_math::pi ); |
| 28 |
|
|
| 29 |
|
GaussianKernelFunction::GaussianKernelFunction() |
| 30 |
|
{ |
| 31 |
|
} |
| 32 |
|
|
| 33 |
|
GaussianKernelFunction::~GaussianKernelFunction() |
| 34 |
|
{ |
| 35 |
|
} |
| 36 |
|
|
| 37 |
|
} // namespace itk |
| 38 |
|
|
| 39 |
EOF |
|