[ImageJ-devel] ImageJ Custom UI and preprocessors
hiner at wisc.edu
Wed Apr 29 08:20:40 CDT 2015
>However, when I want to apply a Gaussian Blur (for instance), the software
sents back a message telling that the "dataset" input hasn't been provided.
I guess it's a preprocessor issue.
Another possibility is that there actually is no Dataset. A Dataset is
an ImageJ2 construct, and by default would not be produced by opening an
image with an ImageJ 1.x command. You can ensure a Dataset is available by
using an ImageJ2 I/O plugin (e.g. File > Import > Image...) or turn on
synchronization. Once we get the synchronization step to be more
performant, it will be made automatic.
>how is the preprocessing order decided ?
All Preprocessors are SciJava Plugins, which are accessed in order of
>Could you point me to some existing preprocessor that does most of the
logic so I don't have to re-implement simple operations ?
The ActiveDataset preprocessor is what populates single @Dataset
parameters. There's also an ImagePlus version for making @ImagePlus work.
This is fantastic. Is your source code openly available? I'm interested in
JavaFX - for cross-platform distribution more than as a library, but would
still be great to see what you're doing.
Thanks for keeping us up to date, let us know how it goes and if you run
into any more roadblocks (or if any of this is unclear)!
On Wed, Apr 29, 2015 at 3:17 AM, Mongis Cyril <cyril.mongis at googlemail.com>
> Dear all,
> I'm actually integrating ImageJ in my PhD project. It leads me to
> implements a JavaFX UI for ImageJ. Thanks to Curtis's help, I have been
> able to support image opening and displaying. I'm now facing the issue of
> triggering the filling of parameters via the UI. My menu is generated via a
> MenuCreator implementation (the whole MenuCreator structure is a brillant
> idea by the way, it allowed to integrate the ImageJ Menu in no time !) and
> call the ShadowMenu.run() for the corresponding module. Applying LUT works
> (so I guess that getting the active display works). However, when I want to
> apply a Gaussian Blur (for instance), the software sents back a message
> telling that the "dataset" input hasn't been provided. I guess it's a
> preprocessor issue. I already did some digging about how preprocessor work
> (from the tutorial and from the code that I read), but I lacking
> explanations about the big picture. My main question is : which approach
> should I use make Imagej trigger my UI with some kind of auto-generated
> dialog ? Should I create my own preprocessor or just maybe implements some
> kind of UI binding used by an already existing preprocessor ? Since
> applying LUT seems to work, does it means several preprocessor are executed
> before a command is ran ? If yes, how is the preprocessing order decided ?
> Could you point me to some existing preprocessor that does most of the
> logic so I don't have to re-implement simple operations ?
> I joined a screenshot of the current state of the ImageJ integration :-)
> Cyril MONGIS
> ImageJ-devel mailing list
> ImageJ-devel at imagej.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ImageJ-devel