Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

I got images that UIC decodes incorrectly...

tsangel
Beginner
793 Views
Hello,

While I was working with jpeg2000 compressed medical images,
I met images that UIC decodes incorrectly.

While other JPEG2000 decodersuch as OpenJPEG and Leadtools codec decode them correctly (Left), picnic.exe - in ipp-sample -gave me erroneous images (Right).

I attached a j2k image file, which causes error.

Do I have any optionto get a correct image?
Or, does this image containsome limitations ofUIC jpeg2000 decoder?

Thank you!

0 Kudos
1 Solution
Mikhail_Kulikov__Int
New Contributor I
793 Views

Hi,

Previously (7.0) non-standard termination of raw coding passes by OpenJPEG was detected as damage and it blocked further decoding.

New version (7.0 update 2) of functions are tolerant for such kind of streams and read data safely till it's possible. Please use them instead.

Regards,
Mikhail

View solution in original post

0 Kudos
9 Replies
Naveen_G_Intel
Employee
793 Views

Hi ,

Can you send me original DICOM Image? Which version of IPP/sample code you are using to decode it?

As I know we have fixed an issue related to incorrect display of signed pixels (DICOM image) in the picnic application.

Thanks,

Naveen Gv

0 Kudos
Thomas_Jensen1
Beginner
793 Views
I have also verified that thios dicom file encoded with j2k is incorrectly decoded by IPP UIC.
It does decode correctly with Photoshop CS5.

The file is attached to the previous post.
0 Kudos
tsangel
Beginner
793 Views
Hello,

I attach the original DICOM image.
The picnic.exe version was w_ipp-uic_p_7.0.1.041.zip.

I think the problem did notoccured in displaying, but in decoding jpeg2000;because jpeg2000 file extracted from DICOM information also produced same incorrectimage, while LEADTOOLS or OpenJPEG decoded same file correctly.

Thank you!
0 Kudos
tsangel
Beginner
793 Views
The precompiled example - picnic.exe - in w_ipp-uic_p_7.0.2.048.zip works fine.
But, when I compiled uic in w_ipp-samples_p_7.0.2.048.zip, the error occured again.

However after I've updated to 'IPP 7.0 update 2' from '7.0 update 1' and compiled again, I got good images.
I think my problem seems to be located in IPP 7.0 update 1, not in uic example. (is it correct?)

Thank you.
0 Kudos
Aris_Basic
New Contributor I
793 Views
7.0 update 2 notes say that they fixed decoding of 16bit images, (havnt looked at this image but maybe its 16bit ? )
0 Kudos
Mikhail_Kulikov__Int
New Contributor I
794 Views

Hi,

Previously (7.0) non-standard termination of raw coding passes by OpenJPEG was detected as damage and it blocked further decoding.

New version (7.0 update 2) of functions are tolerant for such kind of streams and read data safely till it's possible. Please use them instead.

Regards,
Mikhail

0 Kudos
tsangel
Beginner
793 Views
Thank you!


0 Kudos
free0_z_
Beginner
793 Views

hi where can I download IPP-UIC and IPP JPEG sample code application? Frank

0 Kudos
Chao_Y_Intel
Moderator
793 Views

Hi Free0,

Let's follow in this post: https://software.intel.com/en-us/forums/topic/558952
It seems some duplicated questions.

Thanks,
Chao

0 Kudos
Reply