Image processing algorithms employing two-dimensional Karhunen-Loeve Transform