Patent ID: 8068669

Claim:
A graphic and text separation method, for separating a graphic part and a text part of an image, comprising: (a). coarse classification steps, comprising: a1. dividing the image into plural rows and dividing each of the rows into plural chips, wherein each of the chip includes plural pixels; a2. classifying the plural chips into several chip types including photo chip, white chip, black chip, screen chip, semi-screen chip and undefined chip; and a3. calculating the number of luminance transition of each chip to determine if the chip is a transition chip or a text-on-photo chip; and (b). advanced classification steps, comprising: b1. determining if the undefined chips are text chips; b2. grouping the plural chips into several blocks, wherein each block comprises J×K chips and assigning each block as a photo block, background block or a non-photo block according to the chip types included in the block; b3. modifying the types of chips of each block; and b4. determining if the non-photo blocks shall be modified into photo block according to the types of two neighbor blocks; and (c). a step of detecting texts on photo determining another block range with a center at one target text-on-photo chip, wherein the another block range comprises L×M chips, and determining if the transition chips within the another block range shall be modified into text-on-photo chips or if the text-on-photo chips within the another block range shall be modified into photo chips according to the number of text chips within the another block range.