Open adilt opened 6 years ago
Looks like high bits is missing during encode. Does round tripping the image work?
Do you want me to put the images in j2k here?
need the uncompressed & compressed dcm file.
Hi, here you will find the two orginals files.
Hi,
First thank you for your source good. I am facing with one issue. I used your dcmcjp2k then I implemented dcm2pnm with your j2k lib to created bitmap from these dcm j2k files. Then I tried to created bitmap with 3 images: One called 8bits (8 bits allocated, 7 bits stored, high bits 7). One called 12bits (16 bits allocated, 12 bits stored, high bits 11). One called 16bits (16 bits allocated, 15 bits stored, high bits 14).
The conversion to bitmap file for 8 bits and 12 bits working. But the 16bits create a bad file (image distorted) see the linked file.
I opened as well the file 16bits with Osirix, Weasis and MicroDICOM. Do you have an idea what it?
Thanks,
Adil