主权项 |
1. An image processing device comprising:
an acquiring unit configured to acquire image data indicating an image on an image depicting area; and an image processing unit configured to perform:
an image depicting area division process that divides the image depicting area into a plurality of blocks having a same size;a first determination process that determines whether each of the plurality of blocks is a single-color block, a non-single-color block, or a non-determinative block, determination of the single-color block being made when a single-color condition is met, determination of the non-single-color block being made when a non-single-color condition is met, and determination of the non-determinative block being made when neither the single-color condition nor the non-single-color condition is met;a second determination process that determines whether the non-determinative block is the single-color block or the non-single-color block based on a result of the first determination process with respect to a neighboring block neighboring the non-determinative block; anda blank determination process that determines whether the image is a blank image based on at least one of number of single color blocks that are determined in the first determination process or the second determination process and number of non-single-color blocks that are determined in the first determination process or the second determination process, wherein in the second determination process, the image processing unit is configured to:
set a target non-determinative block from among the non-determinative blocks determined in the first determination process;obtain a first number of blocks determined as the non-single-color block or the non-determinative block in the first determination process from among the neighboring blocks of the target non-determinative block; anddetermine whether the first number of blocks with respect to the target non-determinative block is less than a prescribed value, wherein, when the first number of blocks is less than the prescribed value, the target non-determinative block is determined as the single-color block whereas, when the first number of blocks is greater than or equal to the prescribed value, the target non-determinative block is determined as the non-single-color block. |