Hi, On Thu, Jul 13, 2017 at 4:45 PM, Yaroslav Halchenko <y...@debian.org> wrote: > before anything: > could you share this input file publicly by any chance?
Well I could reproduce with the very first file I took from gdcmData. So this is easy. > (if not) could you try with current upstream master of nibabel > which progressed forward quite a bit without a release: > 2.1.0-370-gf5dec180 > > and also -- what version of python-dicom you have? I guess 0.9.9... > (that is where exception comes from). upstream also progressed quite > forward without a release v0.9.9-448-g5b4d0f3 > https://github.com/darcymason/pydicom/ > > but probably it is just that indeed some rare JPEG2000 or smth like that > was used to compress the data, which pydicom doesn't handle. I wish > pydicom provided a bit more informative exception though ;) Step: $ cd /tmp $ wget "https://sourceforge.net/p/gdcm/gdcmdata/ci/master/tree/SIEMENS_MOSAIC_12BitsStored-16BitsJPEG.dcm?format=raw" $ mkdir bug $ gdcmconv --raw SIEMENS_MOSAIC_12BitsStored-16BitsJPEG.dcm* bug/raw.dcm $ nib-dicomfs /tmp/bug /tmp/demo In another shell: $ find /tmp/demo/ Cheers