go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itkBSplineInterpolationWeightFunction2.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 __itkBSplineInterpolationWeightFunction2_h
19 #define __itkBSplineInterpolationWeightFunction2_h
20 
22 
23 namespace itk
24 {
25 
42 template< class TCoordRep = float,
43 unsigned int VSpaceDimension = 2,
44 unsigned int VSplineOrder = 3 >
47  TCoordRep, VSpaceDimension, VSplineOrder >
48 {
49 public:
50 
54  TCoordRep, VSpaceDimension, VSplineOrder > Superclass;
56  typedef SmartPointer< const Self > ConstPointer;
57 
59  itkNewMacro( Self );
60 
64 
66  itkStaticConstMacro( SpaceDimension, unsigned int, VSpaceDimension );
67 
69  itkStaticConstMacro( SplineOrder, unsigned int, VSplineOrder );
70 
73  typedef typename Superclass::IndexType IndexType;
74  typedef typename Superclass::SizeType SizeType;
76 
77 protected:
78 
81 
85  typedef typename Superclass
87  typedef typename Superclass::TableType TableType;
90 
91  /* Compute the 1D weights, which are:
92  * [ \beta^3( x[i] - startIndex[i] ), \beta^3( x[i] - startIndex[i] - 1 ),
93  * \beta^3( x[i] - startIndex[i] - 2 ), \beta^3( x[i] - startIndex[i] - 3 ) ]
94  */
95  virtual void Compute1DWeights(
96  const ContinuousIndexType & index,
97  const IndexType & startIndex,
98  OneDWeightsType & weights1D ) const;
99 
100 private:
101 
102  BSplineInterpolationWeightFunction2( const Self & ); // purposely not implemented
103  void operator=( const Self & ); // purposely not implemented
104 
105 };
106 
107 } // end namespace itk
108 
109 #ifndef ITK_MANUAL_INSTANTIATION
110 #include "itkBSplineInterpolationWeightFunction2.hxx"
111 #endif
112 
113 #endif
itk::BSplineInterpolationWeightFunctionBase::SecondOrderDerivativeKernelType
BSplineSecondOrderDerivativeKernelFunction2< Self::SplineOrder > SecondOrderDerivativeKernelType
Definition: itkBSplineInterpolationWeightFunctionBase.h:142
itk::BSplineInterpolationWeightFunctionBase::ContinuousIndexType
ContinuousIndex< TCoordRep, VSpaceDimension > ContinuousIndexType
Definition: itkBSplineInterpolationWeightFunctionBase.h:107
itk::BSplineInterpolationWeightFunctionBase::WeightArrayType
KernelType::WeightArrayType WeightArrayType
Definition: itkBSplineInterpolationWeightFunctionBase.h:144
itk::BSplineInterpolationWeightFunction2::KernelType
Superclass::KernelType KernelType
Definition: itkBSplineInterpolationWeightFunction2.h:83
itk::BSplineInterpolationWeightFunction2::SizeType
Superclass::SizeType SizeType
Definition: itkBSplineInterpolationWeightFunction2.h:74
SmartPointer< Self >
itk::BSplineInterpolationWeightFunctionBase::DerivativeKernelType
BSplineDerivativeKernelFunction< Self::SplineOrder > DerivativeKernelType
Definition: itkBSplineInterpolationWeightFunctionBase.h:140
itk::BSplineInterpolationWeightFunction2::itkStaticConstMacro
itkStaticConstMacro(SplineOrder, unsigned int, VSplineOrder)
itk::BSplineInterpolationWeightFunction2::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, VSpaceDimension)
itk::BSplineInterpolationWeightFunction2::BSplineInterpolationWeightFunction2
BSplineInterpolationWeightFunction2(const Self &)
itk::BSplineInterpolationWeightFunctionBase::IndexType
Index< VSpaceDimension > IndexType
Definition: itkBSplineInterpolationWeightFunctionBase.h:103
itk::BSplineInterpolationWeightFunction2::operator=
void operator=(const Self &)
itk::BSplineInterpolationWeightFunctionBase::WeightsType
Array< double > WeightsType
Definition: itkBSplineInterpolationWeightFunctionBase.h:100
itk::BSplineInterpolationWeightFunction2::WeightArrayType
Superclass::WeightArrayType WeightArrayType
Definition: itkBSplineInterpolationWeightFunction2.h:89
itk::BSplineInterpolationWeightFunctionBase
Returns the weights over the support region used for B-spline interpolation/reconstruction.
Definition: itkBSplineInterpolationWeightFunctionBase.h:73
itk::BSplineInterpolationWeightFunction2::ContinuousIndexType
Superclass::ContinuousIndexType ContinuousIndexType
Definition: itkBSplineInterpolationWeightFunction2.h:75
itk::BSplineInterpolationWeightFunction2::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkBSplineInterpolationWeightFunction2.h:56
itk::BSplineInterpolationWeightFunction2::WeightsType
Superclass::WeightsType WeightsType
Definition: itkBSplineInterpolationWeightFunction2.h:72
itk::BSplineInterpolationWeightFunction2::DerivativeKernelType
Superclass::DerivativeKernelType DerivativeKernelType
Definition: itkBSplineInterpolationWeightFunction2.h:84
itk::BSplineInterpolationWeightFunction2::~BSplineInterpolationWeightFunction2
~BSplineInterpolationWeightFunction2()
Definition: itkBSplineInterpolationWeightFunction2.h:80
itk::BSplineInterpolationWeightFunctionBase::OneDWeightsType
Matrix< double, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SplineOrder)+1 > OneDWeightsType
Definition: itkBSplineInterpolationWeightFunctionBase.h:155
Size< VSpaceDimension >
itk::BSplineInterpolationWeightFunction2::Pointer
SmartPointer< Self > Pointer
Definition: itkBSplineInterpolationWeightFunction2.h:55
itk::BSplineInterpolationWeightFunction2::OneDWeightsType
Superclass::OneDWeightsType OneDWeightsType
Definition: itkBSplineInterpolationWeightFunction2.h:88
itk::BSplineInterpolationWeightFunction2::Self
BSplineInterpolationWeightFunction2 Self
Definition: itkBSplineInterpolationWeightFunction2.h:52
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::BSplineInterpolationWeightFunction2
Returns the weights over the support region used for B-spline interpolation/reconstruction.
Definition: itkBSplineInterpolationWeightFunction2.h:48
itk::BSplineInterpolationWeightFunction2::Compute1DWeights
virtual void Compute1DWeights(const ContinuousIndexType &index, const IndexType &startIndex, OneDWeightsType &weights1D) const
itk::BSplineInterpolationWeightFunction2::SecondOrderDerivativeKernelType
Superclass ::SecondOrderDerivativeKernelType SecondOrderDerivativeKernelType
Definition: itkBSplineInterpolationWeightFunction2.h:86
itk::BSplineInterpolationWeightFunction2::Superclass
BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder > Superclass
Definition: itkBSplineInterpolationWeightFunction2.h:54
Array2D< unsigned long >
itk::BSplineKernelFunction2
B-spline kernel used for density estimation and nonparameteric regression.
Definition: itkBSplineKernelFunction2.h:60
itk::BSplineInterpolationWeightFunction2::IndexType
Superclass::IndexType IndexType
Definition: itkBSplineInterpolationWeightFunction2.h:73
itk::BSplineInterpolationWeightFunction2::BSplineInterpolationWeightFunction2
BSplineInterpolationWeightFunction2()
float
itkBSplineInterpolationWeightFunctionBase.h
itk::BSplineInterpolationWeightFunction2::TableType
Superclass::TableType TableType
Definition: itkBSplineInterpolationWeightFunction2.h:87


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo