Open julien2424 opened 2 years ago
I'll have a look. I haven't changed anything and Polygons used to work (if I remember well) so it might have to do with an update in the ImageJ core.
@iarganda Okay let me know what you find. Is there any way you can think of to get around this?
@julien2424 do I get it right that you want to add a polygon ROI programmatically (i.e. not using the Polygon selection tool and your mouse)?
In this case, please use ij.gui.PolygonRoi
which extends ij.gui.Roi
.
Hello!
We are currently running Weka Segmentation successfully, but are only able to add Rectangles as ROIs for the examples. We thought we might be able to add Polygons (as they are both java.awt) but it seems like the ROI constructor only accepts Rectangles. How do you recommend we get around this? Thanks!