ITK  4.3.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
itk::BSplineResampleImageFunction< TImageType, TCoordRep > Class Template Reference

#include <itkBSplineResampleImageFunction.h>

+ Inheritance diagram for itk::BSplineResampleImageFunction< TImageType, TCoordRep >:
+ Collaboration diagram for itk::BSplineResampleImageFunction< TImageType, TCoordRep >:

Detailed Description

template<class TImageType, class TCoordRep = float>
class itk::BSplineResampleImageFunction< TImageType, TCoordRep >

Resample image intensity from a BSpline coefficient image.

This class resample the image intensity at a non-integer position from the input BSpline coefficient image.

Spline order may be from 0 to 5.

In ITK, BSpline coefficient can be generated using a BSplineDecompositionImageFilter. Using this image function in conjunction with ResampleImageFunction allows the reconstruction of the original image at different resolution and size.

See Also
BSplineInterpolateImageFunction
BSplineDecompositionImageFilter
ResampleImageFilter

Definition at line 56 of file itkBSplineResampleImageFunction.h.

Public Types

typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef
BSplineResampleImageFunction 
Self
 
typedef
BSplineInterpolateImageFunction
< TImageType, TCoordRep,
typename TImageType::PixelType > 
Superclass
 
- Public Types inherited from itk::BSplineInterpolateImageFunction< TImageType, TCoordRep, TImageType::PixelType >
typedef TImageType::PixelType CoefficientDataType
 
typedef
BSplineDecompositionImageFilter
< TImageType,
CoefficientImageType
CoefficientFilter
 
typedef CoefficientFilter::Pointer CoefficientFilterPointer
 
typedef Image
< CoefficientDataType,
itkGetStaticConstMacro(ImageDimension) > 
CoefficientImageType
 
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
 
typedef CovariantVector
< OutputType,
itkGetStaticConstMacro(ImageDimension) > 
CovariantVectorType
 
typedef Superclass::IndexType IndexType
 
typedef Superclass::InputImageType InputImageType
 
typedef
ImageLinearIteratorWithIndex
< TImageType > 
Iterator
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef
BSplineInterpolateImageFunction 
Self
 
typedef
InterpolateImageFunction
< TImageType, TCoordRep > 
Superclass
 
- Public Types inherited from itk::InterpolateImageFunction< TImageType, TCoordRep >
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::ContinuousIndexType 
ContinuousIndexType
 
typedef Superclass::IndexType IndexType
 
typedef Superclass::IndexValueType IndexValueType
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::OutputType OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::PointType PointType
 
typedef NumericTraits
< typename
TImageType::PixelType >
::RealType 
RealType
 
typedef InterpolateImageFunction Self
 
typedef ImageFunction
< TImageType, typename
NumericTraits< typename
TImageType::PixelType >
::RealType, TCoordRep > 
Superclass
 
- Public Types inherited from itk::ImageFunction< TImageType, NumericTraits< TImageType::PixelType >::RealType, TCoordRep >
typedef SmartPointer< const SelfConstPointer
 
typedef ContinuousIndex
< TCoordRep,
itkGetStaticConstMacro(ImageDimension) > 
ContinuousIndexType
 
typedef TCoordRep CoordRepType
 
typedef InputImageType::IndexType IndexType
 
typedef
InputImageType::IndexValueType 
IndexValueType
 
typedef
InputImageType::ConstPointer 
InputImageConstPointer
 
typedef TImageType InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef NumericTraits
< TImageType::PixelType >
::RealType 
OutputType
 
typedef SmartPointer< SelfPointer
 
typedef Point< TCoordRep,
itkGetStaticConstMacro(ImageDimension) > 
PointType
 
typedef ImageFunction Self
 
typedef FunctionBase< Point
< TCoordRep,
itkGetStaticConstMacro(ImageDimension) >
, NumericTraits
< TImageType::PixelType >
::RealType > 
Superclass
 
- Public Types inherited from itk::FunctionBase< Point< TCoordRep, TImageType::ImageDimension >, NumericTraits< TImageType::PixelType >::RealType >
typedef SmartPointer< const SelfConstPointer
 
typedef Point< TCoordRep,
TImageType::ImageDimension > 
InputType
 
typedef NumericTraits
< TImageType::PixelType >
::RealType 
OutputType
 
typedef SmartPointer< SelfPointer
 
typedef FunctionBase Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
virtual void SetInputImage (const TImageType *inputData)
 
- Public Member Functions inherited from itk::BSplineInterpolateImageFunction< TImageType, TCoordRep, TImageType::PixelType >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual OutputType Evaluate (const PointType &point) const
 
virtual OutputType Evaluate (const PointType &point, ThreadIdType threadID) const
 
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const
 
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index, ThreadIdType threadID) const
 
CovariantVectorType EvaluateDerivative (const PointType &point) const
 
CovariantVectorType EvaluateDerivative (const PointType &point, ThreadIdType threadID) const
 
CovariantVectorType EvaluateDerivativeAtContinuousIndex (const ContinuousIndexType &x) const
 
CovariantVectorType EvaluateDerivativeAtContinuousIndex (const ContinuousIndexType &x, ThreadIdType threadID) const
 
void EvaluateValueAndDerivative (const PointType &point, OutputType &value, CovariantVectorType &deriv) const
 
void EvaluateValueAndDerivative (const PointType &point, OutputType &value, CovariantVectorType &deriv, ThreadIdType threadID) const
 
void EvaluateValueAndDerivativeAtContinuousIndex (const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
 
void EvaluateValueAndDerivativeAtContinuousIndex (const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv, ThreadIdType threadID) const
 
virtual ThreadIdType GetNumberOfThreads () const
 
virtual int GetSplineOrder () const
 
void SetNumberOfThreads (ThreadIdType numThreads)
 
void SetSplineOrder (unsigned int SplineOrder)
 
virtual void SetUseImageDirection (bool _arg)
 
virtual bool GetUseImageDirection () const
 
virtual void UseImageDirectionOn ()
 
virtual void UseImageDirectionOff ()
 
- Public Member Functions inherited from itk::InterpolateImageFunction< TImageType, TCoordRep >
virtual OutputType Evaluate (const PointType &point) const
 
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const =0
 
virtual OutputType EvaluateAtIndex (const IndexType &index) const
 
- Public Member Functions inherited from itk::ImageFunction< TImageType, NumericTraits< TImageType::PixelType >::RealType, TCoordRep >
void ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const
 
void ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const
 
void ConvertPointToNearestIndex (const PointType &point, IndexType &index) const
 
virtual const ContinuousIndexTypeGetEndContinuousIndex ()
 
virtual const IndexTypeGetEndIndex ()
 
const InputImageTypeGetInputImage () const
 
virtual const ContinuousIndexTypeGetStartContinuousIndex ()
 
virtual const IndexTypeGetStartIndex ()
 
virtual bool IsInsideBuffer (const IndexType &index) const
 
virtual bool IsInsideBuffer (const ContinuousIndexType &index) const
 
virtual bool IsInsideBuffer (const PointType &point) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::BSplineInterpolateImageFunction< TImageType, TCoordRep, TImageType::PixelType >
static Pointer New ()
 

Protected Member Functions

 BSplineResampleImageFunction ()
 
virtual ~BSplineResampleImageFunction ()
 
- Protected Member Functions inherited from itk::BSplineInterpolateImageFunction< TImageType, TCoordRep, TImageType::PixelType >
 BSplineInterpolateImageFunction ()
 
virtual OutputType EvaluateAtContinuousIndexInternal (const ContinuousIndexType &index, vnl_matrix< long > &evaluateIndex, vnl_matrix< double > &weights) const
 
virtual CovariantVectorType EvaluateDerivativeAtContinuousIndexInternal (const ContinuousIndexType &x, vnl_matrix< long > &evaluateIndex, vnl_matrix< double > &weights, vnl_matrix< double > &weightsDerivative) const
 
virtual void EvaluateValueAndDerivativeAtContinuousIndexInternal (const ContinuousIndexType &x, OutputType &value, CovariantVectorType &derivativeValue, vnl_matrix< long > &evaluateIndex, vnl_matrix< double > &weights, vnl_matrix< double > &weightsDerivative) const
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~BSplineInterpolateImageFunction ()
 
- Protected Member Functions inherited from itk::InterpolateImageFunction< TImageType, TCoordRep >
 InterpolateImageFunction ()
 
void PrintSelf (std::ostream &os, Indent indent) const
 
 ~InterpolateImageFunction ()
 
- Protected Member Functions inherited from itk::ImageFunction< TImageType, NumericTraits< TImageType::PixelType >::RealType, TCoordRep >
 ImageFunction ()
 
 ~ImageFunction ()
 
- Protected Member Functions inherited from itk::FunctionBase< Point< TCoordRep, TImageType::ImageDimension >, NumericTraits< TImageType::PixelType >::RealType >
 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 Member Functions

 BSplineResampleImageFunction (const Self &)
 

Additional Inherited Members

- Static Public Attributes inherited from itk::BSplineInterpolateImageFunction< TImageType, TCoordRep, TImageType::PixelType >
static const unsigned int ImageDimension
 
- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::BSplineInterpolateImageFunction< TImageType, TCoordRep, TImageType::PixelType >
CoefficientImageType::ConstPointer m_Coefficients
 
TImageType::SizeType m_DataLength
 
std::vector< CoefficientDataTypem_Scratch
 
unsigned int m_SplineOrder
 

Member Typedef Documentation

template<class TImageType , class TCoordRep = float>
typedef SmartPointer< const Self > itk::BSplineResampleImageFunction< TImageType, TCoordRep >::ConstPointer

Definition at line 67 of file itkBSplineResampleImageFunction.h.

template<class TImageType , class TCoordRep = float>
typedef SmartPointer< Self > itk::BSplineResampleImageFunction< TImageType, TCoordRep >::Pointer

Definition at line 66 of file itkBSplineResampleImageFunction.h.

template<class TImageType , class TCoordRep = float>
typedef BSplineResampleImageFunction itk::BSplineResampleImageFunction< TImageType, TCoordRep >::Self

Standard class typedefs.

Definition at line 62 of file itkBSplineResampleImageFunction.h.

template<class TImageType , class TCoordRep = float>
typedef BSplineInterpolateImageFunction< TImageType, TCoordRep, typename TImageType::PixelType > itk::BSplineResampleImageFunction< TImageType, TCoordRep >::Superclass

Definition at line 64 of file itkBSplineResampleImageFunction.h.

Constructor & Destructor Documentation

template<class TImageType , class TCoordRep = float>
itk::BSplineResampleImageFunction< TImageType, TCoordRep >::BSplineResampleImageFunction ( )
inlineprotected

Definition at line 90 of file itkBSplineResampleImageFunction.h.

template<class TImageType , class TCoordRep = float>
virtual itk::BSplineResampleImageFunction< TImageType, TCoordRep >::~BSplineResampleImageFunction ( )
inlineprotectedvirtual

Definition at line 91 of file itkBSplineResampleImageFunction.h.

template<class TImageType , class TCoordRep = float>
itk::BSplineResampleImageFunction< TImageType, TCoordRep >::BSplineResampleImageFunction ( const Self )
private

Member Function Documentation

template<class TImageType , class TCoordRep = float>
virtual::itk::LightObject::Pointer itk::BSplineResampleImageFunction< TImageType, TCoordRep >::CreateAnother ( void  ) const
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.

template<class TImageType , class TCoordRep = float>
virtual const char* itk::BSplineResampleImageFunction< TImageType, TCoordRep >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::BSplineInterpolateImageFunction< TImageType, TCoordRep, TImageType::PixelType >.

template<class TImageType , class TCoordRep = float>
static Pointer itk::BSplineResampleImageFunction< TImageType, TCoordRep >::New ( )
static

New macro for creation of through a Smart Pointer

template<class TImageType , class TCoordRep = float>
virtual void itk::BSplineResampleImageFunction< TImageType, TCoordRep >::SetInputImage ( const TImageType *  inputData)
inlinevirtual

The documentation for this class was generated from the following file: