![]() |
OTB
10.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 itk::InterpolateImageFunction< TInputImage, TCoordRep >::SizeType | 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 60 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 105 of file otbGenericInterpolateImageFunction.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented in otb::WindowedSincInterpolateImageWelchFunction< TInputImage, TBoundaryCondition, TCoordRep, TInputInterpolator, TOutputInterpolator >, otb::WindowedSincInterpolateImageLanczosFunction< TInputImage, TBoundaryCondition, TCoordRep, TInputInterpolator, TOutputInterpolator >, otb::WindowedSincInterpolateImageHammingFunction< TInputImage, TBoundaryCondition, TCoordRep, TInputInterpolator, TOutputInterpolator >, otb::WindowedSincInterpolateImageGaussianFunction< TInputImage, TBoundaryCondition, TCoordRep, TInputInterpolator, TOutputInterpolator >, otb::WindowedSincInterpolateImageFunctionBase< TInputImage, TWindowFunction, TBoundaryCondition, TCoordRep >, 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 >, otb::WindowedSincInterpolateImageFunctionBase< TInputImage, Function::HammingWindowFunction< double, double >, itk::ConstantBoundaryCondition< TInputImage >, double >, otb::WindowedSincInterpolateImageCosineFunction< TInputImage, TBoundaryCondition, TCoordRep, TInputInterpolator, TOutputInterpolator >, otb::WindowedSincInterpolateImageBlackmanFunction< TInputImage, TBoundaryCondition, TCoordRep, TInputInterpolator, TOutputInterpolator >, and otb::ProlateInterpolateImageFunction< TInputImage, TBoundaryCondition, TCoordRep, TInputInterpolator, TOutputInterpolator >.
|
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 145 of file otbGenericInterpolateImageFunction.h.
|
private |
Store the image dimension.
Definition at line 148 of file otbGenericInterpolateImageFunction.h.
|
private |
Weights normalization
Definition at line 168 of file otbGenericInterpolateImageFunction.h.
|
mutableprivate |
The offset array, used to keep a list of relevant offsets in the neihborhoodIterator
Definition at line 159 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 155 of file otbGenericInterpolateImageFunction.h.
|
mutableprivate |
True if internal statistics have been generated
Definition at line 165 of file otbGenericInterpolateImageFunction.h.
|
mutableprivate |
Index into the weights array for each offset
Definition at line 162 of file otbGenericInterpolateImageFunction.h.
|
private |
Store the window radius.
Definition at line 142 of file otbGenericInterpolateImageFunction.h.