CN108694735B - Wearable device and method and device for compressing, storing and redrawing analog dial pointer picture - Google Patents

Wearable device and method and device for compressing, storing and redrawing analog dial pointer picture Download PDF

Info

Publication number
CN108694735B
CN108694735B CN201810466592.4A CN201810466592A CN108694735B CN 108694735 B CN108694735 B CN 108694735B CN 201810466592 A CN201810466592 A CN 201810466592A CN 108694735 B CN108694735 B CN 108694735B
Authority
CN
China
Prior art keywords
pixel value
pixel values
zero
image data
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810466592.4A
Other languages
Chinese (zh)
Other versions
CN108694735A (en
Inventor
李涛
张奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201810466592.4A priority Critical patent/CN108694735B/en
Publication of CN108694735A publication Critical patent/CN108694735A/en
Application granted granted Critical
Publication of CN108694735B publication Critical patent/CN108694735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles

Abstract

The application discloses wearable equipment and simulation dial plate pointer picture compression storage, redrawing method and equipment, relates to the wearable equipment field for solve the higher problem of memory occupancy rate of pointer picture, include: sequentially reading and sequentially compressing and storing pixel values in original pointer image data; if a first non-zero pixel value is read and the pixel value of the column is the pixel value of the first column, saving the corresponding pixel position; if a plurality of continuous non-zero pixel values which have the same pixel value and meet the preset condition are read, saving corresponding repeated identification and the number of repeated pixels; after the first non-zero pixel value of the row of pixel values is read, if the pixel value with the pixel value being zero is read, the reading operation of the row of pixel values is forcibly ended, then the next row of pixel values is jumped to, and the corresponding jump identification and the number of pixels spanned by the jump are stored. According to the scheme, the pointer picture can be effectively compressed, and the memory occupancy rate of the pointer picture is reduced.

Description

Wearable device and method and device for compressing, storing and redrawing analog dial pointer picture
Technical Field
The invention relates to the technical field of wearable equipment, in particular to wearable equipment and a method and equipment for compressing, storing and redrawing a pointer picture of a simulation dial.
Background
In the life now, wearing equipment has received liking of many users owing to advantages such as wearing convenience, function are various. Any excellent product, the first to be perceived by the consumer, should be its design. Besides good structure and appearance, the design of the UI interface is also important. To wearing equipment such as intelligent wrist-watch, simulation dial plate effect can say that essential function. The realization of the hands is undoubtedly the most important to achieve the dial effect.
The PNG format has incomparable advantages with other formats, such as lossless high compression ratio, small volume, transparent effect support, and smooth fusion with any background, and is widely used as UI material. Taking the simulated dial UI of the smart watch in fig. 1 as an example, three PNG pictures are used for the hour hand, the minute hand and the second hand, respectively. Assuming a PNG picture size of 400 × 400 resolution for one pointer, the memory space required for one picture is 400 × 4(4 channels) ═ 0.64M, and the decompression time takes about 200 ms. In order to achieve the analog display effect of refreshing every second, three pictures need to be decompressed every refreshing, and 400 × 4 × 3 is required to be 1.92M. Meanwhile, in order to achieve the rotation effect of a certain pointer, a plurality of pointer pictures with different deflection angles need to be processed. Such an operation process can be easily handled by the configuration of a PC, but if the operation process is implemented on an embedded platform such as a wearable device, the configuration requirement on the platform is high, a large amount of memory resources are occupied, and the burden and power consumption of the platform are increased.
Disclosure of Invention
In view of this, the present invention provides a wearable device, and a method and a device for compressing, storing, and redrawing a pointer picture of an analog dial, which can effectively compress the pointer picture and reduce the memory occupancy rate of the pointer picture to the wearable device. The specific scheme is as follows:
in a first aspect, the invention discloses a method for compressing and storing pictures of a pointer of an analog dial, which comprises the following steps:
acquiring original pointer image data in a PNG format;
according to a preset column processing sequence, sequentially compressing and storing pixel values of each column in the original pointer image data to obtain compressed image data;
wherein, compressing and storing any column of pixel values in the original pointer image data comprises:
sequentially reading and sequentially compressing and storing the pixel values of the row according to a preset row processing sequence;
if a first non-zero pixel value is read and the row of pixel values is a first row of pixel values, saving the corresponding pixel position; if a plurality of continuous non-zero pixel values which have the same pixel value and meet the preset condition are read, saving corresponding repeated identification and the number of repeated pixels; after the first non-zero pixel value of the row of pixel values is read, if the pixel value with the pixel value being zero is read, the reading operation of the row of pixel values is forcibly ended, then the next row of pixel values is jumped to the first non-zero pixel value, and the corresponding jump identification and the number of pixels spanned in the current jump process are stored.
Optionally, the preset column processing order includes an order from the head column to the tail column of the original pointer image data, or an order from the tail column to the head column of the original pointer image data;
the preset line processing sequence includes a sequence from the end line to the head line of the original pointer image data, or a sequence from the head line to the end line of the original pointer image data.
Optionally, if a plurality of consecutive non-zero pixel values that have the same pixel value and satisfy a preset condition are read, saving the corresponding duplicate identifier and the number of duplicate pixels includes:
if a plurality of continuous non-zero pixel values with the pixel values of 255 are read, the corresponding repeated marks and the number of the repeated pixels are respectively stored in two different bytes.
Optionally, if a plurality of consecutive non-zero pixel values that have the same pixel value and satisfy a preset condition are read, saving the corresponding duplicate identifier and the number of duplicate pixels includes:
and if a plurality of continuous non-zero pixel values which have the same pixel value and the number of the repeated pixels is not less than a preset number threshold value are read, respectively storing the corresponding repeated marks and the number of the repeated pixels into two different bytes.
Optionally, if at least two groups of consecutive non-zero pixel values in any row of pixel values all satisfy the preset condition, when the corresponding duplicate identifier and the number of duplicate pixels are respectively stored in two different bytes, the method further includes:
the corresponding non-zero pixel value is saved to the third byte.
Optionally, the storing the corresponding skip identifier and the number of pixels spanned by the skip process includes:
and respectively storing the corresponding jump identification and the number of pixels spanned in the jump process into two different bytes.
Optionally, the repeated identifier and the skip identifier are both digital identifiers capable of storing by using the 1 st binary bit and the 2 nd binary bit in one byte;
the process of saving any non-zero pixel value includes:
if the numbers on the 1 st binary digit and the 2 nd binary digit of the binary digit corresponding to the non-zero pixel value are not all 0, adjusting all the numbers on the 1 st binary digit and the 2 nd binary digit of the binary digit corresponding to the non-zero pixel value to 0 to obtain an adjusted pixel value, and then storing the adjusted pixel value into one byte.
In a second aspect, the invention discloses a method for redrawing a pointer picture of an analog dial, which comprises the following steps:
reading compressed image data stored by the disclosed simulation dial pointer picture compression storage method;
sequentially extracting data in the compressed image data according to the sequence of the storage time from morning to evening;
and restoring corresponding pointer image data according to the sequentially extracted data so as to redraw the pointer picture.
In a third aspect, the invention discloses a device for compressing and storing pictures of a pointer of an analog dial plate, which comprises a processor and a memory; when the processor executes the computer program stored in the memory, the disclosed method for compressing and storing the analog dial pointer picture is realized.
In a fourth aspect, the invention discloses a wearable device, which comprises the simulation dial pointer picture compression storage device disclosed in the foregoing.
Therefore, when the data is compressed and stored, the data is sequentially read and compressed and stored, and when a first non-zero pixel value of a first row of pixel values is read, the pixel position corresponding to the pixel value is recorded, so that the pointer picture can be redrawn according to the compressed image data; in addition, in the invention, if a plurality of continuous non-zero pixel values which have the same pixel value and meet the preset condition are read, corresponding repeated marks and the number of repeated pixels are saved, thus being beneficial to reducing the data size of the compressed image data; secondly, after reading the first non-zero pixel value of a row of pixel values, if the pixel value with the pixel value of zero is read, the reading operation of the row of pixel values is forcibly ended, and then the next row of pixel values is jumped to, so that the compression storage process can be accelerated; in addition, in the compression and storage process, the pixel value with the skipping value being zero is selected and not stored, so that the data size of the compressed image data can be further reduced. In conclusion, the method and the device can effectively compress the pointer picture, and reduce the memory occupancy rate of the pointer picture to the wearable device.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of an analog watch face UI of a smart watch;
FIG. 2 is a flow chart of a method for compressing and storing pictures of a pointer of an analog dial plate, which is disclosed by the invention;
FIG. 3 is a diagram of raw pointer image data in a specific PNG format;
FIG. 4 is a sub-flowchart of a method for compressing and storing pictures of a pointer of an analog dial plate disclosed by the invention;
FIG. 5 is a sub-flowchart of a method for compressing and storing pictures of a pointer of an analog dial according to the present invention;
FIG. 6 is a diagram illustrating a specific compressed storage result according to the present disclosure;
FIG. 7 is a sub-flowchart of a method for compressing and storing pictures of a pointer of an analog dial according to the present invention;
FIG. 8 is a flow chart of a method for redrawing a picture of a pointer of a simulated dial according to the present invention;
FIG. 9 is a schematic structural diagram of a device for compressing and storing pictures of a pointer of an analog dial according to the present invention;
FIG. 10 is a schematic structural diagram of a simulated dial pointer image redrawing apparatus according to the present invention;
fig. 11 is a schematic structural diagram of a wearable device disclosed in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a method for compressing and storing pictures of a pointer of an analog dial, which is shown in figure 2 and comprises the following steps:
step S11: acquiring original pointer image data in a PNG format;
step S12: according to a preset column processing sequence, sequentially compressing and storing pixel values of each column in the original pointer image data to obtain compressed image data;
wherein, compressing and storing any column of pixel values in the original pointer image data comprises: sequentially reading and sequentially compressing and storing the pixel values of the row according to a preset row processing sequence;
if a first non-zero pixel value is read and the row of pixel values is a first row of pixel values, saving the corresponding pixel position; if a plurality of continuous non-zero pixel values which have the same pixel value and meet the preset condition are read, saving corresponding repeated identification and the number of repeated pixels; after the first non-zero pixel value of the row of pixel values is read, if the pixel value with the pixel value being zero is read, the reading operation of the row of pixel values is forcibly ended, then the next row of pixel values is jumped to the first non-zero pixel value, and the corresponding jump identification and the number of pixels spanned in the current jump process are stored.
In this embodiment, the preset sequence of processing the columns may specifically include a sequence from a first column to a last column of the original pointer image data, or a sequence from a last column to a first column of the original pointer image data; the preset line processing sequence may specifically include a sequence from a last line to a first line of the original pointer image data, or a sequence from a first line to a last line of the original pointer image data. For example, fig. 3 shows original pointer image data of a specific PNG format, and the order of data reading is indicated in fig. 3, specifically, the original pointer image data is read sequentially in the order from the last row to the first row, and from the first column to the last column, that is, the pixel values of the first column are read first in the order from left to right, then reading the next column of pixel values, and so on, and when reading any column of pixel values, reading the pixel values according to the sequence from bottom to top, wherein the data reading sequence is more suitable for the distribution characteristics of the pixel values in the pointer image, that is, there are usually a plurality of pixels with the same pixel value in each column of pixels, so that when reading the pixel value of each column, the data compression of the pixel values of the column can be realized by recording the repeated identification and the number of the repeated pixels, so that the memory occupancy rate of the wearable device is reduced.
Specifically, as shown in fig. 4, the sequentially reading and sequentially compressing and storing the pixel values of the column according to the preset row processing sequence may include:
step S21: if a first non-zero pixel value is read and the column of pixel values is the first column of pixel values, the corresponding pixel location is saved.
It should be noted that, if the preset column processing order is specifically an order from the head column to the tail column of the original pointer image data, the first column pixel value in the step S21 refers to the head column pixel value in the original pointer image data; if the preset sequence of the row processing is a sequence from the tail row to the head row of the original pointer image data, the first row of pixel values in step S21 refers to the tail row of pixel values in the original pointer image data.
In this embodiment, the saved pixel position is specific position information of the corresponding pixel point in the original pointer image. For example, the pixel position of the pixel point can be obtained by recording the row and column coordinate information of the pixel point in the original pointer image, that is, the row sequence number and the column sequence number corresponding to the pixel point in the original pointer image are specifically recorded; in addition, considering that the column where the current pixel is located is known, that is, the current pixel is located on the first column of pixels, at this time, only information that can reflect the line where the pixel is located is recorded, and the specific position of the pixel in the original pointer image can be estimated, for example, the distance between the pixel and the first line of pixels or the last line of pixels can be recorded, and the serial number of the line where the pixel is located can be determined through the distance.
Step S22: if a non-zero pixel value is read that is not the same as the adjacent pixel value, the non-zero pixel value is saved.
Step S23: if a plurality of continuous non-zero pixel values which have the same pixel value and meet the preset condition are read, saving the corresponding repeated identification and the number of the repeated pixels.
Step S24: and if a plurality of continuous non-zero pixel values which have the same pixel value and do not meet the preset condition are read, sequentially saving the corresponding non-zero pixel values.
Step S25: after the first non-zero pixel value of the row of pixel values is read, if the pixel value with the pixel value being zero is read, the reading operation of the row of pixel values is forcibly ended, then the next row of pixel values is jumped to the first non-zero pixel value, and the corresponding jump identification and the number of pixels spanned in the current jump process are stored.
It should be noted that the simulation dial in this embodiment may include any one or more of a simulation dial for indicating time, a simulation dial for indicating heart rate, a simulation dial for indicating number of steps, and a simulation dial for indicating electric quantity on the wearable device. In addition, it can be understood that there is no explicit order in the execution sequence between the above steps S21 to S25, and the order can be flexibly adjusted according to the actual application.
Therefore, when the embodiment of the invention is used for compression storage, data reading and compression storage are sequentially carried out, and when a first non-zero pixel value of a first row of pixel values is read, the pixel position corresponding to the pixel value is recorded, so that the pointer picture can be redrawn according to the compressed image data; in addition, in the embodiment of the invention, if a plurality of continuous non-zero pixel values which have the same pixel value and meet the preset condition are read, the corresponding repeated identification and the number of the repeated pixels are saved, so that the data size of the compressed image data is reduced; secondly, after reading the first non-zero pixel value of a row of pixel values, if the pixel value with the pixel value of zero is read, the reading operation of the row of pixel values is forcibly ended, and then the next row of pixel values is jumped to, so that the compression storage process can be accelerated; in addition, in the compression and storage process, the pixel value with the skipping value being zero is selected and is not stored, so that the data size of the compressed image data can be further reduced. In conclusion, the embodiment of the invention can effectively compress the pointer picture, and reduce the memory occupancy rate of the pointer picture to the wearable device.
Referring to fig. 5, an embodiment of the present invention discloses a specific process for performing compression storage on any column of pixel values in a pointer picture compression storage method, including:
step S31: if a first non-zero pixel value is read and the column of pixel values is the first column of pixel values, the corresponding pixel location is saved to one byte.
Step S32: if a non-zero pixel value is read that is not the same as the adjacent pixel value, the non-zero pixel value is saved to one byte.
Step S33: if a plurality of continuous non-zero pixel values with the pixel values of 255 are read, the corresponding repeated marks and the number of the repeated pixels are respectively stored in two different bytes.
It should be noted that, in the pointer image data in the PNG format, a large number of pixels having a pixel value of 255 and continuously distributed in the pixel corresponding to the area where the pointer is located exist, so the preset condition is set based on the pixel value of 255 in the present embodiment. In this embodiment, after reading a plurality of continuous non-zero pixel values whose pixel values are all 255, only the corresponding duplicate identifier and the number of duplicate pixels need to be saved, and the pixel values 255 do not need to be saved, when a pointer picture is redrawn according to the compressed image data obtained in the present embodiment, once the duplicate identifier and the corresponding duplicate pixel data are recorded in the compressed image data, the pixel value corresponding to the duplicate identifier can be directly and uniquely determined to be 255, so that the memory space occupied by storing the pixel values 255 is saved, that is, the memory occupancy rate of the compressed image data to the wearing device is reduced.
Step S34: if a plurality of consecutive non-zero pixel values are read that have the same pixel value and a pixel value that is not 255, the corresponding non-zero pixel values are sequentially saved into a corresponding number of bytes, respectively.
Step S35: after the first non-zero pixel value of the row of pixel values is read, if the pixel value with the pixel value being zero is read, the reading operation of the row of pixel values is forcibly ended, then the next row of pixel values is jumped to the first non-zero pixel value, and the corresponding jump identification and the number of pixels spanned in the current jump process are respectively stored into two different bytes.
The data reading and compressed storing process associated with the first column of pixel values is described in detail below with reference to the original pointer image data and the corresponding reading order shown in fig. 3. Specifically, when processing a first column of pixel values, firstly, 4 pixel values 0 are continuously read, all 4 pixel values 0 are skipped, no processing is performed, then, a next pixel value 16 is read, since the pixel value 16 is a first non-zero pixel value of the current column of pixel values and the current column of pixel values is a first column of pixel values, a pixel position of the pixel value 16 is saved into one byte at this time to obtain "00000010", and since the pixel value 16 is different from an adjacent pixel value, it is also necessary to save "16" into one byte at this time to obtain "00010000"; reading "117" and "225" in turn, and saving them in different bytes, respectively, to obtain "01110101" and "11100001"; next, 7 consecutive non-zero pixel values with pixel values of 255 are read, and at this time, the duplicate flag indicating that the duplicate pixel value of 255 currently exists and the corresponding duplicate pixel number 7 are stored in two different bytes; then, reading and saving '230', '124' and '20' in sequence to obtain '11100110', '01111100' and '00010100'; after saving the "20", the reading of the pixel value 0 after the "20" is continued, according to the above-mentioned specification, at this time, the reading operation for the first column of pixel values is forcibly ended, then the jump is made to the first non-zero pixel value 4 of the second column of pixel values, and the jump flag indicating that the jump operation currently exists and the number of pixels spanned by the current jump process are saved on different bytes 11. At this point, the data reading and compression storage process related to the first column of pixel values is completely finished, and then the data reading and compression storage process related to the second column of pixel values is started, and the specific content is similar to that of the reading and compression storage process of the first column of pixel values, and is not described again here.
Further, in order to further reduce the memory occupancy of the compressed image data without significantly affecting the image quality, the present embodiment further provides the following: the repeated mark and the skip mark are both digital marks which can be stored by using the 1 st binary bit and the 2 nd binary bit in one byte; the process of saving any non-zero pixel value includes: if the numbers on the 1 st binary digit and the 2 nd binary digit of the binary digit corresponding to the non-zero pixel value are not all 0, adjusting all the numbers on the 1 st binary digit and the 2 nd binary digit of the binary digit corresponding to the non-zero pixel value to 0 to obtain an adjusted pixel value, and then storing the adjusted pixel value into one byte.
That is, in this embodiment, the digits playing the role of identification are specifically stored in the 1 st and 2 nd binary bits in an 8-bit byte, and the lower 2 bits of the binary bits corresponding to the pixel value are all cleared and then stored in the 3 rd to 8 th binary bits in an 8-bit byte, so that when the byte used for storing the pixel value and the byte used for storing the identification are stored in the memory, the occupancy rate of the memory is further reduced due to the complementarity between the front and rear bits. Therefore, in this embodiment, before storing the non-zero pixel value, the low two-bit zero clearing processing needs to be performed on the non-zero pixel. Here, the data reading and compressed storing processes related to the first column of pixel values are also explained in detail with reference to the original pointer image data and the corresponding reading order shown in fig. 3. Referring to fig. 6, assuming that the binary number corresponding to the repeated identifier is "00000001" and the binary number corresponding to the skip identifier is "00000010" in this embodiment, based on the above compressed storage rule, the following binary numbers are obtained in sequence: the pixel position is "00000101", the pixel value "00010000" after the lower two bits are cleared, the pixel value "01110100" after the lower two bits are cleared, the pixel value "11100000" after the lower two bits are cleared, the repetition flag is "00000001", the number of repeated pixels is "00000111", the pixel value "11100100" after the lower two bits are cleared, the pixel value "01111100" after the lower two bits are cleared, the pixel value "00010100" after the lower two bits are cleared, the jump flag is "00000010", and the number of pixels spanned by the jump process is "00001011". At this point, the compression and storage operations of the first column of pixel values in the original pointer image data are completed, and then the compression and storage operations of the remaining other columns of pixel values can be sequentially performed based on the compression and storage rules, so that the compressed binary format image data corresponding to the original pointer image data is finally obtained.
In the compressed image data, the first byte is 00000101, the specific position of the first non-zero pixel point of the first column of pixel values can be accurately determined based on the byte in the subsequent redrawing process, that is, the first non-zero pixel position is determined, then the next byte in the compressed image data is read, and the decimal data corresponding to the byte is written into the first non-zero pixel position, so that the first pixel point is obtained by reduction; then, continuously reading the next byte, and restoring the pixel point behind the pixel point which is just restored currently according to the content of the byte, for example, if the byte is a byte for recording the pixel value, the decimal data corresponding to the byte can be filled in the position of the next pixel point of the pixel point which is just restored currently; if the byte is used for recording the repeated identifier, the byte is not processed, then the repeated pixel number recorded in the next byte is continuously read, and accordingly 255 can be filled in a plurality of pixel point positions behind the pixel point which is just restored currently, wherein the plurality of pixel points are the same as the repeated pixel number; if the byte is used for recording the skip identifier, the number of pixels spanned by the skip process recorded in the next byte is continuously read, the pixel position of the first non-zero pixel value in the second column of pixel values is determined based on the number of pixels, so that the reduction of all the non-zero pixel values in the first column of pixel values is completed, and the reduction process of the second column of pixel values is continuously expanded, wherein the reduction processes of the second column of pixel values and the pixel values of other subsequent columns are similar to the disclosed reduction process, and are not repeated herein. After completing the filling process based on the compressed image data, the embodiment also needs to fill 0 in other pixel positions without filled information, so as to complete the redrawing of the original pointer image data.
It can be understood that, in the process of obtaining the compressed image data, the low two-bit zero clearing processing needs to be performed on the stored non-zero pixel value, so that the image data obtained by the subsequent redrawing operation is distorted compared with the original pointer image data, and this distortion phenomenon is caused by the low two-bit zero clearing processing, however, in consideration of the fact that the variation of the corresponding non-zero pixel value after the low two-bit zero clearing processing is very small, it can be known that the degree of distortion is also relatively low, and no obvious adverse effect can be caused on the actual display result of the pointer image, that is, the difference between the redrawn image and the original pointer image is very small, so that the user cannot perceive the difference in the actual visual experience process, and it is ensured that the visual experience of the user is not affected.
It should be noted that, by the above compression storage rule, the present embodiment can obtain a more excellent compression ratio. Taking a 168 × 168 PNG picture as an example, before the PNG picture is compressed, the memory required for single channel storage is 28224 bytes, and after the above compression storage rule is adopted, the memory required for single channel storage is reduced to 580 bytes, and at this time, the corresponding compression ratio is 580/28224-2.05%, so that the memory pressure of the wearable device can be greatly reduced.
Referring to fig. 7, an embodiment of the present invention discloses a specific process of performing compression storage on any column of pixel values in a pointer picture compression storage method, including:
step S41: if a first non-zero pixel value is read and the column of pixel values is the first column of pixel values, the corresponding pixel location is saved to one byte.
Step S42: if a non-zero pixel value is read that is not the same as the adjacent pixel value, the non-zero pixel value is saved to one byte.
Step S43: and if a plurality of continuous non-zero pixel values which have the same pixel value and the number of the repeated pixels is not less than a preset number threshold value are read, respectively storing the corresponding repeated marks and the number of the repeated pixels into two different bytes.
That is, the present embodiment specifically sets the preset condition according to the number of the repeated pixels. It is understood that the preset number threshold in the present embodiment may be specifically set based on the actual application, and may be set to 2 or 3, for example.
It should be noted that, if only one set of consecutive non-zero pixel values in any column of pixel values satisfies the preset condition, the corresponding pixel value may be set to 255 by default, and the pixel value is not required to be saved. If at least two groups of continuous non-zero pixel values in any row of pixel values meet the preset condition, when the corresponding repeated identification and the number of the repeated pixels are respectively stored into two different bytes, the method further comprises the following steps: the corresponding non-zero pixel value is saved to a third byte other than the two different bytes. For example, if three consecutive non-zero sets of pixel values appear in a column of pixel values, corresponding to pixel values 250, 255, and 253, respectively, then the corresponding pixel values 250, 255, and 253 need to be saved while the corresponding duplicate identifications and the number of duplicate pixels are saved.
Step S44: and if a plurality of continuous non-zero pixel values with the same pixel value and the repeated pixel quantity smaller than the preset quantity threshold value are read, respectively and sequentially saving the corresponding non-zero pixel values into the corresponding quantity of bytes.
Step S45: after the first non-zero pixel value of the row of pixel values is read, if the pixel value with the pixel value being zero is read, the reading operation of the row of pixel values is forcibly ended, then the next row of pixel values is jumped to the first non-zero pixel value, and the corresponding jump identification and the number of pixels spanned in the current jump process are respectively stored into two different bytes.
Further, the embodiment of the present invention also discloses a method for redrawing a picture of a pointer on an analog dial, as shown in fig. 8, the method includes:
step S51: reading compressed image data stored by the disclosed simulation dial pointer picture compression storage method;
step S52: sequentially extracting data in the compressed image data according to the sequence of the storage time from morning to evening;
step S53: and restoring corresponding pointer image data according to the sequentially extracted data so as to redraw the pointer picture.
It can be understood that, in this embodiment, specifically, according to the compression storage rule followed in the process of creating the compressed image data, the sequentially extracted data are analyzed to restore and obtain corresponding pointer image data, so as to obtain a redrawn pointer picture. In the analysis, it is necessary to fill the corresponding area position of the blank image data area with pixel information described in the compressed image data, and to fill the other area positions with 0, so that the corresponding pointer image data can be restored. For example, in the compressed image data shown in fig. 6, the first byte is 00000101, and in the subsequent redrawing process, the specific position of the first non-zero pixel point of the first column of pixel values, that is, the first non-zero pixel position, may be accurately determined based on the byte first, then the next byte in the compressed image data is read, and the decimal data corresponding to the byte is written into the first non-zero pixel position, so that the first pixel point is obtained by restoration; then, continuously reading the next byte, and restoring the pixel point behind the pixel point which is just restored currently according to the content of the byte, for example, if the byte is a byte for recording the pixel value, the decimal data corresponding to the byte can be filled in the position of the next pixel point of the pixel point which is just restored currently; if the byte is used for recording the repeated identifier, the byte is not processed, then the repeated pixel number recorded in the next byte is continuously read, and accordingly 255 can be filled in a plurality of pixel point positions behind the pixel point which is just restored currently, wherein the plurality of pixel points are the same as the repeated pixel number; if the byte is used for recording the skip identifier, the number of pixels spanned by the skip process recorded in the next byte is continuously read, the pixel position of the first non-zero pixel value in the second column of pixel values is determined based on the number of pixels, so that the reduction of all the non-zero pixel values in the first column of pixel values is completed, and the reduction process of the second column of pixel values is continuously expanded, wherein the reduction processes of the second column of pixel values and the pixel values of other subsequent columns are similar to the disclosed reduction process, and are not repeated herein. After completing the filling process based on the compressed image data, the embodiment also needs to fill 0 in other pixel positions without filled information, so as to complete the redrawing of the original pointer image data.
Correspondingly, the invention also discloses a device for compressing and storing the picture of the pointer of the analog dial, which is shown in fig. 9 and comprises:
a data acquisition module 11, configured to acquire original pointer image data in a PNG format;
a compression storage module 12, configured to sequentially compress and store pixel values of each column in the original pointer image data according to a preset column processing sequence, so as to obtain compressed image data;
the process of compressing and storing any column of pixel values in the original pointer image data by the compression storage module 12 includes: sequentially reading and sequentially compressing and storing the pixel values of the row according to a preset row processing sequence; if a first non-zero pixel value is read and the row of pixel values is a first row of pixel values, saving the corresponding pixel position; if a plurality of continuous non-zero pixel values which have the same pixel value and meet the preset condition are read, saving corresponding repeated identification and the number of repeated pixels; after the first non-zero pixel value of the row of pixel values is read, if the pixel value with the pixel value being zero is read, the reading operation of the row of pixel values is forcibly ended, then the next row of pixel values is jumped to the first non-zero pixel value, and the corresponding jump identification and the number of pixels spanned in the current jump process are stored.
For more specific working processes of the modules, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Therefore, when the first non-zero pixel value of the first row of pixel values is read, the compressed storage module records the pixel position corresponding to the pixel value, so that the pointer picture can be redrawn according to the compressed image data; in addition, if the compression storage module reads a plurality of continuous non-zero pixel values which have the same pixel value and meet the preset condition, corresponding repeated identification and the number of repeated pixels are stored, so that the data size of the compressed image data is reduced; secondly, after the compression storage module reads the first non-zero pixel value of a row of pixel values, if the pixel value with the pixel value of zero is read, the reading operation of the row of pixel values is forcibly ended, and then the next row of pixel values is jumped to, so that the compression storage process can be accelerated; in addition, in the compression and storage process, the pixel value with the skipping value being zero is selected and not stored, so that the data size of the compressed image data can be further reduced. In conclusion, the analog dial pointer picture compression and storage device can effectively compress pointer pictures, and reduces the memory occupancy rate of the pointer pictures to wearable equipment.
Correspondingly, the invention also discloses a device for redrawing the pointer picture of the analog dial, which is shown in the figure 10 and comprises:
a data reading module 21, configured to read compressed image data stored in the analog dial pointer picture compression storage apparatus disclosed in the foregoing embodiment;
the data extraction module 22 is configured to sequentially extract data in the compressed image data according to an order from morning to evening of storage time;
and the data restoring module 23 is configured to restore corresponding pointer image data according to the sequentially extracted data, so as to redraw the pointer picture.
For more specific working processes of the modules, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Furthermore, the invention also discloses a device for compressing and storing the picture of the pointer of the analog dial plate, which comprises a processor and a memory; wherein the processor, when executing the computer program stored in the memory, implements the steps of:
acquiring original pointer image data in a PNG format; according to a preset column processing sequence, sequentially compressing and storing pixel values of each column in the original pointer image data to obtain compressed image data; wherein, compressing and storing any column of pixel values in the original pointer image data comprises: sequentially reading and sequentially compressing and storing the pixel values of the row according to a preset row processing sequence; if a first non-zero pixel value is read and the row of pixel values is a first row of pixel values, saving the corresponding pixel position; if a plurality of continuous non-zero pixel values which have the same pixel value and meet the preset condition are read, saving corresponding repeated identification and the number of repeated pixels; after the first non-zero pixel value of the row of pixel values is read, if the pixel value with the pixel value being zero is read, the reading operation of the row of pixel values is forcibly ended, then the next row of pixel values is jumped to the first non-zero pixel value, and the corresponding jump identification and the number of pixels spanned in the current jump process are stored.
In this embodiment, the preset column processing sequence includes a sequence from a first column to a last column of the original pointer image data, or a sequence from the last column to the first column of the original pointer image data; the preset line processing sequence includes a sequence from the end line to the head line of the original pointer image data, or a sequence from the head line to the end line of the original pointer image data.
In this embodiment, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: if a plurality of continuous non-zero pixel values with the pixel values of 255 are read, respectively storing the corresponding repeated identification and the number of the repeated pixels into two different bytes; if a plurality of consecutive non-zero pixel values are read that have the same pixel value and a pixel value that is not 255, the corresponding non-zero pixel values are sequentially saved into a corresponding number of bytes, respectively.
In this embodiment, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: if a plurality of continuous non-zero pixel values which have the same pixel value and the quantity of the repeated pixels is not less than a preset quantity threshold value are read, respectively storing the corresponding repeated identification and the quantity of the repeated pixels into two different bytes; and if a plurality of continuous non-zero pixel values with the same pixel value and the repeated pixel quantity smaller than the preset quantity threshold value are read, respectively and sequentially saving the corresponding non-zero pixel values into the corresponding quantity of bytes.
In this embodiment, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: if at least two groups of continuous non-zero pixel values in any row of pixel values meet the preset condition, when the corresponding repeated identification and the number of the repeated pixels are respectively stored into two different bytes, the method further comprises the following steps: the corresponding non-zero pixel value is saved to the third byte.
In this embodiment, when the processor executes the computer subprogram stored in the memory, the following steps may be specifically implemented: and respectively storing the corresponding skip identifier and the number of pixels crossed in the skip process to two different bytes when storing the corresponding skip identifier and the number of pixels crossed in the skip process.
In this embodiment, the repeated identifier and the skip identifier are both digital identifiers capable of storing by using the 1 st binary bit and the 2 nd binary bit in one byte; when the processor executes the computer subprogram stored in the memory, the following steps can be specifically realized: when any non-zero pixel value is stored, if the numbers on the 1 st binary digit and the 2 nd binary digit of the binary digit corresponding to the non-zero pixel value are not all 0, the numbers on the 1 st binary digit and the 2 nd binary digit of the binary digit corresponding to the non-zero pixel value are all adjusted to be 0 to obtain an adjusted pixel value, and then the adjusted pixel value is stored into one byte.
Furthermore, the invention also discloses a device for redrawing the picture of the pointer of the analog dial plate, which comprises a processor and a memory; wherein the processor, when executing the computer program stored in the memory, implements the steps of:
reading compressed image data stored by using the analog dial pointer picture compression storage method disclosed by the embodiment; sequentially extracting data in the compressed image data according to the sequence of the storage time from morning to evening; and restoring corresponding pointer image data according to the sequentially extracted data so as to redraw the pointer picture.
Furthermore, the invention also discloses wearing equipment which comprises the simulation dial pointer picture compression storage equipment.
Referring to fig. 11, there is shown in fig. 11 a wearable device 30 comprising:
the analog dial pointer picture compression storage device disclosed in the foregoing embodiment, wherein the processor 31 in the analog dial pointer picture compression storage device can implement the analog dial pointer picture compression storage method disclosed in the foregoing embodiment when executing the computer program stored in the memory 32. In addition, the processor 31 may further integrate a processing unit with other functions, which is used for processing different types of data input from the outside. For example, a processing unit for processing image data, a processing unit for processing sound data, and a processing unit for processing data collected by the sensor may be integrated in the processor 31.
And a display unit 33 for displaying the data sent by the processor. For example, the display unit 33 in the smart watch may be a whole display panel, and the display unit 33 in the head-mounted device may be a whole display panel or a first display panel and a second display panel corresponding to the left eye and the right eye of the user, respectively. The display panel may be an electroluminescent device or a liquid crystal display panel. Of course, the display unit in the present embodiment may be a laser scanning display, or a projector capable of directly projecting a display screen onto the retina of the user.
The input interface 34 is used for acquiring a computer program imported from the outside, and may also be used for acquiring various data and instructions input from the outside and storing the acquired data in the memory 32. For example, the original pointer image data transmitted from the external terminal can be acquired through the input interface 34.
And the sensor 35 is used for acquiring data and sending the acquired data to the processor 31 for corresponding processing. In this embodiment, the sensor 35 may include, but is not limited to, a heart rate sensor, an acceleration sensor, a gyroscope, a GPS (global positioning system) sensor, a geomagnetic sensor, a doppler effect sensor, an infrared sensor, a temperature sensor, and a radio frequency field intensity sensor. After the sensor 35 collects the corresponding raw sensing data, the processor 31 further analyzes and processes the raw sensing data to obtain a corresponding analysis and processing result, according to the analysis processing result, various states of the current user can be judged, for example, can judge the using operation state of the current user, such as judging whether the current user wears the wearable device or not, can also judge the motion state of the current user, such as walking, running, still, etc., can also judge the posture state of a certain body part of the current user, such as the posture state of the hand or the finger tip, the opening and closing state of the eyes, the sight line direction, the pupil size and the like, and even the mental state of the user can be judged, such as whether the user is excited or injured at present, or whether the current user is engrossed and immersed in the virtual scene generated by the wearable device is judged.
And the communication unit 36 is used for acquiring data transmitted by an external terminal and then transmitting the data to the processor 31 for processing and analysis. For example, the original pointer image data transmitted from the external terminal may be acquired by the communication unit 36. In addition, the processor 31 may also transmit various results obtained after the processing to various preset data receiving terminals through the communication unit 36. In this embodiment, the communication technology adopted by the communication unit 36 may be a wired communication technology or a wireless communication technology, such as a mobile high definition link (MHL) technology, a Universal Serial Bus (USB), a High Definition Multimedia Interface (HDMI), a wireless fidelity (WiFi), a bluetooth communication technology, a low power consumption bluetooth communication technology, an ieee802.11 s-based communication technology, and the like. Additionally, the communication unit 36 may embody a cellular radio transceiver operating in accordance with wideband code division multiple access (W-CDMA), Long Term Evolution (LTE), and similar standards.
The image collector 37 is configured to collect an image of a scene located in a shooting direction, and then send the collected image to the processor 31 for data processing and analysis, and the subsequent processor 31 may send the image processing result to the display unit 33 for display, or may transmit the image processing result to the memory 32 for storage, or may send the image processing result to a preset data receiving terminal through the communication unit 36.
The sound collecting and playing device 38 is configured to collect sounds in an environment, send the collected sound signals to the processor 31 for data processing and analysis, and the subsequent processor 31 may send the sound processing results to the sound collecting and playing device 38 for playing, or may transmit the sound processing results to the memory 32 for storage, or may send the sound processing results to a preset data receiving terminal through the communication unit 36.
Further, the processor 31 in this embodiment may also implement the method for redrawing a pointer picture of an analog dial as disclosed in the foregoing embodiment when executing the computer program stored in the memory 32, and transmit the redrawn pointer image data to the display unit 33 for display.
It should be further explained that the above wearable devices include, but are not limited to, wearable devices such as smart watches, smart bracelets, smart glasses, and smart helmets.
Further, the present invention also discloses a computer readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the analog dial pointer picture compression storage method disclosed in the foregoing embodiments. For the specific steps of the analog dial pointer picture compression and storage method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Further, the present invention also discloses a computer readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the simulated dial pointer picture redrawing method disclosed in the foregoing embodiments. For the specific steps of the method for redrawing the pointer picture of the analog dial, reference may be made to the corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The wearable device and the method and the device for compressing, storing and redrawing the picture of the pointer of the analog dial provided by the invention are described in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for compressing and storing pictures of pointers of an analog dial is characterized by comprising the following steps:
acquiring original pointer image data in a PNG format;
according to a preset column processing sequence, sequentially compressing and storing pixel values of each column in the original pointer image data to obtain compressed image data;
wherein, compressing and storing any column of pixel values in the original pointer image data comprises:
sequentially reading and sequentially compressing and storing the pixel values of the row according to a preset row processing sequence;
if a first non-zero pixel value is read and the row of pixel values is a first row of pixel values, saving the corresponding pixel position; if a non-zero pixel value different from the adjacent pixel value is read, storing the non-zero pixel value; if a plurality of continuous non-zero pixel values which have the same pixel value and meet the preset condition are read, saving corresponding repeated identification and the number of repeated pixels; if a plurality of continuous non-zero pixel values which have the same pixel value and do not meet the preset condition are read, storing the corresponding non-zero pixel values in sequence; after the first non-zero pixel value of the row of pixel values is read, if the pixel value with the pixel value being zero is read, the reading operation of the row of pixel values is forcibly ended, then the next row of pixel values is jumped to the first non-zero pixel value, and the corresponding jump identification and the number of pixels spanned in the current jump process are stored.
2. The analog dial indicator picture compression storage method of claim 1,
the preset column processing sequence comprises a sequence from the head column to the tail column of the original pointer image data or a sequence from the tail column to the head column of the original pointer image data;
the preset line processing sequence includes a sequence from the end line to the head line of the original pointer image data, or a sequence from the head line to the end line of the original pointer image data.
3. The analog dial indicator picture compression storage method of claim 1,
if a plurality of continuous non-zero pixel values which have the same pixel value and meet a preset condition are read, saving the corresponding repeated identification and the number of the repeated pixels, wherein the method comprises the following steps:
if a plurality of continuous non-zero pixel values with the pixel values of 255 are read, the corresponding repeated marks and the number of the repeated pixels are respectively stored in two different bytes.
4. The analog dial indicator picture compression storage method of claim 1,
if a plurality of continuous non-zero pixel values which have the same pixel value and meet a preset condition are read, saving the corresponding repeated identification and the number of the repeated pixels, wherein the method comprises the following steps:
and if a plurality of continuous non-zero pixel values which have the same pixel value and the number of the repeated pixels is not less than a preset number threshold value are read, respectively storing the corresponding repeated marks and the number of the repeated pixels into two different bytes.
5. The method for compressing and storing pictures of an analog dial indicator according to claim 4, wherein if at least two groups of continuous non-zero pixel values in any column of pixel values satisfy the preset condition, the method further comprises the following steps of storing corresponding repeated marks and the number of repeated pixels into two different bytes respectively:
the corresponding non-zero pixel value is saved to the third byte.
6. The method for compressing and storing the pictures of the pointers on the analog dial according to any one of claims 3 to 5, wherein the step of storing the corresponding skip identifier and the number of pixels spanned by the skip process comprises the following steps:
and respectively storing the corresponding jump identification and the number of pixels spanned in the jump process into two different bytes.
7. The analog dial indicator picture compression storage method of claim 6,
the repeated mark and the skip mark are both digital marks which can be stored by using the 1 st binary bit and the 2 nd binary bit in one byte;
the process of saving any non-zero pixel value includes:
if the numbers on the 1 st binary digit and the 2 nd binary digit of the binary digit corresponding to the non-zero pixel value are not all 0, adjusting all the numbers on the 1 st binary digit and the 2 nd binary digit of the binary digit corresponding to the non-zero pixel value to 0 to obtain an adjusted pixel value, and then storing the adjusted pixel value into one byte.
8. A method for redrawing a pointer picture of a simulation dial is characterized by comprising the following steps:
reading compressed image data stored by using the analog dial pointer picture compression storage method according to any one of claims 1 to 7;
sequentially extracting data in the compressed image data according to the sequence of the storage time from morning to evening;
and restoring corresponding pointer image data according to the sequentially extracted data so as to redraw the pointer picture.
9. The device for compressing and storing the pictures of the pointer of the analog dial is characterized by comprising a processor and a memory; wherein the processor, when executing the computer program stored in the memory, implements the analog dial pointer picture compression storage method of any one of claims 1 to 7.
10. A wearable device comprising the analog dial pointer picture compression storage device of claim 9.
CN201810466592.4A 2018-05-11 2018-05-11 Wearable device and method and device for compressing, storing and redrawing analog dial pointer picture Active CN108694735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810466592.4A CN108694735B (en) 2018-05-11 2018-05-11 Wearable device and method and device for compressing, storing and redrawing analog dial pointer picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810466592.4A CN108694735B (en) 2018-05-11 2018-05-11 Wearable device and method and device for compressing, storing and redrawing analog dial pointer picture

Publications (2)

Publication Number Publication Date
CN108694735A CN108694735A (en) 2018-10-23
CN108694735B true CN108694735B (en) 2022-04-15

Family

ID=63847431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810466592.4A Active CN108694735B (en) 2018-05-11 2018-05-11 Wearable device and method and device for compressing, storing and redrawing analog dial pointer picture

Country Status (1)

Country Link
CN (1) CN108694735B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109949898B (en) * 2019-02-19 2024-01-05 东软医疗系统股份有限公司 File uploading method, storage method, downloading method, system, device and equipment
CN113068043B (en) * 2020-01-02 2024-04-30 武汉金山办公软件有限公司 PNG image compression method and device, electronic equipment and storage medium
CN111259177B (en) * 2020-01-10 2023-07-18 深圳盒子信息科技有限公司 Black-white binary signature picture storage method and system
CN112331125B (en) * 2020-11-19 2022-06-14 合肥芯颖科技有限公司 Data processing method and device for display panel
CN112529016A (en) * 2020-12-21 2021-03-19 浙江欣奕华智能科技有限公司 Method and device for extracting feature points in image
CN113505766B (en) * 2021-09-09 2022-01-04 北京智源人工智能研究院 Image target detection method and device, electronic equipment and storage medium
CN116405685B (en) * 2023-06-08 2023-08-22 安元科技股份有限公司 Image data compression method applied to test process record

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080137751A1 (en) * 1998-12-21 2008-06-12 Kendyl Allen Roman Separate plane compression using plurality of compression methods including ZLN and ZLD methods
CN104838653A (en) * 2012-12-12 2015-08-12 苹果公司 Lossless image compression using differential transfer
CN105933708A (en) * 2016-04-15 2016-09-07 张彦刚 Data compression-decompression method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080137751A1 (en) * 1998-12-21 2008-06-12 Kendyl Allen Roman Separate plane compression using plurality of compression methods including ZLN and ZLD methods
CN104838653A (en) * 2012-12-12 2015-08-12 苹果公司 Lossless image compression using differential transfer
CN105933708A (en) * 2016-04-15 2016-09-07 张彦刚 Data compression-decompression method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Clear and Compress: Computing Persistent Homology in Chunks;Ulrich Bauer 等;《Topological Methods in Data Analysis and Visualization III》;20140319;第103-117页 *
基于稀疏分解的振动信号数据压缩算法;王强 等;《仪器仪表学报》;20161115;第37卷(第11期);第2497-2505页 *

Also Published As

Publication number Publication date
CN108694735A (en) 2018-10-23

Similar Documents

Publication Publication Date Title
CN108694735B (en) Wearable device and method and device for compressing, storing and redrawing analog dial pointer picture
US10834424B2 (en) Method and device for compressing image, and electronic device
KR20160097974A (en) Method and electronic device for converting color of image
EP2559270B1 (en) Method and apparatus for generating and playing animation message
CN108881920B (en) Method, terminal and server for transmitting video information
CN106331687A (en) Method and device for processing a part of an immersive video content according to the position of reference parts
CN110852951A (en) Image processing method, image processing device, terminal equipment and computer readable storage medium
CN111464825A (en) Live broadcast method based on geographic information and related device
CN106961612B (en) Image processing method and device
CN113518243A (en) Image processing method and device
CN113129222A (en) Color shading correction method, terminal device and computer-readable storage medium
CN113129417A (en) Image rendering method in panoramic application and terminal equipment
CN107027072A (en) A kind of video marker method, terminal and computer-readable recording medium
CN111443965B (en) Picture display method and device, terminal and storage medium
JP6740611B2 (en) Information processing apparatus, information processing method, and program
CN108564059B (en) Wearable device, data processing method and device thereof, equipment and storage medium
CN112800277A (en) Content browsing progress display method and device and readable storage medium
CN110572867A (en) method and device for reducing power consumption of electronic equipment
CN115576513A (en) Target image display method, display device, electronic device, and storage medium
US20050025364A1 (en) Apparatus and method for reading a user's palm using mobile terminal
CN109118266A (en) Advertisement sending method, device, storage medium and electronic equipment
CN109408011A (en) Wear display methods, device and the equipment of display equipment
CN112235521B (en) Method, device and equipment for realizing subtitle conversion
CN111062320B (en) Overpass identification method and related products
CN109254646B (en) Power saving method and device for intelligent equipment and intelligent equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant