OTB  9.0.0
Orfeo Toolbox
Public Types | Public Member Functions | List of all members
otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType > Class Template Reference

#include <otbStreamingMosaicFilterBase.h>

+ Inheritance diagram for otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >:
+ Collaboration diagram for otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >:

Public Types

typedef itk::ImageRegionConstIterator< OutputImageTypeConstIteratorType
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef itk::ContinuousIndex< double, 2 > ContinuousIndexType
 
typedef itk::NearestNeighborInterpolateImageFunction< InputImageType, InternalValueTypeDefaultInterpolatorType
 
typedef std::vector< unsigned int > IndicesListType
 
typedef InputImageType::IndexType InputImageIndexType
 
typedef InputImageType::InternalPixelType InputImageInternalPixelType
 
typedef InputImageType::PixelType InputImagePixelType
 
typedef InputImageType::ConstPointer InputImagePointer
 
typedef InputImageType::PointType InputImagePointType
 
typedef InputImageType::RegionType InputImageRegionType
 
typedef InputImageType::SizeType InputImageSizeType
 
typedef InputImageType::SpacingType InputImageSpacingType
 
typedef TInputImage InputImageType
 
typedef otb::VectorImage< InternalValueType, 2 > InternalImageType
 
typedef InternalImageType::PixelType InternalPixelType
 
typedef TInternalValueType InternalValueType
 
typedef InterpolatorType::Pointer InterpolatorPointerType
 
typedef itk::InterpolateImageFunction< InputImageType, InternalValueTypeInterpolatorType
 
typedef itk::ImageRegionIterator< OutputImageTypeIteratorType
 
typedef vnl_matrix< InternalValueTypeMatrixType
 
typedef OutputImageType::IndexType OutputImageIndexType
 
typedef OutputImageType::InternalPixelType OutputImageInternalPixelType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::PointType OutputImagePointType
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef OutputImageType::SizeType OutputImageSizeType
 
typedef OutputImageType::SpacingType OutputImageSpacingType
 
typedef TOutputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef StreamingMosaicFilterBase Self
 
typedef otb::StreamingTraits< OutputImageTypeStreamingTraitsType
 
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass
 

Public Member Functions

virtual const char * GetNameOfClass () const
 
InterpolatorPointerType m_Interpolator
 
OutputImagePixelType m_NoDataOutputPixel
 
InputImagePixelType m_NoDataInputPixel
 
OutputImageSpacingType m_OutputSpacing
 
OutputImagePointType m_OutputOrigin
 
OutputImageSizeType m_OutputSize
 
bool m_AutomaticOutputParametersComputation
 
bool m_ShiftScaleInputImages
 
MatrixType m_ShiftMatrix
 
MatrixType m_ScaleMatrix
 
unsigned int nbOfBands
 
unsigned int interpolatorRadius
 
IndicesListType usedInputIndices
 
InternalValueType minOutputPixelValue
 
InternalValueType maxOutputPixelValue
 
virtual void SetInterpolator (InterpolatorType *_arg)
 
 itkGetObjectMacro (Interpolator, InterpolatorType)
 
virtual void SetNoDataOutputPixel (OutputImagePixelType _arg)
 
virtual OutputImagePixelType GetNoDataOutputPixel ()
 
virtual void SetNoDataInputPixel (InputImagePixelType _arg)
 
virtual InputImagePixelType GetNoDataInputPixel ()
 
virtual void SetOutputSpacing (OutputImageSpacingType _arg)
 
virtual OutputImageSpacingType GetOutputSpacing ()
 
virtual void SetOutputOrigin (OutputImagePointType _arg)
 
virtual OutputImagePointType GetOutputOrigin ()
 
virtual void SetOutputSize (OutputImageSizeType _arg)
 
virtual OutputImageSizeType GetOutputSize ()
 
virtual void SetAutomaticOutputParametersComputation (bool _arg)
 
virtual bool GetAutomaticOutputParametersComputation ()
 
virtual void SetShiftScaleInputImages (bool _arg)
 
virtual bool GetShiftScaleInputImages ()
 
virtual void ShiftScaleInputImagesOn ()
 
virtual void ShiftScaleInputImagesOff ()
 
virtual void SetShiftMatrix (MatrixType shiftMatrix)
 
virtual void SetScaleMatrix (MatrixType scaleMatrix)
 
virtual MatrixType GetShiftMatrix ()
 
virtual MatrixType GetScaleMatrix ()
 
 StreamingMosaicFilterBase ()
 
 ~StreamingMosaicFilterBase ()
 
void GenerateOutputInformation (void) override
 
void GenerateInputRequestedRegion (void) override
 
void AfterThreadedGenerateData () override
 
void BeforeThreadedGenerateData () override
 
virtual void ImageToExtent (InputImageType *image, InputImagePointType &extentInf, InputImagePointType &extentSup)
 
virtual bool OutputRegionToInputRegion (const OutputImageRegionType &mosaicRegion, InputImageRegionType &inputRegion, InputImageType *&inputImage)
 
virtual void NormalizePixelValue (InternalValueType &pixelValue)
 
virtual bool IsPixelNotEmpty (InputImagePixelType &inputPixel)
 
virtual void AddUsedInputImageIndex (unsigned int index)
 
virtual unsigned int GetUsedInputImageIndice (unsigned int i)
 
virtual unsigned int GetNumberOfUsedInputImages ()
 
virtual void ComputeOutputParameters ()
 
virtual unsigned int GetNumberOfInputImages ()
 
virtual unsigned int GetNumberOfBands ()
 
virtual void ComputeRequestedRegionOfInputImage (unsigned int inputImageIndex)
 
virtual void ShiftScaleValue (InternalValueType &value, const unsigned int &imageIndex, unsigned int &band)
 
virtual void CheckShiftScaleMatrices ()
 
virtual void PrepareImageAccessors (typename std::vector< InputImageType * > &image, typename std::vector< InterpolatorPointerType > &interpolator)
 
 StreamingMosaicFilterBase (const Self &)
 
void operator= (const Self &)
 

Detailed Description

template<class TInputImage, class TOutputImage = TInputImage, class TInternalValueType = double>
class otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >

Base class for mosaic filters. Computes the total extent of multiple inputs, and provide routines to compute whether or not an input image region must be requested.

The otb::StreamingMosaicFilterBase allows to compute what the final mosaic of multiple input of otb::VectorImage is, and provide the requested regions of input images. There is a shift-scale mode which allows to shift-scale input images, which can be useful e.g. color or radiometric harmonization of input set of images. The output spacing (SetOutputSpacing()), the start index (SetOutputIndex()) and the interpolator (SetInterpolator()) and the origin (SetOrigin()) can be set using the method between brackets.

Definition at line 54 of file otbStreamingMosaicFilterBase.h.

Member Typedef Documentation

◆ ConstIteratorType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef itk::ImageRegionConstIterator<OutputImageType> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::ConstIteratorType

Definition at line 97 of file otbStreamingMosaicFilterBase.h.

◆ ConstPointer

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef itk::SmartPointer<const Self> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::ConstPointer

Definition at line 61 of file otbStreamingMosaicFilterBase.h.

◆ ContinuousIndexType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef itk::ContinuousIndex<double, 2> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::ContinuousIndexType

Definition at line 90 of file otbStreamingMosaicFilterBase.h.

◆ DefaultInterpolatorType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef itk::NearestNeighborInterpolateImageFunction<InputImageType, InternalValueType> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::DefaultInterpolatorType

Definition at line 93 of file otbStreamingMosaicFilterBase.h.

◆ IndicesListType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef std::vector<unsigned int> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::IndicesListType

Typedef for input images indices TODO maybe use a itk class instead of std::vector ?

Definition at line 102 of file otbStreamingMosaicFilterBase.h.

◆ InputImageIndexType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef InputImageType::IndexType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImageIndexType

Definition at line 72 of file otbStreamingMosaicFilterBase.h.

◆ InputImageInternalPixelType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef InputImageType::InternalPixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImageInternalPixelType

Definition at line 75 of file otbStreamingMosaicFilterBase.h.

◆ InputImagePixelType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef InputImageType::PixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImagePixelType

Definition at line 70 of file otbStreamingMosaicFilterBase.h.

◆ InputImagePointer

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef InputImageType::ConstPointer otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImagePointer

Definition at line 68 of file otbStreamingMosaicFilterBase.h.

◆ InputImagePointType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef InputImageType::PointType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImagePointType

Definition at line 71 of file otbStreamingMosaicFilterBase.h.

◆ InputImageRegionType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef InputImageType::RegionType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImageRegionType

Definition at line 69 of file otbStreamingMosaicFilterBase.h.

◆ InputImageSizeType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef InputImageType::SizeType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImageSizeType

Definition at line 73 of file otbStreamingMosaicFilterBase.h.

◆ InputImageSpacingType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef InputImageType::SpacingType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImageSpacingType

Definition at line 74 of file otbStreamingMosaicFilterBase.h.

◆ InputImageType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef TInputImage otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImageType

Input image typedefs.

Definition at line 64 of file otbStreamingMosaicFilterBase.h.

◆ InternalImageType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef otb::VectorImage<InternalValueType, 2> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InternalImageType

Definition at line 94 of file otbStreamingMosaicFilterBase.h.

◆ InternalPixelType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef InternalImageType::PixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InternalPixelType

Definition at line 95 of file otbStreamingMosaicFilterBase.h.

◆ InternalValueType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef TInternalValueType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InternalValueType

Internal computing typedefs

Definition at line 89 of file otbStreamingMosaicFilterBase.h.

◆ InterpolatorPointerType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef InterpolatorType::Pointer otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InterpolatorPointerType

Definition at line 92 of file otbStreamingMosaicFilterBase.h.

◆ InterpolatorType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef itk::InterpolateImageFunction<InputImageType, InternalValueType> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InterpolatorType

Definition at line 91 of file otbStreamingMosaicFilterBase.h.

◆ IteratorType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef itk::ImageRegionIterator<OutputImageType> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::IteratorType

Definition at line 96 of file otbStreamingMosaicFilterBase.h.

◆ MatrixType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef vnl_matrix<InternalValueType> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::MatrixType

Typedef for matrices

Definition at line 105 of file otbStreamingMosaicFilterBase.h.

◆ OutputImageIndexType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef OutputImageType::IndexType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImageIndexType

Definition at line 81 of file otbStreamingMosaicFilterBase.h.

◆ OutputImageInternalPixelType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef OutputImageType::InternalPixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImageInternalPixelType

Definition at line 86 of file otbStreamingMosaicFilterBase.h.

◆ OutputImagePixelType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef OutputImageType::PixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImagePixelType

Definition at line 85 of file otbStreamingMosaicFilterBase.h.

◆ OutputImagePointer

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef OutputImageType::Pointer otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImagePointer

Definition at line 79 of file otbStreamingMosaicFilterBase.h.

◆ OutputImagePointType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef OutputImageType::PointType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImagePointType

Definition at line 82 of file otbStreamingMosaicFilterBase.h.

◆ OutputImageRegionType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef OutputImageType::RegionType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImageRegionType

Definition at line 80 of file otbStreamingMosaicFilterBase.h.

◆ OutputImageSizeType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef OutputImageType::SizeType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImageSizeType

Definition at line 83 of file otbStreamingMosaicFilterBase.h.

◆ OutputImageSpacingType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef OutputImageType::SpacingType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImageSpacingType

Definition at line 84 of file otbStreamingMosaicFilterBase.h.

◆ OutputImageType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef TOutputImage otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImageType

Output image typedefs typedefs.

Definition at line 78 of file otbStreamingMosaicFilterBase.h.

◆ Pointer

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef itk::SmartPointer<Self> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::Pointer

Definition at line 60 of file otbStreamingMosaicFilterBase.h.

◆ Self

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef StreamingMosaicFilterBase otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::Self

Standard class typedef

Definition at line 58 of file otbStreamingMosaicFilterBase.h.

◆ StreamingTraitsType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef otb::StreamingTraits<OutputImageType> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::StreamingTraitsType

Definition at line 98 of file otbStreamingMosaicFilterBase.h.

◆ Superclass

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::Superclass

Definition at line 59 of file otbStreamingMosaicFilterBase.h.

Constructor & Destructor Documentation

◆ StreamingMosaicFilterBase() [1/2]

template<class TInputImage , class TOutputImage , class TInternalValueType >
otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::StreamingMosaicFilterBase
protected

Internal

Definition at line 31 of file otbStreamingMosaicFilterBase.hxx.

◆ ~StreamingMosaicFilterBase()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::~StreamingMosaicFilterBase ( )
inlineprotected

Internal

Definition at line 171 of file otbStreamingMosaicFilterBase.h.

◆ StreamingMosaicFilterBase() [2/2]

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::StreamingMosaicFilterBase ( const Self )
private

Internal

Member Function Documentation

◆ AddUsedInputImageIndex()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::AddUsedInputImageIndex ( unsigned int  index)
inlineprotectedvirtual

◆ AfterThreadedGenerateData()

template<class TInputImage , class TOutputImage , class TInternalValueType >
void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::AfterThreadedGenerateData
overrideprotected

Setup state of filter after multi-threading.

Definition at line 421 of file otbStreamingMosaicFilterBase.hxx.

◆ BeforeThreadedGenerateData()

template<class TInputImage , class TOutputImage , class TInternalValueType >
void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::BeforeThreadedGenerateData
overrideprotected

Setup state of filter before multi-threading. InterpolatorType::SetInputImage is not thread-safe and hence has to be setup before ThreadedGenerateData

Definition at line 408 of file otbStreamingMosaicFilterBase.hxx.

◆ CheckShiftScaleMatrices()

template<class TInputImage , class TOutputImage , class TInternalValueType >
void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::CheckShiftScaleMatrices
protectedvirtual

Check the shift scale matrices

Check if scales and shifts are good

Definition at line 167 of file otbStreamingMosaicFilterBase.hxx.

◆ ComputeOutputParameters()

template<class TInputImage , class TOutputImage , class TInternalValueType >
void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::ComputeOutputParameters
protectedvirtual

Compute output mosaic parameters (size, spacing, origin, ...)

Definition at line 206 of file otbStreamingMosaicFilterBase.hxx.

◆ ComputeRequestedRegionOfInputImage()

template<class TInputImage , class TOutputImage , class TInternalValueType >
void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::ComputeRequestedRegionOfInputImage ( unsigned int  inputImageIndex)
protectedvirtual

Compute the requested region of a given input image

Definition at line 122 of file otbStreamingMosaicFilterBase.hxx.

◆ GenerateInputRequestedRegion()

template<class TInputImage , class TOutputImage , class TInternalValueType >
void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GenerateInputRequestedRegion ( void  )
overrideprotected

Generate the input requested region and the used input images list

Definition at line 154 of file otbStreamingMosaicFilterBase.hxx.

◆ GenerateOutputInformation()

template<class TInputImage , class TOutputImage , class TInternalValueType >
void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GenerateOutputInformation ( void  )
overrideprotected

Methods

Generates output information: size, spacing, etc. Default behavior: the output spacing is the min or all input images

Definition at line 257 of file otbStreamingMosaicFilterBase.hxx.

◆ GetAutomaticOutputParametersComputation()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual bool otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetAutomaticOutputParametersComputation ( )
virtual

Internal

◆ GetNameOfClass()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual const char* otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetNameOfClass ( ) const
virtual

◆ GetNoDataInputPixel()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual InputImagePixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetNoDataInputPixel ( )
virtual

Internal

◆ GetNoDataOutputPixel()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual OutputImagePixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetNoDataOutputPixel ( )
virtual

Internal

◆ GetNumberOfBands()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual unsigned int otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetNumberOfBands ( )
inlineprotectedvirtual

Get number of bands

Definition at line 224 of file otbStreamingMosaicFilterBase.h.

◆ GetNumberOfInputImages()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual unsigned int otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetNumberOfInputImages ( )
inlineprotectedvirtual

◆ GetNumberOfUsedInputImages()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual unsigned int otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetNumberOfUsedInputImages ( )
inlineprotectedvirtual

Internal

Definition at line 209 of file otbStreamingMosaicFilterBase.h.

◆ GetOutputOrigin()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual OutputImagePointType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetOutputOrigin ( )
virtual

Internal

◆ GetOutputSize()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual OutputImageSizeType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetOutputSize ( )
virtual

Internal

◆ GetOutputSpacing()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual OutputImageSpacingType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetOutputSpacing ( )
virtual

Internal

◆ GetScaleMatrix()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual MatrixType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetScaleMatrix ( )
inlinevirtual

Internal

Definition at line 164 of file otbStreamingMosaicFilterBase.h.

◆ GetShiftMatrix()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual MatrixType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetShiftMatrix ( )
inlinevirtual

Internal

Definition at line 159 of file otbStreamingMosaicFilterBase.h.

◆ GetShiftScaleInputImages()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual bool otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetShiftScaleInputImages ( )
virtual

Internal

◆ GetUsedInputImageIndice()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual unsigned int otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GetUsedInputImageIndice ( unsigned int  i)
inlineprotectedvirtual

◆ ImageToExtent()

template<class TInputImage , class TOutputImage , class TInternalValueType >
void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::ImageToExtent ( InputImageType image,
InputImagePointType extentInf,
InputImagePointType extentSup 
)
protectedvirtual

Image extent computing

Compute the input image extent i.e. corners inf & sup

Definition at line 49 of file otbStreamingMosaicFilterBase.hxx.

◆ IsPixelNotEmpty()

template<class TInputImage , class TOutputImage , class TInternalValueType >
bool otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::IsPixelNotEmpty ( InputImagePixelType inputPixel)
protectedvirtual

Check if the given pixel is empty

Definition at line 379 of file otbStreamingMosaicFilterBase.hxx.

◆ itkGetObjectMacro()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::itkGetObjectMacro ( Interpolator  ,
InterpolatorType   
)

Internal

◆ NormalizePixelValue()

template<class TInputImage , class TOutputImage , class TInternalValueType >
void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::NormalizePixelValue ( InternalValueType pixelValue)
protectedvirtual

normalize pixel value, according to numeric type

Definition at line 394 of file otbStreamingMosaicFilterBase.hxx.

◆ operator=()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::operator= ( const Self )
private

Internal

◆ OutputRegionToInputRegion()

template<class TInputImage , class TOutputImage , class TInternalValueType >
bool otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputRegionToInputRegion ( const OutputImageRegionType outputRegion,
InputImageRegionType inputRegion,
InputImageType *&  inputImage 
)
protectedvirtual

Requested region computing

Compute the region of the input image which correspond to the given output requested region Return true if the region exists, false if not

TODO: Pad the Image's LargestPossibleRegion with the interpolator radius to avoid side effects near the Image's border?

Definition at line 80 of file otbStreamingMosaicFilterBase.hxx.

◆ PrepareImageAccessors()

template<class TInputImage , class TOutputImage , class TInternalValueType >
void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::PrepareImageAccessors ( typename std::vector< InputImageType * > &  image,
typename std::vector< InterpolatorPointerType > &  interpolator 
)
protectedvirtual

Prepare interpolators, valid regions, and input images pointers

Definition at line 428 of file otbStreamingMosaicFilterBase.hxx.

◆ SetAutomaticOutputParametersComputation()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::SetAutomaticOutputParametersComputation ( bool  _arg)
virtual

Set/Get automatic compute output parameters mode

◆ SetInterpolator()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::SetInterpolator ( InterpolatorType _arg)
virtual

Set/Get the interpolator function.

◆ SetNoDataInputPixel()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::SetNoDataInputPixel ( InputImagePixelType  _arg)
virtual

Set/Get the input no data value

◆ SetNoDataOutputPixel()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::SetNoDataOutputPixel ( OutputImagePixelType  _arg)
virtual

Set/Get the output no data value

◆ SetOutputOrigin()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::SetOutputOrigin ( OutputImagePointType  _arg)
virtual

Set/Get output origin

◆ SetOutputSize()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::SetOutputSize ( OutputImageSizeType  _arg)
virtual

Set/Get output size

◆ SetOutputSpacing()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::SetOutputSpacing ( OutputImageSpacingType  _arg)
virtual

Set/Get output spacing

◆ SetScaleMatrix()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::SetScaleMatrix ( MatrixType  scaleMatrix)
inlinevirtual

Internal

Definition at line 154 of file otbStreamingMosaicFilterBase.h.

◆ SetShiftMatrix()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::SetShiftMatrix ( MatrixType  shiftMatrix)
inlinevirtual

Set the shift-scale matrices

Definition at line 149 of file otbStreamingMosaicFilterBase.h.

◆ SetShiftScaleInputImages()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::SetShiftScaleInputImages ( bool  _arg)
virtual

Set shift-scale mode

◆ ShiftScaleInputImagesOff()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::ShiftScaleInputImagesOff ( )
virtual

Internal

◆ ShiftScaleInputImagesOn()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::ShiftScaleInputImagesOn ( )
virtual

Internal

◆ ShiftScaleValue()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual void otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::ShiftScaleValue ( InternalValueType value,
const unsigned int &  imageIndex,
unsigned int &  band 
)
inlineprotectedvirtual

Shift-Scale a value

Definition at line 233 of file otbStreamingMosaicFilterBase.h.

Member Data Documentation

◆ interpolatorRadius

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
unsigned int otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::interpolatorRadius
private

Internal

Definition at line 265 of file otbStreamingMosaicFilterBase.h.

◆ m_AutomaticOutputParametersComputation

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
bool otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::m_AutomaticOutputParametersComputation
private

Internal

Definition at line 257 of file otbStreamingMosaicFilterBase.h.

◆ m_Interpolator

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
InterpolatorPointerType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::m_Interpolator
private

Internal

Definition at line 249 of file otbStreamingMosaicFilterBase.h.

◆ m_NoDataInputPixel

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
InputImagePixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::m_NoDataInputPixel
private

Internal

Definition at line 251 of file otbStreamingMosaicFilterBase.h.

◆ m_NoDataOutputPixel

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
OutputImagePixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::m_NoDataOutputPixel
private

Internal

Definition at line 250 of file otbStreamingMosaicFilterBase.h.

◆ m_OutputOrigin

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
OutputImagePointType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::m_OutputOrigin
private

Internal

Definition at line 254 of file otbStreamingMosaicFilterBase.h.

◆ m_OutputSize

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
OutputImageSizeType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::m_OutputSize
private

Internal

Definition at line 255 of file otbStreamingMosaicFilterBase.h.

◆ m_OutputSpacing

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
OutputImageSpacingType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::m_OutputSpacing
private

Internal

Definition at line 253 of file otbStreamingMosaicFilterBase.h.

◆ m_ScaleMatrix

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
MatrixType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::m_ScaleMatrix
private

Internal

Definition at line 261 of file otbStreamingMosaicFilterBase.h.

◆ m_ShiftMatrix

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
MatrixType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::m_ShiftMatrix
private

Internal

Definition at line 260 of file otbStreamingMosaicFilterBase.h.

◆ m_ShiftScaleInputImages

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
bool otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::m_ShiftScaleInputImages
private

Internal

Definition at line 258 of file otbStreamingMosaicFilterBase.h.

◆ maxOutputPixelValue

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
InternalValueType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::maxOutputPixelValue
private

Internal

Definition at line 268 of file otbStreamingMosaicFilterBase.h.

◆ minOutputPixelValue

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
InternalValueType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::minOutputPixelValue
private

Internal

Definition at line 267 of file otbStreamingMosaicFilterBase.h.

◆ nbOfBands

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
unsigned int otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::nbOfBands
private

Internal

Definition at line 264 of file otbStreamingMosaicFilterBase.h.

◆ usedInputIndices

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
IndicesListType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::usedInputIndices
private

Internal

Definition at line 266 of file otbStreamingMosaicFilterBase.h.


The documentation for this class was generated from the following files: