Fine control of ImageJ by external app

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

Fine control of ImageJ by external app

amsmota
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.

Reply | Threaded
Open this post in threaded view
|

Re: Fine control of ImageJ by external app

dscho
Hi amsmota,

On Thu, 14 Oct 2010, amsmota wrote:

> 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

What application do you need it for? Will it be available freely?

Ciao,
Johannes
Reply | Threaded
Open this post in threaded view
|

Re: Fine control of ImageJ by external app

amsmota
It's a app for our internal use only...

On 14 October 2010 15:29, Johannes Schindelin <[hidden email]>wrote:

> Hi amsmota,
>
> On Thu, 14 Oct 2010, amsmota wrote:
>
> > 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
>
> What application do you need it for? Will it be available freely?
>
> Ciao,
> Johannes
>