commandline.dataToImage.GrayImage Class Reference

Collaboration diagram for commandline.dataToImage.GrayImage:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GrayImage (int width, int height)
void setSample (int x, int y, int grijswaarde)
BufferedImage getBufferedImage ()
void writePNG (File toFile) throws IOException
void print (PrintStream p)
GrayImage getAbsoluteDifference (GrayImage grayImage) throws ImageNotEquallySizedException

Package Attributes

BufferedImage image
WritableRaster raster


Detailed Description

This application creates a gray-level image in memory and store it in a file. This class does not uses JAI.

Definition at line 18 of file GrayImage.java.


Constructor & Destructor Documentation

commandline.dataToImage.GrayImage.GrayImage ( int  width,
int  height 
)

The application entry point.

Definition at line 27 of file GrayImage.java.

Referenced by commandline.dataToImage.GrayImage.getAbsoluteDifference().


Member Function Documentation

void commandline.dataToImage.GrayImage.setSample ( int  x,
int  y,
int  grijswaarde 
)

BufferedImage commandline.dataToImage.GrayImage.getBufferedImage (  ) 

void commandline.dataToImage.GrayImage.writePNG ( File  toFile  )  throws IOException

void commandline.dataToImage.GrayImage.print ( PrintStream  p  ) 

Definition at line 76 of file GrayImage.java.

Referenced by commandline.Encoder.NormalMeshEncoder.makeImage().

GrayImage commandline.dataToImage.GrayImage.getAbsoluteDifference ( GrayImage  grayImage  )  throws ImageNotEquallySizedException


Member Data Documentation

BufferedImage commandline.dataToImage.GrayImage.image [package]

WritableRaster commandline.dataToImage.GrayImage.raster [package]


The documentation for this class was generated from the following file:

Generated on Tue Jul 8 14:58:04 2008 for NODIC by  doxygen 1.5.5