Dynamic Image Cropping for Real-Time Anti-Shake
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing electronic devices have limited flexibility in anti-shake functionality due to the use of fixed cropping parameters when capturing images, which restricts their ability to adapt to varying shaking degrees during image capture.
Innovation Solution
An anti-shake method that acquires real-time shaking parameters and dynamically adjusts the cropping parameters to crop regions in images based on the shaking degree, using a combination of current and previous frames to determine the optimal cropping area, thereby enhancing the flexibility of anti-shake performance.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a fixed cropping parameter is used to crop the captured image, then the anti-shake effect is achieved, but the flexibility of anti-shake is poor
Solution Approach 1:
The patent applies the dynamics principle by transitioning from a fixed cropping parameter to a dynamic cropping parameter that changes based on detected shaking parameters. The cropping parameter is adjusted in real-time according to the shaking degree detected from comparing current and previous image frames, allowing the system to adapt to varying shake conditions while maintaining anti-shake effectiveness.
Solution Approach 2:
The patent implements parameter changes by modifying the cropping parameter based on shaking parameters obtained from image frame comparisons. When shaking is detected, the cropping parameter is changed to crop a larger region centered on the common area, and when no shaking is detected, the original cropping parameter is used. This dynamic parameter adjustment resolves the contradiction between reliable anti-shake effect and flexibility.
2Adaptability or versatility
If the cropping parameter is adjusted according to shaking degree, then the flexibility of anti-shake is improved, but the complexity of the system increases
Solution Approach 1:
The patent applies the self-service principle by enabling the system to automatically detect shaking parameters through image frame comparison and autonomously adjust the cropping parameter without requiring external intervention or complex control systems. The electronic device serves itself by using its own captured images to detect shake and adjust the anti-shake parameters, simplifying the overall system architecture while maintaining flexibility.
Solution Approach 2:
The patent implements feedback by using the detected shaking parameters from image frame comparisons to adjust the cropping parameter in real-time. The system continuously monitors image frames, detects shake through comparison, and feeds this information back to modify the cropping parameter accordingly. This feedback mechanism provides flexibility while keeping the system relatively simple by using the existing image processing pipeline.
3Reliability
If a larger region is cropped to compensate for shaking, then the anti-shake effectiveness is improved, but the visual range of the picture is reduced
Solution Approach 1:
The patent applies preliminary anti-action by proactively detecting shaking parameters and adjusting the cropping parameter to crop a larger region before the shake fully degrades image quality. By anticipating and compensating for shake through pre-adjustment based on detected shaking parameters, the system maintains anti-shake effectiveness while minimizing the loss of visual range compared to reactive approaches.
Solution Approach 2:
The patent implements local quality by focusing the enhanced cropping on the common area where stable content exists, rather than uniformly cropping the entire image. The system identifies the common region between current and previous frames and centers the cropped region on this stable area, maintaining high quality in the important region while preserving as much visual range as possible.
Data Source
Figure 1~2
Figure 3
Figure 4(a~5
AI summary
Disclosed in the present application are an anti-shake method, an anti-shake apparatus, and an electronic device. The method comprises: acquiring the shaking parameters of an electronic device in the case that a camera of the electronic device collects a first picture in real time; and cutting a first region in the first picture according to a first cutting parameter corresponding to the shaking parameters, and displaying the cut first picture, wherein the first picture comprises the first region and a second region, the second region is a public region of the first picture and N frames of pictures, the N frames of pictures are pictures collected before the first picture is collected, and N is an integer greater than or equal to 1.