In such a case, however, arrangements are necessary such as changing the design to enable the edge-part detect circuit 303 to count a consecutive number of edge pixels Z in the vertical direction. [0200] The following describes a specific example of the input image used in the pixel number conversion of the present embodiment. [0201]FIG. 13 depicts a case in which a horizontal direction conversion