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


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

