Patent ID: 8326062
Filing Date: 2012-12-04
Classification: G06T,H04N

Abstract:
1. An electronic device, comprising: at least one storage system and at least one processor; and an image binarizing system stored in the at least one storage system, and being executable by the at least one processor to perform steps of: (a) receiving a gray-scale image from the at least one storage system, and generating a binarization array according to how many pixels in length of the gray-scale image and how many pixels in width of the gray-scale image; (b) setting a binarization parameter, and determining a pixel region of the gray-scale image according to the binarization parameter, wherein each pixel in the pixel region needs to be calculated for a binarization threshold value; (c) determining an initial pixel according to the binarization parameter, calculating a binarization threshold value for the initial pixel, and storing the calculated binarization threshold value into a corresponding position of the binarization array; (d) calculating a binarization threshold value for each pixel in the pixel region by utilizing adjacency relations of pixels in the pixel region, and storing each calculated binarization threshold value into a corresponding position of the binarization array; (e) assigning a binarization threshold value to each pixel outside the pixel region, and storing each assigned binarization threshold value into a corresponding position of the binarization array; (f) binarizing the gray-scale image according to the binarization threshold values in the binarization array, to generate a corresponding binary image, and storing the generated binary image into the at least one storage system.