主权项 |
1. An image processing method, comprising:
deriving a coarse global motion vector by performing a coarse motion estimation process between a first image and a second image, wherein the first image is a previous image of the second image, and the first image comprises a plurality of blocks and the second image comprises a plurality of blocks, wherein the step of performing the coarse motion estimation process between the first image and the second image comprises:
respectively generating a first thumbnail and a second thumbnail according to the first image and the second image, wherein a size of the first thumbnail and the second thumbnail is smaller than the first image and the second image, and the first thumbnail comprises a plurality of blocks and the second thumbnail comprises a plurality of blocks;according to the first thumbnail and the second thumbnail, respectively deriving a plurality of coarse local motion vectors between the blocks in the second thumbnail and a plurality of corresponding blocks searched for in the first thumbnail; andderiving the coarse global motion vector according to the coarse local motion vectors; deriving a global motion vector between the first image and the second image by estimation according to the coarse global motion vector and providing the first image, the second image, and the global motion vector to a first application process; deriving a first compensated image and a second compensated image by respectively performing a lens distortion compensation process on the first image and the second image; deriving a compensated global motion vector corresponding to the first compensated image and the second compensated image by transforming and correcting the global motion vector; and providing the first compensated image, the second compensated image, and the compensated global motion vector to a second application process. |