public class Blob
extends java.lang.Object
| Constructor and Description |
|---|
Blob()
Initialize a new instance of the Blob class.
|
Blob(int id,
int area,
IntPoint center,
java.util.ArrayList<IntPoint> points,
IntRectangle rectangle)
Initialize a new instance of the Blob class.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getArea()
Get area.
|
IntRectangle |
getBoundingBox()
Get Bounding box in contour of blob.
|
IntPoint |
getCenter()
Get center.
|
int |
getHeight()
Get height.
|
int |
getId()
Get ID.
|
java.util.ArrayList<IntPoint> |
getPoints()
Get points.
|
int |
getWidth()
Get Width.
|
public Blob()
public Blob(int id,
int area,
IntPoint center,
java.util.ArrayList<IntPoint> points,
IntRectangle rectangle)
id - ID blob.area - Area.center - Center.points - List of points.rectangle - Bounding box rectangle.public int getId()
public int getArea()
public IntPoint getCenter()
public int getHeight()
public int getWidth()
public IntRectangle getBoundingBox()
public java.util.ArrayList<IntPoint> getPoints()