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: performing a set of operations on the image that renders the image, from a first state to a second state, wherein the second state is more legible than the first state, the operations comprising: converting the image into a grayscale image; isolating a plurality of pixels near an edge to generate an edge detected image output; isolating locally dark or light pixels to generate a locally dark or light image output; 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; cleaning the outputted combined image; correcting an erroneous plateau comprising computing a mean and standard deviation of original pixel colors of the image in an island portion of the erroneous plateau; computing a mean and standard deviation of the original pixel colors in a border portion of the erroneous plateau; performing a statistical test on the erroneous plateau to determine if the island portion of the erroneous plateau is part of the border portion; and if the island portion is a part of the border portion, correcting the erroneous plateau so the island portion and the border portion are a same color value.