go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkKernelFunctionBase2.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright UMC Utrecht and contributors
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0.txt
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 *=========================================================================*/
18#ifndef itkKernelFunctionBase2_h
19#define itkKernelFunctionBase2_h
20
21#include "itkKernelFunctionBase.h"
22
23namespace itk
24{
39template< typename TRealValueType = double >
40class KernelFunctionBase2 : public KernelFunctionBase< TRealValueType >
41{
42public:
45 typedef KernelFunctionBase< TRealValueType > Superclass;
47 typedef SmartPointer< const Self > ConstPointer;
48
49 typedef TRealValueType RealType;
50
52 itkTypeMacro( KernelFunctionBase2, KernelFunctionBase );
53
55 TRealValueType Evaluate( const TRealValueType & u ) const override = 0;
56
58 virtual void Evaluate( const TRealValueType & u, TRealValueType * weights ) const = 0;
59
60protected:
62 ~KernelFunctionBase2() override {};
63};
64} // end namespace itk
65
66#endif // itkKernelFunctionBase2_h
Kernel used for density estimation and nonparameteric regression.
TRealValueType Evaluate(const TRealValueType &u) const override=0
virtual void Evaluate(const TRealValueType &u, TRealValueType *weights) const =0
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
KernelFunctionBase< TRealValueType > Superclass


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo