![]() |
OTB
7.2.0
Orfeo Toolbox
|
#include <otbUnaryFunctorNeighborhoodVectorImageFilter.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 TInputImage | InputImageType |
typedef itk::ConstNeighborhoodIterator< TInputImage > | NeighborhoodIteratorType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::ProcessObject | ProcessObjectType |
typedef NeighborhoodIteratorType::RadiusType | RadiusType |
typedef UnaryFunctorNeighborhoodVectorImageFilter | Self |
typedef itk::InPlaceImageFilter< TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
FunctorType & | GetFunctor () |
virtual const char * | GetNameOfClass () const |
void | SetFunctor (const FunctorType &functor) |
virtual void | SetRadius (RadiusType _arg) |
virtual RadiusType | GetRadius () |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Protected Member Functions | |
void | GenerateOutputInformation (void) override |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
~UnaryFunctorNeighborhoodVectorImageFilter () override | |
UnaryFunctorNeighborhoodVectorImageFilter () | |
Protected Attributes | |
RadiusType | m_Radius |
Private Member Functions | |
void | operator= (const Self &)=delete |
UnaryFunctorNeighborhoodVectorImageFilter (const Self &)=delete | |
Private Attributes | |
FunctorType | m_Functor |
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 |
Definition at line 67 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef InputImageType::ConstPointer otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::InputImagePointer |
Definition at line 65 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef InputImageType::RegionType otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageRegionType |
Definition at line 66 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef TInputImage otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::InputImageType |
Definition at line 64 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef itk::ConstNeighborhoodIterator<TInputImage> otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::NeighborhoodIteratorType |
Definition at line 97 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef OutputImageType::PixelType otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePixelType |
Definition at line 71 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef OutputImageType::Pointer otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImagePointer |
Definition at line 69 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef OutputImageType::RegionType otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageRegionType |
Definition at line 70 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef TOutputImage otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::OutputImageType |
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 |
Definition at line 73 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
typedef NeighborhoodIteratorType::RadiusType otb::UnaryFunctorNeighborhoodVectorImageFilter< TInputImage, TOutputImage, TFunction >::RadiusType |
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 |
Definition at line 111 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
|
privatedelete |
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).
Reimplemented in otb::LocalActivityVectorImageFilter< TInputImage, TOutputImage >, otb::SobelVectorImageFilter< TInputImage, TOutputImage >, otb::LocalGradientVectorImageFilter< TInputImage, TOutputImage >, otb::HorizontalSobelVectorImageFilter< TInputImage, TOutputImage >, and otb::VerticalSobelVectorImageFilter< TInputImage, TOutputImage >.
|
virtual |
Set/Get Radius The main difference from itkUnaryFunctiorNeighborhoodImageFilter and otbBinaryFunctorNeighborhoodVectorImageFilter is that the radius may not be square...
|
static |
Method for creation through the object factory.
|
privatedelete |
|
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 |
Definition at line 139 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
|
protected |
Definition at line 133 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.
|
static |
Dimension
Definition at line 59 of file otbUnaryFunctorNeighborhoodVectorImageFilter.h.