OTB
9.0.0
Orfeo Toolbox
|
#include <otbGenericInterpolateImageFunction.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef Superclass::ContinuousIndexType | ContinuousIndexType |
typedef TFunction | FunctionType |
typedef Superclass::IndexType | IndexType |
typedef Superclass::InputImageType | InputImageType |
typedef itk::ConstNeighborhoodIterator< InputImageType, TBoundaryCondition > | IteratorType |
typedef Superclass::OutputType | OutputType |
typedef itk::SmartPointer< Self > | Pointer |
typedef Superclass::RealType | RealType |
typedef GenericInterpolateImageFunction | Self |
typedef InputImageType::SizeType | SizeType |
typedef itk::InterpolateImageFunction< TInputImage, TCoordRep > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
OutputType | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const override |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = Superclass::ImageDimension |
unsigned int | m_WindowSize |
FunctionType | m_Function |
unsigned int | m_ImageDimension |
unsigned int | m_OffsetTableSize |
unsigned int * | m_OffsetTable |
unsigned int ** | m_WeightOffsetTable |
bool | m_TablesHaveBeenGenerated |
bool | m_NormalizeWeight |
virtual void | SetRadius (unsigned int rad) |
virtual unsigned int | GetRadius () const |
virtual FunctionType & | GetFunction (void) |
virtual void | Initialize () |
virtual void | SetNormalizeWeight (bool _arg) |
virtual bool | GetNormalizeWeight () |
GenericInterpolateImageFunction () | |
~GenericInterpolateImageFunction () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | Modified (void) const override |
virtual void | ResetOffsetTable () |
virtual void | InitializeTables () |
virtual void | FillWeightOffsetTable () |
GenericInterpolateImageFunction (const Self &)=delete | |
void | operator= (const Self &)=delete |
Generic interpolation of an otb::Image.
GenericInterpolateImageFunction interpolates image intensity according to a resampling profil.
The Initialize() method need to be call to create the filter.
Definition at line 44 of file otbGenericInterpolateImageFunction.h.
typedef itk::SmartPointer<const Self> otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::ConstPointer |
Definition at line 51 of file otbGenericInterpolateImageFunction.h.
typedef Superclass::ContinuousIndexType otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::ContinuousIndexType |
ContinuousIndex typedef support.
Definition at line 74 of file otbGenericInterpolateImageFunction.h.
typedef TFunction otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::FunctionType |
Definition at line 70 of file otbGenericInterpolateImageFunction.h.
typedef Superclass::IndexType otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::IndexType |
Dimension underlying input image. Index and typedef support.
Definition at line 67 of file otbGenericInterpolateImageFunction.h.
typedef Superclass::InputImageType otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::InputImageType |
Definition at line 61 of file otbGenericInterpolateImageFunction.h.
typedef itk::ConstNeighborhoodIterator<InputImageType, TBoundaryCondition> otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::IteratorType |
Definition at line 71 of file otbGenericInterpolateImageFunction.h.
typedef Superclass::OutputType otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::OutputType |
Input and output images typedef definition.
Definition at line 57 of file otbGenericInterpolateImageFunction.h.
typedef itk::SmartPointer<Self> otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::Pointer |
Definition at line 50 of file otbGenericInterpolateImageFunction.h.
typedef Superclass::RealType otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::RealType |
Definition at line 69 of file otbGenericInterpolateImageFunction.h.
typedef GenericInterpolateImageFunction otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::Self |
Standard class typedefs.
Definition at line 48 of file otbGenericInterpolateImageFunction.h.
typedef InputImageType::SizeType otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::SizeType |
Definition at line 68 of file otbGenericInterpolateImageFunction.h.
typedef itk::InterpolateImageFunction<TInputImage, TCoordRep> otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::Superclass |
Definition at line 49 of file otbGenericInterpolateImageFunction.h.
|
protected |
Constructor
Definition at line 31 of file otbGenericInterpolateImageFunction.hxx.
|
overrideprotected |
Destructor
Definition at line 44 of file otbGenericInterpolateImageFunction.hxx.
|
privatedelete |
Store the window radius.
virtual::itk::LightObject::Pointer otb::GenericInterpolateImageFunction< TInputImage, TFunction, TBoundaryCondition, TCoordRep >::CreateAnother | ( | void | ) | const |
|
override |
Evaluate the function at a ContinuousIndex position
Returns the 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.
Evaluate at image index position
Definition at line 182 of file otbGenericInterpolateImageFunction.hxx.
|
protectedvirtual |
Fill the weight offset table
Definition at line 114 of file otbGenericInterpolateImageFunction.hxx.
|
inlinevirtual |
Set/Get the window radius Get the functor list
Definition at line 103 of file otbGenericInterpolateImageFunction.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented in otb::WindowedSincInterpolateImageFunctionBase< TInputImage, Function::GaussianWindowFunction< double, double >, itk::ZeroFluxNeumannBoundaryCondition< TInputImage >, double >, otb::WindowedSincInterpolateImageFunctionBase< TInputImage, Function::WelchWindowFunction< double, double >, itk::ConstantBoundaryCondition< TInputImage >, double >, otb::WindowedSincInterpolateImageFunctionBase< TInputImage, Function::BlackmanWindowFunction< double, double >, itk::ConstantBoundaryCondition< TInputImage >, double >, otb::WindowedSincInterpolateImageFunctionBase< TInputImage, Function::LanczosWindowFunction< double, double >, itk::ConstantBoundaryCondition< TInputImage >, double >, otb::WindowedSincInterpolateImageFunctionBase< TInputImage, Function::CosineWindowFunction< double, double >, itk::ConstantBoundaryCondition< TInputImage >, double >, and otb::WindowedSincInterpolateImageFunctionBase< TInputImage, Function::HammingWindowFunction< double, double >, itk::ConstantBoundaryCondition< TInputImage >, double >.
|
virtual |
Store the window radius.
|
inlinevirtual |
Store the window radius.
Definition at line 91 of file otbGenericInterpolateImageFunction.h.
|
virtual |
Initialize tables: need to be call explicitly
Definition at line 167 of file otbGenericInterpolateImageFunction.hxx.
|
protectedvirtual |
Initialize used tables
Definition at line 91 of file otbGenericInterpolateImageFunction.hxx.
|
overrideprotected |
Call the superclass implementation and set the TablesHaveBeenGenerated flag to false
Definition at line 83 of file otbGenericInterpolateImageFunction.hxx.
|
static |
Method for creation through the object factory.
|
privatedelete |
Store the window radius.
|
overrideprotected |
Store the window radius.
Definition at line 312 of file otbGenericInterpolateImageFunction.hxx.
|
protectedvirtual |
Delete tables.
Delete every tables.
Definition at line 51 of file otbGenericInterpolateImageFunction.hxx.
|
virtual |
Weights normalization accessors
|
virtual |
Set/Get the window radius
Definition at line 74 of file otbGenericInterpolateImageFunction.hxx.
|
static |
Dimension underlying input image.
Definition at line 77 of file otbGenericInterpolateImageFunction.h.
|
private |
Used function
Definition at line 143 of file otbGenericInterpolateImageFunction.h.
|
private |
Store the image dimension.
Definition at line 146 of file otbGenericInterpolateImageFunction.h.
|
private |
Weights normalization
Definition at line 166 of file otbGenericInterpolateImageFunction.h.
|
mutableprivate |
The offset array, used to keep a list of relevant offsets in the neihborhoodIterator
Definition at line 157 of file otbGenericInterpolateImageFunction.h.
|
mutableprivate |
These members are declared mutable so that they can be regenerated seamlessly inside the EvaluateAtContinuousIndex method if they need to Size of the offset table
Definition at line 153 of file otbGenericInterpolateImageFunction.h.
|
mutableprivate |
True if internal statistics have been generated
Definition at line 163 of file otbGenericInterpolateImageFunction.h.
|
mutableprivate |
Index into the weights array for each offset
Definition at line 160 of file otbGenericInterpolateImageFunction.h.
|
private |
Store the window radius.
Definition at line 140 of file otbGenericInterpolateImageFunction.h.