Thanks for the reply. I’m still a bit in the dark how to run this in Netbeans (while not running ImageJ). Normally I would do something like this (using the Skeletonize3D plugin as example):
Skeletonize3D_ skeletonize = new Skeletonize3D_();
ImagePlus skelImg = new ImagePlus("skeleton", impObject.getProcessor().duplicate());
ImageProcessor skelProc = skelImg.getProcessor();
int skelRet = skeletonize.setup("", skelImg);
However, if I do:
private mpicbg.ij.clahe.PlugIn rhClahe=new mpicbg.ij.clahe.PlugIn();
private PlugIn rhClahe=newPlugIn();
I end up with an object that gives errors “package rhClahe does not exist” whenever I try to do something like “,run()”
leads to the error "a type with the same simple name is already defined by the single-type-import of PlugIn"
Which I can overcome by removing “import ij.plugin.PlugIn;”
The parameter like bins, blockradius etc are private without getters or setters. So hard to modify. I know none of this is an issue if the plugin is run from within ImageJ, but for me, using plugins as libraries in a standalone application, this makes things tricky. Of course I am an amateur programmer, and really do welcome any tips on how to make this work.