go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkBSplineInterpolationDerivativeWeightFunction.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 __itkBSplineInterpolationDerivativeWeightFunction_h
19#define __itkBSplineInterpolationDerivativeWeightFunction_h
20
22
23namespace itk
24{
25
43template< class TCoordRep = float,
44unsigned int VSpaceDimension = 2,
45unsigned int VSplineOrder = 3 >
48 TCoordRep, VSpaceDimension, VSplineOrder >
49{
50public:
51
55 TCoordRep, VSpaceDimension, VSplineOrder > Superclass;
57 typedef SmartPointer< const Self > ConstPointer;
58
60 itkNewMacro( Self );
61
65
67 itkStaticConstMacro( SpaceDimension, unsigned int, VSpaceDimension );
68
70 itkStaticConstMacro( SplineOrder, unsigned int, VSplineOrder );
71
77
79 virtual void SetDerivativeDirection( unsigned int dir );
80
81protected:
82
85
89 typedef typename Superclass
93
102 const ContinuousIndexType & index,
103 const IndexType & startIndex,
104 OneDWeightsType & weights1D ) const override;
105
107 void PrintSelf( std::ostream & os, Indent indent ) const override;
108
109private:
110
111 BSplineInterpolationDerivativeWeightFunction( const Self & ); // purposely not implemented
112 void operator=( const Self & ); // purposely not implemented
113
116
117};
118
119} // end namespace itk
120
121#ifndef ITK_MANUAL_INSTANTIATION
122#include "itkBSplineInterpolationDerivativeWeightFunction.hxx"
123#endif
124
125#endif
Returns the weights over the support region used for B-spline interpolation/reconstruction.
itkStaticConstMacro(SplineOrder, unsigned int, VSplineOrder)
virtual void SetDerivativeDirection(unsigned int dir)
BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder > Superclass
void Compute1DWeights(const ContinuousIndexType &index, const IndexType &startIndex, OneDWeightsType &weights1D) const override
itkStaticConstMacro(SpaceDimension, unsigned int, VSpaceDimension)
void PrintSelf(std::ostream &os, Indent indent) const override
Returns the weights over the support region used for B-spline interpolation/reconstruction.
ContinuousIndex< TCoordRep, VSpaceDimension > ContinuousIndexType
BSplineSecondOrderDerivativeKernelFunction2< Self::SplineOrder > SecondOrderDerivativeKernelType
Matrix< double, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SplineOrder)+1 > OneDWeightsType
BSplineDerivativeKernelFunction< Self::SplineOrder > DerivativeKernelType
B-spline kernel used for density estimation and nonparameteric regression.


Generated on 1667476801 for elastix by doxygen 1.9.4 elastix logo