Hello,
I'm looking into adapting ImageJ code for my own application. Attached
is an example that attempts to open a tif file (the file I'm using
opens in ImageJ as 32 bit RGB).
I've built a bare-bones version of ColorProcessor (included in the
java file) that shouldn't instantiate any java.awt components (it has
two constructors with empty definitions). Yet when I create an
instance of my custom ColorProcessor, I get a GUI. If I comment out
the lines that instantiate my custom ColorProcessor, the program exits
without creating a GUI.
Can anyone point out what I'm overlooking?
Thanks,
Brian
P.S. To compile and run:
%javac -classpath /path/to/ij.jar -d /path/to/bin/ \
/path/to/src/PseudoProcessorTest.java
%java -classpath /path/to/ij.jar:/path/to/bin/ PseudoProcessorTest \
-p /path/to/image/ -f someImage.tif