ij.process.ImageConverter convertToRGB fails while debugging (only)

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

ij.process.ImageConverter convertToRGB fails while debugging (only)

Casqueiro Gilles
Dear all,

While debugging my code, following lines raise an error :

        ImageConverter ImConv = new ImageConverter(imp);
        ImConv.convertToRGB();

Normal execution works fine.

The error message is : Thread main stopped at RGBStackConverter.java:18.

How can I fix this?

Thank you

Gilles



-----------------------------------------------------------------------

Le informazioni contenute in questo messaggio di posta elettronica e relativi allegati sono riservate e confidenziali e ne è vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a darcene gentile comunicazione.

The information contained in this e-mail and any attachments is confidential and may also be privileged. If you are not the named recipient please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.

-----------------------------------------------------------------------

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
|

Re: ij.process.ImageConverter convertToRGB fails while debugging (only)

Peter Mc
Hi Gilles;
It sounds weird and there is not much information, what are you using for debugging?

Maybe the kind of conversion is not supported by the ImageConverter, have you tried with another image?
I did a quick check and what ImageJ uses is Converter (http://rsb.info.nih.gov/ij/developer/api/ij/plugin/Converter.html) so you can try this way too.

Regads.

Pedro.


Casqueiro Gilles wrote
Dear all,

While debugging my code, following lines raise an error :

        ImageConverter ImConv = new ImageConverter(imp);
        ImConv.convertToRGB();

Normal execution works fine.

The error message is : Thread main stopped at RGBStackConverter.java:18.

How can I fix this?

Thank you

Gilles



-----------------------------------------------------------------------

Le informazioni contenute in questo messaggio di posta elettronica e relativi allegati sono riservate e confidenziali e ne è vietata la diffusione in qualunque modo eseguita. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo e a darcene gentile comunicazione.

The information contained in this e-mail and any attachments is confidential and may also be privileged. If you are not the named recipient please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.

-----------------------------------------------------------------------

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Research engineer
HGGM. Madrid.