A storage medium readable by a computer stores a program of instructions
executable by the computer to perform a function. The function comprises
comparing input image data with reference image data, extracting an
annotation contained in the input image data based on a result of
comparing, discriminating a geometry of the annotation, and classifying
the annotation according to the geometry of the annotation.