|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ArrayImage
converts JPEG image into a two dimensional array of integer intensities. For non-greyscale images, the R,G,and B components are averaged to get a pixel's intensity value. created 10-02-01 by DEC
Constructor Summary | |
ArrayImage(java.lang.String jpeg)
|
Method Summary | |
int |
getHeight()
|
int[][] |
getIntensities()
returns a int[][], with the first indicie being the scanline, (row) and the second indicie being the column |
int |
getWidth()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ArrayImage(java.lang.String jpeg)
Method Detail |
public int getWidth()
public int getHeight()
public int[][] getIntensities()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |