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 Summary
Constructors -
Method Summary
Modifier 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
-
ConvexHull
public ConvexHull()
-
-
Method Details
-
getConvexHull
For 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
-