I am developing my own image processing java application in NetBeans. So far I’ve been using the old version of ImageJ and to use its API, I simply added the
ij.jar file found next to the
ImageJ.exe file to my project. Now I have decided that I want to use ImageJ2 API. In my application, I need to run “Analyze Particles” for a binary image, and get the list of the found segments and number of them from the
ROI Manager, and draw them as
Overlay on another image. All of this should be done only in my code without ImageJ or Fiji being visible. I’ve downloaded Fiji and I know that Fiji is using ImageJ2 API. So my question specifically is:
- What jar file should I add to my project in NetBeans so that I can use
- Which classes/functions should I use for the purpose I described?
Please note, I am not developing a plugin. I am developing my own stand-alone application.