Mercurial > hg > orthanc
comparison OrthancServer/Internals/DicomImageDecoder.h @ 867:ea246626b96c jpeg
fixes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Jun 2014 17:31:49 +0200 |
parents | 3c0d0836f704 |
children | b3f6fb1130cd |
comparison
equal
deleted
inserted
replaced
865:f2841a9e04cf | 867:ea246626b96c |
---|---|
50 static bool IsPsmctRle1(DcmDataset& dataset); | 50 static bool IsPsmctRle1(DcmDataset& dataset); |
51 | 51 |
52 static void SetupImageBuffer(ImageBuffer& target, | 52 static void SetupImageBuffer(ImageBuffer& target, |
53 DcmDataset& dataset); | 53 DcmDataset& dataset); |
54 | 54 |
55 public: // TODO SWITCH TO PRIVATE | |
56 static bool DecodePsmctRle1(std::string& output, | 55 static bool DecodePsmctRle1(std::string& output, |
57 DcmDataset& dataset); | 56 DcmDataset& dataset); |
58 | 57 |
59 public: | |
60 static bool IsUncompressedImage(const DcmDataset& dataset); | 58 static bool IsUncompressedImage(const DcmDataset& dataset); |
61 | 59 |
62 static bool IsJpegLossless(const DcmDataset& dataset); | 60 static bool IsJpegLossless(const DcmDataset& dataset); |
63 | 61 |
64 static void DecodeUncompressedImage(ImageBuffer& target, | 62 static void DecodeUncompressedImage(ImageBuffer& target, |
69 static void DecodeJpegLossless(ImageBuffer& target, | 67 static void DecodeJpegLossless(ImageBuffer& target, |
70 DcmDataset& dataset, | 68 DcmDataset& dataset, |
71 unsigned int frame); | 69 unsigned int frame); |
72 #endif | 70 #endif |
73 | 71 |
72 public: | |
74 static bool Decode(ImageBuffer& target, | 73 static bool Decode(ImageBuffer& target, |
75 DcmDataset& dataset, | 74 DcmDataset& dataset, |
76 unsigned int frame); | 75 unsigned int frame); |
77 | 76 |
78 static bool DecodeAndTruncate(ImageBuffer& target, | 77 static bool DecodeAndTruncate(ImageBuffer& target, |