Class ContoursReport

  • All Implemented Interfaces:
    Publishable

    public final class ContoursReport
    extends java.lang.Object
    implements Publishable
    The output of FindContoursOperation. This stores a list of contours (which is basically a list of points) in OpenCV objects, as well as the width and height of the image that the contours are from, to give context to the points.
    • Constructor Detail

      • ContoursReport

        public ContoursReport()
        Construct an empty report. This is used as a default value for Sockets containing ContoursReports.
    • Method Detail

      • getRows

        public int getRows()
      • getCols

        public int getCols()
      • getContours

        public org.bytedeco.javacpp.opencv_core.MatVector getContours()
      • getProcessedContours

        public java.util.List<ContoursReport.Contour> getProcessedContours()
        Returns:
        All of the contours held within this report.
      • getArea

        public double[] getArea()
      • getCenterX

        public double[] getCenterX()
      • getCenterY

        public double[] getCenterY()
      • getWidth

        public double[] getWidth()
      • getHeights

        public double[] getHeights()
      • getSolidity

        public double[] getSolidity()