Multi-stage index compression method, device and equipment for reducing image storage space

CN122293870BActive Publication Date: 2026-09-15SIENGINE TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202610776461.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-06-01
Publication Date
2026-09-15
Estimated Expiration
2046-06-01

AI Technical Summary

Technical Problem

[0002]对于汽车上仪表盘的安全显示图标,其往往是一个单调的图形,如图1所示,但图像的存储往往采用RGB888(一种标准的24位真彩色像素格式)的像素格式,每个像素需要使用3×8bit=24bit来进行存储,从而造成昂贵的安全SRAM(Static Random-Access Memory,静态随机存取存储器)的存储空间的浪费

Benefits of technology

通过获取安全显示图标的颜色类别总数,并根据获取的颜色类别总数结合预设编码算法计算得到用于表示单种颜色中每个像素点的索引值,然后结合所述索引值和当前安全显示图标的尺寸,或者,结合所述索引值和当前安全显示图标的尺寸以及目标区域的区域编码,计算得到当前安全显示图标的占用存储空间,进而实现压缩处理,即通过多级的图像像素数据的编码,从而极大减小像素点的编码位宽,将安全显示图标的数据量进行有效压缩,极大减小数据的存储量。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122293870B_ABST
    Figure CN122293870B_ABST
Patent Text Reader

Abstract

The application discloses a multi-stage index compression method, device and equipment for reducing image storage space, and relates to the technical field of image processing. The method comprises the following steps: acquiring the total number of color categories of a safety display icon, and calculating an index value for representing each pixel point in a single color according to the acquired total number of color categories and a preset encoding algorithm; and combining the index value and the size of the current safety display icon, or combining the index value, the size of the current safety display icon and the region code of a target region, to calculate the occupied storage space of the current safety display icon, so as to realize compression processing. The application encodes the pixel data of the image in multiple stages, greatly reduces the encoding bit width of the pixel points, effectively compresses the data amount of the safety display icon, and greatly reduces the storage amount of data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of image processing technology, and specifically to a multi-level index compression method, apparatus, and device for reducing image storage space. Background Technology

[0002] Safety display icons on a car's dashboard are often a simple graphic, such as... Figure 1 As shown, however, image storage often uses the RGB888 pixel format (a standard 24-bit true color pixel format), which requires 3×8bit=24 bits for each pixel to be stored, thus wasting the storage space of expensive secure SRAM (Static Random-Access Memory).

[0003] Since each pixel in the safety display icon requires 24 bits of space to represent color, and this stored data needs to be placed in the safety display's storage on the functional safety display chip, the current functional safety display image storage method consumes a large amount of storage space. Furthermore, since functional safety display icons are generally stored in the chip's SRAM, which has limited storage space, this leads to excessive SRAM space usage and strains hardware resources. Summary of the Invention

[0004] This application provides a multi-level index compression method, apparatus, and device for reducing image storage space. By encoding image pixel data at multiple levels, the encoding bit width of each pixel is greatly reduced, effectively compressing the data volume of security display icons and significantly reducing the amount of data stored.

[0005] In a first aspect, embodiments of this application provide a multi-level index compression method for reducing image storage space, the multi-level index compression method for reducing image storage space includes: Obtain the total number of color categories for the security display icon, and calculate the index value for each pixel in a single color based on the total number of color categories and a preset encoding algorithm. By combining the index value and the size of the current security display icon, or by combining the index value, the size of the current security display icon, and the area code of the target area, the storage space occupied by the current security display icon is calculated, and compression processing is achieved.

[0006] In conjunction with the first aspect, in one implementation method, The process of obtaining the total number of color categories for safety display icons specifically includes: obtaining the total number of color categories for all safety display icons in the instrument, or obtaining the total number of color categories for safety display icons in the target area of ​​the instrument; When obtaining the total number of color categories of all safety display icons in the instrument, the storage space occupied by the current safety display icon is calculated by combining the index value and the size of the current safety display icon, and compression processing is achieved. When obtaining the total number of color categories of safety display icons in the target area of ​​the instrument, the storage space occupied by the current safety display icon is calculated by combining the index value, the size of the current safety display icon, and the area code of the target area, and compression processing is achieved.

[0007] In conjunction with the first aspect, in one implementation, the step of calculating the storage space occupied by the current security display icon by combining the index value and the size of the current security display icon, and then performing compression processing, specifically includes: Based on the total number of color categories of all safety display icons in the instrument, and combined with a preset encoding algorithm, the index value used to represent each pixel in a single color is calculated. By combining the index value and the size of the current security display icon, the storage space occupied by the current security display icon is calculated, and compression processing is performed.

[0008] In conjunction with the first aspect, in one implementation, the step of calculating the storage space occupied by the current security display icon by combining the index value and the size of the current security display icon specifically involves:

[0009] in, This indicates the storage space occupied by the current security display icon. Indicates the index value. , This indicates the current size of the security display icon.

[0010] In conjunction with the first aspect, in one implementation, the step of calculating the storage space occupied by the current security display icon by combining the index value, the size of the current security display icon, and the region code of the target area, and then performing compression processing, specifically includes: The instrument is divided into zones, each zone including at least one safety display icon, and each zone is coded. Based on the total number of color categories in the area where the current security display icon is located, and combined with a preset encoding algorithm, the index value used to represent each pixel in a single color is calculated. By combining the index value, the size of the current security display icon, and the size of the encoded space occupied by the area where the current security display icon is located, the storage space occupied by the current security display icon is calculated, and compression processing is achieved.

[0011] In conjunction with the first aspect, in one implementation, the calculation of the storage space occupied by the current security display icon by combining the index value, the size of the current security display icon, and the encoded space size of the area where the current security display icon is located, specifically involves:

[0012] in, This indicates the storage space occupied by the current security display icon. Indicates the index value. , Indicates the current size of the security display icon. This indicates the size of the space occupied by the encoding of the area where the current security display icon is located.

[0013] In conjunction with the first aspect, in one implementation method, the calculation method for the preset encoding algorithm is as follows:

[0014] in, Indicates the index value. This indicates rounding up. This indicates the total number of color categories.

[0015] In conjunction with the first aspect, in one implementation method: The security display icon is a solid color security display icon; The solid color security icon is a security icon that contains only one color category and has the same background color for all security icons.

[0016] Secondly, embodiments of this application provide a multi-level index compression device for reducing image storage space, the multi-level index compression device for reducing image storage space includes: The acquisition module is used to acquire the total number of color categories of the security display icon, and calculate the index value to represent each pixel in a single color based on the acquired total number of color categories and a preset encoding algorithm. A compression module is used to calculate the storage space occupied by the current security display icon by combining the index value and the size of the current security display icon, or by combining the index value, the size of the current security display icon, and the area code of the target area, and to perform compression processing.

[0017] Thirdly, embodiments of this application provide a multi-level index compression device for reducing image storage space. The multi-level index compression device for reducing image storage space includes a processor, a memory, and a multi-level index compression program for reducing image storage space stored in the memory and executable by the processor. When the multi-level index compression program for reducing image storage space is executed by the processor, it implements the steps of the multi-level index compression method for reducing image storage space described above.

[0018] The beneficial effects of the technical solutions provided in this application include: By obtaining the total number of color categories of the security display icon, and calculating the index value for each pixel in a single color based on the total number of color categories and a preset encoding algorithm, the storage space occupied by the current security display icon is calculated by combining the index value with the size of the current security display icon, or by combining the index value with the size of the current security display icon and the area code of the target area. This enables compression processing, that is, by encoding the image pixel data at multiple levels, the encoding bit width of the pixel is greatly reduced, effectively compressing the data volume of the security display icon and greatly reducing the data storage volume. Attached Figure Description

[0019] Figure 1 This is a schematic diagram of the safety display icons in the instrument. Figure 2 This is a flowchart illustrating the multi-level index compression method for reducing image storage space in this application; Figure 3 This is an illustration of the security icon encoding. Figure 4 This is a schematic diagram of the safety display icon partitions in the instrument. Figure 5 An index diagram represented by a safety display icon; Figure 6 A schematic diagram of the functional modules of the multi-level index compression device for reducing image storage space in this application; Figure 7 A schematic diagram of the hardware structure of a multi-level index compression device for reducing image storage space in this application. Detailed Implementation

[0020] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0021] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0022] In a first aspect, embodiments of this application provide a multi-level index compression method for reducing image storage space. For security display icons (images) with specific display formats, compression is performed through encoding and multi-level indexing to reduce storage space.

[0023] In one embodiment, reference is made to Figure 2 , Figure 2 This is a flowchart illustrating the multi-level indexed compression method for reducing image storage space according to this application. Figure 2 As shown, multi-level indexed compression methods for reducing image storage space include: S1: Obtain the total number of color categories for the security display icon, and calculate the index value representing each pixel in a single color based on the total number of color categories and a preset encoding algorithm; it should be noted that the security display icon in this application is a solid color security display icon; a solid color security display icon is a security display icon that contains only one color category and whose background color is the same for all security display icons; for example Figure 1 As shown, each security icon has a single color, and the background color of all security icons is black. S2: Combine the index value and the size of the current security display icon, or combine the index value, the size of the current security display icon, and the area code of the target area to calculate the storage space occupied by the current security display icon and perform compression processing.

[0024] Furthermore, in one embodiment, obtaining the total number of color categories of the safety display icons specifically includes: obtaining the total number of color categories of all safety display icons in the instrument, or obtaining the total number of color categories of safety display icons in a target area of ​​the instrument; when obtaining the total number of color categories of all safety display icons in the instrument, the storage space occupied by the current safety display icon is calculated by combining the index value and the size of the current safety display icon, and compression processing is implemented; when obtaining the total number of color categories of safety display icons in a target area of ​​the instrument, the storage space occupied by the current safety display icon is calculated by combining the index value, the size of the current safety display icon, and the area code of the target area, and compression processing is implemented.

[0025] Furthermore, in one embodiment, by combining the index value and the size of the current security display icon, the storage space occupied by the current security display icon is calculated, and compression processing is implemented, specifically including: S301: Based on the total number of color categories of all safety display icons in the instrument, and combined with a preset encoding algorithm, the index value used to represent each pixel in a single color is calculated; that is, the space required to store a single pixel in the current color is the size of the calculated index value. S302: Combining the index value and the size of the current security display icon, calculate the storage space occupied by the current security display icon and perform compression processing.

[0026] Specifically, the storage space occupied by the current security display icon is calculated by combining the index value and the size of the current security display icon, as follows:

[0027] in, This indicates the storage space occupied by the current security display icon. Indicates the index value. , This indicates the current size of the security display icon.

[0028] For the preset encoding algorithm, the calculation method is as follows:

[0029] in, Indicates the index value. This indicates rounding up. This indicates the total number of color categories.

[0030] The following example illustrates how to calculate the storage space occupied by the current security display icon by combining the index value and the size of the current security display icon, and how to implement compression processing.

[0031] See Figure 1 The image shows the arrangement of safety display icons to be displayed on the instrument. There are five colors in total, so the limited number of colors can be encoded into index values ​​for calculation. Get the index value The value is 3, meaning that each color occupies 3 bits of storage space. Color information is stored using index values, and the information is encoded as follows: 000 represents black, 001 represents yellow, 010 represents blue, 011 represents green, and 100 represents red. That is, the code corresponding to each color occupies 3 bits of storage space.

[0032] Each pixel of the security display icon is represented by a 3-bit index value (see [link]). Figure 3 As shown, the pixel representation within each white circle is shown in the corresponding table (each code occupies 3 bits). Therefore, the required storage space for the current security display icon is... bit, The result is the total number of pixels in the current security display icon, compared to the RGB888 format (storage space is...). (bit), space usage reduced by 87.5%.

[0033] Furthermore, in one embodiment, by combining the index value, the size of the current security display icon, and the region code of the target area, the storage space occupied by the current security display icon is calculated, and compression processing is implemented, specifically including: S311: Divide the instrument into zones, with each zone including at least one safety display icon, and encode each zone. S312: Based on the total number of color categories in the area where the current security display icon is located, and combined with a preset encoding algorithm, calculate the index value used to represent each pixel in a single color; S313: Combining the index value, the size of the current security display icon, and the size of the encoded space occupied by the area where the current security display icon is located, calculate the storage space occupied by the current security display icon and perform compression processing.

[0034] Specifically, the storage space occupied by the current security display icon is calculated by combining the index value, the size of the current security display icon, and the size of the encoded space of the area where the current security display icon is located.

[0035] in, This indicates the storage space occupied by the current security display icon. Indicates the index value. , Indicates the current size of the security display icon. This indicates the size of the space occupied by the encoding of the area where the current security display icon is located.

[0036] The following example demonstrates how to calculate the storage space occupied by the current security display icon by combining the index value, the size of the current security display icon, and the encoded space occupied by the area where the current security display icon is located, and how to implement compression processing.

[0037] When the number of colors in a local area is less than the number of colors in the entire image, multi-level indexing can be used to further reduce storage space. For example, Figure 4 The area is divided into four regions: A, B, C, and D. Each region consists of two colors. Calculate... Result 1 is obtained, and the index value is obtained. Since the value is 1, each color within each region only requires 1 bit to be encoded. When displayed, the final color is found through a two-level index.

[0038] like Figure 5 As shown, for each of the image regions A, B, C, and D, 0 and 1 represent different colors: 0 represents black and 1 represents other colors. Each region is distinguished through region coding. In region A, 0 represents black and 1 represents yellow; in region B, 0 represents black and 1 represents red, and so on. Thus, each pixel in region A only requires 1 bit of coding. Adding 2 bits to the region coding reduces the storage requirement from... bit, reduced to bit, if =30, =20, then =600, the pixel encoding storage is reduced from 1800 bits to 602 bits, and the image storage space is further reduced. Compared with the previous indexing scheme of this application, the storage space is reduced by about 66%.

[0039] The multi-level index compression method for reducing image storage space in this application embodiment obtains the total number of color categories of the security display icon, and calculates the index value for each pixel in a single color based on the obtained total number of color categories and a preset encoding algorithm. Then, it calculates the storage space occupied by the current security display icon by combining the index value with the size of the current security display icon, or by combining the index value with the size of the current security display icon and the area code of the target area, thereby achieving compression processing. That is, by encoding the image pixel data at multiple levels, the encoding bit width of the pixel is greatly reduced, the data volume of the security display icon is effectively compressed, and the data storage volume is greatly reduced.

[0040] Secondly, embodiments of this application also provide a multi-level index compression device for reducing image storage space.

[0041] In one embodiment, reference is made to Figure 6 , Figure 6 This is a schematic diagram of the functional modules of the multi-level index compression device for reducing image storage space in this application. Figure 6 As shown, the multi-level index compression device for reducing image storage space includes: an acquisition module and a compression module.

[0042] The acquisition module is used to acquire the total number of color categories of the security display icon, and calculate the index value of each pixel in a single color based on the acquired total number of color categories and a preset encoding algorithm. The compression module is used to calculate the storage space occupied by the current security display icon by combining the index value and the size of the current security display icon, or by combining the index value, the size of the current security display icon, and the area code of the target area, and to achieve compression processing.

[0043] Thirdly, embodiments of this application provide a multi-level index compression device for reducing image storage space. The multi-level index compression device for reducing image storage space can be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.

[0044] Reference Figure 7 , Figure 7 This is a schematic diagram of the hardware structure of a multi-level index compression device for reducing image storage space, as described in an embodiment of this application. In this embodiment, the multi-level index compression device for reducing image storage space may include a processor, a memory, a communication interface, and a communication bus.

[0045] The communication bus can be of any type and is used to interconnect the processor, memory, and communication interface.

[0046] The communication interface includes input / output (I / O) interfaces, physical interfaces, and logical interfaces. These interfaces enable interconnection of internal components within the multi-level index compression device, reducing image storage space. They also enable interconnection between the multi-level index compression device and other devices (such as other computing devices or user equipment). Physical interfaces can be Ethernet interfaces, fiber optic interfaces, ATM interfaces, etc.; user equipment can be displays, keyboards, etc.

[0047] Memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0048] The processor can be a general-purpose processor, which can call a multi-level index compression program for reducing image storage space stored in memory and execute the multi-level index compression method for reducing image storage space provided in the embodiments of this application. For example, the general-purpose processor can be a central processing unit (CPU). The method executed when the multi-level index compression program for reducing image storage space is called can refer to the various embodiments of the multi-level index compression method for reducing image storage space in this application, and will not be repeated here.

[0049] Those skilled in the art will understand that Figure 7 The hardware structure shown does not constitute a limitation of this application and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0050] The terms "comprising" and "having," and any variations thereof, in the specification, claims, and accompanying drawings of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus. The terms "first," "second," and "third," etc., are used to distinguish different objects, etc., and do not indicate a sequence, nor do they limit "first," "second," and "third" to different types.

[0051] In the description of the embodiments of this application, terms such as "exemplary," "for example," or "for instance" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary," "for example," or "for instance" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of terms such as "exemplary," "for example," or "for instance" is intended to present the relevant concepts in a concrete manner.

[0052] In the description of the embodiments of this application, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The "and / or" in the text is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more.

[0053] In some processes described in the embodiments of this application, multiple operations or steps are included in a specific order. However, it should be understood that these operations or steps may not be executed in the order they appear in the embodiments of this application, or they may be executed in parallel. The sequence number of the operation is only used to distinguish different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed sequentially or in parallel, and these operations or steps may be combined.

[0054] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device to execute the methods described in the various embodiments of this application.

[0055] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A multi-level indexed compression method for reducing image storage space, characterized in that, The multi-level indexed compression method for reducing image storage space includes: Obtain the total number of color categories for the security display icon, and calculate the index value for each pixel in a single color based on the total number of color categories and a preset encoding algorithm. By combining the index value and the size of the current security display icon, the storage space occupied by the current security display icon is calculated. By combining the index value, the size of the current security display icon, and the area code of the target area, the storage space occupied by the current security display icon is calculated, and compression processing is achieved. Specifically, obtaining the total number of color categories of the safety display icons includes: obtaining the total number of color categories of all safety display icons in the instrument, and obtaining the total number of color categories of the safety display icons in the target area of ​​the instrument; When obtaining the total number of color categories of all safety display icons in the instrument, the storage space occupied by the current safety display icon is calculated by combining the index value and the size of the current safety display icon, and compression processing is achieved. When the number of colors in a local area is less than the number of colors in the entire image, in order to obtain the total number of color categories of the safety display icon in the target area of ​​the instrument, the storage space occupied by the current safety display icon is calculated by combining the index value, the size of the current safety display icon, and the area code of the target area, and compression processing is achieved. Specifically, the process of calculating the storage space occupied by the current security display icon by combining the index value, the size of the current security display icon, and the region code of the target area, and then performing compression processing, includes: The instrument is divided into zones, each zone including at least one safety display icon, and each zone is coded. Based on the total number of color categories in the area where the current security display icon is located, and combined with a preset encoding algorithm, the index value used to represent each pixel in a single color is calculated. By combining the index value, the size of the current security display icon, and the size of the encoded space occupied by the area where the current security display icon is located, the storage space occupied by the current security display icon is calculated, and compression processing is achieved. Specifically, the storage space occupied by the current security display icon is calculated by combining the index value, the size of the current security display icon, and the size of the encoded space of the area where the current security display icon is located. in, This indicates the storage space occupied by the current security display icon. Indicates the index value. , This indicates the current size of the security icon. This indicates the size of the space occupied by the encoding of the area where the current security display icon is located.

2. The multi-level index compression method for reducing image storage space as described in claim 1, characterized in that, The step of combining the index value and the size of the current security display icon to calculate the storage space occupied by the current security display icon and performing compression processing specifically includes: Based on the total number of color categories of all safety display icons in the instrument, and combined with a preset encoding algorithm, the index value used to represent each pixel in a single color is calculated. By combining the index value and the size of the current security display icon, the storage space occupied by the current security display icon is calculated, and compression processing is performed.

3. The multi-level index compression method for reducing image storage space as described in claim 2, characterized in that, The storage space occupied by the current security display icon is calculated by combining the index value and the size of the current security display icon, specifically as follows: in, This indicates the storage space occupied by the current security display icon. Indicates the index value. , This indicates the current size of the security display icon.

4. A multi-level indexed compression method for reducing image storage space as described in claim 1 or 3, characterized in that, For the preset encoding algorithm, the calculation method is as follows: in, Indicates the index value. This indicates rounding up. This indicates the total number of color categories.

5. A multi-level indexed compression method for reducing image storage space as described in any one of claims 2 or 3, characterized in that: The security display icon is a solid color security display icon; The solid color security icon is a security icon that contains only one color category and has the same background color for all security icons.

6. A multi-level index compression device for reducing image storage space, characterized in that, The multi-level index compression device for reducing image storage space includes: The acquisition module is used to acquire the total number of color categories of the security display icon, and calculate the index value to represent each pixel in a single color based on the acquired total number of color categories and a preset encoding algorithm. The compression module is used to calculate the storage space occupied by the current security display icon by combining the index value and the size of the current security display icon, and to calculate the storage space occupied by the current security display icon by combining the index value, the size of the current security display icon and the area code of the target area, thereby realizing compression processing; Specifically, obtaining the total number of color categories of the safety display icons includes: obtaining the total number of color categories of all safety display icons in the instrument, and obtaining the total number of color categories of the safety display icons in the target area of ​​the instrument; When obtaining the total number of color categories of all safety display icons in the instrument, the storage space occupied by the current safety display icon is calculated by combining the index value and the size of the current safety display icon, and compression processing is achieved. When the number of colors in a local area is less than the number of colors in the entire image, in order to obtain the total number of color categories of the safety display icon in the target area of ​​the instrument, the storage space occupied by the current safety display icon is calculated by combining the index value, the size of the current safety display icon, and the area code of the target area, and compression processing is achieved. Specifically, the process of calculating the storage space occupied by the current security display icon by combining the index value, the size of the current security display icon, and the region code of the target area, and then performing compression processing, includes: The instrument is divided into zones, each zone including at least one safety display icon, and each zone is coded. Based on the total number of color categories in the area where the current security display icon is located, and combined with a preset encoding algorithm, the index value used to represent each pixel in a single color is calculated. By combining the index value, the size of the current security display icon, and the size of the encoded space occupied by the area where the current security display icon is located, the storage space occupied by the current security display icon is calculated, and compression processing is achieved. Specifically, the storage space occupied by the current security display icon is calculated by combining the index value, the size of the current security display icon, and the size of the encoded space of the area where the current security display icon is located. in, This indicates the storage space occupied by the current security display icon. Indicates the index value. , This indicates the current size of the security icon. This indicates the size of the space occupied by the encoding of the area where the current security display icon is located.

7. A multi-level indexed compression device for reducing image storage space, characterized in that, The multi-level index compression device for reducing image storage space includes a processor, a memory, and a multi-level index compression program for reducing image storage space stored in the memory and executable by the processor, wherein when the multi-level index compression program for reducing image storage space is executed by the processor, it implements the steps of the multi-level index compression method for reducing image storage space as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Image display device and on-screen display method

    CN102783138A

  • Method for using colorful screen in small-memory embedded system

    CN107103891A

  • Image compression and decompression method and device

    CN112118449A