It takes a grey-scale image as input,coverts it into a two-toned binary matrix and smoothens the image i.e rectifies noise bits