Converting inputted information of an image into information suitable for
the edge detection, and calculating difference value difference value of
adjacent pixels of the image, and adding an absolute value of the
difference value to the calculated difference value of the pixels
corresponding to the adjacent pixels if the difference value is negative,
to generate an edge image.