Mercurial > hg > orthanc
comparison OrthancServer/FromDcmtkBridge.h @ 1924:6c73df12ca51
New URI: "/instances/.../frames/.../raw" to access the raw frames (bypass image decoding)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 07 Mar 2016 17:43:20 +0100 |
parents | b1291df2f780 |
children | 84c7eaeb5244 |
comparison
equal
deleted
inserted
replaced
1923:6ac7f31fc543 | 1924:6c73df12ca51 |
---|---|
36 | 36 |
37 #include "../Core/DicomFormat/DicomMap.h" | 37 #include "../Core/DicomFormat/DicomMap.h" |
38 | 38 |
39 #include <dcmtk/dcmdata/dcdatset.h> | 39 #include <dcmtk/dcmdata/dcdatset.h> |
40 #include <dcmtk/dcmdata/dcmetinf.h> | 40 #include <dcmtk/dcmdata/dcmetinf.h> |
41 #include <dcmtk/dcmdata/dcpixseq.h> | |
41 #include <json/json.h> | 42 #include <json/json.h> |
42 | 43 |
43 namespace Orthanc | 44 namespace Orthanc |
44 { | 45 { |
45 class FromDcmtkBridge | 46 class FromDcmtkBridge |
137 const Json::Value& element, // Encoding using UTF-8 | 138 const Json::Value& element, // Encoding using UTF-8 |
138 bool decodeDataUriScheme, | 139 bool decodeDataUriScheme, |
139 Encoding dicomEncoding); | 140 Encoding dicomEncoding); |
140 | 141 |
141 static DcmEVR ParseValueRepresentation(const std::string& s); | 142 static DcmEVR ParseValueRepresentation(const std::string& s); |
143 | |
144 static DcmPixelSequence* GetPixelSequence(DcmDataset& dataset); | |
142 }; | 145 }; |
143 } | 146 } |