Class ConvexHull

java.lang.Object
qupath.lib.roi.ConvexHull

public class ConvexHull extends Object
Helper method for calculating the convex hull from a list of points.
Author:
Pete Bankhead
  • Constructor Details

    • ConvexHull

      public ConvexHull()
  • Method Details

    • getConvexHull

      public static List<Point2> getConvexHull(List<Point2> points)
      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: