Decoding the 32-bit grayscale DICOM

imagej
dicom
input

#1

Modified this post(10/4/2018),
in my head…

(DICOM.java)
DICOM.zip (16.5 KB)

Hi,

I tried to load 32-bit grayscale DICOM image,
but IJ is saying “Unable to decode DICOM header”.

Does anyone know why it is?

sample image is here.

dammy.zip (3.3 KB)


#2

Good day,

the BioFormats-importer works with your sample image:
The image opens and a header is written, however I can’t judge whether everything is imported correctly.

Regards

Herbie


#3

Dear, Herbie

I tried using bio-format, and can view image.
Thanks.

Now, I thinking that important problem is DICOM.java.
It seems that DicomDecoder class (included in DICOM.java) does not deal with floating pixel value, only decode Pixel Data.
So, IJ can not decode this sample image which constructed with FloatPixelData.

maybe…


#4

What is the problem?

BioFormats is a plugin for ImageJ and ImageJ is essentially a collection of plugins.

Clueless,

Herbie


#5

Dear, Herbie

Thank you for teaching.

By the way, this image is original of dammy.dcm.
dammy_original.zip (2.4 KB)

I could view image using bio-format import, but the viewing image is not same to original.

Do you think?


#6

So you are claiming that this original binary 32bit image

with values 0 and 255, opens with BioFormats as this binary 32bit image

with values 0 and 2105376128 ?

This is indeed surprising!

Herbie

Herbie


#7

Dear, Herbie

This is another example using PixelData tag(not FloatPixelData).

dammy_UsingPixelData.zip (2.7 KB)


#8

Now you are claiming that this binary 32bit image

with values 0 and 1132396544, opens with BioFormats as this binary 32bit image

with values 0 and 2105376128 ?

Sorry, but I can’t follow your reasoning.

Herbie