Mercurial > hg > orthanc-wsi
diff Framework/Algorithms/PyramidReader.h @ 57:91fc9583b2de
big refactoring to support sparse tiling
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 24 Nov 2016 17:48:24 +0100 |
parents | 4a7a53257c7d |
children | ff0ef01c332c |
line wrap: on
line diff
--- a/Framework/Algorithms/PyramidReader.h Thu Nov 24 15:41:21 2016 +0100 +++ b/Framework/Algorithms/PyramidReader.h Thu Nov 24 17:48:24 2016 +0100 @@ -56,7 +56,8 @@ void CheckTileSize(const Orthanc::ImageAccessor& tile) const; - void CheckTileSize(const std::string& tile) const; + void CheckTileSize(const std::string& tile, + ImageCompression compression) const; SourceTile& AccessSourceTile(const Location& location); @@ -77,17 +78,13 @@ return parameters_; } - ImageCompression GetImageCompression() const - { - return source_.GetImageCompression(); - } - Orthanc::PixelFormat GetPixelFormat() const { return source_.GetPixelFormat(); } - const std::string* GetRawTile(unsigned int tileX, + const std::string* GetRawTile(ImageCompression& compression, + unsigned int tileX, unsigned int tileY); Orthanc::ImageAccessor GetDecodedTile(unsigned int tileX,