A image processing device has a reading unit, a graphics area extraction
unit, a writing area extraction unit, a character string extraction unit
and an association unit. The reading unit reads a document. The graphics
area extraction unit extracts a graphics area from the document read by
the reading unit. The writing area extraction unit extracts a writing
area from the document read by the reading unit. The character string
extraction unit extracts a character string presented in the graphics
area. The association unit associates information of the writing area
with the graphics area based on the character string extracted by the
character string extraction unit.