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.
- Author:
- Pete Bankhead
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetConvexHull
(List<Point2> points) TODO: Consider a more efficient convex hull calculation.
-
Constructor Details
-
ConvexHull
public ConvexHull()
-
-
Method Details
-
getConvexHull
TODO: Consider a more efficient convex hull calculation. For implementation details, see- http://en.wikipedia.org/wiki/Gift_wrapping_algorithm
- http://en.wikipedia.org/wiki/Graham_scan
- Parameters:
points
-- Returns:
-