5. A method of controlling an image processing apparatus that controls a user interface according to image properties, the method causing the image processing apparatus to execute: a step of acquiring document data; a step of generating recognition data by determining image properties of the document data including a color and a gray level of the document data; and a step of providing the user interface, wherein operations that can be performed on the document data by the image processing apparatus through the user interface vary according to the recognition data, wherein a monochrome binary image and a multilevel image are differentiated between based on gray level data and two-dimensional dispersion of pixels contained in the document data so as to generate the recognition data.
6. The method as claimed in claim 5 , wherein the image processing apparatus is a multi-function peripheral; and the step of generating the recognition data includes a step of acquiring gray level data and two-dimensional dispersion of pixels contained in the document data; and a step of determining whether the document data comprise a monochrome binary image or a multilevel image based on the acquired gray level data and the two-dimensional dispersion.