template<typename TImageType, typename 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
- Examples
- Examples/RegistrationITKv4/DeformableRegistration15.cxx.
Definition at line 57 of file itkBSplineResampleImageFunction.h.
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = BSplineResampleImageFunction |
|
using | Superclass = BSplineInterpolateImageFunction< TImageType, TCoordRep, typename TImageType::PixelType > |
|
using | CoefficientDataType = TImageType::PixelType |
|
using | CoefficientFilter = BSplineDecompositionImageFilter< TImageType, CoefficientImageType > |
|
using | CoefficientFilterPointer = typename CoefficientFilter::Pointer |
|
using | CoefficientImageType = Image< CoefficientDataType, Self::ImageDimension > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | CovariantVectorType = CovariantVector< OutputType, Self::ImageDimension > |
|
using | Iterator = ImageLinearIteratorWithIndex< TImageType > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = BSplineInterpolateImageFunction |
|
using | Superclass = InterpolateImageFunction< TImageType, TCoordRep > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | RealType = typename NumericTraits< typename TImageType ::PixelType >::RealType |
|
using | Self = InterpolateImageFunction |
|
using | SizeType = typename InputImageType::SizeType |
|
using | Superclass = ImageFunction< TImageType, typename NumericTraits< typename TImageType ::PixelType >::RealType, TCoordRep > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | ContinuousIndexType = ContinuousIndex< TCoordRep, Self::ImageDimension > |
|
using | CoordRepType = TCoordRep |
|
using | IndexType = typename InputImageType::IndexType |
|
using | IndexValueType = typename InputImageType::IndexValueType |
|
using | InputImageConstPointer = typename InputImageType::ConstPointer |
|
using | InputImageType = TImageType |
|
using | InputPixelType = typename InputImageType::PixelType |
|
using | OutputType = NumericTraits< TImageType ::PixelType >::RealType |
|
using | Pointer = SmartPointer< Self > |
|
using | PointType = Point< TCoordRep, Self::ImageDimension > |
|
using | Self = ImageFunction |
|
using | Superclass = FunctionBase< Point< TCoordRep, Self::ImageDimension >, NumericTraits< TImageType ::PixelType >::RealType > |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | InputType = Point< TCoordRep, TImageType ::ImageDimension > |
|
using | OutputType = NumericTraits< TImageType ::PixelType >::RealType |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = FunctionBase |
|
using | Superclass = Object |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = Object |
|
using | Superclass = LightObject |
|
using | ConstPointer = SmartPointer< const Self > |
|
using | Pointer = SmartPointer< Self > |
|
using | Self = LightObject |
|
|
virtual const char * | GetNameOfClass () const |
|
|
void | SetInputImage (const TImageType *inputData) override |
|
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 |
|
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 () |
|
OutputType | EvaluateAtIndex (const IndexType &index) const override |
|
OutputType | Evaluate (const PointType &point) const override |
|
void | ConvertContinuousIndexToNearestIndex (const ContinuousIndexType &cindex, IndexType &index) const |
|
void | ConvertPointToContinuousIndex (const PointType &point, ContinuousIndexType &cindex) const |
|
virtual const ContinuousIndexType & | GetEndContinuousIndex () const |
|
virtual const IndexType & | GetEndIndex () const |
|
const InputImageType * | GetInputImage () const |
|
virtual const ContinuousIndexType & | GetStartContinuousIndex () const |
|
virtual const IndexType & | GetStartIndex () const |
|
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 |
|
unsigned long | AddObserver (const EventObject &event, Command *) |
|
unsigned long | AddObserver (const EventObject &event, Command *) 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 |
|
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) |
|
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 |
|
Pointer | Clone () const |
|
virtual void | Delete () |
|
virtual int | GetReferenceCount () const |
|
| itkTypeMacroNoParent (LightObject) |
|
void | Print (std::ostream &os, Indent indent=0) const |
|
|
| BSplineResampleImageFunction ()=default |
|
| ~BSplineResampleImageFunction () override=default |
|
| 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 |
|
| InterpolateImageFunction ()=default |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
| ~InterpolateImageFunction () override=default |
|
| ImageFunction () |
|
| ~ImageFunction () override=default |
|
| FunctionBase ()=default |
|
| ~FunctionBase () override=default |
|
| Object () |
|
bool | PrintObservers (std::ostream &os, Indent indent) const |
|
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
|
| ~Object () override |
|
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 () |
|