Download source files: src15.zip
Examples
- showImage.java utility routines
- TestImage1
- TestImage2
- 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
from Test1
from gray
Notes
Buffered Images
Java Foundation Classes, in a Nutshell