Image processing apparatus, image processing method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorsKoya Shimamura, Junya Arakawa
Life of this patent
Estimating the term…
Abstract
An image processing apparatus generates a first image by adjusting luminance so as to preserve a signal value on a high-luminance side among signal values acquired by reading a document by a scanner, and detects a position of a region corresponding to the document in the generated first image. The image processing apparatus further generates a second image by performing adjustment so as to increase luminance of a pixel contained in the first image, and crops a document image from the generated second image based on the detected position of the region corresponding to the document.
Claims16
An apparatus comprising:
- at least one processor;
- and a memory coupled to the at least one processor, the memory having instructions that, when executed by the processor, performs operations as:
- a first adjustment unit configured to generate a first image by performing a gain adjustment on signal values acquired by a scanner so that information of the signal values on a high-luminance side is preserved, wherein the first adjustment unit generates the first image by performing the gain adjustment so as to adjust a predetermined luminance value on the high-luminance side at the time of reading the document with the scanner to a first luminance value and thereafter performing processing to replace a luminance value of a pixel having the first luminance value if the luminance value of the pixel on which the gain adjustment has been performed is higher than the first luminance value;
- wherein the scanner acquires the signal values by reading a document;
- a detection unit configured to detect a position of a region corresponding to the document in the generated first image;
- a second adjustment unit configured to generate a second image from the first image by making an adjustment so as to increase luminance of at least one pixel contained in the first image;
- and
- a cropping unit configured to crop, based on the detected position of the region corresponding to the document, a document image corresponding to the document from the generated second image.
An apparatus comprising:
- at least one processor;
- and a memory coupled to the at least one processor, the memory having instructions that, when executed by the processor, performs operations as:
- a first adjustment unit configured to generate a first image by performing a gain adjustment on signal values acquired by a scanner so that information of the signal values on a high-luminance side is preserved, wherein the generating the first image generates the first image by performing gain adjustment so as to adjust a predetermined luminance value on the high-luminance side at the time of reading the document with the scanner to a first luminance value and thereafter performing processing to replace a luminance value of a pixel having the first luminance value if the luminance value of the pixel on which the gain adjustment has been performed is higher than the first luminance value;
- wherein the scanner acquires the signal values by reading a document;
- a detection unit configured to detect a position of a region corresponding to the document in the generated first image;
- a cropping unit configured to crop a first document image corresponding to the document from the generated first image, based on the position of the region corresponding to the detected document;
- and a second adjustment unit configured to generate a second document image by performing adjustment of the cropped first document image so as to increase luminance of at least one pixel contained in the cropped first document image.
A non-transitory computer readable storage medium storing a program for causing a processor to perform:
- generating a first image by performing a gain adjustment on signal values acquired by a scanner so that information of the signal values on a high-luminance side is preserved, wherein the generating the first image generates the first image by performing gain adjustment so as to adjust a predetermined luminance value on the high-luminance side at the time of reading the document with the scanner to a first luminance value and thereafter performing processing to replace a luminance value of a pixel having the first luminance value if the luminance value of the pixel on which the gain adjustment has been performed is higher than the first luminance value;
- wherein the scanner acquires the signal values by reading a document;
- detecting a position of a region corresponding to the document in the generated first image;
- generating a second image from the first image by performing adjustment so as to increase luminance of at least one pixel contained in the first image;
- and cropping, based on the detected position of the region corresponding to the document, a document image corresponding to the document from the generated second image.
A non-transitory computer readable storage medium storing a program for causing a processor to perform:
- generating a first image by performing a gain adjustment on signal values acquired by a scanner so that information of the signal values on a high-luminance side is preserved, wherein the generating the first image generates the first image by performing gain adjustment so as to adjust a predetermined luminance value on the high-luminance side at the time of reading the document with the scanner to a first luminance value and thereafter performing processing to replace a luminance value of a pixel having the first luminance value if the luminance value of the pixel on which the gain adjustment has been performed is higher than the first luminance value;
- wherein the scanner acquires the signal values by reading a document;
- detecting a position of a region corresponding to the document in the generated first image;
- cropping a first document image corresponding to the document from the generated first image based on the detected position of the region corresponding to the document;
- and generating a second document image by performing
- adjustment of the cropped first document image so as to increase luminance of at least one pixel contained in the cropped first document image.
A method that is executed by a processing unit of an apparatus, the method comprising:
- generating a first image by performing a gain adjustment on signal values acquired by a scanner so that information of the signal values on a high-luminance side is preserved,
- wherein the generating the first image generates the first image by performing gain adjustment so as to adjust a predetermined luminance value on the high-luminance side at the time of reading the document with the scanner to a first luminance value and thereafter performing processing to replace a luminance value of a pixel having the first luminance value if the luminance value of the pixel on which the gain adjustment has been performed is higher than the first luminance value;
- wherein the scanner acquires the signal values by reading a document;
- detecting a position of a region corresponding to the document in the generated first image;
- generating a second image from the first image by performing adjustment so as to increase luminance of at least one pixel contained in the first image;
- and cropping, based on the detected position of the region corresponding to the document, a document image corresponding to the document from the generated second image.
A method that is executed by a processing unit of an image processing apparatus, the method comprising:
- generating a first image by performing a gain adjustment on signal values acquired by a scanner so that information of the signal values on a high-luminance side is preserved,
- wherein the generating the first image generates the first image by performing gain adjustment so as to adjust a predetermined luminance value on the high-luminance side at the time of reading the document with the scanner to a first luminance value and thereafter performing processing to replace a luminance value of a pixel having the first luminance value if the luminance value of the pixel on which the gain adjustment has been performed is higher than the first luminance value;
- wherein the scanner acquires the signal values by reading a document;
- detecting a position of a region corresponding to the document in the generated first image;
- cropping, based on the detected position of the region corresponding to the document, a first document image corresponding to the document from the generated first image;
- and generating a second document image by performing adjustment of the cropped first document image so as to increase luminance of at least one pixel contained in the cropped first document image.
Dependencies are inferred from the claim text.