Login  Register

JApplet integration/interaction

Posted by Marius Giepz on Dec 04, 2014; 11:58am
URL: http://imagej.273.s1.nabble.com/JApplet-integration-interaction-tp5010762.html

Hello!
I am new to ImageJ but I think it might be a good option for a project that I am
currently planning.
 
I have an allready existing application which is a Swing Applet that
communicates with an applicationserver.
It basically manages tabular data in a CRUD fashion. Now I have the additional
requirement that some entities in a table
are linked to stacks of images on the client filesystem (raw data that I was
allready able to import and use in IJ).
 
- The user should be able to open such an image and (graphically) interact with
it.
- Ideally the ImagePlus and the selectiontools should be embedded with in the
Swing ui, but after reviewing the IJ Swing-UI it does not seem to offer all the
options that I'd need, yet.
  Out of the box I could embedd the Image using JImagePanel but not interact
with it, correct?
- The following IJ core or plugin functions need to be supported:
-- Import RAW image (just like with the import-raw option in the classic IJ ui)
through api call
-- Load addtional images as overlays through api call
-- Zoom, move and scroll through slices using the mouse
-- Select/Focus an existing ROI through api call
-- Create new ROI by means of drawing on the image, then get the resulting data
(position, measure..) back into the applet.
-- Adjust window/level (HU), similar to the "CT Window Level" plugin
-- Optionally show Orthoslices
 
So the question is: If embedding in Swing is not feasable, as my requirements
are not yet supported, is there a way to "remotecontrol" IJ and communicate with
it in a bidirectional fashion. Probably something like an eventbus?
Thnx in advance for your help!
 
kind regards,
 
Marius Giepz

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