CN104394410A - Image data compression method, decompression method, transmission method and device - Google Patents
Image data compression method, decompression method, transmission method and device Download PDFInfo
- Publication number
- CN104394410A CN104394410A CN201410676849.0A CN201410676849A CN104394410A CN 104394410 A CN104394410 A CN 104394410A CN 201410676849 A CN201410676849 A CN 201410676849A CN 104394410 A CN104394410 A CN 104394410A
- Authority
- CN
- China
- Prior art keywords
- pixel data
- bit
- bit sequence
- data
- sub
- 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.)
- Granted
Links
Landscapes
- Compression Of Band Width Or Redundancy In Fax (AREA)
Abstract
The invention provides an image data compression method, a decompression method, a transmission method and a device. The compression method includes the steps: determining a maximum value T among significant digits of bit sequences corresponding to M sub-pixel data for every pixel datum; deleting (T+1)<th> to N<th> bits in each bit sequence when the T is smaller than the N; generating bit digit information corresponding to the pixel data, wherein the bit digit information is used for indicating digits of spare bits of the pixel data. The digits of the bits occupied by image data can be effectively decreased by the image data compression method. After the image data are compressed by the compression method, only effective bit data and corresponding bit digit information are transmitted when images are transmitted, and the bit digits occupied by the image data are greatly decreased, so that image data transmission quantity can be reduced.
Description
Technical field
The present invention relates to Display Technique field, especially relate to a kind of image data compression method, decompression method, transmission method and device.
Background technology
24bit full color (24 looks) is called as true color, and color development number is 1,677 ten thousand polychromes, namely 24 powers of 2, reaches the limit that human eye is differentiated.In prior art, host (main frame) and LDI (the LCD Display IC of mobile phone, LCD display circuit) between the view data of usual transmission 24bit full colour (24 euchroic coloured silks), but along with the increase of mobile phone resolution, the data volume of the view data of host and LDI transmission also constantly increases, and consumes a large amount of resources.
Summary of the invention
The object of the invention is to reduce image data transmission amount.
In order to achieve the above object, the invention provides a kind of image data compression method, described view data comprises at least one pixel data, each pixel data comprises M sub-pixel data, each sub-pixel data comprises the bit sequence be made up of N position bit, the method comprises: for each pixel data
Determine the maximum of T in the number of significant digit of the bit sequence that M sub-pixel data is corresponding;
When T is less than N, to delete in each bit sequence T+1 to N position bit;
Generate the number of bits information that this pixel data is corresponding, this number of bits information is for representing the figure place of this pixel data remaining bits.
Preferably, for each pixel data,
In the bit sequence corresponding to each sub-pixel data, the value homogeneous phase of each bit simultaneously, the described maximum of T determined in the number of significant digit of the bit sequence that each sub-pixel data is corresponding, delete T+1 in each bit sequence and, to N position bit, replace with:
From each bit sequence, extract a bit and delete other bits;
Preferably, for each pixel data, having in the bit sequence corresponding at least one sub-pixel data, the value of each bit is incomplete same, and T value corresponding to this pixel data is when being 1, in each bit sequence of described deletion, T+1 replaces with to N position bit: to delete in each bit sequence the 3rd to N position bit.
Preferably, the described maximum of T determined in the number of significant digit of the bit sequence that M sub-pixel data is corresponding, comprising:
Judge that whether the maximum of T of the reality in the number of significant digit of the bit sequence that M sub-pixel data is corresponding is the one in several number of significant digit, and when being judged as NO, using the minimum value that is greater than this actual T value in several number of significant digit described as T value corresponding to this pixel data.
A kind of view data decompression method, described view data is comprise at least one pixel data through overcompression process and corresponding number of bits information, pixel data after each compressed process comprises M sub-pixel data, each sub-pixel data has the bit of identical number, the method comprises: for the pixel data after each compressed process
The number of bits information corresponding according to this pixel data, determines the number of bits P shared by this pixel data, and intercepts P position bit from the original position corresponding to this pixel data;
This P position bit is divided into M bit sequence in order, and after bit sequence described in each, supplements the bit sequence that inactive bit becomes N position, save as a pixel data by through described M the bit sequence supplemented after process.
Preferably, for each pixel data,
If P equals M, then supplement the bit sequence that the N-1 position bit identical with the value of this bit becomes N position after the bit sequence that after bit sequence described in each, supplementary inactive bit becomes N position replaces with bit sequence described in each.
A transmission method for view data, comprising:
Before transmission view data, according to the image data compression method described in above-mentioned any one, view data is compressed;
After view data after receiving compression, decompress according to the view data decompression method described in above-mentioned any one.
A kind of image data compressing apparatus, described view data comprises at least one pixel data, each pixel data comprises M sub-pixel data, each sub-pixel data comprises the bit sequence be made up of N position bit, it is characterized in that, comprising: figure place determination module, removing module and identification information generation module; For each pixel data,
Figure place determination module, for determining the maximum of T in the number of significant digit of the bit sequence that M sub-pixel data is corresponding;
Removing module, for when T is less than N, to delete in each bit sequence T+1 to N position bit;
Identification information generation module, for generating number of bits information corresponding to this pixel data, this number of bits information is for representing the figure place of this pixel data remaining bits.
Preferably, for each pixel data, described removing module also for,
In the bit sequence corresponding to each sub-pixel data, the value homogeneous phase of each bit simultaneously, extracts a bit and deletes other bits from each bit sequence.
Preferably, for each pixel data, described removing module also for,
Having in the bit sequence corresponding at least one sub-pixel data, the value of each bit is incomplete same, and when T value corresponding to this pixel data is 1, to delete in each bit sequence the 3rd to N position bit;
Having in the bit sequence corresponding at least one sub-pixel data, the value of each bit is incomplete same, and when T value corresponding to this pixel data is not 1, to delete in each bit sequence T+1 to N number of bit.
Preferably, described figure place determination module, also for judging that whether the maximum of T of the reality in the number of significant digit of the bit sequence that M sub-pixel data is corresponding is the one in number of significant digit of several regulations, and when being judged as NO, using the minimum value that is greater than this actual T value in the number of significant digit of several regulations described as T value corresponding to this pixel data.
A kind of view data decompressing device, described view data is comprise at least one pixel data through overcompression process and corresponding number of bits information, pixel data after each compressed process comprises M sub-pixel data, each sub-pixel data has the bit of identical number, this device comprises: number of bits determination module and bit supplemental module, for the pixel data after the compressed process described in each
Number of bits determination module, for the number of bits information corresponding according to this pixel data, determines the number of bits P shared by this pixel data, and intercepts P position bit from the original position corresponding to this pixel data;
Bit supplemental module, is divided into M bit sequence in order for this P position bit, and supplements the bit sequence that inactive bit becomes N position after bit sequence described in each, saves as a pixel data by through described M the bit sequence supplemented after process.
Preferably, for each pixel data, described bit supplemental module is used for
When P equals M, after each bit, supplement the N-1 position bit identical with the value of this bit;
For when P is not equal to M, after each bit sequence, supplement N-P/M position inactive bit.
A kind of display unit, comprise host machine part and drive display section, described host machine part comprises the image data compressing apparatus described in above-mentioned any one, and described driving display section comprises the view data decompressing device described in above-mentioned any one;
Described image data compressing apparatus is used for, before described host machine part sends view data, compressing described view data; After described view data decompressing device is used for the view data after described driving display section receives compression, the view data after compression is decompressed.
A kind of picture pick-up device, comprise host machine part and shoot with video-corder part, described host machine part comprises the view data decompressing device described in above-mentioned any one, described in shoot with video-corder part and comprise image data compressing apparatus described in above-mentioned any one;
Described image data compressing apparatus is used for sending before view data in described part of shooting with video-corder, and compresses described view data; After described view data decompressing device is used for the view data after described host machine part receives compression, the view data after compression is decompressed.
In the present invention, for each pixel data, determine the maximum of T in the number of significant digit of the bit sequence that each sub-pixel data is corresponding; To delete in each bit sequence T+1 to N position bit; Generate the number of bits information that this pixel data is corresponding, this number of bits information is for representing the figure place of this pixel data remaining bits.Image data compression method provided by the invention, effectively can reduce the figure place of the bit that view data takies.After adopting compress mode provided by the invention to compress view data, can when carrying out image transmitting, only transmit effective Bit data and corresponding number of bits information, the bit number shared by view data is reduced greatly, thus image data transmission amount can be reduced.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of a kind of image data compression method provided by the invention;
Fig. 2 is the schematic flow sheet of a kind of view data decompression method provided by the invention;
Fig. 3 is the schematic flow sheet of another image data compression method provided by the invention;
Fig. 4 is the schematic flow sheet of another view data decompression method provided by the invention;
Fig. 5 a is the bit sequence figure adopting reference format pixel data;
Fig. 5 b is the bit sequence figure of the pixel data after adopting method provided by the invention to compress;
Fig. 6 is the structural representation of a kind of image data compressing apparatus provided by the invention;
Fig. 7 is the structural representation of a kind of view data decompressing device provided by the invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is further described.Following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
Realizing in process of the present invention, present inventor finds, except the existing video of structure and general image picture, usually can not use 24bit full color.Especially, in UI picture (background frame), except background video, Icon design (Design of Gray Scale) does not need Full color yet.In addition when seeing Web file, background frame and word, owing to being specific color, can show with 8bit or 12bit.And for the pixel data of this class, in the prior art, also transmit with the reference format of 24bit between host and LDI, so just cause the unnecessary wasting of resources.
In order to solve such problem, the embodiment of the present invention one provides a kind of image data compression method, suppose that view data to be compressed comprises at least one pixel data, this pixel data comprises M son as data, and each sub-pixel data comprises the bit sequence of N position bit composition, in the method, for each pixel data, perform step as shown in Figure 1:
Step S11, determines the maximum of T in the number of significant digit of the bit sequence that M sub-pixel data is corresponding;
Step S12, when T is less than N, to delete in each bit sequence T+1 to N position bit.
Step S13, generates the number of bits information that this pixel data is corresponding, and this number of bits information is for representing the figure place of this pixel data remaining bits.
In actual applications, pixel data here can be the pixel data of 24 euchroic coloured silks, and this pixel data can comprise three sub-pixel data, and each sub-pixel data comprises 8 bit sequences.
Understandable, the number of significant digit of the bit sequence that a sub-pixel data of indication is corresponding in the present invention, refers to that in this bit sequence, last is the figure place at the bit place of 1, that is to say that last is total number of the bit of 1 and the bit before it.Such as the pixel data of 110011001101110011000000, its each bit sequence is respectively three sequences of 11001100,11010000,11000000, corresponding number of significant digit is respectively 6,4,2, and the T value that so this pixel data is corresponding is exactly 6.Think significant bit by 1, should be appreciated that, the inactive bit hereinafter occurred refers to 0.
Realizing in process of the present invention, present inventor finds through large quantitative statistics, in practical application, there is a large amount of pixel datas, the required bit number used is much smaller than 24bit, even if under the prerequisite of significance bit only retaining this pixel data, with the addition of the number of bits information for figure place corresponding to each pixel data, also can greatly reduce the bit number taken needed for view data.Image data compression method provided by the invention, effectively can reduce the figure place of the bit that view data takies.After adopting compress mode provided by the invention to compress view data, can when carrying out image transmitting, only transmit effective Bit data and corresponding number of bits information, the bit number shared by view data is reduced greatly, thus image data transmission amount can be reduced.
In practical application, according to different compress modes, the number of bits information of pixel data can figure place itself shared by this pixel data, because the possible most significant digit number of a pixel data is 24, in order to represent this number of significant digit, at least need 5 bits, and each number of bits information must take identical figure place, then the number of bits information of each pixel data needs to take 5 bits.
As the optional mode of another kind, multiple different figure place can be used to identify and to represent different number of bits information, in the specific implementation, the number of bits corresponding due to each sub-pixel data is all equal, so for the pixel data of a 24bit, only need that figure place is identified and can represent 0,3,6,9,12,15,18,21,24, such figure place mark only needs to take 4 bits.Further, in concrete application scenarios, generally some figure place there will not be (can not be generally such as 21 or 15), on this basis, can further compressed bits mark shared by bit number.Such as, the figure place of pixel data after regulation compression is only wherein several situation, such as, can only be 3,6,12,24, now prespecified figure place mark can be respectively 00,01,10,11, represent that corresponding number of significant digit is the situation of 1,2,4,8 respectively, if the T value of the reality obtained according to step S11 is not the one in above-mentioned 1,2,4,8, then will be greater than the T value of minimum value as this pixel data of the T value of reality.If the actual T value of a such as pixel data is 3, then will be greater than the T value of the minimum value 4 in this actual T value as this pixel data in the number of significant digit of regulation, accordingly, delete 5-8 position bit in each bit sequence, the final figure place of this pixel data is 12.Namely several different figure places mark several different number of significant digit corresponding are respectively specified, after maximum of T in the number of significant digit determining the bit sequence that each sub-pixel data of a certain pixel data is corresponding, if maximum of T is not one in several different number of significant digit above-mentioned, the minimum value being greater than this maximum of T in above-mentioned some number of significant digit is substituted the maximum of T of this pixel data, then perform the operation of step S12-step S13.In this way, can reduce the bit number shared by figure place mark, (when such as number of significant digit focuses on the number of significant digit of this several regulation) significantly reduces taking transfer resource in some cases.All be described for figure place identifies with number of bits information below.
Accordingly, present invention also offers a kind of view data decompression method, can be used for decompressing to the data after the image data compression method utilizing the method in Fig. 1 to provide compresses, in the method, for the pixel data after each compressed process, perform step as shown in Figure 2:
Step S21, the number of bits information corresponding according to this pixel data, determines the number of bits P shared by this pixel data, and intercepts P position bit from the original position corresponding to this pixel data;
Step S22, is divided into M bit sequence in order by this P position bit, and supplements the bit sequence that inactive bit becomes N position after bit sequence described in each, saves as a pixel data by through described M the bit sequence supplemented after process.
On the basis of embodiment one, in order to some special datas existed view data carry out particular procedure, to reduce the view data size after compressing further, the embodiment of the present invention two additionally provides the second image data compression method, in the method, for each pixel data, perform as shown in Figure 3:
Step S10, for the bit sequence corresponding to each sub-pixel data in this pixel data, whether value is all identical for each bit judging in this bit sequence; If so, then perform step S12a, if not, then perform S11;
Step S12a, extracts a bit and also deletes other bits from each bit sequence, rear steering step S13;
Step S11, determines the maximum of T in the number of significant digit of the bit sequence that each sub-pixel data is corresponding, rear steering step S110;
Step S110, judges whether the T value that this pixel data is corresponding is 1, if so, then turns to step S12b; Otherwise, turn to step S12;
Step S12, to delete in each bit sequence T+1 to N position bit, rear steering step S13.
Step S12b, to delete in each bit sequence the 3rd to N position bit, rear steering step S13;
Step S13, generates the number of bits information that this pixel data is corresponding, and this number of bits information is for representing the figure place of this pixel data remaining bits.
In actual applications, for pure color, such as entirely red pixel data, the bit sequence of its red subpixel data is 11111111, and the bit sequence of other sub-pixel data is 00000000, if so still according to the method shown in Fig. 1, then corresponding T value is 8, bit value combinations is exactly 24, takies more bit.And according to the execution mode of Fig. 3 of the present invention, from red subpixel data and other sub-pixel data, only respectively need extract a bit, form the bit value combinations 100 of three.On the other hand, in order to see such pixel data with to compress according to step S11 and step S12 be just 100 pixel data (such as 100000000000000010000000) distinguish, need to adopt different Compression Strategies to these two kinds special pixels, to enable decompressing device, two kinds of pixel datas are distinguished.Such mode is compared and the mode only adopting Fig. 1, can the bit number of reduction image data further.It is to be noted, in actual applications, in order to distinguish these above-mentioned two kinds of pixel datas, in actual applications, also the mode of distinguishing identifier can be adopted, namely for the pixel data be judged as YES in step S110, also adopt the mode of step S12 to process, but adopt and identify different figure places from the figure place obtained after step S12a process and identify.When such decompressing device decompresses, also can distinguish these two kinds different figure place marks and carry out correct decompression.
It is pointed out that in the above embodiments one or two, if T value corresponding to pixel data is 0, bit value corresponding for this pixel data all can be deleted, the figure place of the pixel data after now corresponding figure place mark is used to indicate compression is 0.If the T value that pixel data is corresponding is 8, and have in the bit sequence corresponding at least one sub-pixel data, the value of each bit is incomplete same, now should not delete any bit.
Accordingly, present invention also offers another kind of decompression method, decompressing, in the method for compressing to the compression method utilized shown in Fig. 3 the view data obtained, for the pixel data after each method through Fig. 3 compression process, perform as shown in Figure 4:
Step 21, the number of bits information corresponding according to this pixel data, determines the number of bits P shared by this pixel data, and intercepts P position bit from the original position corresponding to this pixel data;
Step S210, judges whether P equals M, if so, then performs step S22a, if not, performs step S22.
Step S22, is divided into M bit sequence in order by this P position bit, and supplements the bit sequence that N-P/M position inactive bit becomes N position after bit sequence described in each, saves as a pixel data by through described M the bit sequence supplemented after process.
Step S22a, supplements the bit sequence that N-1 the bit identical with the value of this bit becomes N position, saves as a pixel data by through described M the bit sequence supplemented after process after each bit.
The compression method provided the embodiment of the present invention two below in conjunction with Fig. 5 a and Fig. 5 b and decompression method are further detailed, Fig. 5 a adopts the bit sequence figure of reference format (24bit) pixel data, and Fig. 5 b is the bit sequence figure of the pixel data after adopting method provided by the invention to compress.In fig 5 a, each pixel data (data1, data2, data3) 24 bits are respectively taken, wherein in data1, the value of R0-R7 is 1, the value of G0-G7 and B0-B7 is 0, in data2, the number of significant digit of three turquoise correspondences of primary colors red is respectively 7, 8, 6, in data3, the number of significant digit of three turquoise correspondences of primary colors red is respectively 3, 3, 4, according to method provided by the invention, only data1 meets the contractive condition in step S12a, data2 and data3 meets the contractive condition of step S12, then according to step S12a, data1 is compressed, corresponding data2 and data3 compresses according to step S12.Afterwards, before the first bit that each pixel data is corresponding, add the figure place mark that this pixel data is corresponding.In the preferred embodiment of the invention, use 00 to represent in corresponding pixel data view data upon compression and take 3 bit, 11 correspond to 24bit, and 10 correspond to 18bit, and 01 corresponds to 12bit.Then after completing compression, as shown in Figure 5 b, for data1, only need use 3 bits 100, and add corresponding figure place mark 00, can show; Accordingly, for data2, the most significant digit number corresponding due to its primary colours is 8, then need 24+2 bit performance, for data3, the most significant digit number corresponding due to its primary colours is 4, then need 12+2 bit performance, after compression, three pixel datas take 45 bit altogether, decrease 27 bit relative to before compression.When decompressing, when receiving bit sequence as shown in Figure 5 b, first figure place mark 00 (S1 shown in figure) of first 2bit is read, determine that first pixel data data1 takies 3 bit according to this figure place mark afterwards, now receiving system intercepts 3 bits after first 2bit, and after each bit, supplement the pixel data that the bit identical with the value of this bit obtains reference format, namely after 1,71 are supplemented, 70 are supplemented after first 0, after second 0 supplement 70, revert to as illustrated in fig. 5 a data1.Afterwards, again read figure place mark 11 (S2) of 2bit, determine that second pixel data data2 takies 24 bit, intercept 24 bit backward, the pixel data of the formation standard of 24bit own, now without the need to supplementing 0 again, reverts to data2 as illustrated in fig. 5 a.Again read figure place mark 01 (S3) of 2bit afterwards, determine that the 3rd pixel data data3 takies 12 bit, intercept 12 bit backward, and respectively after first 4bit, second 4bit, the 3rd 4bit each supplement 40, composition reference format pixel data, revert to as illustrated in fig. 5 a data3.
Present invention also offers a kind of transmission method of view data, comprising:
Before transmission view data, according to the image data compression method described in above-mentioned any one, view data is compressed;
After view data after receiving compression, decompress according to the view data decompression method described in above-mentioned any one.
Based on identical design, present invention also offers a kind of image data compressing apparatus, as shown in Figure 6, comprising: figure place determination module 601, removing module 602, identification information generation module 603, when compressing each pixel data,
Figure place determination module 601, for determining the maximum of T in the number of significant digit of the bit sequence that M sub-pixel data is corresponding;
Removing module 602, for when T is less than N, to delete in each bit sequence T+1 to N position bit;
Identification information generation module 603, for generating number of bits information corresponding to this pixel data, this number of bits information is for representing the figure place of this pixel data remaining bits
Further, for each pixel data, removing module 602 for,
In the bit sequence corresponding to each sub-pixel data, the value homogeneous phase of each bit simultaneously, extracts a bit and deletes other bits from each bit sequence.
Further, for each pixel data, removing module 602 also for,
Having in the bit sequence corresponding at least one sub-pixel data, the value of each bit is incomplete same, and when T value corresponding to this pixel data is 1, to delete in each bit sequence the 3rd to N position bit;
Having in the bit sequence corresponding at least one sub-pixel data, the value of each bit is incomplete same, and when T value corresponding to this pixel data is not 1, to delete in each bit sequence T+1 to N number of bit.
Further, figure place determination module 601, also for judging that whether the maximum of T of the reality in the number of significant digit of the bit sequence that M sub-pixel data is corresponding is the one in several number of significant digit, and when being judged as NO, using the minimum value that is greater than this actual T value in several number of significant digit described as T value corresponding to this pixel data.
Based on identical design, present invention also offers a kind of view data decompressing device, as shown in Figure 7, comprising: number of bits determination module 701, bit supplemental module 702, when decompressing to the pixel data after each compression,
Number of bits determination module 701, for the number of bits information corresponding according to this pixel data, determines the number of bits P shared by this pixel data, and intercepts P position bit from the original position corresponding to this pixel data;
Bit supplemental module 702, M bit sequence is divided in order for this P position bit, and after bit sequence described in each, supplement the bit sequence that inactive bit becomes N position, save as a pixel data by through described M the bit sequence supplemented after process.
Further, for each pixel data, bit supplemental module 702 for
When P equals M, after each bit, supplement the N-1 position bit identical with the value of this bit;
For when P is not equal to M, after each bit sequence, supplement N-P/M position inactive bit.
Present invention also offers a kind of display unit, comprise host machine part and drive display section, described host machine part comprises the image data compressing apparatus described in above-mentioned any one, and described driving display section comprises the image data compressing apparatus described in above-mentioned any one;
Described image data compressing apparatus is used for, before described host machine part sends view data, compressing described view data; After described view data decompressing device is used for the view data after described driving display section receives compression, the view data after compression is decompressed.
Present invention also offers a kind of picture pick-up device, comprise host machine part and shoot with video-corder part, described host machine part comprises according to the view data decompressing device described in above-mentioned any one, described in shoot with video-corder part and comprise according to the image data compressing apparatus described in above-mentioned any one;
Described image data compressing apparatus is used for sending before view data in described part of shooting with video-corder, and compresses described view data; After described view data decompressing device is used for the view data after described host machine part receives compression, the view data after compression is decompressed.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the technology of the present invention principle; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (15)
1. an image data compression method, is characterized in that, described view data comprises at least one pixel data, each pixel data comprises M sub-pixel data, each sub-pixel data comprises the bit sequence be made up of N position bit, and the method comprises: for each pixel data
Determine the maximum of T in the number of significant digit of the bit sequence that M sub-pixel data is corresponding;
When T is less than N, to delete in each bit sequence T+1 to N position bit;
Generate the number of bits information that this pixel data is corresponding, this number of bits information is for representing the figure place of this pixel data remaining bits.
2. the method for claim 1, is characterized in that, for each pixel data,
In the bit sequence corresponding to each sub-pixel data, the value homogeneous phase of each bit simultaneously, the described maximum of T determined in the number of significant digit of the bit sequence that each sub-pixel data is corresponding, delete T+1 in each bit sequence, to N position bit, to replace with: from each bit sequence, extract a bit and delete other bits.
3. method as claimed in claim 2, is characterized in that, for each pixel data,
Having in the bit sequence corresponding at least one sub-pixel data, the value of each bit is incomplete same, and T value corresponding to this pixel data is when being 1, in each bit sequence of described deletion, T+1 replaces with to N position bit: to delete in each bit sequence the 3rd to N position bit.
4. as the method for claim 1-3 according to any one of it, it is characterized in that, the described maximum of T determined in the number of significant digit of the bit sequence that M sub-pixel data is corresponding, comprising:
Judge that whether the maximum of T of the reality in the number of significant digit of the bit sequence that M sub-pixel data is corresponding is the one in number of significant digit of several regulations, and when being judged as NO, using the minimum value that is greater than this actual T value in the number of significant digit of several regulations described as T value corresponding to this pixel data.
5. a view data decompression method, it is characterized in that, described view data is comprise at least one pixel data through overcompression process and corresponding number of bits information, pixel data after each compressed process comprises M sub-pixel data, each sub-pixel data has the bit of identical number, the method comprises: for the pixel data after each compressed process
The number of bits information corresponding according to this pixel data, determines the number of bits P shared by this pixel data, and intercepts P position bit from the original position corresponding to this pixel data;
This P position bit is divided into M bit sequence in order, and after bit sequence described in each, supplements the bit sequence that inactive bit becomes N position, save as a pixel data by through described M the bit sequence supplemented after process.
6. method as claimed in claim 5, is characterized in that, for each pixel data,
If P equals M, then supplement the bit sequence that the N-1 position bit identical with the value of this bit becomes N position after the bit sequence that after bit sequence described in each, supplementary inactive bit becomes N position replaces with bit sequence described in each.
7. a transmission method for view data, is characterized in that, comprising:
Before transmission view data, according to the image data compression method described in any one of claim 1-4, view data is compressed;
After view data after receiving compression, decompress according to the view data decompression method as described in claim 5 or 6.
8. an image data compressing apparatus, described view data comprises at least one pixel data, each pixel data comprises M sub-pixel data, each sub-pixel data comprises the bit sequence be made up of N position bit, it is characterized in that, comprising: figure place determination module, removing module and identification information generation module; For each pixel data,
Figure place determination module, for determining the maximum of T in the number of significant digit of the bit sequence that M sub-pixel data is corresponding;
Removing module, for when T is less than N, to delete in each bit sequence T+1 to N position bit;
Identification information generation module, for generating number of bits information corresponding to this pixel data, this number of bits information is for representing the figure place of this pixel data remaining bits.
9. compression set as claimed in claim 8, is characterized in that, for each pixel data, described removing module also for,
In the bit sequence corresponding to each sub-pixel data, the value homogeneous phase of each bit simultaneously, extracts a bit and deletes other bits from each bit sequence.
10. compression set as claimed in claim 9, is characterized in that, for each pixel data, described removing module also for,
Having in the bit sequence corresponding at least one sub-pixel data, the value of each bit is incomplete same, and when T value corresponding to this pixel data is 1, to delete in each bit sequence the 3rd to N position bit;
Having in the bit sequence corresponding at least one sub-pixel data, the value of each bit is incomplete same, and when T value corresponding to this pixel data is not 1, to delete in each bit sequence T+1 to N number of bit.
11. as the compression set of claim 8-10 according to any one of it, it is characterized in that, described figure place determination module, also for judging that whether the maximum of T of the reality in the number of significant digit of the bit sequence that M sub-pixel data is corresponding is the one in number of significant digit of several regulations, and when being judged as NO, using the minimum value that is greater than this actual T value in the number of significant digit of several regulations described as T value corresponding to this pixel data.
12. 1 kinds of view data decompressing devices, it is characterized in that, described view data is comprise at least one pixel data through overcompression process and corresponding number of bits information, pixel data after each compressed process comprises M sub-pixel data, each sub-pixel data has the bit of identical number, this device comprises: number of bits determination module and bit supplemental module, for the pixel data after the compressed process described in each
Number of bits determination module, for the number of bits information corresponding according to this pixel data, determines the number of bits P shared by this pixel data, and intercepts P position bit from the original position corresponding to this pixel data;
Bit supplemental module, is divided into M bit sequence in order for this P position bit, and supplements the bit sequence that inactive bit becomes N position after bit sequence described in each, saves as a pixel data by through described M the bit sequence supplemented after process.
13. view data decompressing devices as claimed in claim 12, is characterized in that, for each pixel data, described bit supplemental module is used for
When P equals M, after each bit, supplement the N-1 position bit identical with the value of this bit;
For when P is not equal to M, after each bit sequence, supplement N-P/M position inactive bit.
14. 1 kinds of display unit, it is characterized in that, comprise host machine part and drive display section, described host machine part comprises the image data compressing apparatus as described in any one of claim 8-11, and described driving display section comprises the view data decompressing device as described in claim 12 or 13;
Described image data compressing apparatus is used for, before described host machine part sends view data, compressing described view data; After described view data decompressing device is used for the view data after described driving display section receives compression, the view data after compression is decompressed.
15. 1 kinds of picture pick-up devices, it is characterized in that, comprise host machine part and shoot with video-corder part, described host machine part comprises the view data decompressing device as described in claim 12 or 13, described in shoot with video-corder part and comprise image data compressing apparatus as described in any one of claim 8-11;
Described image data compressing apparatus is used for sending before view data in described part of shooting with video-corder, and compresses described view data; After described view data decompressing device is used for the view data after described host machine part receives compression, the view data after compression is decompressed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410676849.0A CN104394410B (en) | 2014-11-21 | 2014-11-21 | Image data compression method, decompression method, transmission method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410676849.0A CN104394410B (en) | 2014-11-21 | 2014-11-21 | Image data compression method, decompression method, transmission method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104394410A true CN104394410A (en) | 2015-03-04 |
CN104394410B CN104394410B (en) | 2018-01-23 |
Family
ID=52612238
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410676849.0A Active CN104394410B (en) | 2014-11-21 | 2014-11-21 | Image data compression method, decompression method, transmission method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104394410B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106373367A (en) * | 2016-10-27 | 2017-02-01 | 武汉奥泽电子有限公司 | Low-power-consumption automobile RKE remote controller and method for lowering power consumption |
CN109495747A (en) * | 2018-12-28 | 2019-03-19 | 惠科股份有限公司 | Data transmission method and device |
CN110140164A (en) * | 2016-12-27 | 2019-08-16 | 硅工厂股份有限公司 | The sensing circuit of source electrode driver and the display equipment for using it |
CN113746484A (en) * | 2020-05-29 | 2021-12-03 | 上海三思电子工程有限公司 | Data compression and decompression method, device, equipment and medium |
CN117155404A (en) * | 2023-11-01 | 2023-12-01 | 青岛鼎信通讯股份有限公司 | Data processing method and device, electric energy meter and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5621674A (en) * | 1996-02-15 | 1997-04-15 | Intel Corporation | Computer implemented method for compressing 24 bit pixels to 16 bit pixels |
CN101272442A (en) * | 2007-03-21 | 2008-09-24 | 杭州波导软件有限公司 | Digital image nondestructive compression method and device, resolution method and image encoder |
CN101459854A (en) * | 2007-12-13 | 2009-06-17 | 鸿富锦精密工业(深圳)有限公司 | Encoding/decoding apparatus for picture compression and encoding/decoding method therefor |
-
2014
- 2014-11-21 CN CN201410676849.0A patent/CN104394410B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5621674A (en) * | 1996-02-15 | 1997-04-15 | Intel Corporation | Computer implemented method for compressing 24 bit pixels to 16 bit pixels |
CN101272442A (en) * | 2007-03-21 | 2008-09-24 | 杭州波导软件有限公司 | Digital image nondestructive compression method and device, resolution method and image encoder |
CN101459854A (en) * | 2007-12-13 | 2009-06-17 | 鸿富锦精密工业(深圳)有限公司 | Encoding/decoding apparatus for picture compression and encoding/decoding method therefor |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106373367A (en) * | 2016-10-27 | 2017-02-01 | 武汉奥泽电子有限公司 | Low-power-consumption automobile RKE remote controller and method for lowering power consumption |
CN110140164A (en) * | 2016-12-27 | 2019-08-16 | 硅工厂股份有限公司 | The sensing circuit of source electrode driver and the display equipment for using it |
CN109495747A (en) * | 2018-12-28 | 2019-03-19 | 惠科股份有限公司 | Data transmission method and device |
CN109495747B (en) * | 2018-12-28 | 2020-12-04 | 惠科股份有限公司 | Data transmission method and device |
CN113746484A (en) * | 2020-05-29 | 2021-12-03 | 上海三思电子工程有限公司 | Data compression and decompression method, device, equipment and medium |
CN113746484B (en) * | 2020-05-29 | 2023-10-24 | 上海三思电子工程有限公司 | Data compression and decompression method, device, equipment and medium |
CN117155404A (en) * | 2023-11-01 | 2023-12-01 | 青岛鼎信通讯股份有限公司 | Data processing method and device, electric energy meter and medium |
CN117155404B (en) * | 2023-11-01 | 2024-02-09 | 青岛鼎信通讯股份有限公司 | Data processing method and device, electric energy meter and medium |
Also Published As
Publication number | Publication date |
---|---|
CN104394410B (en) | 2018-01-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104394410A (en) | Image data compression method, decompression method, transmission method and device | |
EP3392871A1 (en) | Display drive apparatus and display drive method | |
CN106776677B (en) | File conversion method, device and file transmission system | |
CN108900843B (en) | Monochrome image compression method, apparatus, medium, and electronic device | |
EP1892630A1 (en) | A method for remote displaying and processing based on server/client architecture | |
CN104378631A (en) | Method for selecting resolution with minimum distortion value and device performing the method | |
CN113068040A (en) | Image compression method and device, electronic equipment and readable storage medium | |
US11336906B2 (en) | Image processing method and device for image, data transmission method and device, and storage medium compression by combining rectangular regions of binarized images | |
CN101272442A (en) | Digital image nondestructive compression method and device, resolution method and image encoder | |
CN105096367B (en) | Optimize the method and device of Canvas rendering performances | |
CN112565772A (en) | Picture compression method and decompression method based on electronic price tags | |
US20210183331A1 (en) | Display device and driving method thereof | |
CN103124350A (en) | Image compression method and device based on run-length encoding (RLE) | |
US20160132284A1 (en) | Systems and methods for performing display mirroring | |
CN105227873A (en) | A kind of method of testing of on-chip study data and device | |
CN105761656A (en) | Opportunistic Compression For Display Self Refresh | |
CN104575427A (en) | High-compression-ratio lossless image compression method suitable for embedded system decoding | |
US20130251025A1 (en) | Memory bandwidth reduction during video capture | |
EP1587299A2 (en) | Compressing and decompressing image of a mobile communication terminal | |
CN209982615U (en) | Apparatus for color space 4:4:4 transmission | |
CN110876062B (en) | Electronic device for high-speed compression processing of feature map and control method thereof | |
CN116405692A (en) | Transmission method based on cloud matting and related equipment | |
CN114301983A (en) | Method and system for compressing bytes of electronic ink screen picture, electronic equipment and storage medium | |
US12041259B2 (en) | Data processing methods and systems, and electronic devices | |
CN101452679B (en) | Method for generating image driving signal and device thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |