Detection/classification algorithm are popular now, but generating the ground truth annotation (bouding boxes or polygonal shapes) can be time-consuming, especially since every package expect a different formatting (xml…) for ROI coordinates. And there is no generic annotation tool.
ImageJ is pretty good with ROI, it´s widely used and it´s very easy to make a small script to generate xml or text output from a ROI list.
So to my mind ImageJ could be used as the perfect annotation tool, without needing to make a specific plugin for that.
The only missing thing as far as I know is the possibility to define a category for ROIs.
If that’s unclear, let say I have 2 types of cells, and I want to be able to define categories (as strings). “Class1” and “Class2”. It would be great to be able to switch between categories while drawing consecutive ROI, and that the category be associated to the ROI object.
There is already the possibility to define arbitrary properties thanks to the setProperty method.
So one can set a property “class” by coding, but it is not visible in the GUI. And if someone uses a different property name like “category” you are screwed…
So basically my proposal is to define a new “official” category property for ROI such that one could have
The category could be defined by the user by a double click on the ROI tool icons.
This means quite some work I guess, to keep things backward compatible, for ROI import/export…
But sounds reasonable doable.