21 #ifndef otbRAMDrivenAdaptativeStreamingManager_hxx
22 #define otbRAMDrivenAdaptativeStreamingManager_hxx
27 #include "itkMetaDataObject.h"
33 template <
class TImage>
38 template <
class TImage>
43 template <
class TImage>
46 unsigned long nbDivisions = this->EstimateOptimalNumberOfDivisions(input, region, m_AvailableRAMInMB, m_Bias);
50 auto inputImage =
dynamic_cast<TImage*
>(input);
57 const auto & imd = inputImage->GetImageMetadata();
71 splitter->SetTileHint(tileHint);
73 this->m_Splitter = splitter;
75 this->m_ComputedNumberOfSplits = this->m_Splitter->GetNumberOfSplits(region, nbDivisions);
77 this->m_Region = region;