|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiewald_CV_kit.blobdetection.Blob
public final class Blob
the class Blob represents the blobs/labels/regions found in an image.
Method Summary | |
---|---|
PixelColor |
getColor()
get the blobs current color. |
ArrayList<Contour> |
getContours()
returns a list of all contours of this blob. |
int |
getID()
returns the id of the blob. |
int |
getNumberOfPixels()
get the total number of pixels of this blob. which is also the area-size of the blob. |
ArrayList<PixelRow> |
getPixelRows()
get all the pixelrows of this blob. |
Pixel[] |
getPixels()
get the list of blob-pixels. |
void |
setColor(PixelColor color)
set this blobs color. |
void |
setID(int ID)
give the blob a new ID. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final void setColor(PixelColor color)
color
- the new color of the blob.public final PixelColor getColor()
public final ArrayList<PixelRow> getPixelRows()
public final void setID(int ID)
ID
- the new id.public final int getID()
public final ArrayList<Contour> getContours()
public final int getNumberOfPixels()
public final Pixel[] getPixels()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |