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

#include <otbImageAndVectorImageOperationFilter.h>

+ Inheritance diagram for otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >:
+ Collaboration diagram for otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >:

Public Types

typedef itk::SmartPointer< const SelfConstPointer
 
typedef Functor::ImageAndVectorImageOperationFunctor< typename TInputImage::PixelType, typename TVectorInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
 
typedef TInputImage InputImageType
 
typedef InputImageType::PixelType InputPixelType
 
typedef FunctorType::OperatorType OperatorType
 
typedef TOutputImage OutputImageType
 
typedef OutputImageType::PixelType OutputPixelType
 
typedef itk::SmartPointer< SelfPointer
 
typedef ImageAndVectorImageOperationFilter Self
 
typedef itk::BinaryFunctorImageFilter< TInputImage, TVectorInputImage, TOutputImage, FunctorTypeSuperclass
 
typedef TVectorInputImage VectorInputImageType
 
typedef VectorInputImageType::PixelType VectorInputPixelType
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 

Static Public Member Functions

static Pointer New ()
 
bool m_UseAddition
 
bool m_UseMultiplication
 
bool m_UseDivision
 
bool m_UseSubtraction
 
void SetInput (const InputImageType *input) override
 
void SetVectorInput (const VectorInputImageType *input)
 
const InputImageTypeGetInput ()
 
const VectorInputImageTypeGetVectorInput ()
 
virtual bool GetUseAddition ()
 
virtual bool GetUseMultiplication ()
 
virtual bool GetUseDivision ()
 
virtual bool GetUseSubtraction ()
 
void UseAddition ()
 
void UseMultiplication ()
 
void UseDivision ()
 
void UseSubtraction ()
 
 ImageAndVectorImageOperationFilter ()
 
 ~ImageAndVectorImageOperationFilter () override
 
void GenerateOutputInformation () override
 
 ImageAndVectorImageOperationFilter (const ImageAndVectorImageOperationFilter &)=delete
 
void operator= (const ImageAndVectorImageOperationFilter &)=delete
 

Detailed Description

template<class TInputImage, class TVectorInputImage, class TOutputImage>
class otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >

Provides simple pixel to pixel operation between Image and VectorImage.

Apply an operation (multiplication, division, addition or subtraction) between the input image and each channel of the vector input image. Use SetOperation( MULTIPLICATION, ADDITION, DIVISION or SUBTRACTION ) to select the wanted operation. Default is an addition.

This class is templated over the input Image and VectorImage and output VectorImage types.

See also
itkMultiplyImageFilter

Definition at line 127 of file otbImageAndVectorImageOperationFilter.h.

Member Typedef Documentation

◆ ConstPointer

template<class TInputImage , class TVectorInputImage , class TOutputImage >
typedef itk::SmartPointer<const Self> otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::ConstPointer

Definition at line 141 of file otbImageAndVectorImageOperationFilter.h.

◆ FunctorType

template<class TInputImage , class TVectorInputImage , class TOutputImage >
typedef Functor::ImageAndVectorImageOperationFunctor<typename TInputImage::PixelType, typename TVectorInputImage::PixelType, typename TOutputImage::PixelType> otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::FunctorType

Definition at line 138 of file otbImageAndVectorImageOperationFilter.h.

◆ InputImageType

template<class TInputImage , class TVectorInputImage , class TOutputImage >
typedef TInputImage otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::InputImageType

Typedef for the images.

Definition at line 147 of file otbImageAndVectorImageOperationFilter.h.

◆ InputPixelType

template<class TInputImage , class TVectorInputImage , class TOutputImage >
typedef InputImageType::PixelType otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::InputPixelType

Definition at line 151 of file otbImageAndVectorImageOperationFilter.h.

◆ OperatorType

template<class TInputImage , class TVectorInputImage , class TOutputImage >
typedef FunctorType::OperatorType otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::OperatorType

Operation type typedef.

Definition at line 158 of file otbImageAndVectorImageOperationFilter.h.

◆ OutputImageType

template<class TInputImage , class TVectorInputImage , class TOutputImage >
typedef TOutputImage otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::OutputImageType

Definition at line 154 of file otbImageAndVectorImageOperationFilter.h.

◆ OutputPixelType

template<class TInputImage , class TVectorInputImage , class TOutputImage >
typedef OutputImageType::PixelType otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::OutputPixelType

Definition at line 155 of file otbImageAndVectorImageOperationFilter.h.

◆ Pointer

template<class TInputImage , class TVectorInputImage , class TOutputImage >
typedef itk::SmartPointer<Self> otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::Pointer

Definition at line 140 of file otbImageAndVectorImageOperationFilter.h.

◆ Self

template<class TInputImage , class TVectorInputImage , class TOutputImage >
typedef ImageAndVectorImageOperationFilter otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::Self

Standard class typedefs.

Definition at line 135 of file otbImageAndVectorImageOperationFilter.h.

◆ Superclass

template<class TInputImage , class TVectorInputImage , class TOutputImage >
typedef itk::BinaryFunctorImageFilter<TInputImage, TVectorInputImage, TOutputImage, FunctorType> otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::Superclass

Definition at line 139 of file otbImageAndVectorImageOperationFilter.h.

◆ VectorInputImageType

template<class TInputImage , class TVectorInputImage , class TOutputImage >
typedef TVectorInputImage otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::VectorInputImageType

Definition at line 152 of file otbImageAndVectorImageOperationFilter.h.

◆ VectorInputPixelType

template<class TInputImage , class TVectorInputImage , class TOutputImage >
typedef VectorInputImageType::PixelType otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::VectorInputPixelType

Definition at line 153 of file otbImageAndVectorImageOperationFilter.h.

Constructor & Destructor Documentation

◆ ImageAndVectorImageOperationFilter() [1/2]

template<class TInputImage , class TVectorInputImage , class TOutputImage >
otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::ImageAndVectorImageOperationFilter
protected

Get the input images of this process object.

Definition at line 32 of file otbImageAndVectorImageOperationFilter.hxx.

◆ ~ImageAndVectorImageOperationFilter()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::~ImageAndVectorImageOperationFilter
overrideprotected

Get the input images of this process object.

Definition at line 38 of file otbImageAndVectorImageOperationFilter.hxx.

◆ ImageAndVectorImageOperationFilter() [2/2]

template<class TInputImage , class TVectorInputImage , class TOutputImage >
otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::ImageAndVectorImageOperationFilter ( const ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage > &  )
privatedelete

Get the input images of this process object.

Member Function Documentation

◆ CreateAnother()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
virtual::itk::LightObject::Pointer otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::CreateAnother ( void  ) const

◆ GenerateOutputInformation()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
void otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::GenerateOutputInformation
overrideprotected

This is a source, so it must set the spacing, size, and largest possible region for the output image that it will produce.

See also
ProcessObject::GenerateOutputInformation()

Definition at line 77 of file otbImageAndVectorImageOperationFilter.hxx.

◆ GetInput()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
const ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::InputImageType * otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::GetInput

Get the input images of this process object.

Definition at line 56 of file otbImageAndVectorImageOperationFilter.hxx.

◆ GetNameOfClass()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
virtual const char* otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

◆ GetUseAddition()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
virtual bool otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::GetUseAddition ( )
virtual

Accessors

◆ GetUseDivision()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
virtual bool otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::GetUseDivision ( )
virtual

Get the input images of this process object.

◆ GetUseMultiplication()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
virtual bool otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::GetUseMultiplication ( )
virtual

Get the input images of this process object.

◆ GetUseSubtraction()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
virtual bool otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::GetUseSubtraction ( )
virtual

Get the input images of this process object.

◆ GetVectorInput()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
const ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::VectorInputImageType * otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::GetVectorInput

Get the input images of this process object.

Definition at line 66 of file otbImageAndVectorImageOperationFilter.hxx.

◆ New()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
static Pointer otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::New ( )
static

Method for creation through the object factory.

◆ operator=()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
void otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::operator= ( const ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage > &  )
privatedelete

Get the input images of this process object.

◆ SetInput()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
void otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::SetInput ( const InputImageType input)
override

Get the input images of this process object.

Definition at line 43 of file otbImageAndVectorImageOperationFilter.hxx.

◆ SetVectorInput()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
void otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::SetVectorInput ( const VectorInputImageType input)

Get the input images of this process object.

Definition at line 49 of file otbImageAndVectorImageOperationFilter.hxx.

◆ UseAddition()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
void otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::UseAddition ( )
inline

Get the input images of this process object.

Definition at line 178 of file otbImageAndVectorImageOperationFilter.h.

◆ UseDivision()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
void otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::UseDivision ( )
inline

Get the input images of this process object.

Definition at line 196 of file otbImageAndVectorImageOperationFilter.h.

◆ UseMultiplication()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
void otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::UseMultiplication ( )
inline

Get the input images of this process object.

Definition at line 187 of file otbImageAndVectorImageOperationFilter.h.

◆ UseSubtraction()

template<class TInputImage , class TVectorInputImage , class TOutputImage >
void otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::UseSubtraction ( )
inline

Get the input images of this process object.

Definition at line 205 of file otbImageAndVectorImageOperationFilter.h.

Member Data Documentation

◆ m_UseAddition

template<class TInputImage , class TVectorInputImage , class TOutputImage >
bool otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::m_UseAddition
private

Get the input images of this process object.

Definition at line 228 of file otbImageAndVectorImageOperationFilter.h.

◆ m_UseDivision

template<class TInputImage , class TVectorInputImage , class TOutputImage >
bool otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::m_UseDivision
private

Get the input images of this process object.

Definition at line 230 of file otbImageAndVectorImageOperationFilter.h.

◆ m_UseMultiplication

template<class TInputImage , class TVectorInputImage , class TOutputImage >
bool otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::m_UseMultiplication
private

Get the input images of this process object.

Definition at line 229 of file otbImageAndVectorImageOperationFilter.h.

◆ m_UseSubtraction

template<class TInputImage , class TVectorInputImage , class TOutputImage >
bool otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::m_UseSubtraction
private

Get the input images of this process object.

Definition at line 231 of file otbImageAndVectorImageOperationFilter.h.


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