#include <itkBSplineResampleImageFunction.h>
Inheritance diagram for itk::BSplineResampleImageFunction< TImageType, TCoordRep >:


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.
Definition at line 48 of file itkBSplineResampleImageFunction.h.
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.
| 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.
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.
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.
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.
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.
| 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.
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.
| 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.
| 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.
| itk::BSplineResampleImageFunction< TImageType, TCoordRep >::BSplineResampleImageFunction | ( | ) | [inline, protected] |
Definition at line 81 of file itkBSplineResampleImageFunction.h.
| virtual itk::BSplineResampleImageFunction< TImageType, TCoordRep >::~BSplineResampleImageFunction | ( | ) | [inline, protected, virtual] |
Definition at line 82 of file itkBSplineResampleImageFunction.h.
| 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.
| 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.
| 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.
| 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.
| 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.
| 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