Image Number 5 for United States Patent #6449391.
Segmentation of a character-containing image, made by placing a dark mark against a light background, is accomplished by establishing a vertical pixel projection for each pixel column in the image. For more exact segmentation, the image is horizontally scanned in each row of the image after detecting edges of characters. The scanned results and thresholds are compared to verify whether edges and spaces of the scanned row are noise or discontinuous edges. The thresholds correlate with neighboring row data of the image. According to the results of the comparison, the discontinuous edges are connected and the noise is eliminated. Thereby, the character-containing image can be segmented into each character without segmentation errors.