Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Wednesday, April 1, 2015 4:18:07 AM(UTC)

oplik  
oplik

Groups: Registered
Posts: 1


Hi guys,
I am trying the Android SDK v18 and I want to decompress a dicom containg JPEG2000 image like this:

ds.load(leadStream, DicomDataSetLoadFlags.NONE);
ds.changeTransferSyntax(DicomUidType.EXPLICIT_VR_LITTLE_ENDIAN, 2, ChangeTransferSyntaxFlags.NONE);

When I try this code with JPEGLS or uncompressed data everything works fine, but trying with JPEG2000 it produces the following error:

E/MessageQueue-JNI(16532): leadtools.dicom.DicomException: Improper image.
E/MessageQueue-JNI(16532):     at leadtools.dicom.DicomDataSet.changeTransferSyntax(Unknown Source)

The transfer syntax of the images is: 1.2.840.10008.1.2.4.90

What am I doing wrong and how can I decompress these type of files on Android

Thanks in advance :P

P.S. I attached the file I am trying to decompress
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, April 2, 2015 6:15:28 AM(UTC)

mohamed  
mohamed

Groups: Registered, Tech Support
Posts: 179


It appears the attachment did not succeed. Please put the file in a ZIP or RAR archive and email it to support@leadtools.com with more details about the problem and how you tried it.
Also, please mention this forum post in your email.
Mohamed Abedallah
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.054 seconds.