I am trying to make charls decode dicom images compressed by the dcm4che image archive. Unfortunately without much luck.
I manage to run JpegLsReadHeader and it returns correct values. This can be verified by comparing to the dicom encoded values.
However, when I try to decode the pixel-data I get an error caused by an exception thrown from scan.h:268.
- So how to proceed from here ?
The header is:
width = 512
height = 512
bitspersample = 16
bytesperline = 1024
components = 1
allowedError = 0
ilv = 0
color xform = 0
bgrout = 0
and I use charls 1.0.1 beta 9. Sep. - compiled on a redhat el5.