Mercurial > hg > orthanc
comparison OrthancServer/ParsedDicomFile.h @ 2209:e3fd5bc429a2
URI to reconstruct the main DICOM tags, the JSON summary and the metadata
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 09 Dec 2016 17:20:21 +0100 |
parents | 6dc3bdb4088b |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2208:90ea60bee5ff | 2209:e3fd5bc429a2 |
---|---|
164 | 164 |
165 void EmbedPdf(const std::string& pdf); | 165 void EmbedPdf(const std::string& pdf); |
166 | 166 |
167 bool ExtractPdf(std::string& pdf); | 167 bool ExtractPdf(std::string& pdf); |
168 | 168 |
169 void Convert(DicomMap& tags); | |
170 | |
171 void GetRawFrame(std::string& target, // OUT | 169 void GetRawFrame(std::string& target, // OUT |
172 std::string& mime, // OUT | 170 std::string& mime, // OUT |
173 unsigned int frameId); // IN | 171 unsigned int frameId); // IN |
174 | 172 |
175 unsigned int GetFramesCount() const; | 173 unsigned int GetFramesCount() const; |
176 | 174 |
177 static ParsedDicomFile* CreateFromJson(const Json::Value& value, | 175 static ParsedDicomFile* CreateFromJson(const Json::Value& value, |
178 DicomFromJsonFlags flags); | 176 DicomFromJsonFlags flags); |
179 | 177 |
180 void ChangeEncoding(Encoding target); | 178 void ChangeEncoding(Encoding target); |
179 | |
180 void ExtractDicomSummary(DicomMap& target) const; | |
181 | |
182 void ExtractDicomAsJson(Json::Value& target) const; | |
183 | |
184 bool LookupTransferSyntax(std::string& result); | |
181 }; | 185 }; |
182 } | 186 } |