Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::BSplineResampleImageFunction< TImageType, TCoordRep > Class Template Reference
[Image Functions]

#include <itkBSplineResampleImageFunction.h>

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

Inheritance graph
[legend]
Collaboration diagram for itk::BSplineResampleImageFunction< TImageType, TCoordRep >:

Collaboration graph
[legend]
List of all members.

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 48 of file itkBSplineResampleImageFunction.h.

Public Types

typedef TImageType::PixelType CoefficientDataType
typedef TImageType::PixelType CoefficientDataType
typedef BSplineDecompositionImageFilter<
TImageType, CoefficientImageType
CoefficientFilter
typedef BSplineDecompositionImageFilter<
TImageType, CoefficientImageType
CoefficientFilter
typedef CoefficientFilter::Pointer CoefficientFilterPointer
typedef CoefficientFilter::Pointer CoefficientFilterPointer
typedef Image< CoefficientDataType,
itkGetStaticConstMacro(ImageDimension) > 
CoefficientImageType
typedef Image< CoefficientDataType,
itkGetStaticConstMacro(ImageDimension) > 
CoefficientImageType
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::ContinuousIndexType ContinuousIndexType
typedef Superclass::ContinuousIndexType ContinuousIndexType
typedef TCoordRep CoordRepType
typedef CovariantVector< OutputType,
itkGetStaticConstMacro(ImageDimension) > 
CovariantVectorType
typedef CovariantVector< OutputType,
itkGetStaticConstMacro(ImageDimension) > 
CovariantVectorType
typedef Superclass::IndexType IndexType
typedef Superclass::IndexType IndexType
typedef InputImageType::ConstPointer InputImageConstPointer
typedef Superclass::InputImageType InputImageType
typedef Superclass::InputImageType InputImageType
typedef InputImageType::PixelType InputPixelType
typedef TInput InputType
typedef ImageLinearIteratorWithIndex<
TImageType > 
Iterator
typedef ImageLinearIteratorWithIndex<
TImageType > 
Iterator
typedef Superclass::OutputType OutputType
typedef Superclass::OutputType OutputType
typedef SmartPointer< SelfPointer
typedef Superclass::PointType PointType
typedef Superclass::PointType PointType
typedef NumericTraits< typename
TInputImage::PixelType
>::RealType 
RealType
typedef BSplineResampleImageFunction Self
typedef BSplineInterpolateImageFunction<
TImageType, TCoordRep, typename
TImageType::PixelType > 
Superclass

Public Member Functions

void ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const
void ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const
virtual LightObject::Pointer CreateAnother () const
virtual void DebugOff () const
virtual void DebugOn () const
virtual void Delete ()
virtual OutputType Evaluate (const InputType &input) const=0
virtual OutputType Evaluate (const PointType &point, unsigned int threadID) const
virtual OutputType Evaluate (const PointType &point) const
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index, unsigned int threadID) const
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const
virtual OutputType EvaluateAtContinuousIndex (const ContinuousIndexType &index) const
virtual TOutput EvaluateAtIndex (const IndexType &index) const=0
virtual OutputType EvaluateAtIndex (const IndexType &index) const
CovariantVectorType EvaluateDerivative (const PointType &point, unsigned int threadID) const
CovariantVectorType EvaluateDerivative (const PointType &point) const
CovariantVectorType EvaluateDerivative (const PointType &point) const
CovariantVectorType EvaluateDerivativeAtContinuousIndex (const ContinuousIndexType &x, unsigned int threadID) const
CovariantVectorType EvaluateDerivativeAtContinuousIndex (const ContinuousIndexType &x) const
CovariantVectorType EvaluateDerivativeAtContinuousIndex (const ContinuousIndexType &x) const
void EvaluateValueAndDerivative (const PointType &point, OutputType &value, CovariantVectorType &deriv, unsigned int threadID) const
void EvaluateValueAndDerivative (const PointType &point, OutputType &value, CovariantVectorType &deriv) const
void EvaluateValueAndDerivativeAtContinuousIndex (const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv, unsigned int threadID) const
void EvaluateValueAndDerivativeAtContinuousIndex (const ContinuousIndexType &x, OutputType &value, CovariantVectorType &deriv) const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
virtual const ContinuousIndexTypeGetEndContinuousIndex ()
virtual const IndexTypeGetEndIndex ()
const InputImageTypeGetInputImage () const
const MetaDataDictionaryGetMetaDataDictionary (void) const
MetaDataDictionaryGetMetaDataDictionary (void)
virtual unsigned long GetMTime () const
virtual const char * GetNameOfClass () const
virtual int GetNumberOfThreads ()
virtual int GetReferenceCount () const
virtual int GetSplineOrder () const
virtual int GetSplineOrder () const
virtual const ContinuousIndexTypeGetStartContinuousIndex ()
virtual const IndexTypeGetStartIndex ()
virtual bool GetUseImageDirection ()
virtual bool GetUseImageDirection ()
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &) const
void InvokeEvent (const EventObject &)
 itkStaticConstMacro (ImageDimension, unsigned int, TInputImage::ImageDimension)
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
 itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension)
virtual void Modified () const
void Print (std::ostream &os, Indent indent=0) const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
virtual void SetInputImage (const InputImageType *ptr)
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
void SetNumberOfThreads (unsigned int numThreads)
virtual void SetReferenceCount (int)
void SetSplineOrder (unsigned int SplineOrder)
void SetSplineOrder (unsigned int SplineOrder)
virtual void SetUseImageDirection (bool _arg)
virtual void SetUseImageDirection (bool _arg)
virtual void UnRegister () const
virtual void UseImageDirectionOff ()
virtual void UseImageDirectionOff ()
virtual void UseImageDirectionOn ()
virtual void UseImageDirectionOn ()
unsigned long AddObserver (const EventObject &event, Command *) const
unsigned long AddObserver (const EventObject &event, Command *)
void ConvertPointToContinousIndex (const PointType &point, ContinuousIndexType &cindex) const
void ConvertPointToNearestIndex (const PointType &point, IndexType &index) const
virtual bool IsInsideBuffer (const PointType &point) const
virtual bool IsInsideBuffer (const ContinuousIndexType &index) const
virtual bool IsInsideBuffer (const IndexType &index) const
virtual void SetInputImage (const TImageType *inputData)

Static Public Member Functions

static void BreakOnError ()
static Pointer New ()
static bool GetGlobalWarningDisplay ()
static void GlobalWarningDisplayOff ()
static void GlobalWarningDisplayOn ()
static void SetGlobalWarningDisplay (bool flag)

Protected Types

typedef int InternalReferenceCountType

Protected Member Functions

 BSplineResampleImageFunction ()
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
bool PrintObservers (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
void PrintSelf (std::ostream &os, Indent indent) const
virtual ~BSplineResampleImageFunction ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const

Protected Attributes

CoefficientImageType::ConstPointer m_Coefficients
TImageType::SizeType m_DataLength
ContinuousIndexType m_EndContinuousIndex
IndexType m_EndIndex
InputImageConstPointer m_Image
InternalReferenceCountType m_ReferenceCount
SimpleFastMutexLock m_ReferenceCountLock
std::vector< CoefficientDataTypem_Scratch
std::vector< CoefficientDataTypem_Scratch
unsigned int m_SplineOrder
ContinuousIndexType m_StartContinuousIndex
IndexType m_StartIndex


Member Typedef Documentation

typedef TImageType::PixelType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::CoefficientDataType [inherited]

Internal Coefficient typedef support

Definition at line 111 of file itkOptBSplineInterpolateImageFunction.h.

typedef TImageType::PixelType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::CoefficientDataType [inherited]

Internal Coefficient typedef support

Definition at line 120 of file itkBSplineInterpolateImageFunction.h.

typedef BSplineDecompositionImageFilter<TImageType , CoefficientImageType> itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::CoefficientFilter [inherited]

Define filter for calculating the BSpline coefficients

Definition at line 119 of file itkOptBSplineInterpolateImageFunction.h.

typedef BSplineDecompositionImageFilter<TImageType , CoefficientImageType> itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::CoefficientFilter [inherited]

Define filter for calculating the BSpline coefficients

Definition at line 127 of file itkBSplineInterpolateImageFunction.h.

typedef CoefficientFilter::Pointer itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::CoefficientFilterPointer [inherited]

Definition at line 120 of file itkOptBSplineInterpolateImageFunction.h.

typedef CoefficientFilter::Pointer itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::CoefficientFilterPointer [inherited]

Definition at line 129 of file itkBSplineInterpolateImageFunction.h.

typedef Image<CoefficientDataType, itkGetStaticConstMacro(ImageDimension) > itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::CoefficientImageType [inherited]

Definition at line 114 of file itkOptBSplineInterpolateImageFunction.h.

typedef Image<CoefficientDataType, itkGetStaticConstMacro(ImageDimension) > itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::CoefficientImageType [inherited]

Definition at line 123 of file itkBSplineInterpolateImageFunction.h.

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

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

Definition at line 58 of file itkBSplineResampleImageFunction.h.

typedef Superclass::ContinuousIndexType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::ContinuousIndexType [inherited]

ContinuousIndex typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 102 of file itkOptBSplineInterpolateImageFunction.h.

typedef Superclass::ContinuousIndexType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::ContinuousIndexType [inherited]

ContinuousIndex typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 111 of file itkBSplineInterpolateImageFunction.h.

template<class TInputImage, class TOutput, class TCoordRep = float>
typedef TCoordRep itk::ImageFunction< TInputImage, TOutput, TCoordRep >::CoordRepType [inherited]

CoordRepType typedef support.

Reimplemented in itk::VectorInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 94 of file itkImageFunction.h.

typedef CovariantVector<OutputType, itkGetStaticConstMacro(ImageDimension) > itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::CovariantVectorType [inherited]

Derivative typedef support

Definition at line 125 of file itkOptBSplineInterpolateImageFunction.h.

typedef CovariantVector<OutputType, itkGetStaticConstMacro(ImageDimension) > itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::CovariantVectorType [inherited]

Derivative typedef support

Definition at line 145 of file itkBSplineInterpolateImageFunction.h.

typedef Superclass::IndexType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::IndexType [inherited]

Index typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 99 of file itkOptBSplineInterpolateImageFunction.h.

typedef Superclass::IndexType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::IndexType [inherited]

Index typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 108 of file itkBSplineInterpolateImageFunction.h.

template<class TInputImage, class TOutput, class TCoordRep = float>
typedef InputImageType::ConstPointer itk::ImageFunction< TInputImage, TOutput, TCoordRep >::InputImageConstPointer [inherited]

InputImagePointer typedef support

Definition at line 88 of file itkImageFunction.h.

typedef Superclass::InputImageType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::InputImageType [inherited]

InputImageType typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 93 of file itkOptBSplineInterpolateImageFunction.h.

typedef Superclass::InputImageType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::InputImageType [inherited]

InputImageType typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 102 of file itkBSplineInterpolateImageFunction.h.

template<class TInputImage, class TOutput, class TCoordRep = float>
typedef InputImageType::PixelType itk::ImageFunction< TInputImage, TOutput, TCoordRep >::InputPixelType [inherited]

InputPixel typedef support

Reimplemented in itk::GaussianBlurImageFunction< TInputImage, TOutput >, itk::GaussianDerivativeImageFunction< TInputImage, TOutput >, itk::MedianImageFunction< TInputImage, TCoordRep >, itk::NeighborhoodOperatorImageFunction< TInputImage, TOutput >, itk::DiscreteGaussianDerivativeImageFunction< TInputImage, TOutput >, itk::DiscreteGradientMagnitudeGaussianImageFunction< TInputImage, TOutput >, itk::DiscreteHessianGaussianImageFunction< TInputImage, TOutput >, and itk::VectorCentralDifferenceImageFunction< TInputImage, TCoordRep >.

Definition at line 85 of file itkImageFunction.h.

template<class TInput, class TOutput>
typedef TInput itk::FunctionBase< TInput, TOutput >::InputType [inherited]

Input type

Reimplemented in itk::BinaryThresholdSpatialFunction< TFunction >, itk::ConicShellInteriorExteriorSpatialFunction< VDimension, TInput >, itk::EllipsoidInteriorExteriorSpatialFunction< VDimension, TInput >, itk::FiniteCylinderSpatialFunction< VDimension, TInput >, itk::FrustumSpatialFunction< VImageDimension, TInput >, itk::GaussianDerivativeSpatialFunction< TOutput, VImageDimension, TInput >, itk::GaussianSpatialFunction< TOutput, VImageDimension, TInput >, itk::InteriorExteriorSpatialFunction< VDimension, TInput >, itk::PCAShapeSignedDistanceFunction< TCoordRep, VSpaceDimension, TImage >, itk::ShapeSignedDistanceFunction< TCoordRep, VSpaceDimension >, itk::SpatialFunction< TOutput, VImageDimension, TInput >, itk::SphereSignedDistanceFunction< TCoordRep, VSpaceDimension >, itk::SphereSpatialFunction< VImageDimension, TInput >, itk::SymmetricEllipsoidInteriorExteriorSpatialFunction< VDimension, TInput >, itk::TorusInteriorExteriorSpatialFunction< VDimension, TInput >, itk::Statistics::TransferFunctionBase< ScalarType >, itk::QuadEdgeMeshBoundaryEdgesMeshFunction< TMesh >, itk::InteriorExteriorSpatialFunction< VImageDimension, TInput >, itk::SpatialFunction< double, VSpaceDimension, itk::Point< TCoordRep, VSpaceDimension > >, itk::SpatialFunction< bool,::itk::GetImageDimension< TFunction >::ImageDimension, TFunction::InputType >, and itk::SpatialFunction< bool, VDimension, TInput >.

Definition at line 54 of file itkFunctionBase.h.

typedef int itk::LightObject::InternalReferenceCountType [protected, inherited]

Define the type of the reference count according to the target. This allows the use of atomic operations

Definition at line 139 of file itkLightObject.h.

typedef ImageLinearIteratorWithIndex<TImageType > itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::Iterator [inherited]

Iterator typedef support

Definition at line 108 of file itkOptBSplineInterpolateImageFunction.h.

typedef ImageLinearIteratorWithIndex<TImageType > itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::Iterator [inherited]

Iterator typedef support

Definition at line 117 of file itkBSplineInterpolateImageFunction.h.

typedef Superclass::OutputType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::OutputType [inherited]

OutputType typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 87 of file itkOptBSplineInterpolateImageFunction.h.

typedef Superclass::OutputType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::OutputType [inherited]

OutputType typedef support.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 96 of file itkBSplineInterpolateImageFunction.h.

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

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

Definition at line 57 of file itkBSplineResampleImageFunction.h.

typedef Superclass::PointType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::PointType [inherited]

PointType typedef support

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 105 of file itkOptBSplineInterpolateImageFunction.h.

typedef Superclass::PointType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::PointType [inherited]

PointType typedef support

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 114 of file itkBSplineInterpolateImageFunction.h.

template<class TInputImage, class TCoordRep = double>
typedef NumericTraits<typename TInputImage::PixelType>::RealType itk::InterpolateImageFunction< TInputImage, TCoordRep >::RealType [inherited]

RealType typedef support.

Reimplemented in itk::RayCastInterpolateImageFunction< TInputImage, TCoordRep >, itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >, itk::WindowedSincInterpolateImageFunction< TInputImage, VRadius, TWindowFunction, TBoundaryCondition, TCoordRep >, and itk::LinearInterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 78 of file itkInterpolateImageFunction.h.

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

Standard class typedefs.

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

Definition at line 54 of file itkBSplineResampleImageFunction.h.

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

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

Definition at line 56 of file itkBSplineResampleImageFunction.h.


Constructor & Destructor Documentation

template<class TImageType, class TCoordRep = float>
itk::BSplineResampleImageFunction< TImageType, TCoordRep >::BSplineResampleImageFunction (  )  [inline, protected]

Definition at line 81 of file itkBSplineResampleImageFunction.h.

template<class TImageType, class TCoordRep = float>
virtual itk::BSplineResampleImageFunction< TImageType, TCoordRep >::~BSplineResampleImageFunction (  )  [inline, protected, virtual]

Definition at line 82 of file itkBSplineResampleImageFunction.h.


Member Function Documentation

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) const [inherited]

unsigned long itk::Object::AddObserver ( const EventObject event,
Command  
) [inherited]

Allow people to add/remove/invoke observers (callbacks) to any ITK object. This is an implementation of the subject/observer design pattern. An observer is added by specifying an event to respond to and an itk::Command to execute. It returns an unsigned long tag which can be used later to remove the event or retrieve the command. The memory for the Command becomes the responsibility of this object, so don't pass the same instance of a command to two different objects

static void itk::LightObject::BreakOnError (  )  [static, inherited]

This method is called when itkExceptionMacro executes. It allows the debugger to break on error.

template<class TInputImage, class TOutput, class TCoordRep = float>
void itk::ImageFunction< TInputImage, TOutput, TCoordRep >::ConvertContinuousIndexToNearestIndex ( const ContinuousIndexType cindex,
IndexType index 
) const [inline, inherited]

Convert continuous index to nearest index.

Definition at line 210 of file itkImageFunction.h.

template<class TInputImage, class TOutput, class TCoordRep = float>
void itk::ImageFunction< TInputImage, TOutput, TCoordRep >::ConvertPointToContinousIndex ( const PointType point,
ContinuousIndexType cindex 
) const [inline, inherited]

Convert point to continuous index

Definition at line 191 of file itkImageFunction.h.

template<class TInputImage, class TOutput, class TCoordRep = float>
void itk::ImageFunction< TInputImage, TOutput, TCoordRep >::ConvertPointToContinuousIndex ( const PointType point,
ContinuousIndexType cindex 
) const [inline, inherited]

Convert point to continuous index

Definition at line 203 of file itkImageFunction.h.

template<class TInputImage, class TOutput, class TCoordRep = float>
void itk::ImageFunction< TInputImage, TOutput, TCoordRep >::ConvertPointToNearestIndex ( const PointType point,
IndexType index 
) const [inline, inherited]

Convert point to nearest index.

Definition at line 181 of file itkImageFunction.h.

virtual LightObject::Pointer itk::Object::CreateAnother (  )  const [virtual, inherited]

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::LightObject.

virtual void itk::Object::DebugOff (  )  const [virtual, inherited]

Turn debugging output off.

virtual void itk::Object::DebugOn (  )  const [virtual, inherited]

Turn debugging output on.

virtual void itk::LightObject::Delete (  )  [virtual, inherited]

Delete an itk object. This method should always be used to delete an object when the new operator was used to create it. Using the C delete method will not work with reference counting.

template<class TInput, class TOutput>
virtual OutputType itk::FunctionBase< TInput, TOutput >::Evaluate ( const InputType input  )  const [pure virtual, inherited]

Evaluate at the specified input position

Implemented in itk::BinaryThresholdSpatialFunction< TFunction >, itk::BSplineDerivativeKernelFunction< VSplineOrder >, itk::BSplineKernelFunction< VSplineOrder >, itk::GaussianDerivativeSpatialFunction< TOutput, VImageDimension, TInput >, itk::GaussianKernelFunction, itk::GaussianSpatialFunction< TOutput, VImageDimension, TInput >, itk::KernelFunction, itk::Statistics::ErrorFunctionBase< TMeasurementVector, TTargetVector >, itk::Statistics::GaussianRadialBasisFunction< ScalarType >, itk::Statistics::GaussianTransferFunction< ScalarType >, itk::Statistics::HardLimitTransferFunction< ScalarType >, itk::Statistics::IdentityTransferFunction< ScalarType >, itk::Statistics::InputFunctionBase< TMeasurementVector, TTargetVector >, itk::Statistics::LogSigmoidTransferFunction< ScalarType >, itk::Statistics::MeanSquaredErrorFunction< TMeasurementVector, ScalarType >, itk::Statistics::MultiquadricRadialBasisFunction< ScalarType >, itk::Statistics::NNetDistanceMetricBase< TMeasurementVector >, itk::Statistics::ProductInputFunction< TMeasurementVector, ScalarType >, itk::Statistics::RadialBasisFunctionBase< ScalarType >, itk::Statistics::SigmoidTransferFunction< ScalarType >, itk::Statistics::SignedHardLimitTransferFunction< ScalarType >, itk::Statistics::SquaredDifferenceErrorFunction< TMeasurementVector, ScalarType >, itk::Statistics::SumInputFunction< TMeasurementVector, ScalarType >, itk::Statistics::SymmetricSigmoidTransferFunction< ScalarType >, itk::Statistics::TanHTransferFunction< ScalarType >, itk::Statistics::TanSigmoidTransferFunction< ScalarType >, itk::Statistics::TransferFunctionBase< ScalarType >, itk::Statistics::DensityFunction< TMeasurementVector >, itk::Statistics::DistanceMetric< TVector >, itk::Statistics::DistanceToCentroidMembershipFunction< TVector >, itk::Statistics::EuclideanDistance< TVector >, itk::Statistics::GaussianDensityFunction< TMeasurementVector >, itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >, itk::Statistics::MembershipFunctionBase< TVector >, itk::CoxDeBoorBSplineKernelFunction< VSplineOrder >, itk::SpatialFunction< double, VSpaceDimension, itk::Point< TCoordRep, VSpaceDimension > >, itk::Statistics::ErrorFunctionBase< TMeasurementVector, ScalarType >, itk::Statistics::InputFunctionBase< TMeasurementVector, ScalarType >, itk::Statistics::DistanceMetric< itk::Array< double > >, itk::Statistics::EuclideanDistance< itk::Array< double > >, itk::Statistics::MembershipFunctionBase< itk::Array< double > >, and itk::Statistics::MembershipFunctionBase< TMeasurementVector >.

virtual OutputType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::Evaluate ( const PointType point,
unsigned int  threadID 
) const [inline, virtual, inherited]

Definition at line 146 of file itkOptBSplineInterpolateImageFunction.h.

virtual OutputType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::Evaluate ( const PointType point  )  const [inline, virtual, inherited]

Evaluate the function at a ContinuousIndex position.

Returns the B-Spline interpolated image intensity at a specified point position. No bounds checking is done. The point is assume to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

Reimplemented from itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 136 of file itkOptBSplineInterpolateImageFunction.h.

virtual OutputType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::EvaluateAtContinuousIndex ( const ContinuousIndexType index,
unsigned int  threadID 
) const [virtual, inherited]

virtual OutputType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::EvaluateAtContinuousIndex ( const ContinuousIndexType index  )  const [inline, virtual, inherited]

Implements itk::InterpolateImageFunction< TInputImage, TCoordRep >.

Definition at line 155 of file itkOptBSplineInterpolateImageFunction.h.

virtual OutputType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::EvaluateAtContinuousIndex ( const ContinuousIndexType index  )  const [virtual, inherited]

Evaluate the function at a ContinuousIndex position.

Returns the B-Spline interpolated image intensity at a specified point position. No bounds checking is done. The point is assume to lie within the image buffer.

ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.

Implements itk::InterpolateImageFunction< TInputImage, TCoordRep >.

virtual OutputType itk::BSplineInterpolateImageFunction< TImageType , TCoordRep , TImageType::PixelType >::EvaluateAtContinuousIndexInternal ( const ContinuousIndexType index,
vnl_matrix< long > &  evaluateIndex,
vnl_matrix< double > &  weights 
) const [protected, virtual, inherited]

The following methods take working space (evaluateIndex, weights, weightsDerivative) that is managed by the caller. If threadID is known, the working variables are looked up in the thread indexed arrays. If threadID is not known, working variables are made on the stack and passed to these methods. The stack allocation should be ok since these methods do not store the working variables, i.e. they are not expected to be available beyond the scope of the function call.

This was done to allow for two types of re-entrancy. The first is when a threaded filter, e.g. InterpolateImagePointsFilter calls EvaluateAtCon