OTB
9.0.0
Orfeo Toolbox
|
#include <otbPersistentFilterStreamingDecorator.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef FilterType::Pointer | FilterPointerType |
typedef TFilter | FilterType |
typedef FilterType::InputImageType | ImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef PersistentFilterStreamingDecorator | Self |
typedef StreamerType::Pointer | StreamerPointerType |
typedef StreamingImageVirtualWriter< ImageType > | StreamerType |
typedef itk::ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const FilterType * | GetFilter () const |
virtual const char * | GetNameOfClass () const |
itkGetObjectMacro (Filter, FilterType) | |
itkGetObjectMacro (Streamer, StreamerType) | |
virtual void | SetFilter (FilterType *_arg) |
void | Update (void) override |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
void | GenerateData (void) override |
PersistentFilterStreamingDecorator () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
~PersistentFilterStreamingDecorator () override | |
Protected Attributes | |
FilterPointerType | m_Filter |
StreamerPointerType | m_Streamer |
Private Member Functions | |
void | operator= (const Self &)=delete |
PersistentFilterStreamingDecorator (const Self &)=delete | |
This filter link a persistent filter with a StreamingImageVirtualWriter.
The StreamingVirtualWriter will break the input image into pieces and stream each piece through the persistent filter. That way, the persistent filter will computes its data on the whole image, but never loads the whole of it, and eventually processes each piece with multiple threads. Before the streaming of the whole image is triggered, the Reset() method of the persistent filter is called to clear the temporary data it might contain. After the streaming, the Synthetize() method is called to synthetize the temporary data. One can access the persistent filter via the GetFilter() method, and StreamingVirtualWriter via the GetStreamer() method.
Definition at line 47 of file otbPersistentFilterStreamingDecorator.h.
typedef itk::SmartPointer<const Self> otb::PersistentFilterStreamingDecorator< TFilter >::ConstPointer |
Definition at line 54 of file otbPersistentFilterStreamingDecorator.h.
typedef FilterType::Pointer otb::PersistentFilterStreamingDecorator< TFilter >::FilterPointerType |
Definition at line 64 of file otbPersistentFilterStreamingDecorator.h.
typedef TFilter otb::PersistentFilterStreamingDecorator< TFilter >::FilterType |
Template parameters typedefs
Definition at line 60 of file otbPersistentFilterStreamingDecorator.h.
typedef FilterType::InputImageType otb::PersistentFilterStreamingDecorator< TFilter >::ImageType |
Definition at line 65 of file otbPersistentFilterStreamingDecorator.h.
typedef itk::SmartPointer<Self> otb::PersistentFilterStreamingDecorator< TFilter >::Pointer |
Definition at line 53 of file otbPersistentFilterStreamingDecorator.h.
typedef PersistentFilterStreamingDecorator otb::PersistentFilterStreamingDecorator< TFilter >::Self |
Standard typedefs
Definition at line 51 of file otbPersistentFilterStreamingDecorator.h.
typedef StreamerType::Pointer otb::PersistentFilterStreamingDecorator< TFilter >::StreamerPointerType |
Definition at line 68 of file otbPersistentFilterStreamingDecorator.h.
typedef StreamingImageVirtualWriter<ImageType> otb::PersistentFilterStreamingDecorator< TFilter >::StreamerType |
Definition at line 67 of file otbPersistentFilterStreamingDecorator.h.
typedef itk::ProcessObject otb::PersistentFilterStreamingDecorator< TFilter >::Superclass |
Definition at line 52 of file otbPersistentFilterStreamingDecorator.h.
|
protected |
Constructor
|
inlineoverrideprotected |
Destructor
Definition at line 82 of file otbPersistentFilterStreamingDecorator.h.
|
privatedelete |
virtual::itk::LightObject::Pointer otb::PersistentFilterStreamingDecorator< TFilter >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
|
virtual |
|
virtual |
Creation through object factory macro
otb::PersistentFilterStreamingDecorator< TFilter >::itkGetObjectMacro | ( | Filter | , |
FilterType | |||
) |
otb::PersistentFilterStreamingDecorator< TFilter >::itkGetObjectMacro | ( | Streamer | , |
StreamerType | |||
) |
|
static |
Type macro
Referenced by otb::LabelImageSmallRegionMergingFilter< TInputLabelImage >::LabelImageSmallRegionMergingFilter().
|
privatedelete |
|
overrideprotected |
PrintSelf method
|
virtual |
|
override |
|
protected |
Object responsible for computation.
Definition at line 95 of file otbPersistentFilterStreamingDecorator.h.
|
protected |
Object responsible for streaming.
Definition at line 92 of file otbPersistentFilterStreamingDecorator.h.