OTB
9.0.0
Orfeo Toolbox
|
#include <otbFunctorImageFilter.h>
Public Types | |
using | ConstPointer = itk::SmartPointer< const Self > |
using | FunctorType = TFunction |
using | InputHasNeighborhood = typename SuperclassHelper::InputHasNeighborhood |
template<vcl_size_t I> | |
using | InputImageType = typename Superclass::template InputImageType< I > |
using | InputTypesTupleType = typename Superclass::InputTypesTupleType |
using | OutputImageRegionType = typename OutputImageType::RegionType |
using | OutputImageType = typename Superclass::OutputImageType |
using | Pointer = itk::SmartPointer< Self > |
using | Self = FunctorImageFilter |
using | Superclass = typename SuperclassHelper::FilterType |
using | SuperclassHelper = FunctorFilterSuperclassHelper< TFunction, TNameMap > |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
template<typename F = TFunction> | |
static std::enable_if_t< std::is_default_constructible< F >::value, Pointer > | New () |
template<typename F = TFunction> | |
static std::enable_if_t<!std::is_default_constructible< F >::value, Pointer > | New () |
FunctorType | m_Functor |
itk::Size< 2 > | m_Radius |
FunctorType & | GetModifiableFunctor () |
const FunctorType & | GetFunctor () const |
FunctorImageFilter (const FunctorType &f, itk::Size< 2 > radius) | |
FunctorImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
~FunctorImageFilter ()=default | |
auto | NewFunctorFilter (TFunction f, itk::Size< 2 > radius) |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | GenerateInputRequestedRegion (void) override |
void | GenerateOutputInformation () override |
A generic functor filter templated by its functor.
TFunction | can be any operator() (const or non-const) that matches the following:
|
All image types will be deduced from the TFunction operator().
Definition at line 322 of file otbFunctorImageFilter.h.
using otb::FunctorImageFilter< TFunction, TNameMap >::ConstPointer = itk::SmartPointer<const Self> |
Definition at line 330 of file otbFunctorImageFilter.h.
using otb::FunctorImageFilter< TFunction, TNameMap >::FunctorType = TFunction |
Definition at line 328 of file otbFunctorImageFilter.h.
using otb::FunctorImageFilter< TFunction, TNameMap >::InputHasNeighborhood = typename SuperclassHelper::InputHasNeighborhood |
Definition at line 340 of file otbFunctorImageFilter.h.
using otb::FunctorImageFilter< TFunction, TNameMap >::InputImageType = typename Superclass::template InputImageType<I> |
Definition at line 343 of file otbFunctorImageFilter.h.
using otb::FunctorImageFilter< TFunction, TNameMap >::InputTypesTupleType = typename Superclass::InputTypesTupleType |
Definition at line 341 of file otbFunctorImageFilter.h.
using otb::FunctorImageFilter< TFunction, TNameMap >::OutputImageRegionType = typename OutputImageType::RegionType |
Definition at line 336 of file otbFunctorImageFilter.h.
using otb::FunctorImageFilter< TFunction, TNameMap >::OutputImageType = typename Superclass::OutputImageType |
Definition at line 335 of file otbFunctorImageFilter.h.
using otb::FunctorImageFilter< TFunction, TNameMap >::Pointer = itk::SmartPointer<Self> |
Definition at line 329 of file otbFunctorImageFilter.h.
using otb::FunctorImageFilter< TFunction, TNameMap >::Self = FunctorImageFilter |
Definition at line 327 of file otbFunctorImageFilter.h.
using otb::FunctorImageFilter< TFunction, TNameMap >::Superclass = typename SuperclassHelper::FilterType |
Definition at line 334 of file otbFunctorImageFilter.h.
using otb::FunctorImageFilter< TFunction, TNameMap >::SuperclassHelper = FunctorFilterSuperclassHelper<TFunction, TNameMap> |
Definition at line 333 of file otbFunctorImageFilter.h.
|
inlineprotected |
Constructor of functor filter, will copy the functor.
Definition at line 401 of file otbFunctorImageFilter.h.
|
protecteddelete |
Get the functor object.
\return A non-const reference to the Functor in use. Note that this call will call the Modified() function of the filter, which will trigger a full output computation upon Update(). For inspection only, prefer using GetFunctor()
|
protecteddefault |
Get the functor object.
\return A non-const reference to the Functor in use. Note that this call will call the Modified() function of the filter, which will trigger a full output computation upon Update(). For inspection only, prefer using GetFunctor()
|
overrideprivate |
Pad the input requested region by radius
Definition at line 289 of file otbFunctorImageFilter.hxx.
|
overrideprivate |
Will use the OutputSize() method of the functor if output is VectorImage
Definition at line 302 of file otbFunctorImageFilter.hxx.
|
inline |
Get the functor object.
Definition at line 394 of file otbFunctorImageFilter.h.
|
inline |
Get the functor object.
\return A non-const reference to the Functor in use. Note that this call will call the Modified() function of the filter, which will trigger a full output computation upon Update(). For inspection only, prefer using GetFunctor()
Definition at line 382 of file otbFunctorImageFilter.h.
|
virtual |
Run-time type information (and related methods).
|
inlinestatic |
New() macro defined only if TFunction is default constructible
Definition at line 351 of file otbFunctorImageFilter.h.
|
inlinestatic |
New() macro defined only if TFunction is NOT default constructible This will yield an error message since New() can not be implemented in this case.
Definition at line 365 of file otbFunctorImageFilter.h.
|
protecteddelete |
Get the functor object.
\return A non-const reference to the Functor in use. Note that this call will call the Modified() function of the filter, which will trigger a full output computation upon Update(). For inspection only, prefer using GetFunctor()
|
overrideprivate |
Overload of ThreadedGenerateData
ThreadedGenerateData Performs the neighborhood-wise operation
Definition at line 321 of file otbFunctorImageFilter.hxx.
|
friend |
Actual creation of the filter is handled by this free function.
|
private |
Get the functor object.
\return A non-const reference to the Functor in use. Note that this call will call the Modified() function of the filter, which will trigger a full output computation upon Update(). For inspection only, prefer using GetFunctor()
Definition at line 425 of file otbFunctorImageFilter.h.
|
private |
Get the functor object.
\return A non-const reference to the Functor in use. Note that this call will call the Modified() function of the filter, which will trigger a full output computation upon Update(). For inspection only, prefer using GetFunctor()
Definition at line 428 of file otbFunctorImageFilter.h.