Patent ID: 8000535

Claim:
A method for detecting a line structure in a text map, said method comprising: determining a pixel-of-interest in a text map, said pixel-of-interest (POI) comprising: an associated pixel location; a POI text-map value; and a POI associated image color value; identifying said POI as a line pixel when: said POI text-map value indicates said POI is a text pixel and a value of a first-direction run counter associated with said associated pixel location is greater than a first-direction run-length threshold; identifying said POI as a line pixel when: said POI text-map value indicates said POI is a text pixel and a value of a first-direction run reset counter associated with said associated pixel location is greater than said first-direction run-length threshold; and decrementing said first-direction run reset counter associated with said associated pixel location when said POI text-map value indicates said POI is a text pixel and said value of said first-direction run reset counter associated with said associated pixel location is greater than said first-direction run-length threshold.