Re: using ImageJ as image viewer from inside R

Posted by BenTupper on
URL: http://imagej.273.s1.nabble.com/using-ImageJ-as-image-viewer-from-inside-R-tp5000557p5000560.html

Hi,

On Oct 27, 2012, at 1:42 PM, Christian Tischer wrote:

> Hey,
>
> i'd basically like to use ImageJ as an ImageViewer from within R.
>
> i am wondering how to do this best.
>
> i guess i could
>
> 1) use rJava to directly access IJ classes or
> 2) send a system command such as "fiji.exe openImage.py myImage.tif", where
> myImage.tif would be an input parameter to the jython script, or
> 3) ???
>
> in any case i don't know how i can ensure that the currently opened
> instance of IJ is used for showing the images?
> i don't want for each image a new ImageJ to open as this would be rather
> slow an annoying.
>
> any suggestions?

Have you explored these?

http://www.r-bloggers.com/image-data-from-imagej-to-r-and-vice-versa/

http://sourceforge.net/projects/bio7

http://romainfrancois.blog.free.fr/index.php?post/2009/06/22/using-ImageJ-from-R%3A-the-RImageJ-package

Cheers,
Ben
--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html