Image processing apparatus, image processing method, and non-transitory computer readable medium
AssigneeCanon Kabushiki Kaisha
InventorNoboru ABE
Life of this patent
Estimating the term…
Abstract
An image processing apparatus comprises: a decision unit which decides, based on a first resolution and a second resolution, a sampling pixel to be used for resolution conversion in the first image data; a determination unit which determines whether the first image data includes a white line of not larger than a predetermined width; a replacing unit which, in a case where a pixel of interest in the first image data is a pixel included in the white line and is not the sampling pixel, replaces a value of the pixel of interest with a value of a pixel adjacent to the pixel of interest; and a conversion unit which converts the first image data including the replaced value of the pixel into the second image data having the second resolution.
Claims9
An image processing apparatus which converts first image data having a first resolution into second image data having a second resolution lower than the first resolution, comprising:
- a decision unit configured to decide, based on the first resolution and the second resolution, a sampling pixel to be used for resolution conversion in the first image data;
- a determination unit configured to determine whether the first image data includes a white line of not larger than a predetermined width;
- a replacing unit configured to, in a case where a pixel of interest in the first image data is a pixel included in the white line and is not the sampling pixel, replace a value of the pixel of interest with a value of a pixel adjacent to the pixel of interest;
- and
- a conversion unit configured to convert the first image data including the replaced value of the pixel into the second image data having the second resolution.
An image processing method of converting first image data having a first resolution into second image data having a second resolution lower than the first resolution, comprising:
- deciding, based on the first resolution and the second resolution, a sampling pixel to be used for resolution conversion in the first image data;
- determining whether the first image data includes a white line of not larger than a predetermined width;
- replacing, in a case where a pixel of interest in the first image data is a pixel included in the white line and is not the sampling pixel, a value of the pixel of interest with a value of a pixel adjacent to the pixel of interest;
- and
- converting first image data including the replaced value of the pixel into second image data having the second resolution.
A non-transitory computer readable medium storing a program for causing a computer to function as:
- a decision unit configured to, in a case where performing resolution conversion from a first resolution of first image data into second image data having a second resolution lower than the first resolution, decide a sampling pixel in the first image data based on the first resolution and the second resolution;
- a determination unit configured to determine whether the first image data includes a white line of not larger than a predetermined width;
- a replacing unit configured to, in a case where a pixel of interest in the first image data is a pixel included in the white line and is not the sampling pixel, replace a value of the pixel of interest with a value of a pixel adjacent to the pixel of interest;
- and
- a conversion unit configured to convert first image data including the replaced value of the pixel into second image data having the second resolution.
Dependencies are inferred from the claim text.