I use IPP library version 7.0.7 through UIC layer.
I need to create j2k codestream in order to create pixel data for DICOM file.
I don't know if there is a way to create j2k codestream directly. The only way that I've found it's a bit dirty:
I create a jp2 file then i extract the j2k codestream, I only need to remove the header of the jp2 file.
To explain what i need i attached the two file:
- lenajp2.7z that contain image lenajp2.jp2 with the header
- lena.j2k that contain image codestream lenaj2k.j2k
I know both files can be properly handled by ipp library but DICOM recognize only the buffer of the latter file as correct pixel data.