1. A method, executed by one or more processors, the method comprising: computing a plurality of binarization scores for an image using a corresponding plurality of binarization threshold values; determining a selected binarization threshold value based on the plurality of binarization scores; processing the image using the selected binarization threshold value into a first binary image; determining a transition pixel count and a non-transition pixel count for the first binary image, wherein the transition pixel count comprises a count of pixels of differing binary values that are adjacent to each other in the first binary image and the non-transition pixel count comprises a count of pixels of equal binary values that are adjacent to each other in the first binary image; determining a first binarization score, wherein: the first binarization score is based on the non-transition pixel count and the transition pixel count for the first binary image, the first binarization score corresponds to a ratio between a non-transition pixel count function and a transition pixel count function for the first binary image, and the transition pixel count function corresponds to a sum of a black-to-white pixel transition count and a white-to-black pixel transition count for the binary image; and processing the first binary image using the first binarization score into a second binary image.