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 
24 namespace itk
25 {
26 
44 template< class TCoordRep = float,
45 unsigned int VSpaceDimension = 2,
46 unsigned int VSplineOrder = 3 >
49  TCoordRep, VSpaceDimension, VSplineOrder >
50 {
51 public:
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 
75  typedef typename Superclass::IndexType IndexType;
76  typedef typename Superclass::SizeType SizeType;
78 
80  virtual void SetDerivativeDirections( unsigned int dir0, unsigned int dir1 );
81 
82 protected:
83 
86 
90  typedef typename Superclass
92  typedef typename Superclass::TableType TableType;
94 
104  virtual void Compute1DWeights(
105  const ContinuousIndexType & index,
106  const IndexType & startIndex,
107  OneDWeightsType & weights1D ) const;
108 
110  virtual void PrintSelf( std::ostream & os, Indent indent ) const;
111 
112 private:
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
itk::BSplineInterpolationWeightFunctionBase::SecondOrderDerivativeKernelType
BSplineSecondOrderDerivativeKernelFunction2< Self::SplineOrder > SecondOrderDerivativeKernelType
Definition: itkBSplineInterpolationWeightFunctionBase.h:142
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::KernelType
Superclass::KernelType KernelType
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:88
itk::BSplineInterpolationWeightFunctionBase::ContinuousIndexType
ContinuousIndex< TCoordRep, VSpaceDimension > ContinuousIndexType
Definition: itkBSplineInterpolationWeightFunctionBase.h:107
SmartPointer< Self >
itk::BSplineInterpolationWeightFunctionBase::DerivativeKernelType
BSplineDerivativeKernelFunction< Self::SplineOrder > DerivativeKernelType
Definition: itkBSplineInterpolationWeightFunctionBase.h:140
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::Superclass
BSplineInterpolationWeightFunctionBase< TCoordRep, VSpaceDimension, VSplineOrder > Superclass
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:56
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::itkStaticConstMacro
itkStaticConstMacro(SplineOrder, unsigned int, VSplineOrder)
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::SecondOrderDerivativeKernelType
Superclass ::SecondOrderDerivativeKernelType SecondOrderDerivativeKernelType
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:91
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::SetDerivativeDirections
virtual void SetDerivativeDirections(unsigned int dir0, unsigned int dir1)
itk::BSplineInterpolationWeightFunctionBase::IndexType
Index< VSpaceDimension > IndexType
Definition: itkBSplineInterpolationWeightFunctionBase.h:103
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::BSplineInterpolationSecondOrderDerivativeWeightFunction::DerivativeKernelType
Superclass::DerivativeKernelType DerivativeKernelType
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:89
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::m_EqualDerivativeDirections
bool m_EqualDerivativeDirections
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:118
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::ConstPointer
SmartPointer< const Self > ConstPointer
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:58
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction
Returns the weights over the support region used for B-spline interpolation/reconstruction.
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:50
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::BSplineInterpolationSecondOrderDerivativeWeightFunction
BSplineInterpolationSecondOrderDerivativeWeightFunction(const Self &)
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::PrintSelf
virtual void PrintSelf(std::ostream &os, Indent indent) const
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::TableType
Superclass::TableType TableType
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:92
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::~BSplineInterpolationSecondOrderDerivativeWeightFunction
~BSplineInterpolationSecondOrderDerivativeWeightFunction()
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:85
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::IndexType
Superclass::IndexType IndexType
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:75
itk::BSplineInterpolationWeightFunctionBase::OneDWeightsType
Matrix< double, itkGetStaticConstMacro(SpaceDimension), itkGetStaticConstMacro(SplineOrder)+1 > OneDWeightsType
Definition: itkBSplineInterpolationWeightFunctionBase.h:155
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::Self
BSplineInterpolationSecondOrderDerivativeWeightFunction Self
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:54
Size< VSpaceDimension >
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::Compute1DWeights
virtual void Compute1DWeights(const ContinuousIndexType &index, const IndexType &startIndex, OneDWeightsType &weights1D) const
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::WeightsType
Superclass::WeightsType WeightsType
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:74
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, VSpaceDimension)
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::Pointer
SmartPointer< Self > Pointer
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:57
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::operator=
void operator=(const Self &)
itk
Definition: itkAdvancedImageToImageMetric.h:40
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::SizeType
Superclass::SizeType SizeType
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:76
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::m_DerivativeDirections
vnl_vector_fixed< double, 2 > m_DerivativeDirections
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:117
Array2D< unsigned long >
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::BSplineInterpolationSecondOrderDerivativeWeightFunction
BSplineInterpolationSecondOrderDerivativeWeightFunction()
itk::BSplineKernelFunction2
B-spline kernel used for density estimation and nonparameteric regression.
Definition: itkBSplineKernelFunction2.h:60
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::ContinuousIndexType
Superclass::ContinuousIndexType ContinuousIndexType
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:77
itk::BSplineInterpolationSecondOrderDerivativeWeightFunction::OneDWeightsType
Superclass::OneDWeightsType OneDWeightsType
Definition: itkBSplineInterpolationSecondOrderDerivativeWeightFunction.h:93
float
itkBSplineInterpolationWeightFunctionBase.h


Generated on OURCE_DATE_EPOCH for elastix by doxygen 1.8.18 elastix logo