Mercurial > hg > orthanc-wsi
comparison Framework/Inputs/DicomPyramidInstance.cpp @ 216:c35a3a0627b9
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 12 Jan 2021 10:21:36 +0100 |
parents | 02cb86d07966 |
children | 20bc074ec19a |
comparison
equal
deleted
inserted
replaced
215:02cb86d07966 | 216:c35a3a0627b9 |
---|---|
77 } | 77 } |
78 | 78 |
79 | 79 |
80 static void DetectPixelFormat(Orthanc::PixelFormat& format, | 80 static void DetectPixelFormat(Orthanc::PixelFormat& format, |
81 Orthanc::PhotometricInterpretation& photometric, | 81 Orthanc::PhotometricInterpretation& photometric, |
82 OrthancStone::DicomDatasetReader& reader) | 82 const OrthancStone::DicomDatasetReader& reader) |
83 { | 83 { |
84 using namespace OrthancStone; | 84 using namespace OrthancStone; |
85 | 85 |
86 std::string p = Orthanc::Toolbox::StripSpaces | 86 std::string p = Orthanc::Toolbox::StripSpaces |
87 (reader.GetMandatoryStringValue(OrthancStone::DicomPath(Orthanc::DICOM_TAG_PHOTOMETRIC_INTERPRETATION))); | 87 (reader.GetMandatoryStringValue(OrthancStone::DicomPath(Orthanc::DICOM_TAG_PHOTOMETRIC_INTERPRETATION))); |