1. A method for performing a process on an image, the process being implemented by a computer system comprising at least one data storage device in which is stored image data for images, at least one computer and at least one computer readable medium storing thereon computer code which when executed by the at least one computer performs the method, the method comprising the at least one computer: performing a set of operations on an image that renders the image, from a first state to a second state, wherein the second state is more legible than then the first state, the operations comprising: converting the image into a grayscale image; isolating a plurality of pixels near an edge; isolating locally dark or light pixels; computing an intersection between the edge detected image output and the locally dark or light image output and outputting a combined black and white image; and cleaning the outputted combined image.