1. A method of distinguishing the types of pixels of an image made up of a plurality of pixels arranged in a first direction and a second direction substantially perpendicular to the first direction in which the image is divided into a plurality of blocks, the number of pixels which are determined to be an edge pixel in each block is counted, and whether each of pixels in each block is a halftone pixel is determined on the basis of the number of the pixels which are determined to be an edge pixel in the block, wherein the improvement comprises the steps of modifying the number of edge pixels in each block, when a plurality of pixels continuous in the first direction and/or the second direction are determined to be edge pixels, by counting only a predetermined number of pixels in the set of the pixels consisting of the continuous pixels which are determined to be an edge pixel as an edge pixel, and determining whether each pixel in the block is a halftone pixel on the basis of the modified number of the edge pixels in the block.