Problem reading compressed dicom images in Imagej

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem reading compressed dicom images in Imagej

Prashant-2-3
Hi everyOne,

        When i open some of singleFrame and multiframe compressed dicom image through
   
 imagej----->plugIn----->LOCI----->Bio-Format importer---->open

 then i get following error in a window

loci.formats.FormatException: Cannot locate JPEG decoder
 at loci.formats.codec.JPEGCodec.decompress(JPEGCodec.java:103)
 at loci.formats.codec.BaseCodec.decompress(BaseCodec.java:166)
 at loci.formats.in.DicomReader.openBytes(DicomReader.java:187)
 at loci.formats.FormatReader.openBytes(FormatReader.java:376)
 at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:143)
 at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:126)
 at loci.formats.ChannelSeparator.openBytes(ChannelSeparator.java:111)
 at loci.plugins.Util.openProcessor(Util.java:100)
 at loci.plugins.Importer.run(Importer.java:429)
 at loci.plugins.LociImporter.run(LociImporter.java:74)
 at ij.IJ.runUserPlugIn(IJ.java:158)
 at ij.IJ.runPlugIn(IJ.java:124)
 at ij.Executer.runCommand(Executer.java:104)
 at ij.Executer.run(Executer.java:58)
 at java.lang.Thread.run(Thread.java:619)

some time i am getting following error.

loci.formats.FormatException: loci.formats.ReflectException: No such class: magi
ck.util.MagickCanvas

Please help me what i will do.
 
With Warm Regards
--------------------------------------------------------------------

Prashant Chandrakar
Software Developer
MedSynaptic Pvt Ltd
9270710943
[hidden email]
 
"If the facts don't fit the theory, change the facts."
Reply | Threaded
Open this post in threaded view
|

Re: Problem reading compressed dicom images in Imagej

Johannes Hermen
The problem might be that you need to install the platform dependent
version of the Java Advanced Imaging JIA tools to enable loci to open
compressed dicom
http://www.loci.wisc.edu/ome/formats-native.html


-----------------------------------------------------------------
Johannes Hermen  -  Ingenieur de Recherche
[hidden email]
-----------------------------------------------------------------
CRP Henri Tudor  http://www.santec.tudor.lu
29, Avenue John F. Kennedy
L-1855 Luxembourg
-----------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: Problem reading compressed dicom images in Imagej

Prashant-2-3
Hi everyone,

        Thanks for your reply.
i installed jai.but its not working.
 





----- Original Message -----
From: "Johannes Hermen" <[hidden email]>
To: <[hidden email]>
Sent: Friday, September 26, 2008 5:26 PM
Subject: Re: Problem reading compressed dicom images in Imagej


> The problem might be that you need to install the platform dependent
> version of the Java Advanced Imaging JIA tools to enable loci to open
> compressed dicom
> http://www.loci.wisc.edu/ome/formats-native.html
>
>
> -----------------------------------------------------------------
> Johannes Hermen  -  Ingenieur de Recherche
> [hidden email]
> -----------------------------------------------------------------
> CRP Henri Tudor  http://www.santec.tudor.lu
> 29, Avenue John F. Kennedy
> L-1855 Luxembourg
> -----------------------------------------------------------------
>
Reply | Threaded
Open this post in threaded view
|

Re: Problem reading compressed dicom images in Imagej

Melissa Linkert
Hi Prashant,
As mentioned by Johannes (and was mentioned on another list), you need to
install the JAI ImageIO native library to make the first error go away (see
http://loci.wisc.edu/ome/formats-native.html).

For the second error, you need to install JMagick - please see
http://loci.wisc.edu/ome/formats-jp2k.html for instructions.

If you follow these steps and still experience problems, please let me know.

Regards,
-Melissa

On Fri, Sep 26, 2008 at 7:35 AM, prashant <
[hidden email]> wrote:

> Hi everyone,
>
>       Thanks for your reply.
> i installed jai.but its not working.
>
>
>
>
>
>
> ----- Original Message ----- From: "Johannes Hermen" <
> [hidden email]>
> To: <[hidden email]>
> Sent: Friday, September 26, 2008 5:26 PM
> Subject: Re: Problem reading compressed dicom images in Imagej
>
>
>
>  The problem might be that you need to install the platform dependent
>> version of the Java Advanced Imaging JIA tools to enable loci to open
>> compressed dicom
>> http://www.loci.wisc.edu/ome/formats-native.html
>>
>>
>> -----------------------------------------------------------------
>> Johannes Hermen  -  Ingenieur de Recherche
>> [hidden email]
>> -----------------------------------------------------------------
>> CRP Henri Tudor  http://www.santec.tudor.lu
>> 29, Avenue John F. Kennedy
>> L-1855 Luxembourg
>> -----------------------------------------------------------------
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Problem reading compressed dicom images in Imagej

Prashant-2-3
Hi Melissa,

         I am adding jai_imageio.jar in my classpath.
         what else i do.
         Is there any thing more to install.
         Even i installed  jai_imageio-1_1-lib-windows-i586-jre.exe

         If i not installed jdk on any system.
         I just paste the jre of java in system
         Then how i link to JAI and JMagick.

        Are it is must to install java on systems.
---------------------------------------------------
Actually i am creating a CD Dicom viewer.
It is distributed among patients.
If they open cd viewer in their system..
Then what i do,I am not checking for java on that particular system.
I just copy all jre on c drive.

and i run my application from that jre.
So therefore i am just adding JMagick.jar,JMagick.dll and jai_imageio.jar.
Anyway i will try whatever you said.

Thanks i will give you the feedback......
bye




----- Original Message -----
From: "Melissa Linkert" <[hidden email]>
To: <[hidden email]>
Sent: Friday, September 26, 2008 6:28 PM
Subject: Re: Problem reading compressed dicom images in Imagej


> Hi Prashant,
> As mentioned by Johannes (and was mentioned on another list), you need to
> install the JAI ImageIO native library to make the first error go away
> (see
> http://loci.wisc.edu/ome/formats-native.html).
>
> For the second error, you need to install JMagick - please see
> http://loci.wisc.edu/ome/formats-jp2k.html for instructions.
>
> If you follow these steps and still experience problems, please let me
> know.
>
> Regards,
> -Melissa
>
> On Fri, Sep 26, 2008 at 7:35 AM, prashant <
> [hidden email]> wrote:
>
>> Hi everyone,
>>
>>       Thanks for your reply.
>> i installed jai.but its not working.
>>
>>
>>
>>
>>
>>
>> ----- Original Message ----- From: "Johannes Hermen" <
>> [hidden email]>
>> To: <[hidden email]>
>> Sent: Friday, September 26, 2008 5:26 PM
>> Subject: Re: Problem reading compressed dicom images in Imagej
>>
>>
>>
>>  The problem might be that you need to install the platform dependent
>>> version of the Java Advanced Imaging JIA tools to enable loci to open
>>> compressed dicom
>>> http://www.loci.wisc.edu/ome/formats-native.html
>>>
>>>
>>> -----------------------------------------------------------------
>>> Johannes Hermen  -  Ingenieur de Recherche
>>> [hidden email]
>>> -----------------------------------------------------------------
>>> CRP Henri Tudor  http://www.santec.tudor.lu
>>> 29, Avenue John F. Kennedy
>>> L-1855 Luxembourg
>>> -----------------------------------------------------------------
>>>
>>>
>