Mercurial > hg > orthanc-stone
comparison Framework/Deprecated/Toolbox/DicomFrameConverter.cpp @ 994:1f74bc3459ba
fix build due to rename in Orthanc::DicomMap
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 12 Sep 2019 08:27:12 +0200 |
parents | c35e98d22764 |
children | 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
993:f270852d3180 | 994:1f74bc3459ba |
---|---|
117 throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); | 117 throw Orthanc::OrthancException(Orthanc::ErrorCode_NotImplemented); |
118 } | 118 } |
119 } | 119 } |
120 | 120 |
121 std::string photometric; | 121 std::string photometric; |
122 if (dicom.CopyToString(photometric, Orthanc::DICOM_TAG_PHOTOMETRIC_INTERPRETATION, false)) | 122 if (dicom.LookupStringValue(photometric, Orthanc::DICOM_TAG_PHOTOMETRIC_INTERPRETATION, false)) |
123 { | 123 { |
124 photometric = Orthanc::Toolbox::StripSpaces(photometric); | 124 photometric = Orthanc::Toolbox::StripSpaces(photometric); |
125 } | 125 } |
126 else | 126 else |
127 { | 127 { |