| CPC G06V 10/98 (2022.01) [G06V 10/24 (2022.01)] | 8 Claims |

|
1. A method for determining deblur filter coefficients, comprising the following steps:
generating an edge profile according to data of an image;
estimating a blur kernel according to the edge profile, wherein the blur kernel indicates how an imaging process blurs original image data and thereby generates blurred image data; and
determining coefficients of a deblur filter to make a process result of the deblur filter processing the blurred image data approach the original image data,
wherein the step of generating the edge profile includes:
ascertaining an edge position of each of multiple rows in a region of interest (ROI) of the image to obtain edge positions of the multiple rows, wherein each of the multiple rows includes multiple edge-neighboring pixels, and the distance between each of the multiple edge-neighboring pixels of a certain row of the multiple rows and the edge position of the certain row is shorter than a predetermined distance;
aligning the edge positions of the multiple rows; and
after aligning the edge positions of the multiple rows, averaging all of the edge-neighboring pixels of the multiple rows at a same horizontal position and thereby obtaining a row of average values as the edge profile.
|