OTB
9.0.0
Orfeo Toolbox
|
#include <otbUnaryFunctorNeighborhoodVectorImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef UnaryFunctorNeighborhoodVectorImageFilter | Self |
typedef itk::InPlaceImageFilter< 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 TFunction | FunctorType |
typedef TInputImage | InputImageType |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef itk::ProcessObject | ProcessObjectType |
typedef itk::ConstNeighborhoodIterator< TInputImage > | NeighborhoodIteratorType |
typedef NeighborhoodIteratorType::RadiusType | RadiusType |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
RadiusType | m_Radius |
FunctorType | m_Functor |
FunctorType & | GetFunctor () |
void | SetFunctor (const FunctorType &functor) |
virtual void | SetRadius (RadiusType _arg) |
virtual RadiusType | GetRadius () |
UnaryFunctorNeighborhoodVectorImageFilter () | |
~UnaryFunctorNeighborhoodVectorImageFilter () override | |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | GenerateOutputInformation (void) override |
UnaryFunctorNeighborhoodVectorImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Implements neighborhood-wise generic operation of one vector image.
This class is parameterized over the types of the input image 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 otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef itk::SmartPointer<const Self> otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::ConstPointer |
Definition at line 49 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef TFunction otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::FunctorType |
Some convenient typedefs.
Definition at line 63 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef InputImageType::PixelType otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePixelType |
Some convenient typedefs.
Definition at line 67 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef InputImageType::ConstPointer otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePointer |
Some convenient typedefs.
Definition at line 65 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef InputImageType::RegionType otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageRegionType |
Some convenient typedefs.
Definition at line 66 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef TInputImage otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageType |
Some convenient typedefs.
Definition at line 64 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef itk::ConstNeighborhoodIterator<TInputImage> otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::NeighborhoodIteratorType |
Some convenient typedefs.
Definition at line 97 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef OutputImageType::PixelType otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePixelType |
Some convenient typedefs.
Definition at line 71 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef OutputImageType::Pointer otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePointer |
Some convenient typedefs.
Definition at line 69 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef OutputImageType::RegionType otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageRegionType |
Some convenient typedefs.
Definition at line 70 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef TOutputImage otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageType |
Some convenient typedefs.
Definition at line 68 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef itk::SmartPointer<Self> otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::Pointer |
Definition at line 48 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef itk::ProcessObject otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::ProcessObjectType |
Some convenient typedefs.
Definition at line 73 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef NeighborhoodIteratorType::RadiusType otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::RadiusType |
Some convenient typedefs.
Definition at line 98 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef UnaryFunctorNeighborhoodVectorImageFilter otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::Self |
Standard class typedefs.
Definition at line 46 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef itk::InPlaceImageFilter<TInputImage, TOutputImage> otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::Superclass |
Definition at line 47 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
|
protected |
Constructor
Definition at line 36 of file otbUnaryFunctorNeighborhoodVectorImageFilter.hxx.
|
inlineoverrideprotected |
Some convenient typedefs.
Definition at line 111 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
|
privatedelete |
Some convenient typedefs.
virtual::itk::LightObject::Pointer otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Since the number of components per pixel depends on the radius range, one must reimplement this method to set the proper number of component on the filter output.
Generate the output information
Definition at line 49 of file otbUnaryFunctorNeighborhoodVectorImageFilter.hxx.
|
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 79 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Some convenient typedefs.
|
static |
Method for creation through the object factory.
|
privatedelete |
Some convenient typedefs.
|
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 90 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
|
virtual |
Set/Get Radius The main difference from itkUnaryFunctiorNeighborhoodImageFilter and otbBinaryFunctorNeighborhoodVectorImageFilter is that the radius may not be square...
|
overrideprotected |
UnaryFunctorNeighborhoodVectorImageFilter 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 60 of file otbUnaryFunctorNeighborhoodVectorImageFilter.hxx.
|
static |
Dimension
Definition at line 58 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
|
private |
Some convenient typedefs.
Definition at line 139 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
|
protected |
Some convenient typedefs.
Definition at line 133 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
|
static |
Some convenient typedefs.
Definition at line 59 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.