Mercurial > hg > orthanc-wsi
diff Framework/Inputs/TiledPyramidStatistics.cpp @ 318:8ad12abde290
sparse re-encoding with OpenSlide (notably for MIRAX format)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 11 Sep 2024 16:11:16 +0200 |
parents | 0683312e21ba |
children |
line wrap: on
line diff
--- a/Framework/Inputs/TiledPyramidStatistics.cpp Wed Sep 11 13:43:39 2024 +0200 +++ b/Framework/Inputs/TiledPyramidStatistics.cpp Wed Sep 11 16:11:16 2024 +0200 @@ -64,7 +64,8 @@ } - Orthanc::ImageAccessor* TiledPyramidStatistics::DecodeTile(unsigned int level, + Orthanc::ImageAccessor* TiledPyramidStatistics::DecodeTile(bool& isEmpty, + unsigned int level, unsigned int tileX, unsigned int tileY) { @@ -73,6 +74,6 @@ countDecodedTiles_++; } - return source_.DecodeTile(level, tileX, tileY); + return source_.DecodeTile(isEmpty, level, tileX, tileY); } }