Grid-Based Image Data Cleaning for Live Streaming Irregular Figures
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current image data processing methods for irregular figures in live streaming applications are inefficient and prone to calculation errors, especially when dealing with complex figures and overlaps, leading to inaccurate area calculations and incomplete interface restoration.
Innovation Solution
An image data processing method and apparatus that divides the target display region into a grid of subgrids, calculates the cleaning number based on touch point coordinates, and deletes subimage data when a preset condition is met, allowing for efficient calculation and reduced errors by avoiding real-time area calculations.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If complex calculation formulas are used to calculate the area of irregular figures, then the area ratio can be calculated, but the calculation becomes huge and produces relatively large errors
Solution Approach 1:
The patent divides the irregular figure into multiple regular sub-regions (rectangles, triangles, etc.) by segmenting the complex shape into simpler geometric components. This allows the area to be calculated by summing the areas of these basic shapes, avoiding the need for complex integration formulas while maintaining accuracy.
Solution Approach 2:
Instead of directly calculating the area of the complex irregular figure using complicated formulas, the patent inverts the approach by calculating the area of simple regular shapes that make up the figure, then combining these simple results to obtain the total area. This inversion simplifies the calculation process.
2Measurement precision
If repeated calculations are performed for irregular figures with overlaps, then the area ratio can be calculated, but the calculation becomes huge and errors increase
Solution Approach 1:
The patent segments the overlapping irregular figures into distinct regular sub-regions, allowing the area of each segment to be calculated independently and then combined. This segmentation eliminates the need for repeated complex calculations on overlapping regions, improving both accuracy and efficiency.
Solution Approach 2:
The patent performs preliminary segmentation and identification of regular shapes before calculating areas. By pre-dividing the complex figures into manageable regular components, the system avoids repeated complex calculations and reduces errors in overlapping regions.
3Ease of manufacture
If the original interface is not restored completely, then the cleaning process can be simplified, but the interface restoration is incomplete
Solution Approach 1:
The patent segments the interface restoration process into discrete steps corresponding to the segmented regions of the sprayed pigment figure. By restoring each regular sub-region separately and systematically, the method ensures complete interface restoration without overcomplicating the overall process.
Solution Approach 2:
The patent performs preliminary segmentation of the sprayed pigment figure into regular shapes before initiating the restoration process. This preliminary action allows the restoration to proceed systematically through each segment, ensuring completeness while maintaining simplicity.
Data Source
AI summary
Embodiments of the present disclosure disclose an image data processing method performed at a computing device, including: obtaining target image data, and creating grid information on a target display region corresponding to the target image data; obtaining a sliding operation track corresponding to a touch screen, and extracting a touch point in the sliding operation track, as a target touch point; creating position coordinates of the target touch point, and calculating, according to the grid information and the position coordinates of the target touch point, a cleaning number corresponding to the target touch point; adding a grid number same as the cleaning number to a preset number set, and deleting subimage data covered by the target touch point; and completely deleting, when the quantity of grid numbers in the number set meets a cleaning condition, the target image data from which a plurality of pieces of subimage data has been deleted.


