Class ConvexHullsOperation

  • All Implemented Interfaces:
    Operation

    public class ConvexHullsOperation
    extends java.lang.Object
    implements Operation
    An Operation that finds the convex hull of each of a list of contours. This can help remove holes in detected shapes, making them easier to analyze.
    • Method Detail

      • getInputSockets

        public java.util.List<InputSocket> getInputSockets()
        Specified by:
        getInputSockets in interface Operation
        Returns:
        A list of sockets for the inputs that the operation expects.
      • getOutputSockets

        public java.util.List<OutputSocket> getOutputSockets()
        Specified by:
        getOutputSockets in interface Operation
        Returns:
        A list of sockets for the outputs that the operation produces.
      • perform

        public void perform()
        Description copied from interface: Operation
        Performs this Operation.
        Specified by:
        perform in interface Operation