Image processing method and system
AssigneeMediatek Inc.
InventorJiun-Yuan WU
Life of this patent
Estimating the term…
Abstract
The invention provides the image method and apparatus to increase the sharpness of a resized image. The image includes a plurality of pixels with an alpha value and an image data. The method detects the alpha value of neighboring first and second pixels. Weighting values of interpolated pixels between the first and second pixels are determined. The image data of the interpolated pixels are set to be identical to the image data of the first pixel when one of the first pixel or the second pixel is zero.
Claims20
An image processing method for an image comprised of a plurality of pixels, wherein each pixel has an alpha value and an image data, the method comprising:
- selecting a first pixel and a second pixel, wherein the first pixel and the second pixel are neighboring each other;
- detecting the alpha value of the first pixel and the alpha value of the second pixel;
- determining the image data of the first pixel and the image data of the second pixel;
- determining interpolated pixels according to the first and second pixels;
- generating weighting values of interpolated pixels, wherein the weight value for each interpolated pixel are different to each other;
- and
- adjusting the image data of the interpolated pixels if one of the first and second pixels has the alpha value being zero.
An image processing method for an image comprised of a plurality of pixels, wherein each pixel has an alpha value and an image data, the method comprising:
- electing a first pixel and a second pixel, wherein the first pixel and the second pixel are neighboring each other;
- detecting the alpha value of the first pixel and the alpha value of the second pixel;
- determining the image data of the first pixel and the image data of the second pixel;
- determining interpolated pixels according to the first and second pixels;
- generating weighting values of interpolated pixels, wherein the weight value for each interpolated pixel are different to each other;
- and
- adjusting the image data of the interpolated pixels when an absolute difference between the first alpha value and the second alpha value exceeds a difference-threshold value.
An image processing apparatus, comprising:
- a data latch receiving an image comprised of a plurality of pixels, wherein each pixel has an alpha value and an image data;
- a scale unit having a scale ratio to output an enable signal;
- an alpha value detector activated by the enable signal, receiving the image to output the calibrated image data of interpolated pixels based on the scale ratio;
- and
- an image processing unit to resize the image based on the scale ratio and the image data of the interpolated pixels.
Dependencies are inferred from the claim text.