Thursday, May 31, 2007

Update

Log of project (in point form for simplicity)

*Unable to find a suitable viewer or utility to make use of the .sep file that was generated with the gsdjvu library.

*Started work on writing a program to separate foreground/background.

*Began reading up on suitable libraries available.

*Tried sixlegs png java package -- found not to be suitable due to lack of documentation on it.

*Found a suitable library -> java advanced imaging (JAI)

*Started implementation on java which includes:

- learning how to use JAI as well as some basics of image processing due to lack of prior experience in it.

- able to read image pixels from a png image and dump them to a text file

- able to read a folder of png images and dump the pixel values into their corresponding output text files

- ran into problems with heap size -> search online for a suitable solution -> using parameter -Xmx to solve it

- found out more about writing images by setting individual pixels' RGB values


TODO:

Start to implement a counter for the dominant pixel value across a set of slides and to use that pixel value to write to an image file. To see if an accurate background pixel can be obtained.

No comments: