Mercurial > hg > orthanc-wsi
comparison Framework/Inputs/DecodedTiledPyramid.h @ 171:1390d5c87603
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 02 Aug 2019 16:03:15 +0200 |
parents | f0dac1e8f736 |
children | e3cbf890b588 |
comparison
equal
deleted
inserted
replaced
170:cea9a4701fce | 171:1390d5c87603 |
---|---|
32 * dimensions of the other slides. | 32 * dimensions of the other slides. |
33 **/ | 33 **/ |
34 class DecodedTiledPyramid : public ITiledPyramid | 34 class DecodedTiledPyramid : public ITiledPyramid |
35 { | 35 { |
36 private: | 36 private: |
37 bool grayscale_; | |
37 uint8_t backgroundColor_[3]; | 38 uint8_t backgroundColor_[3]; |
38 | 39 |
39 protected: | 40 protected: |
40 // Subclasses can assume that the requested region is fully inside | 41 // Subclasses can assume that the requested region is fully inside |
41 // the image, and that target has the proper size to store the | 42 // the image, and that target has the proper size to store the |
66 unsigned int tileX, | 67 unsigned int tileX, |
67 unsigned int tileY) | 68 unsigned int tileY) |
68 { | 69 { |
69 return false; // No access to the raw tiles | 70 return false; // No access to the raw tiles |
70 } | 71 } |
71 | |
72 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const | |
73 { | |
74 return Orthanc::PhotometricInterpretation_RGB; | |
75 } | |
76 }; | 72 }; |
77 } | 73 } |