go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkBSplineInterpolationSecondOrderDerivativeWeightFunction.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 __itkBSplineInterpolationSecondOrderDerivativeWeightFunction_h
19#define __itkBSplineInterpolationSecondOrderDerivativeWeightFunction_h
20
22#include "vnl/vnl_vector_fixed.h"
23
24namespace itk
25{
26
44template< class TCoordRep = float,
45unsigned int VSpaceDimension = 2,
46unsigned int VSplineOrder = 3 >
49 TCoordRep, VSpaceDimension, VSplineOrder >
50{
51public:
52
56 TCoordRep, VSpaceDimension, VSplineOrder > Superclass;
58 typedef SmartPointer< const Self > ConstPointer;
59
61 itkNewMacro( Self );
62
66
68 itkStaticConstMacro( SpaceDimension, unsigned int, VSpaceDimension );
69
71 itkStaticConstMacro( SplineOrder, unsigned int, VSplineOrder );
72
78
80 virtual void SetDerivativeDirections( unsigned int dir0, unsigned int dir1 );
81
82protected:
83
86
90 typedef typename Superclass
94
105 const ContinuousIndexType & index,
106 const IndexType & startIndex,
107 OneDWeightsType & weights1D ) const override;
108
110 void PrintSelf( std::ostream & os, Indent indent ) const override;
111
112private:
113
114 BSplineInterpolationSecondOrderDerivativeWeightFunction( const Self & ); // purposely not implemented
115 void operator=( const Self & ); // purposely not implemented
116
117 vnl_vector_fixed< double, 2 > m_DerivativeDirections;
119
120};
121
122} // end namespace itk
123
124#ifndef ITK_MANUAL_INSTANTIATION
125#include "itkBSplineInterpolationSecondOrderDerivativeWeightFunction.hxx"
126#endif
127
128#endif
Returns the weights over the support region used for B-spline interpolation/reconstruction.
virtual void SetDerivativeDirections(unsigned int dir0, unsigned int dir1)
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
itkStaticConstMacro(SplineOrder, unsigned int, VSplineOrder)
BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder > Superclass
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