Image Processing Program
Here is a image processing program which I wrote to test out all of
the different image processing kernals, And to find out what a good way to convert
images into poloygon-lists would be.
The core of the program is a java class that I wrote,
Img.java.
Img.java contains all of the image processing kernals and junk, and very effectively
wastes memory in trade off for time. One major failing of java is that there is no
unsigned byte.
I have the program here as both a normal application (jar file with frame) and as an applet (below).
Here is the jar file with frame version.
Since I origonally wrote this using a Frame instead of an Applet, in the applet below
I just left the menus
"File->Open" and "Polygons->Write" remaining. These
two Menu Items just don't do anything in the applet version.
This program is for taking an image and converting it to
easily rendered polygons. Try the following:
- image processing->direct convolution->gaussian kernal 7x7
- image processing->direct convolution->gaussian kernal 3x3
- image processing->quantization->linear cut 5 bits
- image processing->direct convolution->gaussian kernal 3x3 again
- image processing->quantization->linear cut 5 bits
- polygons->show polygon outlines