Download source files: imsrc2.zip
Examples
- ImageFrame.java utility routines
- Test1 Java grayscale conversion, using code in notes
- Test2 read gray image from TestImage1-Test1 (color image)
- Test3 read grayscale image from TestImage2-Test1
- test1.m MATLAB processing of previous png files
- gray1 (r+g+b)/3 via custom routine
- gray2 same thing, eliminating function calls inside inner loop
- gray3 same thing, reading/writing one raster line in outer loop
Test Images
TestImage1
TestImage2
from Test1
from gray
Notes
Buffered Images
Java Foundation Classes, in a Nutshell
Class BufferedImage
Oracle Java API