Mercurial > hg > orthanc-stone
diff Framework/Toolbox/DicomFrameConverter.cpp @ 328:c80b5bddf86b am-2
support of monochrome1
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 17 Oct 2018 10:26:33 +0200 |
parents | 5412adf19980 |
children | b3b3fa0e3689 |
line wrap: on
line diff
--- a/Framework/Toolbox/DicomFrameConverter.cpp Tue Oct 16 15:25:21 2018 +0200 +++ b/Framework/Toolbox/DicomFrameConverter.cpp Wed Oct 17 10:26:33 2018 +0200 @@ -113,6 +113,8 @@ // Type 1 tag, must be present throw Orthanc::OrthancException(Orthanc::ErrorCode_BadFileFormat); } + + photometric_ = Orthanc::StringToPhotometricInterpretation(photometric.c_str()); isColor_ = (photometric != "MONOCHROME1" && photometric != "MONOCHROME2");