http://imagej.273.s1.nabble.com/Using-ImageJ-directly-from-Java-code-tp3690950p3690955.html
suitable Java package. Then you run your program by simply invoking the
plugin on your open image(s).
> -----Original Message-----
> From: ImageJ Interest Group [mailto:
[hidden email]] On
> Behalf Of Mathias Zech
> Sent: Thursday, March 12, 2009 10:39 PM
> To:
[hidden email]
> Subject: Re: Using ImageJ directly from Java code
>
> Hi,
>
> my program should use ImageJ to open images, process and analyze them
> and then continue working with the collected data. To task is to scan
> old postal stamps (from around 1900) and analyze the
> perforation on the
> edges and calculate an individual fingerprint for each stamp.
> I can do
> those steps manually in ImageJ but what I want to do is use ImageJ
> directly from my code which then uses the data from ImageJ to
> actually
> calculate the fingerprint and compare it to known fingerprints.
>
> All I would need to continue with my task would be some
> information on
> how to access ImageJ functionality directly (i.e. run
> Process/Binary/Make Binary on an ImagePlus). My program
> itself does not
> do anything regarding image processing, that should be done by ImageJ
> but I would like to include it as a library instead of using
> macros or
> scripting to run it.
>
> I hope I could make it a bit clearer.
>
> Kind regards,
> Mathias
>
> joris meys wrote:
> > Hi Mathias,
> >
> > I'm not really sure what you want to know. Did you write
> your own program
> > for image processing and you want to use some of the
> methods of ImageJ?
> >
> > kind regards
> > Joris
> >
> > On Thu, Mar 12, 2009 at 2:37 PM, Mathias Zech
> > <
[hidden email]>wrote:
> >
> >
> >> Hello to everyone,
> >>
> >> I am new to working with ImageJ and intend to use it in my
> master thesis at
> >> my university. I already worked a bit with ImageJ as well
> as some plugins
> >> from the UI. The documentation on how to use ImageJ
> directly from a program
> >> seems a bit thin to me and I am having troubles with it. I
> want to do the
> >> following things:
> >>
> >> - Process/Binary/Make Binary
> >> - Process/Binary/Outline
> >> - Run a plugin (Plugins/Hough Circles)
> >>
http://rsbweb.nih.gov/ij/plugins/hough-circles.html> >>
> >> Can anyone give me a few pointers into the right direction
> or some code
> >> examples on how to use ImageJ in this fashion? I don't
> want to use it as an
> >> external tool via macros/scripting but integrate it into
> my application. If
> >> there is a better library to do this I would also be grateful for
> >> information in this direction.
> >>
> >> Thanks a lot in advance,
> >> Mathias
> >>
> >>
>