Patent ID: 7738712

Claim:
An image processing method implemented in an image-processing device for transforming an input image with a first resolution into an output image with a second resolution, the input image having a plurality of input pixels, the method comprising the steps of: (a) a coefficient controller determining a horizontal ratio and a vertical ratio, and a parsing unit determining a plurality of input pixels corresponding to each output pixel according to a scale between the first resolution and the second resolution; (b) the coefficient controller determining a horizontal parameter and a vertical parameter corresponding to each of the determined plurality of input pixels based on the horizontal ratio and the vertical ratio; and (c) a processing unit calculating a value of the output pixel by weighing each of the determined plurality of input pixels with a weight parameter which is proportional to a product of the corresponding horizontal parameter and the vertical parameter, wherein step (a) comprises the steps of: (a1) determining a reference input pixel I(pv, ph) associated to each output pixel O(sv,sh); and (a2) gathering a input pixel array [ I ⁡ ( pv - n + 1 , ph - m + 1 ) I ⁡ ( pv - n + 2 , ph - m + 1 ) ⁢ … I ⁡ ( pv - 1 , ph - m + 1 ) I ⁡ ( pv , ph - m + 1 ) I ⁡ ( pv - n + 1 , ph - m + 2 ) I ⁡ ( pv - n + 2 , ph - m + 2 ) ⁢ … I ⁡ ( pv - 1 , ph - m + 2 ) I ⁡ ( pv , ph - m + 2 ) ⋮ ⁢ ⋰ ⁢ ⋮ ⁢ I ⁡ ( pv - n + 1 , ph - 1 ) I ⁡ ( pv - n + 2 , ph - 1 ) ⁢ … I ⁡ ( pv - 1 , ph - 1 ) I ⁡ ( pv , ph - 1 ) I ⁡ ( pv - n + 1 , ph ) I ⁡ ( pv - n + 2 , ph ) ⁢ … I ⁡ ( pv - 1 , ph ) I ⁡ ( pv , ph ) ] the input pixel array comprising the reference input pixel I(pv, ph), a plurality of input pixels on the previous m−1 row to previous one row relative to the reference input pixel I(pv, ph), and a plurality of input pixels on previous n−1 to previous one columns relative to the reference input pixel I(pv, ph), wherein the above steps are performed by the image-processing device.