Mercurial > hg > orthanc
comparison OrthancFramework/Sources/DicomParsing/ParsedDicomFile.h @ 4139:a4f28efdfccf
"maxTagLength" must be explicitly given to ParsedDicomFile::ExtractDicomSummary()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Aug 2020 18:25:47 +0200 |
parents | bf7b9edf6b81 |
children | 0ddc5297a8ab |
comparison
equal
deleted
inserted
replaced
4138:1a26daefc3fe | 4139:a4f28efdfccf |
---|---|
242 DicomFromJsonFlags flags, | 242 DicomFromJsonFlags flags, |
243 const std::string& privateCreator); | 243 const std::string& privateCreator); |
244 | 244 |
245 void ChangeEncoding(Encoding target); | 245 void ChangeEncoding(Encoding target); |
246 | 246 |
247 void ExtractDicomSummary(DicomMap& target) const; | 247 /** |
248 | 248 * The DICOM tags with a string whose size is greater than |
249 * "maxTagLength", are replaced by a DicomValue whose type is | |
250 * "DicomValue_Null". If "maxTagLength" is zero, all the leaf tags | |
251 * are included, independently of their length. | |
252 **/ | |
249 void ExtractDicomSummary(DicomMap& target, | 253 void ExtractDicomSummary(DicomMap& target, |
254 unsigned int maxTagLength) const; | |
255 | |
256 /** | |
257 * This flavor can be used to bypass the "maxTagLength" limitation | |
258 * on a selected set of DICOM tags. | |
259 **/ | |
260 void ExtractDicomSummary(DicomMap& target, | |
261 unsigned int maxTagLength, | |
250 const std::set<DicomTag>& ignoreTagLength) const; | 262 const std::set<DicomTag>& ignoreTagLength) const; |
251 | 263 |
252 bool LookupTransferSyntax(std::string& result); | 264 bool LookupTransferSyntax(std::string& result); |
253 | 265 |
254 bool LookupPhotometricInterpretation(PhotometricInterpretation& result) const; | 266 bool LookupPhotometricInterpretation(PhotometricInterpretation& result) const; |