Patent ID: 7313275

Claim:
A method of separating graphs and text in digital image data for separating a plurality of graph data from a plurality of text data contained in a digital image, the method comprising the steps of: reading the digital image data; partitioning the digital image data into a plurality of operating matrices according to a default separating parameter, each of the operating matrices consisting of a plurality of pixel units each of which contains a digital characteristic value; setting a default crossing reference level (CRL); and for each of the operating matrices performing the following steps: performing a comparison analysis, which compares each of a plurality of pairs of adjacent pixel units in the operating matrix according to the default CRL and the operating matrix is given a weight when the digital characteristic value of the a first one of the adjacent pixel units is greater than the default CRL and the digital characteristic value of a second one of the adjacent pixel units is smaller than the CRL, and the operating matrix is given the weight when the digital characteristic value of the first adjacent pixel unit is smaller than the CRL and the digital characteristic value of the second adjacent pixel unit is greater than the CRL, adding up the weights of the operating matrices to obtain a weighted statistical value, and defining the operating matrix as text data when the weighted statistical value is smaller than a separating reference level (SRL) and as graph data when the weighted statistical value is greater than the SRL.