Loading...
Searching...
No Matches
itkBSplineInterpolationDerivativeWeightFunction.h
Go to the documentation of this file.
/*=========================================================================
*
* Copyright UMC Utrecht and contributors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0.txt
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*=========================================================================*/
#ifndef itkBSplineInterpolationDerivativeWeightFunction_h
#define itkBSplineInterpolationDerivativeWeightFunction_h
#include "itkBSplineInterpolationWeightFunctionBase.h"
namespace itk
{
template <class TCoordRep = float, unsigned int VSpaceDimension = 2, unsigned int VSplineOrder = 3>
class ITK_TEMPLATE_EXPORT BSplineInterpolationDerivativeWeightFunction
: public BSplineInterpolationWeightFunctionBase<TCoordRep, VSpaceDimension, VSplineOrder>
{
public:
ITK_DISALLOW_COPY_AND_MOVE(BSplineInterpolationDerivativeWeightFunction);
using Self = BSplineInterpolationDerivativeWeightFunction;
using Superclass = BSplineInterpolationWeightFunctionBase<TCoordRep, VSpaceDimension, VSplineOrder>;
using Pointer = SmartPointer<Self>;
using ConstPointer = SmartPointer<const Self>;
itkNewMacro(Self);
itkTypeMacro(BSplineInterpolationDerivativeWeightFunction, BSplineInterpolationWeightFunctionBase);
itkStaticConstMacro(SpaceDimension, unsigned int, VSpaceDimension);
itkStaticConstMacro(SplineOrder, unsigned int, VSplineOrder);
using typename Superclass::WeightsType;
using typename Superclass::IndexType;
using typename Superclass::SizeType;
using typename Superclass::ContinuousIndexType;
virtual void
SetDerivativeDirection(unsigned int dir);
protected:
BSplineInterpolationDerivativeWeightFunction();
~BSplineInterpolationDerivativeWeightFunction() override = default;
using typename Superclass::KernelType;
using typename Superclass::DerivativeKernelType;
using typename Superclass::SecondOrderDerivativeKernelType;
using typename Superclass::OneDWeightsType;
void
Compute1DWeights(const ContinuousIndexType & index,
const IndexType & startIndex,
OneDWeightsType & weights1D) const override;
void
PrintSelf(std::ostream & os, Indent indent) const override;
private:
unsigned int m_DerivativeDirection{};
};
} // end namespace itk
#ifndef ITK_MANUAL_INSTANTIATION
# include "itkBSplineInterpolationDerivativeWeightFunction.hxx"
#endif
#endif
itk::BSplineInterpolationDerivativeWeightFunction< ScalarType, Self::SpaceDimension, VSplineOrder >::ContinuousIndexType
ContinuousIndex< ScalarType, VSpaceDimension > ContinuousIndexType
itk::BSplineInterpolationDerivativeWeightFunction::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(BSplineInterpolationDerivativeWeightFunction)
itk::BSplineInterpolationDerivativeWeightFunction::itkStaticConstMacro
itkStaticConstMacro(SplineOrder, unsigned int, VSplineOrder)
itk::BSplineInterpolationDerivativeWeightFunction< ScalarType, Self::SpaceDimension, VSplineOrder >::Superclass
BSplineInterpolationWeightFunctionBase< ScalarType, VSpaceDimension, VSplineOrder > Superclass
Definition itkBSplineInterpolationDerivativeWeightFunction.h:52
itk::BSplineInterpolationDerivativeWeightFunction< ScalarType, Self::SpaceDimension, VSplineOrder >::Self
BSplineInterpolationDerivativeWeightFunction Self
Definition itkBSplineInterpolationDerivativeWeightFunction.h:51
itk::BSplineInterpolationDerivativeWeightFunction::SetDerivativeDirection
virtual void SetDerivativeDirection(unsigned int dir)
itk::BSplineInterpolationDerivativeWeightFunction< ScalarType, Self::SpaceDimension, VSplineOrder >::OneDWeightsType
Matrix< double, Self::SpaceDimension, VSplineOrder+1 > OneDWeightsType
itk::BSplineInterpolationDerivativeWeightFunction::Compute1DWeights
void Compute1DWeights(const ContinuousIndexType &index, const IndexType &startIndex, OneDWeightsType &weights1D) const override
itk::BSplineInterpolationDerivativeWeightFunction::itkStaticConstMacro
itkStaticConstMacro(SpaceDimension, unsigned int, VSpaceDimension)
itk::BSplineInterpolationDerivativeWeightFunction< ScalarType, Self::SpaceDimension, VSplineOrder >::IndexType
Index< VSpaceDimension > IndexType
itk::BSplineInterpolationDerivativeWeightFunction< ScalarType, Self::SpaceDimension, VSplineOrder >::m_DerivativeDirection
unsigned int m_DerivativeDirection
Definition itkBSplineInterpolationDerivativeWeightFunction.h:106
itk::BSplineInterpolationDerivativeWeightFunction::~BSplineInterpolationDerivativeWeightFunction
~BSplineInterpolationDerivativeWeightFunction() override=default
itk::BSplineInterpolationDerivativeWeightFunction::PrintSelf
void PrintSelf(std::ostream &os, Indent indent) const override
itk::BSplineInterpolationDerivativeWeightFunction::BSplineInterpolationDerivativeWeightFunction
BSplineInterpolationDerivativeWeightFunction()
itk::BSplineInterpolationDerivativeWeightFunction< ScalarType, Self::SpaceDimension, VSplineOrder >::Pointer
SmartPointer< Self > Pointer
Definition itkBSplineInterpolationDerivativeWeightFunction.h:53
itk::BSplineInterpolationDerivativeWeightFunction< ScalarType, Self::SpaceDimension, VSplineOrder >::ConstPointer
SmartPointer< const Self > ConstPointer
Definition itkBSplineInterpolationDerivativeWeightFunction.h:54
itk::BSplineInterpolationWeightFunctionBase::IndexType
Index< VSpaceDimension > IndexType
Definition itkBSplineInterpolationWeightFunctionBase.h:80
itk::BSplineInterpolationWeightFunctionBase::SecondOrderDerivativeKernelType
BSplineSecondOrderDerivativeKernelFunction2< VSplineOrder > SecondOrderDerivativeKernelType
Definition itkBSplineInterpolationWeightFunctionBase.h:116
itk::BSplineInterpolationWeightFunctionBase< float, 2, 3 >::BSplineInterpolationWeightFunctionBase
BSplineInterpolationWeightFunctionBase()
itk::BSplineInterpolationWeightFunctionBase::DerivativeKernelType
BSplineDerivativeKernelFunction< VSplineOrder > DerivativeKernelType
Definition itkBSplineInterpolationWeightFunctionBase.h:114
itk::BSplineInterpolationWeightFunctionBase::WeightsType
FixedArray< double, NumberOfWeights > WeightsType
Definition itkBSplineInterpolationWeightFunctionBase.h:77
itk::BSplineInterpolationWeightFunctionBase::SizeType
Size< VSpaceDimension > SizeType
Definition itkBSplineInterpolationWeightFunctionBase.h:81
itk::BSplineInterpolationWeightFunctionBase::OneDWeightsType
Matrix< double, Self::SpaceDimension, VSplineOrder+1 > OneDWeightsType
Definition itkBSplineInterpolationWeightFunctionBase.h:124
itk::BSplineInterpolationWeightFunctionBase::ContinuousIndexType
ContinuousIndex< TCoordRep, VSpaceDimension > ContinuousIndexType
Definition itkBSplineInterpolationWeightFunctionBase.h:84
itk::BSplineInterpolationWeightFunctionBase::KernelType
BSplineKernelFunction2< VSplineOrder > KernelType
Definition itkBSplineInterpolationWeightFunctionBase.h:112
itkBSplineInterpolationWeightFunctionBase.h
itk
Definition itkAdvancedImageToImageMetric.h:43

Generated on 1768596610 for elastix by 1.15.0 |