Fine control of ImageJ by external app
Posted by amsmota on Oct 14, 2010; 11:55am
URL: http://imagej.273.s1.nabble.com/Fine-control-of-ImageJ-by-external-app-tp3686634.html
I have this use case scenario. From inside my application, I need to:
1- launch ImageJ with a pre-determined image
1a- optionally process this image (sharpen, enhance, ...)
2- allow the user to select part of the image and create a new image with the selection
2a- optionally process this image (sharpen, enhance, ...)
2b- optionally insert EXIF informations on image
3- repeat 2 a number of times
4- in the end, create only 1 TIFF image with all the images from 2,3 as individual pages
5- save this multi-page TIFF with a pre-determined name and location
All these points should be initiated from my code, or by the user by clicking buttons *on my app*. This means restrict everything else on the ImageJ UI (remove the File menu, etc...)
From what I saw until now, I could do all this by modifying the source code of ImageJ, IJ and the likes, but I hoped I could do this by some sort of customization, so I could reuse or later modify this customization "on the fly".
In other words, use ImageJ not as a application but purely as a API library.
Is this viable? Is there some pointers to this?
Thanks in advance.