Class BlobsReport
- java.lang.Object
-
- edu.wpi.grip.core.operations.composite.BlobsReport
-
- All Implemented Interfaces:
Publishable
public class BlobsReport extends java.lang.Object implements Publishable
This class is used as the output of operations that detect blobs in an image.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BlobsReport.Blob
-
Constructor Summary
Constructors Constructor Description BlobsReport()
Create an empty blob report.BlobsReport(MatWrapper input, java.util.List<BlobsReport.Blob> blobs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<BlobsReport.Blob>
getBlobs()
MatWrapper
getInput()
double[]
getSize()
double[]
getX()
double[]
getY()
java.lang.String
toString()
-
-
-
Constructor Detail
-
BlobsReport
public BlobsReport()
Create an empty blob report. This is used as the default value for sockets
-
BlobsReport
public BlobsReport(MatWrapper input, java.util.List<BlobsReport.Blob> blobs)
-
-
Method Detail
-
getBlobs
public java.util.List<BlobsReport.Blob> getBlobs()
-
getInput
public MatWrapper getInput()
- Returns:
- The original image that the blob detection was performed on.
-
getX
public double[] getX()
-
getY
public double[] getY()
-
getSize
public double[] getSize()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-