public class BlobMask extends ByteMask
data, MASK_CLEAR, MASK_SET
Constructor and Description |
---|
BlobMask(byte[][] mask) |
BlobMask(int width,
int height) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Blob> |
detectBlobs()
Detect blobs in the mask, including 1-pixel ones.
|
java.util.List<Blob> |
detectBlobs(boolean includeSinglePixelBlobs)
Detect blobs in the mask, optionally including 1-pixel ones.
|
java.lang.String |
toString()
For diagnostics.
|
public BlobMask(int width, int height)
public BlobMask(byte[][] mask)
public java.util.List<Blob> detectBlobs()
public java.util.List<Blob> detectBlobs(boolean includeSinglePixelBlobs)
public java.lang.String toString()
toString
in class java.lang.Object