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

#include <otbStreamingSimpleMosaicFilter.h>

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

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::InputImagePixelType InputImagePixelType
 
typedef Superclass::InputImageRegionType InputImageRegionType
 
typedef Superclass::InputImageType InputImageType
 
typedef Superclass::InternalPixelType InternalPixelType
 
typedef Superclass::InternalValueType InternalValueType
 
typedef Superclass::InterpolatorPointerType InterpolatorPointerType
 
typedef Superclass::IteratorType IteratorType
 
typedef Superclass::OutputImageInternalPixelType OutputImageInternalPixelType
 
typedef Superclass::OutputImagePixelType OutputImagePixelType
 
typedef Superclass::OutputImagePointType OutputImagePointType
 
typedef Superclass::OutputImageRegionType OutputImageRegionType
 
typedef Superclass::OutputImageType OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef StreamingSimpleMosaicFilter Self
 
typedef otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType > Superclass
 
- Public Types inherited from otb::StreamingMosaicFilterBase< TInputImage, TInputImage, double >
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 double 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 TInputImage OutputImageType
 
typedef itk::SmartPointer< SelfPointer
 
typedef StreamingMosaicFilterBase Self
 
typedef otb::StreamingTraits< OutputImageTypeStreamingTraitsType
 
typedef itk::ImageToImageFilter< TInputImage, TInputImage > Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from otb::StreamingMosaicFilterBase< TInputImage, TInputImage, double >
virtual const char * GetNameOfClass () const
 
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 ()
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 StreamingSimpleMosaicFilter ()
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override
 
virtual ~StreamingSimpleMosaicFilter ()
 
- Protected Member Functions inherited from otb::StreamingMosaicFilterBase< TInputImage, TInputImage, double >
 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)
 

Private Member Functions

void operator= (const Self &)
 
 StreamingSimpleMosaicFilter (const Self &)
 

Detailed Description

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

Computes the mosaic of an input images set. The output pixel value is equal to the first input pixel of the stack which is different from the Superclass::GetNoDataInputPixel()

Support streaming

The pixels must support the operator ==, +, /, etc. The "no data value", output spacing, interpolator can be chosen. The behavior of the filter is to put layers in the same order as they are in input

Definition at line 44 of file otbStreamingSimpleMosaicFilter.h.

Member Typedef Documentation

◆ ConstPointer

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

Definition at line 51 of file otbStreamingSimpleMosaicFilter.h.

◆ InputImagePixelType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef Superclass::InputImagePixelType otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::InputImagePixelType

Definition at line 61 of file otbStreamingSimpleMosaicFilter.h.

◆ InputImageRegionType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef Superclass::InputImageRegionType otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::InputImageRegionType

Definition at line 64 of file otbStreamingSimpleMosaicFilter.h.

◆ InputImageType

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

Input image typedefs.

Definition at line 57 of file otbStreamingSimpleMosaicFilter.h.

◆ InternalPixelType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef Superclass::InternalPixelType otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::InternalPixelType

Definition at line 75 of file otbStreamingSimpleMosaicFilter.h.

◆ InternalValueType

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

Internal computing typedef support.

Definition at line 74 of file otbStreamingSimpleMosaicFilter.h.

◆ InterpolatorPointerType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef Superclass::InterpolatorPointerType otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::InterpolatorPointerType

Definition at line 63 of file otbStreamingSimpleMosaicFilter.h.

◆ IteratorType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef Superclass::IteratorType otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::IteratorType

Definition at line 62 of file otbStreamingSimpleMosaicFilter.h.

◆ OutputImageInternalPixelType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef Superclass::OutputImageInternalPixelType otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::OutputImageInternalPixelType

Definition at line 70 of file otbStreamingSimpleMosaicFilter.h.

◆ OutputImagePixelType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef Superclass::OutputImagePixelType otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::OutputImagePixelType

Definition at line 69 of file otbStreamingSimpleMosaicFilter.h.

◆ OutputImagePointType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef Superclass::OutputImagePointType otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::OutputImagePointType

Definition at line 68 of file otbStreamingSimpleMosaicFilter.h.

◆ OutputImageRegionType

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
typedef Superclass::OutputImageRegionType otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::OutputImageRegionType

Definition at line 71 of file otbStreamingSimpleMosaicFilter.h.

◆ OutputImageType

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

Output image typedefs.

Definition at line 67 of file otbStreamingSimpleMosaicFilter.h.

◆ Pointer

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

Definition at line 50 of file otbStreamingSimpleMosaicFilter.h.

◆ Self

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

Standard Self typedef

Definition at line 48 of file otbStreamingSimpleMosaicFilter.h.

◆ Superclass

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

Definition at line 49 of file otbStreamingSimpleMosaicFilter.h.

Constructor & Destructor Documentation

◆ StreamingSimpleMosaicFilter() [1/2]

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

Definition at line 78 of file otbStreamingSimpleMosaicFilter.h.

◆ ~StreamingSimpleMosaicFilter()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::~StreamingSimpleMosaicFilter ( )
inlineprotectedvirtual

Definition at line 82 of file otbStreamingSimpleMosaicFilter.h.

◆ StreamingSimpleMosaicFilter() [2/2]

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

Member Function Documentation

◆ CreateAnother()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
virtual::itk::LightObject::Pointer otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::CreateAnother ( void  ) const

◆ GetNameOfClass()

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

Runtime information support.

◆ New()

template<class TInputImage , class TOutputImage = TInputImage, class TInternalValueType = double>
static Pointer otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::New ( )
static

Method for creation through the object factory.

◆ operator=()

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

◆ ThreadedGenerateData()

template<class TInputImage , class TOutputImage , class TInternalValueType >
void otb::StreamingSimpleMosaicFilter< TInputImage, TOutputImage, TInternalValueType >::ThreadedGenerateData ( const OutputImageRegionType outputRegionForThread,
itk::ThreadIdType  threadId 
)
overrideprotected

Overridden methods

Processing

Definition at line 34 of file otbStreamingSimpleMosaicFilter.hxx.


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