Mercurial > hg > orthanc
diff OrthancFramework/Sources/DicomFormat/DicomImageInformation.cpp @ 4902:df86d2505df8
Orthanc 1.9.8 is now known as Orthanc 1.10.0
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 20 Feb 2022 16:57:43 +0100 |
parents | 6971ea27a2a9 |
children | 255b02c68908 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomImageInformation.cpp Sun Feb 20 16:35:15 2022 +0100 +++ b/OrthancFramework/Sources/DicomFormat/DicomImageInformation.cpp Sun Feb 20 16:57:43 2022 +0100 @@ -187,7 +187,7 @@ if (bitsAllocated_ != 8 && bitsAllocated_ != 16 && bitsAllocated_ != 24 && bitsAllocated_ != 32 && - bitsAllocated_ != 1 /* new in Orthanc 1.9.8 */) + bitsAllocated_ != 1 /* new in Orthanc 1.10.0 */) { throw OrthancException(ErrorCode_IncompatibleImageFormat, "Image not supported: " + boost::lexical_cast<std::string>(bitsAllocated_) + " bits allocated"); } @@ -207,7 +207,7 @@ if (bitsStored_ == 1) { - // This is the case of DICOM SEG, new in Orthanc 1.9.8 + // This is the case of DICOM SEG, new in Orthanc 1.10.0 if (bitsAllocated_ != 1) { throw OrthancException(ErrorCode_BadFileFormat); @@ -365,7 +365,7 @@ if (GetBitsStored() == 1 && GetChannelCount() == 1 && !IsSigned()) { - // This is the case of DICOM SEG, new in Orthanc 1.9.8 + // This is the case of DICOM SEG, new in Orthanc 1.10.0 format = PixelFormat_Grayscale8; return true; }