Read here http://ebook4share.us/?book=0470844728Read Fundamentals of Digital Image Processing: A Practical Approach with Examples in Matlab