Package qupath.lib.roi
Class ConvexHull
java.lang.Object
qupath.lib.roi.ConvexHull
Helper method for calculating the convex hull from a list of points.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetConvexHull(List<Point2> points) For implementation details, see http://en.wikipedia.org/wiki/Gift_wrapping_algorithm http://en.wikipedia.org/wiki/Graham_scan
- 
Constructor Details- 
ConvexHullpublic ConvexHull()
 
- 
- 
Method Details- 
getConvexHullFor implementation details, see- http://en.wikipedia.org/wiki/Gift_wrapping_algorithm
- http://en.wikipedia.org/wiki/Graham_scan
 - Parameters:
- points- a list of points from which a convex hull should be determined
- Returns:
- a new list containing only points on the convex hull of the original points
 
 
-