Patent ID: 8755602

Claim:
An electronic apparatus, comprising: an image obtaining unit configured for obtaining an original image; a processing unit configured for: converting the original image into a gray level image to determine a gray level distribution of the original image and determining a binary threshold of the original image; defining a fuzzy region and a flat region of the original image according to the gray level distribution and the binary threshold, wherein the fuzzy region is a border area between a target object or target objects and a background of the original image, and wherein gray values of pixels in the fuzzy region are gradually changed from the target object to the background, the flat region is a remaining part of the image excluding the fuzzy region, and gray values of pixels in the flat region are approximately the same; comparing the gray values of the pixels in the fuzzy region with the gray values of the pixels in the flat region, and re-defining the pixel gray values of the pixels in the fuzzy region according to the comparison and a formula; and binarizing the pixels of the flat region and the pixels of the re-defined fuzzy region according to the binary threshold to output an binarized image; a display unit configured for displaying the original image and the binarized image.