Orfeo ToolBox  4.2
Orfeo ToolBox is not a black box
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage > Class Template Reference

Provides simple pixel to pixel operation between Image and VectorImage. More...

#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 Self
ConstPointer
 
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, FunctorType
Superclass
 
typedef TVectorInputImage VectorInputImageType
 
typedef
VectorInputImageType::PixelType 
VectorInputPixelType
 
- Public Types inherited from itk::BinaryFunctorImageFilter< TInputImage, TVectorInputImage, TOutputImage, Functor::ImageAndVectorImageOperationFunctor< TInputImage::PixelType, TVectorInputImage::PixelType, TOutputImage::PixelType > >
typedef SmartPointer< const SelfConstPointer
 
typedef
SimpleDataObjectDecorator
< Input1ImagePixelType
DecoratedInput1ImagePixelType
 
typedef
SimpleDataObjectDecorator
< Input2ImagePixelType
DecoratedInput2ImagePixelType
 
typedef
Functor::ImageAndVectorImageOperationFunctor
< TInputImage::PixelType,
TVectorInputImage::PixelType,
TOutputImage::PixelType > 
FunctorType
 
typedef Input1ImageType::PixelType Input1ImagePixelType
 
typedef
Input1ImageType::ConstPointer 
Input1ImagePointer
 
typedef Input1ImageType::RegionType Input1ImageRegionType
 
typedef TInputImage Input1ImageType
 
typedef Input2ImageType::PixelType Input2ImagePixelType
 
typedef
Input2ImageType::ConstPointer 
Input2ImagePointer
 
typedef Input2ImageType::RegionType Input2ImageRegionType
 
typedef TVectorInputImage Input2ImageType
 
typedef OutputImageType::PixelType OutputImagePixelType
 
typedef OutputImageType::Pointer OutputImagePointer
 
typedef OutputImageType::RegionType OutputImageRegionType
 
typedef TOutputImage OutputImageType
 
typedef SmartPointer< SelfPointer
 
typedef BinaryFunctorImageFilter Self
 
typedef InPlaceImageFilter
< TInputImage, TOutputImage > 
Superclass
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const InputImageTypeGetInput ()
 
virtual const char * GetNameOfClass () const
 
virtual bool GetUseAddition ()
 
virtual bool GetUseDivision ()
 
virtual bool GetUseMultiplication ()
 
virtual bool GetUseSubstraction ()
 
const VectorInputImageTypeGetVectorInput ()
 
void SetInput (const InputImageType *input)
 
void SetVectorInput (const VectorInputImageType *input)
 
void UseAddition ()
 
void UseDivision ()
 
void UseMultiplication ()
 
void UseSubstraction ()
 
- Public Member Functions inherited from itk::BinaryFunctorImageFilter< TInputImage, TVectorInputImage, TOutputImage, Functor::ImageAndVectorImageOperationFunctor< TInputImage::PixelType, TVectorInputImage::PixelType, TOutputImage::PixelType > >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const Input2ImagePixelTypeGetConstant () const
 
virtual const
Input1ImagePixelType
GetConstant1 () const
 
virtual const
Input2ImagePixelType
GetConstant2 () const
 
FunctorTypeGetFunctor ()
 
const FunctorTypeGetFunctor () const
 
void SetConstant (Input2ImagePixelType ct)
 
virtual void SetConstant1 (const Input1ImagePixelType &input1)
 
virtual void SetConstant2 (const Input2ImagePixelType &input2)
 
void SetFunctor (const FunctorType &functor)
 
virtual void SetInput1 (const DecoratedInput1ImagePixelType *input1)
 
virtual void SetInput1 (const TInputImage *image1)
 
virtual void SetInput1 (const Input1ImagePixelType &input1)
 
virtual void SetInput2 (const Input2ImagePixelType &input2)
 
virtual void SetInput2 (const TVectorInputImage *image2)
 
virtual void SetInput2 (const DecoratedInput2ImagePixelType *input2)
 
 typedef (Concept::SameDimension< itkGetStaticConstMacro(InputImage1Dimension), itkGetStaticConstMacro(InputImage2Dimension) >) SameDimensionCheck1
 
 typedef (Concept::SameDimension< itkGetStaticConstMacro(InputImage1Dimension), itkGetStaticConstMacro(OutputImageDimension) >) SameDimensionCheck2
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::BinaryFunctorImageFilter< TInputImage, TVectorInputImage, TOutputImage, Functor::ImageAndVectorImageOperationFunctor< TInputImage::PixelType, TVectorInputImage::PixelType, TOutputImage::PixelType > >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageSource< TOutputImage >
static const
ImageRegionSplitterBase
GetGlobalDefaultSplitter (void)
 

Protected Member Functions

 ImageAndVectorImageOperationFilter ()
 
virtual ~ImageAndVectorImageOperationFilter ()
 
virtual void GenerateOutputInformation ()
 
- Protected Member Functions inherited from itk::BinaryFunctorImageFilter< TInputImage, TVectorInputImage, TOutputImage, Functor::ImageAndVectorImageOperationFunctor< TInputImage::PixelType, TVectorInputImage::PixelType, TOutputImage::PixelType > >
 BinaryFunctorImageFilter ()
 
virtual ~BinaryFunctorImageFilter ()
 
void ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, ThreadIdType threadId)
 

Private Member Functions

 ImageAndVectorImageOperationFilter (const ImageAndVectorImageOperationFilter &)
 
void operator= (const ImageAndVectorImageOperationFilter &)
 

Private Attributes

bool m_UseAddition
 
bool m_UseDivision
 
bool m_UseMultiplication
 
bool m_UseSubstraction
 

Additional Inherited Members

- Static Public Attributes inherited from itk::BinaryFunctorImageFilter< TInputImage, TVectorInputImage, TOutputImage, Functor::ImageAndVectorImageOperationFunctor< TInputImage::PixelType, TVectorInputImage::PixelType, TOutputImage::PixelType > >
static const unsigned int InputImage1Dimension
 
static const unsigned int InputImage2Dimension
 
static const unsigned int OutputImageDimension
 

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 substraction) between the input image and each channel of the vector input image. Use SetOperation( MULTIPLICATION, ADDITION, DIVISON or SUBSTRACTION ) 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 119 of file otbImageAndVectorImageOperationFilter.h.

Member Typedef Documentation

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

Definition at line 140 of file otbImageAndVectorImageOperationFilter.h.

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 137 of file otbImageAndVectorImageOperationFilter.h.

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

Typedef for the images.

Definition at line 146 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 150 of file otbImageAndVectorImageOperationFilter.h.

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

Operation type typedef.

Definition at line 157 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 153 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 154 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 139 of file otbImageAndVectorImageOperationFilter.h.

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

Standard class typedefs.

Definition at line 133 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 138 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 151 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 152 of file otbImageAndVectorImageOperationFilter.h.

Constructor & Destructor Documentation

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

Definition at line 32 of file otbImageAndVectorImageOperationFilter.txx.

template<class TInputImage , class TVectorInputImage , class TOutputImage >
otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::~ImageAndVectorImageOperationFilter ( )
protectedvirtual

Definition at line 39 of file otbImageAndVectorImageOperationFilter.txx.

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

Member Function Documentation

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

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()

Reimplemented from itk::BinaryFunctorImageFilter< TInputImage, TVectorInputImage, TOutputImage, Functor::ImageAndVectorImageOperationFunctor< TInputImage::PixelType, TVectorInputImage::PixelType, TOutputImage::PixelType > >.

Definition at line 84 of file otbImageAndVectorImageOperationFilter.txx.

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

Get the input images of this process object.

Definition at line 62 of file otbImageAndVectorImageOperationFilter.txx.

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

Accessors

template<class TInputImage, class TVectorInputImage, class TOutputImage>
virtual bool otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::GetUseDivision ( )
virtual
template<class TInputImage, class TVectorInputImage, class TOutputImage>
virtual bool otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::GetUseMultiplication ( )
virtual
template<class TInputImage, class TVectorInputImage, class TOutputImage>
virtual bool otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::GetUseSubstraction ( )
virtual
template<class TInputImage , class TVectorInputImage , class TOutputImage >
const ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::VectorInputImageType * otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::GetVectorInput ( )

Definition at line 72 of file otbImageAndVectorImageOperationFilter.txx.

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

Method for creation through the object factory.

template<class TInputImage, class TVectorInputImage, class TOutputImage>
void otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::operator= ( const ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage > &  )
private
template<class TInputImage , class TVectorInputImage , class TOutputImage >
void otb::ImageAndVectorImageOperationFilter< TInputImage, TVectorInputImage, TOutputImage >::SetInput ( const InputImageType input)

Set the input images of this process object.

Definition at line 46 of file otbImageAndVectorImageOperationFilter.txx.

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

Definition at line 54 of file otbImageAndVectorImageOperationFilter.txx.

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

Definition at line 173 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 191 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 182 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 200 of file otbImageAndVectorImageOperationFilter.h.

Member Data Documentation

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

Definition at line 223 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 225 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 224 of file otbImageAndVectorImageOperationFilter.h.

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

Definition at line 226 of file otbImageAndVectorImageOperationFilter.h.


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