I’m hoping someone here has had this problem before and can help me figure out how to deal with it. I’m attempting to load a DICOM image series, but when I try to load it I get the following message:
Unsupported JPEG data precision 12 Warning: In /build/gdcm-_MwJro/gdcm-2.6.6/Source/MediaStorageAndFileFormat/gdcmJPEGCodec.cxx, line 376, function virtual bool gdcm::JPEGCodec::DecodeByStreams(std::istream&, std::ostream&) DICOM header said it was 16 but JPEG header says it's: 12
I use GDCM through ITK to read the files, but it seems GDCM is unable to read them. Other GDCM based tools (like gdcmraw) give the same error when I try to extract the image data. DCMTK, on the other hand, is capable of reading the files just fine, but DCMTK usage has been deprecated in ITK, right?
Does anyone know how I should go about reading these files using ITK?