OTB
9.0.0
Orfeo Toolbox
|
#include <otbQuaternaryFunctorImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef TFunction | FunctorType |
typedef Input1ImageType::PixelType | Input1ImagePixelType |
typedef Input1ImageType::ConstPointer | Input1ImagePointer |
typedef Input1ImageType::RegionType | Input1ImageRegionType |
typedef TInputImage1 | Input1ImageType |
typedef Input2ImageType::PixelType | Input2ImagePixelType |
typedef Input2ImageType::ConstPointer | Input2ImagePointer |
typedef Input2ImageType::RegionType | Input2ImageRegionType |
typedef TInputImage2 | Input2ImageType |
typedef Input3ImageType::PixelType | Input3ImagePixelType |
typedef Input3ImageType::ConstPointer | Input3ImagePointer |
typedef Input3ImageType::RegionType | Input3ImageRegionType |
typedef TInputImage3 | Input3ImageType |
typedef Input4ImageType::PixelType | Input4ImagePixelType |
typedef Input4ImageType::ConstPointer | Input4ImagePointer |
typedef Input4ImageType::RegionType | Input4ImageRegionType |
typedef TInputImage4 | Input4ImageType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef QuaternaryFunctorImageFilter | Self |
typedef itk::InPlaceImageFilter< TInputImage1, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const FunctorType & | GetFunctor () const |
FunctorType & | GetFunctor (void) |
virtual const char * | GetNameOfClass () const |
void | SetInput1 (const TInputImage1 *image1) |
void | SetInput2 (const TInputImage2 *image2) |
void | SetInput3 (const TInputImage3 *image3) |
void | SetInput4 (const TInputImage4 *image4) |
Static Public Member Functions | |
static Pointer | New () |
static const unsigned int | Input1ImageDimension = TInputImage1::ImageDimension |
static const unsigned int | Input2ImageDimension = TInputImage2::ImageDimension |
static const unsigned int | Input3ImageDimension = TInputImage3::ImageDimension |
static const unsigned int | Input4ImageDimension = TInputImage4::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
FunctorType | m_Functor |
void | SetFunctor (const FunctorType &functor) |
QuaternaryFunctorImageFilter () | |
~QuaternaryFunctorImageFilter () override | |
void | BeforeThreadedGenerateData () override |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
QuaternaryFunctorImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Implements pixel-wise generic operation of four images.
This class is parameterized over the types of the four input images and the type of the output image. It is also parameterized by the operation to be applied, using a Functor style.
Definition at line 45 of file otbQuaternaryFunctorImageFilter.h.
typedef itk::SmartPointer<const Self> otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::ConstPointer |
Definition at line 52 of file otbQuaternaryFunctorImageFilter.h.
typedef TFunction otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::FunctorType |
Some typedefs.
Definition at line 58 of file otbQuaternaryFunctorImageFilter.h.
typedef Input1ImageType::PixelType otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input1ImagePixelType |
Definition at line 65 of file otbQuaternaryFunctorImageFilter.h.
typedef Input1ImageType::ConstPointer otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input1ImagePointer |
Definition at line 63 of file otbQuaternaryFunctorImageFilter.h.
typedef Input1ImageType::RegionType otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input1ImageRegionType |
Definition at line 64 of file otbQuaternaryFunctorImageFilter.h.
typedef TInputImage1 otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input1ImageType |
Definition at line 62 of file otbQuaternaryFunctorImageFilter.h.
typedef Input2ImageType::PixelType otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input2ImagePixelType |
Definition at line 69 of file otbQuaternaryFunctorImageFilter.h.
typedef Input2ImageType::ConstPointer otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input2ImagePointer |
Definition at line 67 of file otbQuaternaryFunctorImageFilter.h.
typedef Input2ImageType::RegionType otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input2ImageRegionType |
Definition at line 68 of file otbQuaternaryFunctorImageFilter.h.
typedef TInputImage2 otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input2ImageType |
Definition at line 66 of file otbQuaternaryFunctorImageFilter.h.
typedef Input3ImageType::PixelType otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input3ImagePixelType |
Definition at line 73 of file otbQuaternaryFunctorImageFilter.h.
typedef Input3ImageType::ConstPointer otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input3ImagePointer |
Definition at line 71 of file otbQuaternaryFunctorImageFilter.h.
typedef Input3ImageType::RegionType otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input3ImageRegionType |
Definition at line 72 of file otbQuaternaryFunctorImageFilter.h.
typedef TInputImage3 otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input3ImageType |
Definition at line 70 of file otbQuaternaryFunctorImageFilter.h.
typedef Input4ImageType::PixelType otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input4ImagePixelType |
Definition at line 77 of file otbQuaternaryFunctorImageFilter.h.
typedef Input4ImageType::ConstPointer otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input4ImagePointer |
Definition at line 75 of file otbQuaternaryFunctorImageFilter.h.
typedef Input4ImageType::RegionType otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input4ImageRegionType |
Definition at line 76 of file otbQuaternaryFunctorImageFilter.h.
typedef TInputImage4 otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Input4ImageType |
Definition at line 74 of file otbQuaternaryFunctorImageFilter.h.
typedef OutputImageType::PixelType otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::OutputImagePixelType |
Definition at line 81 of file otbQuaternaryFunctorImageFilter.h.
typedef OutputImageType::Pointer otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::OutputImagePointer |
Definition at line 79 of file otbQuaternaryFunctorImageFilter.h.
typedef OutputImageType::RegionType otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::OutputImageRegionType |
Definition at line 80 of file otbQuaternaryFunctorImageFilter.h.
typedef TOutputImage otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::OutputImageType |
Definition at line 78 of file otbQuaternaryFunctorImageFilter.h.
typedef itk::SmartPointer<Self> otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Pointer |
Definition at line 51 of file otbQuaternaryFunctorImageFilter.h.
typedef QuaternaryFunctorImageFilter otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Self |
Standard class typedefs.
Definition at line 49 of file otbQuaternaryFunctorImageFilter.h.
typedef itk::InPlaceImageFilter<TInputImage1, TOutputImage> otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::Superclass |
Definition at line 50 of file otbQuaternaryFunctorImageFilter.h.
|
protected |
Constructor
Definition at line 36 of file otbQuaternaryFunctorImageFilter.hxx.
|
inlineoverrideprotected |
Image dimensions
Definition at line 139 of file otbQuaternaryFunctorImageFilter.h.
|
privatedelete |
Image dimensions
|
overrideprotected |
Validate the presence of all three inputs. If one or more inputs are missing, throw an exception.
BeforeThreadedGenerateData function. Validate inputs
Definition at line 85 of file otbQuaternaryFunctorImageFilter.hxx.
virtual::itk::LightObject::Pointer otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::CreateAnother | ( | void | ) | const |
|
inline |
Get the functor object. The functor is returned by reference. (Functors do not have to derive from itk::LightObject, so they do not necessarily have a reference count. So we cannot return a SmartPointer.)
Definition at line 108 of file otbQuaternaryFunctorImageFilter.h.
|
inline |
Get the functor object. The functor is returned by reference. (Functors do not have to derive from itk::LightObject, so they do not necessarily have a reference count. So we cannot return a SmartPointer).
Definition at line 99 of file otbQuaternaryFunctorImageFilter.h.
|
virtual |
Run-time type information (and related methods).
|
static |
Method for creation through the object factory.
|
privatedelete |
Image dimensions
|
inline |
Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator==() be defined on the functor (or the compiler's default implementation of operator==() being appropriate).
Definition at line 119 of file otbQuaternaryFunctorImageFilter.h.
void otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::SetInput1 | ( | const TInputImage1 * | image1 | ) |
Connect one of the operands for pixel-wise addition.
Connect one of the operands for pixel-wise addition
Definition at line 45 of file otbQuaternaryFunctorImageFilter.hxx.
void otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::SetInput2 | ( | const TInputImage2 * | image2 | ) |
Connect one of the operands for pixel-wise addition.
Connect one of the operands for pixel-wise addition
Definition at line 55 of file otbQuaternaryFunctorImageFilter.hxx.
void otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::SetInput3 | ( | const TInputImage3 * | image3 | ) |
Connect one of the operands for pixel-wise addition.
Connect one of the operands for pixel-wise addition
Definition at line 65 of file otbQuaternaryFunctorImageFilter.hxx.
void otb::QuaternaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TInputImage4, TOutputImage, TFunction >::SetInput4 | ( | const TInputImage4 * | image4 | ) |
Connect one of the operands for pixel-wise addition.
Connect one of the operands for pixel-wise addition
Definition at line 75 of file otbQuaternaryFunctorImageFilter.hxx.
|
overrideprotected |
QuaternaryFunctorImageFilter 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 function. Performs the pixel-wise addition
Definition at line 106 of file otbQuaternaryFunctorImageFilter.hxx.
|
static |
Image dimensions
Definition at line 130 of file otbQuaternaryFunctorImageFilter.h.
|
static |
Image dimensions
Definition at line 131 of file otbQuaternaryFunctorImageFilter.h.
|
static |
Image dimensions
Definition at line 132 of file otbQuaternaryFunctorImageFilter.h.
|
static |
Image dimensions
Definition at line 133 of file otbQuaternaryFunctorImageFilter.h.
|
private |
Image dimensions
Definition at line 163 of file otbQuaternaryFunctorImageFilter.h.
|
static |
Image dimensions
Definition at line 134 of file otbQuaternaryFunctorImageFilter.h.