FIGS. 17a to 17f are diagrams sowing the gray level distributions of various images in the case where characters, which are different in their brightness, are extracted at the same time, one of the characters being brighter than the background and the other darker than the background;