|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAiboImage
AiboImage - the image object includes routines for finding blobs given a pixel and color seed these routines are java translations from the dog PAM code plus additional colors, and the only big difference in segmentation theory is the use of a linked list for the blobs
Field Summary | |
int[] |
threshold
|
int[] |
uImage
|
int[] |
vImage
|
int[] |
yImage
|
Constructor Summary | |
AiboImage(int[] y,
int[] u,
int[] v,
java.lang.String fileName)
|
Method Summary | |
boolean[] |
checkPixelsRGB()
Returns the pixels selected in the image, based on current colortable, as a boolean[] |
void |
clearBinImage()
Clear color information for image |
int[] |
getBinBlob()
Returns the image blob representation based on current colortable Only used by automatization |
java.awt.Color[] |
getBlob()
Returns the image blob representation based on current colortable |
java.lang.String |
getFileName()
returns the image fileName - for future use? |
java.awt.Color[] |
getRGB()
returns the image in RGB representation in a Color[] |
boolean[] |
selectPixel(int x,
int y)
Selects a pixel in the image, adds that pixels color to the colortable, and returns all the pixels selected in the image, based on colortable, as a boolean[] |
void |
updateBlobs()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int[] yImage
public int[] uImage
public int[] vImage
public int[] threshold
Constructor Detail |
public AiboImage(int[] y, int[] u, int[] v, java.lang.String fileName)
Method Detail |
public void updateBlobs()
public java.lang.String getFileName()
public java.awt.Color[] getRGB()
public java.awt.Color[] getBlob()
public int[] getBinBlob()
public boolean[] selectPixel(int x, int y)
public boolean[] checkPixelsRGB()
public void clearBinImage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |