OTB
9.0.0
Orfeo Toolbox
|
#include <otbRAMDrivenTiledStreamingManager.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef TImage | ImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef Superclass::RegionType | RegionType |
typedef RAMDrivenTiledStreamingManager | Self |
typedef StreamingManager< TImage > | Superclass |
Public Types inherited from otb::StreamingManager< TImage > | |
typedef itk::ImageRegionSplitterBase | AbstractSplitterType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef ImageType::Pointer | ImagePointerType |
typedef TImage | ImageType |
typedef RegionType::IndexType | IndexType |
typedef otb::PipelineMemoryPrintCalculator::MemoryPrintType | MemoryPrintType |
typedef ImageType::InternalPixelType | PixelType |
typedef itk::SmartPointer< Self > | Pointer |
typedef ImageType::RegionType | RegionType |
typedef StreamingManager | Self |
typedef RegionType::SizeType | SizeType |
typedef itk::LightObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual unsigned int | GetAvailableRAMInMB () const |
virtual double | GetBias () const |
virtual const char * | GetNameOfClass () const |
void | PrepareStreaming (itk::DataObject *input, const RegionType ®ion) override |
virtual void | SetAvailableRAMInMB (unsigned int _arg) |
virtual void | SetBias (double _arg) |
Public Member Functions inherited from otb::StreamingManager< TImage > | |
virtual MemoryPrintType | GetDefaultRAM () |
virtual unsigned int | GetNumberOfSplits () |
virtual RegionType | GetSplit (unsigned int i) |
const AbstractSplitterType * | GetSplitter () const |
virtual void | SetDefaultRAM (MemoryPrintType _arg) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = ImageType::ImageDimension |
Static Public Attributes inherited from otb::StreamingManager< TImage > | |
static const unsigned int | ImageDimension = ImageType::ImageDimension |
Protected Member Functions | |
RAMDrivenTiledStreamingManager () | |
~RAMDrivenTiledStreamingManager () override | |
Protected Member Functions inherited from otb::StreamingManager< TImage > | |
virtual unsigned int | EstimateOptimalNumberOfDivisions (itk::DataObject *input, const RegionType ®ion, MemoryPrintType availableRAMInMB, double bias=1.0) |
StreamingManager () | |
~StreamingManager () override | |
Protected Attributes | |
unsigned int | m_AvailableRAMInMB |
double | m_Bias |
Protected Attributes inherited from otb::StreamingManager< TImage > | |
unsigned int | m_ComputedNumberOfSplits |
RegionType | m_Region |
AbstractSplitterPointerType | m_Splitter |
Private Member Functions | |
void | operator= (const RAMDrivenTiledStreamingManager &) |
RAMDrivenTiledStreamingManager (const RAMDrivenTiledStreamingManager &) | |
Additional Inherited Members | |
Protected Types inherited from otb::StreamingManager< TImage > | |
typedef AbstractSplitterType::Pointer | AbstractSplitterPointerType |
This class computes the divisions needed to stream an image in square tiles, according to a user-defined available RAM.
You can use SetAvailableRAMInMB to set the available RAM. An estimation of the pipeline memory print will be done, and the number of divisions will then be computed to fit the available RAM
Definition at line 43 of file otbRAMDrivenTiledStreamingManager.h.
typedef itk::SmartPointer<const Self> otb::RAMDrivenTiledStreamingManager< TImage >::ConstPointer |
Definition at line 50 of file otbRAMDrivenTiledStreamingManager.h.
typedef TImage otb::RAMDrivenTiledStreamingManager< TImage >::ImageType |
Definition at line 52 of file otbRAMDrivenTiledStreamingManager.h.
typedef itk::SmartPointer<Self> otb::RAMDrivenTiledStreamingManager< TImage >::Pointer |
Definition at line 49 of file otbRAMDrivenTiledStreamingManager.h.
typedef Superclass::RegionType otb::RAMDrivenTiledStreamingManager< TImage >::RegionType |
Definition at line 53 of file otbRAMDrivenTiledStreamingManager.h.
typedef RAMDrivenTiledStreamingManager otb::RAMDrivenTiledStreamingManager< TImage >::Self |
Standard class typedefs.
Definition at line 47 of file otbRAMDrivenTiledStreamingManager.h.
typedef StreamingManager<TImage> otb::RAMDrivenTiledStreamingManager< TImage >::Superclass |
Definition at line 48 of file otbRAMDrivenTiledStreamingManager.h.
|
protected |
Definition at line 32 of file otbRAMDrivenTiledStreamingManager.hxx.
|
overrideprotected |
Definition at line 37 of file otbRAMDrivenTiledStreamingManager.hxx.
|
private |
virtual::itk::LightObject::Pointer otb::RAMDrivenTiledStreamingManager< TImage >::CreateAnother | ( | void | ) | const |
|
virtual |
The number of Megabytes available (if 0, the configuration option is used)
|
virtual |
The multiplier to apply to the memory print estimation
|
virtual |
Type macro
Reimplemented from otb::StreamingManager< TImage >.
|
static |
Creation through object factory macro
|
private |
|
overridevirtual |
Actually computes the stream divisions, according to the specified streaming mode, eventually using the input parameter to estimate memory consumption
Implements otb::StreamingManager< TImage >.
Definition at line 42 of file otbRAMDrivenTiledStreamingManager.hxx.
References otbMsgDevMacro.
|
virtual |
The number of Megabytes available (if 0, the configuration option is used)
|
virtual |
The multiplier to apply to the memory print estimation
|
static |
Dimension of input image.
Definition at line 62 of file otbRAMDrivenTiledStreamingManager.h.
|
protected |
The number of MegaBytes of RAM available
Definition at line 87 of file otbRAMDrivenTiledStreamingManager.h.
|
protected |
The multiplier to apply to the memory print estimation
Definition at line 90 of file otbRAMDrivenTiledStreamingManager.h.