Image Processing Cropping Reduces Computational Complexity
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current image processing methods incur high computational complexity due to inconsistent image ratios between image acquisition devices and application programs, leading to increased processing time during image or video recording.
Innovation Solution
An image processing method and apparatus that involves cropping the first image data into second image data with a supported ratio by the image acquisition device before effect processing, displaying, and storing, thereby reducing the amount of data to be processed and minimizing computational complexity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If image data is cropped multiple times to match different ratios for display and storage, then the image ratio compatibility is improved, but the computational complexity increases
Solution Approach 1:
The patent applies preliminary action by performing the cropping operation once at the beginning of the image processing pipeline, before effect processing and storage. This initial cropping transforms the original image data to a target ratio that is then reused for both display and storage purposes, eliminating the need for subsequent cropping operations and reducing overall computational complexity
2Productivity
If image data is cropped before effect processing, then the processing time is reduced, but the image quality may be affected
Solution Approach 1:
The patent performs cropping as a preliminary action before effect processing, which reduces the amount of data that needs to be processed subsequently. By cropping the image to the target ratio beforehand, the system decreases processing time for effect application and storage operations while maintaining image quality through proper sampling and interpolation techniques during the cropping process
Data Source
AI summary
An image processing method and apparatus, relating to the technical field of image processing. The method comprises: calling an image acquisition device by means of an application program to obtain first image data; cropping the first image data to second image data, the ratio of the first image data being different from that of the second image data, the ratio of the first image data being a ratio supported by the image acquisition device, and the ratio of the second image data being a ratio supported by the application program; performing effect processing on the second image data; and performing first processing on the second image data subjected to effect processing, the first processing comprising at least one of displaying in an interface of the application program, encoding, and storing.


