ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkBSplineInterpolationWeightFunction.h>
Returns the weights over the support region used for B-spline interpolation/reconstruction.
Computes/evaluate the B-spline interpolation weights over the support region of the B-spline.
This class is templated over the coordinate representation type, the space dimension and the spline order.
Definition at line 51 of file itkBSplineInterpolationWeightFunction.h.
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother () const |
virtual WeightsType | Evaluate (const ContinuousIndexType &index) const override |
virtual void | Evaluate (const ContinuousIndexType &index, WeightsType &weights, IndexType &startIndex) const |
virtual const char * | GetNameOfClass () const |
virtual unsigned int | GetNumberOfWeights () const |
virtual SizeType | GetSupportSize () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) override |
virtual void | UnRegister () const noexceptoverride |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | SpaceDimension = VSpaceDimension |
static const unsigned int | SplineOrder = VSplineOrder |
Protected Member Functions | |
BSplineInterpolationWeightFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~BSplineInterpolationWeightFunction () | |
Protected Member Functions inherited from itk::FunctionBase< ContinuousIndex< TCoordRep, VSpaceDimension >, Array< double > > | |
FunctionBase () | |
~FunctionBase () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Types | |
typedef BSplineKernelFunction < itkGetStaticConstMacro(SplineOrder) > | KernelType |
typedef Array2D< unsigned int > | TableType |
Private Member Functions | |
BSplineInterpolationWeightFunction (const Self &) ITK_DELETE_FUNCTION | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
Private Attributes | |
KernelType::Pointer | m_Kernel |
unsigned int | m_NumberOfWeights |
TableType | m_OffsetToIndexTable |
SizeType | m_SupportSize |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::BSplineInterpolationWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::ConstPointer |
Definition at line 62 of file itkBSplineInterpolationWeightFunction.h.
typedef ContinuousIndex< TCoordRep, VSpaceDimension > itk::BSplineInterpolationWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::ContinuousIndexType |
ContinuousIndex typedef support.
Definition at line 84 of file itkBSplineInterpolationWeightFunction.h.
typedef Index< VSpaceDimension > itk::BSplineInterpolationWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::IndexType |
Index and size typedef support.
Definition at line 80 of file itkBSplineInterpolationWeightFunction.h.
|
private |
Interpolation kernel type.
Definition at line 129 of file itkBSplineInterpolationWeightFunction.h.
typedef SmartPointer< Self > itk::BSplineInterpolationWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::Pointer |
Definition at line 61 of file itkBSplineInterpolationWeightFunction.h.
typedef BSplineInterpolationWeightFunction itk::BSplineInterpolationWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::Self |
Standard class typedefs.
Definition at line 57 of file itkBSplineInterpolationWeightFunction.h.
typedef Size< VSpaceDimension > itk::BSplineInterpolationWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::SizeType |
Definition at line 81 of file itkBSplineInterpolationWeightFunction.h.
typedef FunctionBase< ContinuousIndex< TCoordRep, VSpaceDimension >, Array< double > > itk::BSplineInterpolationWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::Superclass |
Definition at line 59 of file itkBSplineInterpolationWeightFunction.h.
|
private |
Lookup table type.
Definition at line 123 of file itkBSplineInterpolationWeightFunction.h.
typedef Array< double > itk::BSplineInterpolationWeightFunction< TCoordRep, VSpaceDimension, VSplineOrder >::WeightsType |
OutputType typedef support.
Definition at line 77 of file itkBSplineInterpolationWeightFunction.h.
|
protected |
|
inlineprotected |
Definition at line 109 of file itkBSplineInterpolationWeightFunction.h.
|
private |
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
|
overridevirtual |
Evaluate the weights at specified ContinuousIndex position. Subclasses must provide this method.
Implements itk::FunctionBase< ContinuousIndex< TCoordRep, VSpaceDimension >, Array< double > >.
|
virtual |
Evaluate the weights at specified ContinuousIndex position. The weights are returned in the user specified container. This function assume that weights can hold (SplineOrder + 1)^(SpaceDimension) elements. For efficiency, no size checking is done. On return, startIndex contains the start index of the support region over which the weights are defined.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::FunctionBase< ContinuousIndex< TCoordRep, VSpaceDimension >, Array< double > >.
|
virtual |
Get number of weights.
|
virtual |
Get support region size.
|
static |
New macro for creation of through the object factory.
|
private |
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::Object.
|
private |
Interpolation kernel.
Definition at line 132 of file itkBSplineInterpolationWeightFunction.h.
|
private |
Number of weights.
Definition at line 117 of file itkBSplineInterpolationWeightFunction.h.
|
private |
Table mapping linear offset to indices.
Definition at line 126 of file itkBSplineInterpolationWeightFunction.h.
|
private |
Size of support region.
Definition at line 120 of file itkBSplineInterpolationWeightFunction.h.
|
static |
Space dimension.
Definition at line 71 of file itkBSplineInterpolationWeightFunction.h.
|
static |
Spline order.
Definition at line 74 of file itkBSplineInterpolationWeightFunction.h.