OTB
9.0.0
Orfeo Toolbox
|
#include <otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef TFunction | FunctorType |
typedef InputImageType::IndexType | InputImageIndexType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::SizeType | InputImageSizeType |
typedef Superclass::InputImageType | InputImageType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef Superclass::OutputImageType | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::ProcessObject | ProcessObjectType |
typedef UnaryFunctorWithIndexWithOutputSizeImageFilter | Self |
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
typedef itk::ImageRegionConstIteratorWithIndex< TInputImage > | IteratorType |
FunctorType | m_Functor |
FunctorType & | GetFunctor () |
const FunctorType & | GetFunctor () const |
void | SetFunctor (const FunctorType &functor) |
UnaryFunctorWithIndexWithOutputSizeImageFilter () | |
~UnaryFunctorWithIndexWithOutputSizeImageFilter () override | |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | GenerateInputRequestedRegion (void) override |
void | GenerateOutputInformation () override |
UnaryFunctorWithIndexWithOutputSizeImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Implements neighborhood-wise generic operation on image.
This class is parameterized over the input image type and the type of the output image. It is also parameterized by the operation to be applied. A Functor style is used.
Definition at line 42 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef itk::SmartPointer<const Self> otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::ConstPointer |
Definition at line 49 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef TFunction otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::FunctorType |
Some convenient typedefs.
Definition at line 55 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef InputImageType::IndexType otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::InputImageIndexType |
Definition at line 64 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef InputImageType::PixelType otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePixelType |
Definition at line 62 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef InputImageType::ConstPointer otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePointer |
Definition at line 60 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef InputImageType::RegionType otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::InputImageRegionType |
Definition at line 61 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef InputImageType::SizeType otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::InputImageSizeType |
Definition at line 63 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef Superclass::InputImageType otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::InputImageType |
Definition at line 59 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef itk::ImageRegionConstIteratorWithIndex<TInputImage> otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::IteratorType |
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 105 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef OutputImageType::PixelType otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePixelType |
Definition at line 68 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef OutputImageType::Pointer otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePointer |
Definition at line 66 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef OutputImageType::RegionType otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageRegionType |
Definition at line 67 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef Superclass::OutputImageType otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageType |
Definition at line 65 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef itk::SmartPointer<Self> otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::Pointer |
Definition at line 48 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef itk::ProcessObject otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::ProcessObjectType |
Definition at line 70 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef UnaryFunctorWithIndexWithOutputSizeImageFilter otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::Self |
Standard class typedefs.
Definition at line 46 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::Superclass |
Definition at line 47 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
|
protected |
Constructor
Definition at line 34 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.hxx.
|
inlineoverrideprotected |
Destructor
Definition at line 116 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
|
privatedelete |
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.)
virtual::itk::LightObject::Pointer otb::UnaryFunctorWithIndexWithOutputSizeImageFilter< TInputImage, TOutputImage, TFunction >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Pad the input requested region by radius
Definition at line 39 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.hxx.
|
inlineoverrideprotected |
UnaryFunctorWithIndexWithOutputSizeImageFilter can produce an image which has a different number of bands than its input image. As such, UnaryFunctorImageFilter 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 145 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.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 76 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.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 87 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
|
virtual |
Run-time type information (and related methods).
|
static |
Method for creation through the object factory.
|
privatedelete |
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.)
|
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 98 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.
|
overrideprotected |
UnaryFunctorWithIndexWithOutputSizeImageFilter 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 neighborhood-wise operation
Definition at line 87 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.hxx.
|
private |
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 158 of file otbUnaryFunctorWithIndexWithOutputSizeImageFilter.h.