Image Storage Sequencing for Corrected Scans Under Space Limits
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Optical captors used in public safety imaging suffer from trapezoidal distortion, necessitating image correction, which consumes storage space and can lead to storage failures due to insufficient space when images and corrected images are stored simultaneously.
Innovation Solution
An image storage method that involves acquiring and storing pixel data in two stages: first, scanning and storing a partial region using a preset mode, then correcting and storing the data; second, scanning and storing the remaining region with reduced pixel density, allowing for efficient use of storage space.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If the scanned image and corrected image are stored simultaneously, then the image recognition accuracy is improved, but the storage space consumption increases
Solution Approach 1:
The patent divides the scanning region into a first partial region and a remaining region. The first partial region is scanned and stored first, then corrected and stored. Only after confirming sufficient storage space remains does the system scan the remaining region. This segmentation approach ensures that critical image data is captured and corrected before storage space becomes insufficient, resolving the contradiction between maintaining recognition accuracy and reducing storage consumption.
Solution Approach 2:
The patent performs preliminary scanning and storage of the first partial region before handling the remaining region. By completing the correction and storage of the first partial region in advance, the system ensures that essential image data is secured while still having adequate storage space available, thus preventing storage failures while maintaining image quality for recognition.
2Measurement precision
If the scanning mode uses high pixel density, then the image quality is improved, but the storage space requirement increases
Solution Approach 1:
The patent applies different scanning modes to different regions. The first partial region uses a preset first scanning mode with higher pixel density to ensure high image quality for critical areas. The remaining region uses a preset second scanning mode with lower pixel density to reduce storage requirements. This local differentiation resolves the contradiction by optimizing image quality where needed while reducing overall storage consumption.
Data Source
Figure 1~2
Figure 3
Figure 4
AI summary
Embodiments of the present application provide an image storage method and apparatus, and an electronic device and a storage medium. In the method, pixel data obtained by scanning with a first partial region of a scanning region is acquired as first pixel data, and the first pixel data is stored in a storage space; the first pixel data is corrected by using a preset correction algorithm to obtain second pixel data, and the second pixel data is stored in the storage space; if it is determined that the remaining space of the storage space meets the preset condition, the pixel data obtained by scanning with the remaining region of the scanning region is acquired as the third pixel data, and the third pixel data is stored in the storage space; wherein, the scanning mode of the remaining region is a preset second scanning mode; and the third pixel data is corrected by using the preset correction algorithm to obtain fourth pixel data, and the fourth pixel data is stored in the storage space. In the present application, due to the number of pixels obtained by scanning in the preset second scanning mode is less than the number of pixels obtained by scanning in the preset first scanning mode, the size of the image before correction is reduced, and thereby the success rate of image storage is improved.