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 
23 namespace itk
24 {
25 
43 template< class TCoordRep = float,
44 unsigned int VSpaceDimension = 2,
45 unsigned int VSplineOrder = 3 >
48  TCoordRep, VSpaceDimension, VSplineOrder >
49 {
50 public:
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 
74  typedef typename Superclass::IndexType IndexType;
75  typedef typename Superclass::SizeType SizeType;
77 
79  virtual void SetDerivativeDirection( unsigned int dir );
80 
81 protected:
82 
85 
89  typedef typename Superclass
91  typedef typename Superclass::TableType TableType;
93 
101  virtual void Compute1DWeights(
102  const ContinuousIndexType & index,
103  const IndexType & startIndex,
104  OneDWeightsType & weights1D ) const;
105 
107  virtual void PrintSelf( std::ostream & os, Indent indent ) const;
108 
109 private:
110 
111  BSplineInterpolationDerivativeWeightFunction( const Self & ); // purposely not implemented
112  void operator=( const Self & ); // purposely not implemented
113 
115  unsigned int m_DerivativeDirection;
116 
117 };
118 
119 } // end namespace itk
120 
121 #ifndef ITK_MANUAL_INSTANTIATION
122 #include "itkBSplineInterpolationDerivativeWeightFunction.hxx"
123 #endif
124 
125 #endif
itk::BSplineInterpolationWeightFunctionBase::SecondOrderDerivativeKernelType
BSplineSecondOrderDerivativeKernelFunction2< Self::SplineOrder > SecondOrderDerivativeKernelType
Definition: itkBSplineInterpolationWeightFunctionBase.h:142
itk::BSplineInterpolationWeightFunctionBase::ContinuousIndexType
ContinuousIndex< TCoordRep, VSpaceDimension > ContinuousIndexType
Definition: itkBSplineInterpolationWeightFunctionBase.h:107
itk::BSplineInterpolationDerivativeWeightFunction::IndexType
Superclass::IndexType IndexType
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:74
SmartPointer< Self >
itk::BSplineInterpolationWeightFunctionBase::DerivativeKernelType
BSplineDerivativeKernelFunction< Self::SplineOrder > DerivativeKernelType
Definition: itkBSplineInterpolationWeightFunctionBase.h:140
itk::BSplineInterpolationDerivativeWeightFunction::BSplineInterpolationDerivativeWeightFunction
BSplineInterpolationDerivativeWeightFunction(const Self &)
itk::BSplineInterpolationDerivativeWeightFunction
Returns the weights over the support region used for B-spline interpolation/reconstruction.
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:49
itk::BSplineInterpolationWeightFunctionBase::IndexType
Index< VSpaceDimension > IndexType
Definition: itkBSplineInterpolationWeightFunctionBase.h:103
itk::BSplineInterpolationDerivativeWeightFunction::KernelType
Superclass::KernelType KernelType
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:87
itk::BSplineInterpolationWeightFunctionBase::WeightsType
Array< double > WeightsType
Definition: itkBSplineInterpolationWeightFunctionBase.h:100
itk::BSplineInterpolationWeightFunctionBase
Returns the weights over the support region used for B-spline interpolation/reconstruction.
Definition: itkBSplineInterpolationWeightFunctionBase.h:73
itk::BSplineInterpolationDerivativeWeightFunction::DerivativeKernelType
Superclass::DerivativeKernelType DerivativeKernelType
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:88
itk::BSplineInterpolationDerivativeWeightFunction::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, VSpaceDimension)
itk::BSplineInterpolationDerivativeWeightFunction::TableType
Superclass::TableType TableType
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:91
itk::BSplineInterpolationDerivativeWeightFunction::~BSplineInterpolationDerivativeWeightFunction
~BSplineInterpolationDerivativeWeightFunction()
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:84
itk::BSplineInterpolationDerivativeWeightFunction::OneDWeightsType
Superclass::OneDWeightsType OneDWeightsType
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:92
itk::BSplineInterpolationDerivativeWeightFunction::BSplineInterpolationDerivativeWeightFunction
BSplineInterpolationDerivativeWeightFunction()
itk::BSplineInterpolationDerivativeWeightFunction::Pointer
SmartPointer< Self > Pointer
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:56
itk::BSplineInterpolationDerivativeWeightFunction::Self
BSplineInterpolationDerivativeWeightFunction Self
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:53
itk::BSplineInterpolationDerivativeWeightFunction::operator=
void operator=(const Self &)
itk::BSplineInterpolationDerivativeWeightFunction::SecondOrderDerivativeKernelType
Superclass ::SecondOrderDerivativeKernelType SecondOrderDerivativeKernelType
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:90
itk::BSplineInterpolationDerivativeWeightFunction::SetDerivativeDirection
virtual void SetDerivativeDirection(unsigned int dir)
itk::BSplineInterpolationWeightFunctionBase::OneDWeightsType
Matrix< double, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SplineOrder)+1 > OneDWeightsType
Definition: itkBSplineInterpolationWeightFunctionBase.h:155
itk::BSplineInterpolationDerivativeWeightFunction::itkStaticConstMacro
itkStaticConstMacro(SplineOrder, unsigned int, VSplineOrder)
Size< VSpaceDimension >
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::BSplineInterpolationDerivativeWeightFunction::SizeType
Superclass::SizeType SizeType
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:75
itk::BSplineInterpolationDerivativeWeightFunction::Compute1DWeights
virtual void Compute1DWeights(const ContinuousIndexType &index, const IndexType &startIndex, OneDWeightsType &weights1D) const
itk::BSplineInterpolationDerivativeWeightFunction::PrintSelf
virtual void PrintSelf(std::ostream &os, Indent indent) const
Array2D< unsigned long >
itk::BSplineKernelFunction2
B-spline kernel used for density estimation and nonparameteric regression.
Definition: itkBSplineKernelFunction2.h:60
itk::BSplineInterpolationDerivativeWeightFunction::ContinuousIndexType
Superclass::ContinuousIndexType ContinuousIndexType
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:76
itk::BSplineInterpolationDerivativeWeightFunction::Superclass
BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder > Superclass
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:55
itk::BSplineInterpolationDerivativeWeightFunction::m_DerivativeDirection
unsigned int m_DerivativeDirection
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:115
float
itkBSplineInterpolationWeightFunctionBase.h
itk::BSplineInterpolationDerivativeWeightFunction::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:57
itk::BSplineInterpolationDerivativeWeightFunction::WeightsType
Superclass::WeightsType WeightsType
Definition: itkBSplineInterpolationDerivativeWeightFunction.h:73


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo