Image Filter on Java:
http://jhlabs.com/ip/filters/index.html
Source code: http://jhlabs.com/ip/filters/Filters.zip