OTB
9.0.0
Orfeo Toolbox
|
#include <otbBSplineInterpolateImageFunction.h>
Public Types | |
typedef TCoefficientType | CoefficientDataType |
typedef otb::BSplineDecompositionImageFilter< TImageType, CoefficientImageType > | CoefficientFilter |
typedef CoefficientFilter::Pointer | CoefficientFilterPointer |
typedef itk::Image< CoefficientDataType, itkGetStaticConstMacro(ImageDimension)> | CoefficientImageType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::ContinuousIndexType | ContinuousIndexType |
typedef itk::CovariantVector< OutputType, itkGetStaticConstMacro(ImageDimension)> | CovariantVectorType |
typedef Superclass::IndexType | IndexType |
typedef Superclass::InputImageType | InputImageType |
typedef itk::ImageLinearIteratorWithIndex< TImageType > | Iterator |
typedef Superclass::OutputType | OutputType |
typedef itk::SmartPointer< Self > | Pointer |
typedef Superclass::PointType | PointType |
typedef InputImageType::RegionType | RegionType |
typedef BSplineInterpolateImageFunction | Self |
typedef itk::InterpolateImageFunction< TImageType, TCoordRep > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
CovariantVectorType | EvaluateDerivative (const PointType &point) const |
virtual const char * | GetNameOfClass () const |
OutputType | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const override |
CovariantVectorType | EvaluateDerivativeAtContinuousIndex (const ContinuousIndexType &x) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
std::vector< CoefficientDataType > | m_Scratch |
TImageType::SizeType | m_DataLength |
unsigned int | m_SplineOrder |
CoefficientImageType::ConstPointer | m_Coefficients |
Iterator | m_CIterator |
unsigned long | m_MaxNumberInterpolationPoints |
std::vector< IndexType > | m_PointsToIndex |
CoefficientFilterPointer | m_CoefficientFilter |
RegionType | m_CurrentBufferedRegion |
void | SetSplineOrder (unsigned int SplineOrder) |
virtual int | GetSplineOrder () |
void | SetInputImage (const TImageType *inputData) override |
virtual void | UpdateCoefficientsFilter (void) |
BSplineInterpolateImageFunction () | |
~BSplineInterpolateImageFunction () override=default | |
void | operator= (const Self &)=delete |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
BSplineInterpolateImageFunction (const Self &)=delete | |
void | SetInterpolationWeights (const ContinuousIndexType &x, const vnl_matrix< long > &EvaluateIndex, vnl_matrix< double > &weights, unsigned int splineOrder) const |
void | SetDerivativeWeights (const ContinuousIndexType &x, const vnl_matrix< long > &EvaluateIndex, vnl_matrix< double > &weights, unsigned int splineOrder) const |
void | GeneratePointsToIndex () |
void | DetermineRegionOfSupport (vnl_matrix< long > &evaluateIndex, const ContinuousIndexType &x, unsigned int splineOrder) const |
void | ApplyMirrorBoundaryConditions (vnl_matrix< long > &evaluateIndex, unsigned int splineOrder) const |
This class is an evolution of the itk::BSplineInterpolateImageFunction to handle huge images with this interpolator. For more documentation, please refer to the original class.
Definition at line 48 of file otbBSplineInterpolateImageFunction.h.
typedef TCoefficientType otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::CoefficientDataType |
Internal Coefficient typedef support
Definition at line 88 of file otbBSplineInterpolateImageFunction.h.
typedef otb::BSplineDecompositionImageFilter<TImageType, CoefficientImageType> otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::CoefficientFilter |
Define filter for calculating the BSpline coefficients
Definition at line 92 of file otbBSplineInterpolateImageFunction.h.
typedef CoefficientFilter::Pointer otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::CoefficientFilterPointer |
Definition at line 93 of file otbBSplineInterpolateImageFunction.h.
typedef itk::Image<CoefficientDataType, itkGetStaticConstMacro(ImageDimension)> otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::CoefficientImageType |
Definition at line 89 of file otbBSplineInterpolateImageFunction.h.
typedef itk::SmartPointer<const Self> otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::ConstPointer |
Definition at line 55 of file otbBSplineInterpolateImageFunction.h.
typedef Superclass::ContinuousIndexType otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::ContinuousIndexType |
ContinuousIndex typedef support.
Definition at line 79 of file otbBSplineInterpolateImageFunction.h.
typedef itk::CovariantVector<OutputType, itkGetStaticConstMacro(ImageDimension)> otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::CovariantVectorType |
Derivative typedef support
Definition at line 106 of file otbBSplineInterpolateImageFunction.h.
typedef Superclass::IndexType otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::IndexType |
Index typedef support.
Definition at line 73 of file otbBSplineInterpolateImageFunction.h.
typedef Superclass::InputImageType otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::InputImageType |
InputImageType typedef support.
Definition at line 67 of file otbBSplineInterpolateImageFunction.h.
typedef itk::ImageLinearIteratorWithIndex<TImageType> otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::Iterator |
Iterator typedef support
Definition at line 85 of file otbBSplineInterpolateImageFunction.h.
typedef Superclass::OutputType otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::OutputType |
OutputType typedef support.
Definition at line 61 of file otbBSplineInterpolateImageFunction.h.
typedef itk::SmartPointer<Self> otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::Pointer |
Definition at line 54 of file otbBSplineInterpolateImageFunction.h.
typedef Superclass::PointType otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::PointType |
PointType typedef support
Definition at line 82 of file otbBSplineInterpolateImageFunction.h.
typedef InputImageType::RegionType otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::RegionType |
Region typedef support
Definition at line 76 of file otbBSplineInterpolateImageFunction.h.
typedef BSplineInterpolateImageFunction otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::Self |
Standard class typedefs.
Definition at line 52 of file otbBSplineInterpolateImageFunction.h.
typedef itk::InterpolateImageFunction<TImageType, TCoordRep> otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::Superclass |
Definition at line 53 of file otbBSplineInterpolateImageFunction.h.
|
protected |
Constructor
Definition at line 39 of file otbBSplineInterpolateImageFunction.hxx.
References otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::SetSplineOrder().
|
overrideprotecteddefault |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
|
privatedelete |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
|
private |
Set the indices in evaluateIndex at the boundaries based on mirror boundary conditions.
Definition at line 503 of file otbBSplineInterpolateImageFunction.hxx.
virtual::itk::LightObject::Pointer otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::CreateAnother | ( | void | ) | const |
|
private |
Determines the indices to use give the splines region of support
Definition at line 467 of file otbBSplineInterpolateImageFunction.hxx.
|
override |
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.
Definition at line 116 of file otbBSplineInterpolateImageFunction.hxx.
|
inline |
Definition at line 108 of file otbBSplineInterpolateImageFunction.h.
BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::CovariantVectorType otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::EvaluateDerivativeAtContinuousIndex | ( | const ContinuousIndexType & | x | ) | const |
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.
Definition at line 183 of file otbBSplineInterpolateImageFunction.hxx.
|
private |
Precomputation for converting the 1D index of the interpolation neighborhood to an N-dimensional index.
Definition at line 444 of file otbBSplineInterpolateImageFunction.hxx.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
|
static |
New macro for creation of through a Smart Pointer
|
protecteddelete |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
|
overrideprotected |
Standard "PrintSelf" method
Definition at line 52 of file otbBSplineInterpolateImageFunction.hxx.
|
private |
Determines the weights for the derivative portion of the value x
Definition at line 333 of file otbBSplineInterpolateImageFunction.hxx.
|
override |
Set the input image. This must be set by the user.
Definition at line 70 of file otbBSplineInterpolateImageFunction.hxx.
|
private |
Determines the weights for interpolation of the value x
Definition at line 236 of file otbBSplineInterpolateImageFunction.hxx.
void otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::SetSplineOrder | ( | unsigned int | SplineOrder | ) |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
Definition at line 96 of file otbBSplineInterpolateImageFunction.hxx.
Referenced by otb::BSplineInterpolateImageFunction< TImageType, TCoordRep, TCoefficientType >::BSplineInterpolateImageFunction().
|
virtual |
Update coefficients filter. Coefficient filter are computed over the buffered region of the input image.
Definition at line 60 of file otbBSplineInterpolateImageFunction.hxx.
|
static |
Dimension underlying input image.
Definition at line 70 of file otbBSplineInterpolateImageFunction.h.
|
private |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
Definition at line 164 of file otbBSplineInterpolateImageFunction.h.
|
private |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
Definition at line 168 of file otbBSplineInterpolateImageFunction.h.
|
protected |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
Definition at line 142 of file otbBSplineInterpolateImageFunction.h.
|
private |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
Definition at line 170 of file otbBSplineInterpolateImageFunction.h.
|
protected |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
Definition at line 139 of file otbBSplineInterpolateImageFunction.h.
|
private |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
Definition at line 165 of file otbBSplineInterpolateImageFunction.h.
|
private |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
Definition at line 166 of file otbBSplineInterpolateImageFunction.h.
|
protected |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
Definition at line 138 of file otbBSplineInterpolateImageFunction.h.
|
protected |
Get/Sets the Spline Order, supports 0th - 5th order splines. The default is a 3rd order spline.
Definition at line 140 of file otbBSplineInterpolateImageFunction.h.