The invention relates to the technical field of
image stabilization, in particular to a GMSL camera
system design method supporting anti-shake, which comprises the following steps: acquiring a YUV image through
image acquisition, extracting an edge through a Canny
algorithm and generating trajectory data, tracking pixel displacement to calculate an angle and an amplitude, marking as a stable area if a threshold condition is met, generating a stable area coordinate, and calculating the image according to the stable area coordinate. The IMU collects acceleration and
angular velocity data, synchronizes the acceleration and
angular velocity data with an
image frame, calculates acceleration change, detects an edge
direction angle, calculates a vector included angle to generate
cutting offset, adjusts the position of a
cutting frame, performs bilinear interpolation reduction, and outputs a stable
image frame. According to the invention, the
jitter compensation precision is improved, the
delay and loss are reduced, and the image stability in the vibration environment is enhanced by extracting the
image edge track, tracking the pixel displacement path, matching the IMU with the image
timestamp, calculating the acceleration and the edge direction offset, dynamically adjusting the position of the
cutting frame and performing interpolation reduction.