Login  Register

Start IJ instance from another app

Posted by Eric Barnhill on Jan 27, 2016; 6:35am
URL: http://imagej.273.s1.nabble.com/Start-IJ-instance-from-another-app-tp5015469.html

I am finishing up a Java standalone that processes DICOMs. Thanks to the IJ community for the terrific DICOM parser which I have made use of.

Ideally, I would like the app to end with an OptionDialog offering "save to DICOM" or "open in ImageJ". In the latter case, the program would then open or spawn an ImageJ instance. Are there best practices or example code for starting up ImageJ from within another app?

I am tempted to use ProcessBuilder for this, but don't know how I would pass the image data to the spawned process.

Eric

Sent from [ProtonMail](https://protonmail.ch), encrypted email based in Switzerland.

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