OTB
9.0.0
Orfeo Toolbox
|
#include <otbUnaryImageFunctorWithVectorImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef UnaryImageFunctorWithVectorImageFilter | Self |
typedef itk::InPlaceImageFilter< TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
Static Public Member Functions | |
static Pointer | New () |
typedef TInputImage | InputImageType |
typedef TOutputImage | OutputImageType |
typedef TFunction | FunctorType |
typedef InputImageType::PixelType | InputPixelType |
typedef InputImageType::InternalPixelType | InputInternalPixelType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef OutputImageType::InternalPixelType | OutputInternalPixelType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef InputImageType::SizeType | SizeType |
typedef std::vector< FunctorType > | FunctorVectorType |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
FunctorVectorType | m_FunctorVector |
virtual const char * | GetNameOfClass () const |
FunctorVectorType & | GetFunctorVector (void) |
UnaryImageFunctorWithVectorImageFilter () | |
~UnaryImageFunctorWithVectorImageFilter () override | |
void | GenerateOutputInformation () override |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
Applies a functor to a VectorImage.
The aim of the class is to work with vector images but with a functor that uses as input a component of the pixel.
For N components pixel, an array of functor is defined and each is applied to the corresponding component of the output pixel.
Definition at line 46 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef itk::SmartPointer<const Self> otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::ConstPointer |
Definition at line 54 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef TFunction otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::FunctorType |
"typedef" to simplify the variables definition and the declaration.
Definition at line 67 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef std::vector<FunctorType> otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::FunctorVectorType |
"typedef" to simplify the variables definition and the declaration.
Definition at line 80 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef InputImageType::RegionType otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageRegionType |
"typedef" to simplify the variables definition and the declaration.
Definition at line 72 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef TInputImage otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageType |
"typedef" to simplify the variables definition and the declaration.
Definition at line 65 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef InputImageType::InternalPixelType otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::InputInternalPixelType |
"typedef" to simplify the variables definition and the declaration.
Definition at line 71 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef InputImageType::PixelType otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::InputPixelType |
Supported images definition.
Definition at line 70 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef OutputImageType::RegionType otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageRegionType |
"typedef" to simplify the variables definition and the declaration.
Definition at line 75 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef TOutputImage otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageType |
"typedef" to simplify the variables definition and the declaration.
Definition at line 66 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef OutputImageType::InternalPixelType otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::OutputInternalPixelType |
"typedef" to simplify the variables definition and the declaration.
Definition at line 74 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef OutputImageType::PixelType otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::OutputPixelType |
"typedef" to simplify the variables definition and the declaration.
Definition at line 73 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef itk::SmartPointer<Self> otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::Pointer |
Definition at line 53 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef UnaryImageFunctorWithVectorImageFilter otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::Self |
Standard class typedefs.
Definition at line 51 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef InputImageType::SizeType otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::SizeType |
Image size "typedef" definition.
Definition at line 78 of file otbUnaryImageFunctorWithVectorImageFilter.h.
typedef itk::InPlaceImageFilter<TInputImage, TOutputImage> otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::Superclass |
Definition at line 52 of file otbUnaryImageFunctorWithVectorImageFilter.h.
|
protected |
Constructor
Definition at line 35 of file otbUnaryImageFunctorWithVectorImageFilter.hxx.
|
inlineoverrideprotected |
"typedef" to simplify the variables definition and the declaration.
Definition at line 93 of file otbUnaryImageFunctorWithVectorImageFilter.h.
virtual::itk::LightObject::Pointer otb::UnaryImageFunctorWithVectorImageFilter< TInputImage, TOutputImage, TFunction >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
UnaryImageFunctorWithVectorImageFilter can produce an image which is a different resolution than its input image. As such, UnaryImageFunctorWithVectorImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.
UnaryImageFunctorWithVectorImageFilter can produce an image which is a different resolution than its input image. As such, UnaryImageFunctorWithVectorImageFilter needs to provide an implementation for GenerateOutputInformation() in order to inform the pipeline execution model. The original documentation of this method is below.
Definition at line 52 of file otbUnaryImageFunctorWithVectorImageFilter.hxx.
|
inline |
Get the functor list
Definition at line 86 of file otbUnaryImageFunctorWithVectorImageFilter.h.
|
virtual |
return class name.
|
static |
Method for creation through the object factory.
|
overrideprotected |
"typedef" to simplify the variables definition and the declaration.
Definition at line 123 of file otbUnaryImageFunctorWithVectorImageFilter.hxx.
|
overrideprotected |
UnaryImageFunctorWithVectorImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
ThreadedGenerateData Performs the pixel-wise addition
Definition at line 80 of file otbUnaryImageFunctorWithVectorImageFilter.hxx.
|
static |
Extract input and output images dimensions.
Definition at line 60 of file otbUnaryImageFunctorWithVectorImageFilter.h.
|
private |
Ponderation declaration
Definition at line 123 of file otbUnaryImageFunctorWithVectorImageFilter.h.
|
static |
"typedef" to simplify the variables definition and the declaration.
Definition at line 61 of file otbUnaryImageFunctorWithVectorImageFilter.h.