It is CT modality, and as far as I could understand that from the source codes, the jpeg encoder switches rescaling on for CT.
djcodece.cc:1034:
Code: Select all
if (0 == strcmp(classUID, UID_CTImageStorage))
{
mode_CT = OFTrue;
mode_useModalityRescale = OFTrue; // required for Hounsfield units
}
I use Radiant viewer and it just flickers when scrolling between slices of the same set, because individual dcm files that I saved using DCMDataset::saveFile(), have different intercept values. I would like to stick with transfersyntax EXS_JPEGProcess14 or another jpeg.