Patent ID: 8681385

Claim:
An image processing apparatus comprising: a scanning unit for scanning a document to obtain scanning data; and a control unit configured to: determine whether one of a first operation mode, a second operation mode, and a third operation mode is selected; if one of the first and second operation modes is selected, specify a shadow region to be modified in the scanning data, the specified shadow region corresponding to at least one of a shadow region outside an outer-edge portion of the document and a shadow region which has a strip-like shape and which occurs at a middle portion of the document; if the shadow region has been specified and the first operation mode is selected; execute a first adjusting operation to modify the scanning data according to a default setting; and execute a second adjusting operation for selecting a gray-scale level of a portion of the scanning data corresponding to the specified shadow region based on a user input and modifying the scanning data according to the selected gray-scale level; execute a third adjusting operation for selecting a degree of rotation to rotate an image corresponding to the scanning data based on an additional user input; output a graphical user interface configured to simultaneously display a first operation unit for receiving the user input used to select the gray-scale level in the second adjusting operation, and a second operation unit for receiving the additional user input used to select the degree of rotation in the third adjusting operation; after outputting the graphical user interface, determine whether an angle modification has been received through the second operation unit; if determining that the angle modification has been received, determine whether an outer-edge portion of the document has been specified; after outputting the graphical user interface, determine whether a shadow modification has been received through the first operation unit; and if determining that the shadow modification has been received, determine whether one of an outer-edge portion and a middle portion of the document has been specified; if the shadow region has been specified and the second operation mode is selected, execute the first adjusting operation to modify the scanning data according to the default setting; output a preview image of the modified scanning data to be displayed if the first operation mode is selected, but not if either of the second and third operation modes is selected; and generate print data from the scanning data.