Hi,
On Thu, 5 May 2011, gibberfish wrote:
> I'm writing an ImageJ plugin where at a certain point I have to split a
> ROI into two separate ROI's. This should be done along a certain
> splitting path.
The easiest way is to work with ShapeROIs:
http://imagej.nih.gov/ij/developer/api/ij/gui/ShapeRoi.htmlYou basically can use the getShape() method to turn the ROI into an AWT
Shape and work with those. If you have a non-ShapeRoi, you can turn it
into a ShapeRoi with the ShapeRoi(Roi) constructor.
Ciao,
Johannes