Image processing apparatus and method for image processing
AssigneeRicoh Company, Ltd.
InventorNaoto Shiraishi
Life of this patent
Estimating the term…
Abstract
While a natural image having a resolution of 600 dpi is enlarged at a predetermined magnification ratio and is printed at a resolution of 1200 dpi, if the magnification ratio is equal to or more than two, the natural image is enlarged by using a nearest neighbor method. If the magnification ratio is less than two, a reduction image is generated by reducing an enlargement image obtained by enlarging an object image based on a magnification ratio to 1/2, and the reduction image is enlarged to twice the size by using the nearest neighbor method. The natural image obtained by enlarging in this manner is compressed and encoded by using prediction encoding and run-length encoding with which a run-length value having a prediction error of 0 is calculated.
Claims12
An image processing apparatus that compresses and encodes an image formed of multi-valued image data, the image processing apparatus comprising:
- an enlarging unit that enlarges the image by interpolating a pixel of the image by using a pixel copied corresponding to a magnification ratio;
- a predicting unit that calculates a prediction value relative to an attention pixel of an image obtained by enlarging the image by the enlarging unit, based on a pixel value of the attention pixel and a pixel value of a pixel surrounding the attention pixel;
- a predicting error unit that calculates an error value of the prediction value relative to the pixel value of the attention pixel;
- and
- a code generating unit that encodes the pixel value of the attention pixel or the error value.
A method for image processing by which an image formed of multi-valued image data is compressed and encoded, the method for image processing comprising:
- enlarging the image by interpolating a pixel of the image by using a pixel copied corresponding to a magnification ratio;
- predicting a prediction value relative to an attention pixel of an image obtained by enlarging the image at the enlarging, based on a pixel value of the attention pixel and a pixel value of a pixel surrounding the attention pixel;
- predicting error of the prediction value by calculating an error value relative to the pixel value of the attention pixel;
- and
- code generating at which the pixel value of the attention pixel or the error value is encoded.
Dependencies are inferred from the claim text.