ITK
6.0.0
Insight Toolkit
|
#include <itkBSplineResampleImageFunction.h>
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.
Definition at line 57 of file itkBSplineResampleImageFunction.h.
Public Member Functions | |
const char * | GetNameOfClass () const override |
void | SetInputImage (const TImageType *inputData) override |
Public Member Functions inherited from itk::BSplineInterpolateImageFunction< TImageType, float, TImageType::PixelType > | |
virtual OutputType | Evaluate (const PointType &point, ThreadIdType threadId) const |
OutputType | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const override |
virtual OutputType | EvaluateAtContinuousIndex (const ContinuousIndexType &x, 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 &derivativeValue, ThreadIdType threadId) const |
const char * | GetNameOfClass () const override |
virtual ThreadIdType | GetNumberOfWorkUnits () const |
SizeType | GetRadius () const override |
virtual unsigned int | GetSplineOrder () const |
void | SetInputImage (const TImageType *inputData) override |
void | SetNumberOfWorkUnits (ThreadIdType numThreads) |
void | SetSplineOrder (unsigned int SplineOrder) |
OutputType | Evaluate (const PointType &point) const override |
virtual void | SetUseImageDirection (bool _arg) |
virtual bool | GetUseImageDirection () const |
virtual void | UseImageDirectionOn () |
Public Member Functions inherited from itk::InterpolateImageFunction< TImageType, float > | |
OutputType | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const override=0 |
OutputType | EvaluateAtIndex (const IndexType &index) const override |
const char * | GetNameOfClass () const override |
virtual SizeType | GetRadius () const=0 |
OutputType | Evaluate (const PointType &point) const override |
Public Member Functions inherited from itk::ImageFunction< TImageType, NumericTraits< TInputImage::PixelType >::RealType, float > | |
void | ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const |
void | ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const |
OutputType | Evaluate (const PointType &point) const override=0 |
virtual NumericTraits< TInputImage::PixelType >::RealType | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const=0 |
virtual NumericTraits< TInputImage::PixelType >::RealType | EvaluateAtIndex (const IndexType &index) const=0 |
virtual const ContinuousIndexType & | GetEndContinuousIndex () const |
virtual const IndexType & | GetEndIndex () const |
const InputImageType * | GetInputImage () const |
const char * | GetNameOfClass () const override |
virtual const ContinuousIndexType & | GetStartContinuousIndex () const |
virtual const IndexType & | GetStartIndex () const |
virtual void | SetInputImage (const InputImageType *ptr) |
virtual bool | IsInsideBuffer (const IndexType &index) const |
virtual bool | IsInsideBuffer (const ContinuousIndexType &index) const |
virtual bool | IsInsideBuffer (const PointType &point) const |
void | ConvertPointToNearestIndex (const PointType &point, IndexType &index) const |
virtual OutputType | Evaluate (const InputType &input) const=0 |
const char * | GetNameOfClass () const override |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
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 |
const char * | GetNameOfClass () const override |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual const char * | GetNameOfClass () const |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::BSplineInterpolateImageFunction< TImageType, float, TImageType::PixelType > | |
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 val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
BSplineResampleImageFunction ()=default | |
~BSplineResampleImageFunction () override=default | |
Protected Member Functions inherited from itk::BSplineInterpolateImageFunction< TImageType, float, TImageType::PixelType > | |
BSplineInterpolateImageFunction () | |
virtual OutputType | EvaluateAtContinuousIndexInternal (const ContinuousIndexType &x, 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 override |
~BSplineInterpolateImageFunction () override=default | |
Protected Member Functions inherited from itk::InterpolateImageFunction< TImageType, float > | |
InterpolateImageFunction ()=default | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~InterpolateImageFunction () override=default | |
Protected Member Functions inherited from itk::ImageFunction< TImageType, NumericTraits< TInputImage::PixelType >::RealType, float > | |
ImageFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~ImageFunction () override=default | |
Protected Member Functions inherited from itk::FunctionBase< Point< float, TInputImage::ImageDimension >, NumericTraits< TInputImage::PixelType >::RealType > | |
FunctionBase ()=default | |
~FunctionBase () override=default | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
using itk::BSplineResampleImageFunction< TImageType, TCoordRep >::ConstPointer = SmartPointer<const Self> |
Definition at line 68 of file itkBSplineResampleImageFunction.h.
using itk::BSplineResampleImageFunction< TImageType, TCoordRep >::Pointer = SmartPointer<Self> |
Definition at line 67 of file itkBSplineResampleImageFunction.h.
using itk::BSplineResampleImageFunction< TImageType, TCoordRep >::Self = BSplineResampleImageFunction |
Standard class type aliases.
Definition at line 64 of file itkBSplineResampleImageFunction.h.
using itk::BSplineResampleImageFunction< TImageType, TCoordRep >::Superclass = BSplineInterpolateImageFunction<TImageType, TCoordRep, typename TImageType::PixelType> |
Definition at line 65 of file itkBSplineResampleImageFunction.h.
|
protecteddefault |
|
overrideprotecteddefault |
|
overridevirtual |
Reimplemented from itk::Object.
|
static |
New macro for creation of through a Smart Pointer
|
inlineoverridevirtual |
Set the input image representing the BSplineCoefficients
Reimplemented from itk::ImageFunction< TImageType, NumericTraits< TInputImage::PixelType >::RealType, float >.
Definition at line 78 of file itkBSplineResampleImageFunction.h.
References itk::SmartPointer< TObjectType >::IsNotNull(), itk::BSplineInterpolateImageFunction< TImageType, float, TImageType::PixelType >::m_Coefficients, itk::BSplineInterpolateImageFunction< TImageType, float, TImageType::PixelType >::m_DataLength, and itk::ImageFunction< TInputImage, NumericTraits< TInputImage::PixelType >::RealType, double >::SetInputImage().