Dear all,
[Yet another nitpick]
Current DICOM edition (PS 3.5) states:
[...]
If APP2 marker segments with an identifier of "ICC_PROFILE" (as defined in Annex B of [ISO 15076-1]) are present in the compressed data stream, their concatenated value shall be identical to the value of ICC Profile (0028,2000) Attribute, if present, excluding padding.
[...]
*
https://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_8.2.html#para_c82ff006-e1a8-46d4-a5db-0f63db0fd123
So I understand what is expected when receiving a DICOM+JPEG+APP2+ICCProfile attribute. However I fail to understand the case where I receive DICOM+JPEG+APP2 (no ICCProfile attribute).
The standard mandates:
[...]
The Pixel Data characteristics included in the JPEG Interchange Format shall be used to decode the compressed data stream.
[...]
But I believe it is missing:
The JFIF APP2 marker segment is NOT required to be present in DICOM encapsulated JPEG bit streams, and should not be used for the rendering of the image.