Catalano.Imaging.Tools
Class Blob
- java.lang.Object
-
- Catalano.Imaging.Tools.Blob
-
public class Blob extends java.lang.ObjectBlob object.
-
-
Constructor Summary
Constructors 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetArea()Get area.IntRectanglegetBoundingBox()Get Bounding box in contour of blob.IntPointgetCenter()Get center.intgetHeight()Get height.intgetId()Get ID.java.util.List<IntPoint>getPoints()Get points.intgetWidth()Get Width.
-
-
-
Constructor Detail
-
Blob
public Blob()
Initialize a new instance of the Blob class.
-
Blob
public Blob(int id, int area, IntPoint center, java.util.ArrayList<IntPoint> points, IntRectangle rectangle)Initialize a new instance of the Blob class.- Parameters:
id- ID blob.area- Area.center- Center.points- List of points.rectangle- Bounding box rectangle.
-
-
Method Detail
-
getId
public int getId()
Get ID.- Returns:
- ID.
-
getArea
public int getArea()
Get area.- Returns:
- area.
-
getCenter
public IntPoint getCenter()
Get center.- Returns:
- Center.
-
getHeight
public int getHeight()
Get height.- Returns:
- Height.
-
getWidth
public int getWidth()
Get Width.- Returns:
- Width.
-
getBoundingBox
public IntRectangle getBoundingBox()
Get Bounding box in contour of blob.- Returns:
- IntRectangle.
-
getPoints
public java.util.List<IntPoint> getPoints()
Get points.- Returns:
- List of points.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG