Image processing apparatus, control method, and computer-readable storage medium, which obtains calibration image information with which to correct image data
AssigneeCanon Kabushiki Kaisha
InventorTakeshi Matsumura
Life of this patent
Estimating the term…
Abstract
An image processing apparatus obtains image data by photographing a document which is put on a document plate. The apparatus includes an obtaining unit and a correction unit. The obtaining unit photographs the document plate and obtains calibration image data. The correction unit uses the calibration image data obtained by the obtaining unit, so as to correct the image data obtained by photographing the document which is put on the document plate.
Claims5
An image processing apparatus comprising:
- an image capturing unit configured to capture an image of a document placed on a document board;
- a processor;
- and
- a memory storing instructions, when executed by the processor, causing the apparatus to function as:
- a determination unit configured to determine a correction parameter for correcting a first image of the document placed on the document board, the first image being captured by the image capturing unit, using a value corresponding to each pixel in a second image that is captured by imaging the document board by the image capturing unit;
- and
- a correction unit configured to correct the first image of the document placed on the document board, the first image being captured by the image capturing unit, using the correction parameter determined by the determination unit,
- wherein the determination unit modifies the parameter by modifying a value corresponding to each pixel in a first region containing an edge portion extracted based on an edge extraction filter from the second image of the document board using a value corresponding to each pixel surrounding the first region,
- wherein in a case where the first region surrounding the edge portion is larger than a predetermined size, the determination unit is configured to change a coefficient of the edge extraction filter, extract the edge portion from the second image of the document board, and determine, as a second region, a region surrounding an edge portion extracted using the changed coefficient.
A control method for controlling an image processing apparatus including an image capturing unit configured to capture an image of a document placed on a document board, the control method comprising:
- determining a correction parameter for correcting a first image of the document placed on the document board, the first image being captured by the image capturing unit, using a value corresponding to each pixel in a second image that is captured by imaging the document board;
- and
- correcting the first image of the document placed on the document board, the first image being captured by the image capturing unit, using the correction parameter determined in the determining,
- wherein the determining modifies the parameter by modifying a value corresponding to each pixel in a first region containing an edge portion extracted based on an edge extraction filter from the second image of the document board using a value corresponding to each pixel surrounding the first region,
- wherein in a case where the first region surrounding the edge portion is larger than a predetermined size, the determining changes a coefficient of the edge extraction filter, extracts the edge portion from the second image of the document board, and determines, as a second region, a region surrounding an edge portion extracted using the changed coefficient.
A non-transitory computer-readable storage medium storing a control method for controlling an image processing apparatus including an image capturing unit configured to capture an image of a document placed on a document board, the control method comprising:
- determining a correction parameter for correcting a first image of the document placed on the document board, the first image being captured by the image capturing unit, using a value corresponding to each pixel in a second image that is captured by imaging the document board;
- and
- correcting the first image of the document placed on the document board, the first image being captured by the image capturing unit, using the correction parameter determined in the determining,
- wherein the determining modifies the parameter by modifying a value corresponding to each pixel in a first region containing an edge portion extracted based on an edge extraction filter from the second image of the document board using a value corresponding to each pixel surrounding the first region,
- wherein in a case where the first region surrounding the edge portion is larger than a predetermined size, the determining changes a coefficient of the edge extraction filter, extracts the edge portion from the second image of the document board, and determines, as a second region, a region surrounding an edge portion extracted using the changed coefficient.
Dependencies are inferred from the claim text.