Image processing apparatus and image processing method in which color and monochrome images are distinguished
AssigneeCanon Kabushiki Kaisha
InventorHideo Sato
Life of this patent
Estimating the term…
Abstract
An image processing apparatus determines whether each of pixels in a scanned image is a color pixel or a monochrome pixel, determines whether each of blocks including the multiple pixels in the scanned image is a color block or a monochrome block, based on determination results of the respective pixels, and determines that the scanned image is a color image in a case where an arrangement pattern of blocks determined to be color blocks matches a predetermined pattern.
Claims21
An image processing apparatus comprising:
- a controller which executes instructions stored in a memory or a circuitry,
- wherein the controller or the circuitry obtains an image including a plurality of blocks from a color image sensor, each of the blocks including a plurality of pixels,
- wherein the controller or the circuitry determines whether each of the blocks is a color block or a monochrome block,
- wherein the controller or the circuitry determines whether color blocks are arranged consecutively greater than a first predetermined number in the image,
- wherein the controller or the circuitry determines whether the number of color blocks is greater than a third predetermined number in a region including a second predetermined number of blocks in the image, and
- wherein the controller or the circuitry determines whether the image is a color image or a monochrome image based on a determination result of determining whether color blocks are arranged consecutively greater than the first predetermined number in the image and a determination result of determining whether the number of color blocks is greater than the third predetermined number in the region including the second predetermined number of blocks in the images.
An image processing method to be executed in an image processing apparatus, the method comprising:
- an obtaining step of obtaining an image including a plurality of blocks from a color image sensor, each of the blocks including a plurality of pixels;
- a first determination step of determining whether each of the blocks is a color block or a monochrome block;
- a second determination step of determining whether color blocks are arranged consecutively greater than a first predetermined number in the image;
- a third determination step of determining whether the number of color blocks is greater than a third predetermined number in a region including a second predetermined number of blocks in the image;
- and
- a fourth determination step of determining whether the image is a color image or a monochrome image based on a determination result of the second determination step and a determination result of the third determination step.
A non-transitory computer readable storage medium storing a program which causes an image processing apparatus to perform the image processing method comprising:
- an obtaining step of obtaining an image including a plurality of blocks from a color image sensor, each of the blocks including a plurality of pixels;
- a first determination step of determining whether each of the blocks is a color block or a monochrome block;
- a second determination step of determining whether color blocks are arranged consecutively greater than a first predetermined number in the image;
- a third determination step of determining whether the number of the color blocks is greater than a third predetermined number in a region including a second predetermined number of blocks in the image;
- a fourth determination step of determining whether the image is a color image or a monochrome image based on a determination result of the second determination step and a determination result of the third determination step.
Dependencies are inferred from the claim text.