Class ArrayImage

java.lang.Object
  |
  +--ArrayImage

public class ArrayImage
extends java.lang.Object

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

ArrayImage

public ArrayImage(java.lang.String jpeg)
Method Detail

getWidth

public int getWidth()

getHeight

public int getHeight()

getIntensities

public int[][] getIntensities()
returns a int[][], with the first indicie being the scanline, (row) and the second indicie being the column