TrakEM2: Store segmentations using AreaList with java.awt.geom

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

TrakEM2: Store segmentations using AreaList with java.awt.geom

arjundayal
I was reading that an AreaList is essentially a list of java.awt.geom.Area objects. Is it possible to create an Area object using a list of java.awt.Point objects? Basically, I can get a list of points that form a very complex, closed shape and I am looking for a way to turn it into an AreaList.
Arjun Dayal
M.D. Class of 2016
University of Chicago - Pritzker School of Medicine
Reply | Threaded
Open this post in threaded view
|

Re: TrakEM2: Store segmentations using AreaList with java.awt.geom

Albert Cardona-2
Make a Polygon first, then an Area from it, then add it to an AreaList.

Albert

On Sep 3, 2013, at 1:25 PM, arjundayal <[hidden email]> wrote:

> I was reading that an AreaList is essentially a list of java.awt.geom.Area
> objects. Is it possible to create an Area object using a list of
> java.awt.Point objects? Basically, I can get a list of points that form a
> very complex, closed shape and I am looking for a way to turn it into an
> AreaList.
>
>
>
> --
> View this message in context: http://imagej.1557.x6.nabble.com/TrakEM2-Store-segmentations-using-AreaList-with-java-awt-geom-tp5004634.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html