Mercurial > hg > orthanc
comparison OrthancServer/Internals/DicomFrameIndex.cpp @ 2381:b8969010b534
uncoupling DCMTK primitives from Orthanc::Configuration
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 29 Aug 2017 19:59:01 +0200 |
parents | a3a65de1840f |
children |
comparison
equal
deleted
inserted
replaced
2380:96b3ec054b69 | 2381:b8969010b534 |
---|---|
35 #include "DicomFrameIndex.h" | 35 #include "DicomFrameIndex.h" |
36 | 36 |
37 #include "../../Core/OrthancException.h" | 37 #include "../../Core/OrthancException.h" |
38 #include "../../Core/DicomFormat/DicomImageInformation.h" | 38 #include "../../Core/DicomFormat/DicomImageInformation.h" |
39 #include "../FromDcmtkBridge.h" | 39 #include "../FromDcmtkBridge.h" |
40 #include "../OrthancInitialization.h" | |
41 #include "../../Core/Endianness.h" | 40 #include "../../Core/Endianness.h" |
42 #include "DicomImageDecoder.h" | 41 #include "DicomImageDecoder.h" |
43 | 42 |
44 #include <boost/lexical_cast.hpp> | 43 #include <boost/lexical_cast.hpp> |
45 | 44 |
403 return; | 402 return; |
404 } | 403 } |
405 | 404 |
406 // Extract information about the image structure | 405 // Extract information about the image structure |
407 DicomMap tags; | 406 DicomMap tags; |
408 Configuration::ExtractDicomSummary(tags, dataset); | 407 FromDcmtkBridge::ExtractDicomSummary(tags, dataset); |
409 | 408 |
410 DicomImageInformation information(tags); | 409 DicomImageInformation information(tags); |
411 | 410 |
412 // Access to the raw pixel data | 411 // Access to the raw pixel data |
413 if (DicomImageDecoder::IsPsmctRle1(dataset)) | 412 if (DicomImageDecoder::IsPsmctRle1(dataset)) |