Mercurial > hg > orthanc
changeset 1207:ddb5b6ed9736
fix unit tests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 03 Nov 2014 15:27:50 +0100 |
parents | f5b0207967bc |
children | 6502517fd4af |
files | UnitTestsSources/ImageProcessingTests.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/UnitTestsSources/ImageProcessingTests.cpp Mon Nov 03 15:19:02 2014 +0100 +++ b/UnitTestsSources/ImageProcessingTests.cpp Mon Nov 03 15:27:50 2014 +0100 @@ -51,6 +51,7 @@ m.SetValue(DICOM_TAG_BITS_STORED, "12"); m.SetValue(DICOM_TAG_HIGH_BIT, "11"); m.SetValue(DICOM_TAG_PIXEL_REPRESENTATION, "0"); + m.SetValue(DICOM_TAG_PHOTOMETRIC_INTERPRETATION, "MONOCHROME2"); DicomImageInformation info(m); PixelFormat format; @@ -70,6 +71,7 @@ m.SetValue(DICOM_TAG_BITS_STORED, "16"); m.SetValue(DICOM_TAG_HIGH_BIT, "15"); m.SetValue(DICOM_TAG_PIXEL_REPRESENTATION, "1"); + m.SetValue(DICOM_TAG_PHOTOMETRIC_INTERPRETATION, "MONOCHROME2"); DicomImageInformation info(m); PixelFormat format;