Code written for EE5522 - Digital Image processing, code is open source. Feel free to use it/modify/change it and so on. Would be nice if you give me credit when you do so