Patent ID: 7924466

Claim:
An image processing device comprising: a processor; and memory storing instructions that, when executed by the processor, causes the image processing device to: generate single-hue image data from color image data, which single-hue image data includes at least three records, a first record that represents a first area filled with a first color based on first hue component data in the color image data, a second record that represents a second area filled with a second color based on second hue component data in the color image data, the first and second records establishing one of line contact and overlap between the first area and the second area, and a third record that represents a third area filled with a third color based on third hue component data in the color image data, the first and third records establishing one of line contact and overlap between the first area and the third area; determine, on a record-by-record basis, a first density of the first area and a second density of the second area in the single-hue image data based on the first hue component data and the second hue component data, respectively, of the color image data; compare the determined first and second densities responsive to determining that each of the first and second records is a record for an operation of filling a closed area; modify at least one of the first density and second density based on a result of the comparison responsive to determining that each of the first and second records is a record for an operation of filling a closed area; determine a third density of the third area in the single-hue image data based on the third hue component data of the color image data; determine whether the first density is identical to at least one of the second and third densities; perform a predetermined modification operation to modify the first density when determining that the first density is identical to at least one of the second and third densities; and repeat the predetermined modification operation until determining that the first density is different from any of the second and third densities.