Mercurial > hg > orthanc
changeset 2485:a5196a7d98c6
todo
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 06 Mar 2018 10:41:05 +0100 |
parents | 911e62dbb4ac |
children | ad8f30fc28d1 |
files | Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp Fri Mar 02 18:25:07 2018 +0100 +++ b/Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp Tue Mar 06 10:41:05 2018 +0100 @@ -265,6 +265,10 @@ // http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.6.3.html#sect_C.7.6.3.1.2 // https://en.wikipedia.org/wiki/YCbCr#JPEG_conversion + // TODO - Check out the outcome of Mathieu's discussion about + // truncation of YCbCr-to-RGB conversion: + // https://groups.google.com/forum/#!msg/comp.protocols.dicom/JHuGeyWbTz8/ARoTWrJzAQAJ + const float Y = ybr[0]; const float Cb = ybr[1]; const float Cr = ybr[2];