Image storage method and apparatus, and electronic device and storage medium

    公开(公告)号:US11368648B2

    公开(公告)日:2022-06-21

    申请号:US17050128

    申请日:2019-04-16

    摘要: 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.

    Image Storage Method and Apparatus, and Electronic Device and Storage Medium

    公开(公告)号:US20210084256A1

    公开(公告)日:2021-03-18

    申请号:US17050128

    申请日:2019-04-16

    IPC分类号: H04N5/91 H04N5/232

    摘要: 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.