Skip to content

dcm2pnm with j2k files #6

@adilt

Description

@adilt

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
16bits
weasis16bits

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions