-
Notifications
You must be signed in to change notification settings - Fork 12
Writing the entry point
Benjamin Schmid edited this page Sep 15, 2020
·
1 revision
This might for example be an ImageJ plugin. This is also simple and straightforward:
public class Main implements PlugInFilter {
private ImagePlus image;
@Override
public int setup(String arg, ImagePlus imp) {
this.image = imp;
return DOES_ALL;
}
@Override
public void run(ImageProcessor ip) {
run(image);
}
public static void run(ImagePlus image) {
ExtRenderer renderer = new ExtRenderer(image);
AnimationEditor editor = new AnimationEditor(
renderer, null);
editor.setVisible(true);
}
}