OTB
9.0.0
Orfeo Toolbox
|
#include <otbUnaryFunctorNeighborhoodImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef TFunction | FunctorType |
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 UnaryFunctorNeighborhoodImageFilter | 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::ConstNeighborhoodIterator< TInputImage > | NeighborhoodIteratorType |
typedef NeighborhoodIteratorType::RadiusType | RadiusType |
typedef unsigned char | RadiusSizeType |
InputImageSizeType | m_Radius |
FunctorType | m_Functor |
virtual void | SetRadius (InputImageSizeType _arg) |
virtual InputImageSizeType | GetRadius () |
void | SetRadius (unsigned int radius) |
FunctorType & | GetFunctor () |
const FunctorType & | GetFunctor () const |
void | SetFunctor (const FunctorType &functor) |
UnaryFunctorNeighborhoodImageFilter () | |
~UnaryFunctorNeighborhoodImageFilter () override | |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | GenerateInputRequestedRegion (void) override |
UnaryFunctorNeighborhoodImageFilter (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 43 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef itk::SmartPointer<const Self> otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::ConstPointer |
Definition at line 50 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef TFunction otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::FunctorType |
Some convenient typedefs.
Definition at line 56 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef InputImageType::PixelType otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePixelType |
Definition at line 63 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef InputImageType::ConstPointer otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePointer |
Definition at line 61 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef InputImageType::RegionType otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::InputImageRegionType |
Definition at line 62 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef InputImageType::SizeType otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::InputImageSizeType |
Definition at line 64 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef Superclass::InputImageType otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::InputImageType |
Definition at line 60 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef itk::ConstNeighborhoodIterator<TInputImage> otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::NeighborhoodIteratorType |
Set/Get the radius of neighborhood.
Definition at line 116 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef OutputImageType::PixelType otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePixelType |
Definition at line 68 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef OutputImageType::Pointer otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePointer |
Definition at line 66 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef OutputImageType::RegionType otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageRegionType |
Definition at line 67 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef Superclass::OutputImageType otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageType |
Definition at line 65 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef itk::SmartPointer<Self> otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::Pointer |
Definition at line 49 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef itk::ProcessObject otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::ProcessObjectType |
Definition at line 70 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef unsigned char otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::RadiusSizeType |
Set/Get the radius of neighborhood.
Definition at line 118 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef NeighborhoodIteratorType::RadiusType otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::RadiusType |
Set/Get the radius of neighborhood.
Definition at line 117 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef UnaryFunctorNeighborhoodImageFilter otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::Self |
Standard class typedefs.
Definition at line 47 of file otbUnaryFunctorNeighborhoodImageFilter.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::Superclass |
Definition at line 48 of file otbUnaryFunctorNeighborhoodImageFilter.h.
|
protected |
Constructor
Definition at line 37 of file otbUnaryFunctorNeighborhoodImageFilter.hxx.
|
inlineoverrideprotected |
Destructor
Definition at line 129 of file otbUnaryFunctorNeighborhoodImageFilter.h.
|
privatedelete |
Set/Get the radius of neighborhood.
virtual::itk::LightObject::Pointer otb::UnaryFunctorNeighborhoodImageFilter< TInputImage, TOutputImage, TFunction >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Pad the input requested region by radius
Definition at line 43 of file otbUnaryFunctorNeighborhoodImageFilter.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 87 of file otbUnaryFunctorNeighborhoodImageFilter.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 98 of file otbUnaryFunctorNeighborhoodImageFilter.h.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Set/Get the radius of neighborhood.
|
static |
Method for creation through the object factory.
|
privatedelete |
Set/Get the radius of neighborhood.
|
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 109 of file otbUnaryFunctorNeighborhoodImageFilter.h.
|
virtual |
Set/Get the radius of neighborhood.
|
inline |
Set unsigned int radius
Definition at line 78 of file otbUnaryFunctorNeighborhoodImageFilter.h.
|
overrideprotected |
UnaryFunctorNeighborhoodImageFilter 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 94 of file otbUnaryFunctorNeighborhoodImageFilter.hxx.
|
private |
Set/Get the radius of neighborhood.
Definition at line 155 of file otbUnaryFunctorNeighborhoodImageFilter.h.
|
private |
Set/Get the radius of neighborhood.
Definition at line 154 of file otbUnaryFunctorNeighborhoodImageFilter.h.