One or more character strings are extracted from within an inputted image.
The extracted character strings are retrieved to find one or more
identical character strings. A determination is then made as to whether
or not the identical character strings are laid out regularly, with
processing performed on the inputted image depending on the findings of
the determination.