CN104394410B - 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
- CN104394410B CN104394410B CN201410676849.0A CN201410676849A CN104394410B CN 104394410 B CN104394410 B CN 104394410B CN 201410676849 A CN201410676849 A CN 201410676849A CN 104394410 B CN104394410 B CN 104394410B
- Authority
- CN
- China
- Prior art keywords
- bit
- pixel data
- data
- bit sequence
- 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.)
- Active
Links
Abstract
The invention provides a kind of image data compression method, decompression method, transmission method and device, in the compression method, for each pixel data, the maximum of T in the number of significant digit of bit sequence corresponding to M sub-pixel data is determined;When T is less than N, T+1 is deleted in each bit sequence to N positions bit;Number of bits information corresponding to the pixel data is generated, the number of bits information is used for the digit for representing the pixel data remaining bits.Image data compression method provided by the invention, it can effectively reduce the digit of the bit of view data occupancy.After being compressed using compress mode provided by the invention to view data, can be when carrying out image transmitting, effective bit data and corresponding number of bits information are only transmitted, greatly reduces the bit number shared by view data, so as to reduce view data transmission quantity.
Description
Technical field
The present invention relates to display technology field, especially relates to a kind of image data compression method, decompression method, transmission method
And device.
Background technology
24bit full color (24 colors) are referred to as RGB, and color development number is 16,770,000 polychromes, that is, 24 times of 2
Side, reach the limit of human eye resolution.In the prior art, (LCD Display IC, LCD are shown the host (main frame) and LDI of mobile phone
Circuit) between usual transmission 24bit full colour (24 euchroic coloured silks) view data, but with mobile phone resolution ratio
Increase, the data volume for the view data that host and LDI is transmitted also are continuously increased, and consume substantial amounts of resource.
The content of the invention
The purpose of the present invention is to reduce view data transmission quantity.
In order to achieve the above object, the invention provides a kind of image data compression method, described image data to be included extremely
A few pixel data, each pixel data include M sub-pixel data, and each sub-pixel data is included by N positions bit
The bit sequence of composition, this method include:For each pixel data,
Determine the maximum of T in the number of significant digit of bit sequence corresponding to M sub-pixel data;
When T is less than N, T+1 is deleted in each bit sequence to N positions bit;
Number of bits information corresponding to the pixel data is generated, the number of bits information is used to represent pixel data residue
The digit of bit.
Preferably, for each pixel data,
In the bit sequence corresponding to each sub-pixel data, during the value all same of each bit, it is described determine it is each
Maximum of T in the number of significant digit of bit sequence corresponding to individual sub-pixel data, delete T+1 to N in each bit sequence
Position bit, is replaced with:
A bit is extracted from each bit sequence and deletes other bits;
Preferably, for each pixel data, in having the bit sequence corresponding to an at least sub-pixel data, respectively
The value of individual bit is incomplete same, and when T values corresponding to the pixel data are 1, described to delete in each bit sequence T+1 extremely
N positions bit replaces with:The 3rd is deleted in each bit sequence to N positions bit.
Preferably, the maximum of T determined in the number of significant digit of bit sequence corresponding to M sub-pixel data, including:
Judge whether the actual maximum of T in the number of significant digit of bit sequence corresponding to M sub-pixel data is some
One kind in individual number of significant digit, and when being judged as NO, the minimum value of the actual T values will be more than in several described number of significant digit
As T values corresponding to the pixel data.
A kind of view data decompression method, described image data are to include at least one pixel count handled through overcompression
According to corresponding number of bits information, the pixel data after each compressed processing includes M sub-pixel data, each sub-pixel
Data have equal number of bit, and this method includes:For the pixel data after each compressed processing,
According to number of bits information corresponding to the pixel data, the number of bits P shared by the pixel data is determined, and certainly
Original position corresponding to the pixel data plays interception P positions bit;
The P positions bit is divided into M bit sequence in order, and invalid ratio is supplemented after each described bit sequence
Spy becomes the bit sequence of N positions, and the M bit sequence after supplement process is saved as into a pixel data.
Preferably, for each pixel data,
If P is equal to M, after each described bit sequence supplements inactive bit and become the bit sequences of N positions and replace
It is changed to the bit sequence that the value identical bit of supplement N-1 positions and the bit after each bit sequence becomes N positions
Row.
A kind of transmission method of view data, including:
Before view data is sent, view data is carried out according to the image data compression method described in any of the above-described
Compression;
After the view data after compressing is received, solved according to the view data decompression method described in any of the above-described
Compression.
A kind of image data compressing apparatus, described image data include at least one pixel data, each pixel data
Including M sub-pixel data, each sub-pixel data includes the bit sequence being made up of N positions bit, it is characterised in that bag
Include:Digit determining module, removing module and identification information generation module;For each pixel data,
Digit determining module, for determining the maximum in the number of significant digit of bit sequence corresponding to M sub-pixel data
T;
Removing module, for when T is less than N, deleting in each bit sequence T+1 to N positions bit;
Identification information generation module, for generating number of bits information corresponding to the pixel data, the number of bits information
For representing the digit of the pixel data remaining bits.
Preferably, it is additionally operable to for each pixel data, the removing module,
In the bit sequence corresponding to each sub-pixel data, during the value all same of each bit, from each ratio
A bit is extracted in special sequence and deletes other bits.
Preferably, it is additionally operable to for each pixel data, the removing module,
In having the bit sequence corresponding to an at least sub-pixel data, the value of each bit is incomplete same, and should
When T values corresponding to pixel data are 1, the 3rd is deleted in each bit sequence to N positions bit;
In having the bit sequence corresponding to an at least sub-pixel data, the value of each bit is incomplete same, and should
When T values corresponding to pixel data are not 1, T+1 is deleted in each bit sequence to n-th bit.
Preferably, the digit determining module, it is additionally operable to judge the significance bit of bit sequence corresponding to M sub-pixel data
Whether actual maximum of T in number is one kind in several defined number of significant digit, and when being judged as NO, if will be described
It is more than the minimum value of the actual T values in number of significant digit as defined in dry as T values corresponding to the pixel data.
A kind of view data decompressing device, described image data are to include at least one pixel count handled through overcompression
According to corresponding number of bits information, the pixel data after each compressed processing includes M sub-pixel data, each sub-pixel
Data have equal number of bit, and the device includes:Number of bits determining module and bit supplemental module, for each institute
Pixel data after the compressed processing stated,
Number of bits determining module, for the number of bits information according to corresponding to the pixel data, determine the pixel data
Shared number of bits P, and P positions bit is intercepted from the original position corresponding to the pixel data;
Bit supplemental module, M bit sequence is divided into order for the P positions bit, and in each bit
The bit sequence that inactive bit becomes N positions is supplemented after sequence, the M bit sequence after supplement process is saved as
One pixel data.
Preferably, it is used for for each pixel data, the bit supplemental module
When P is equal to M, N-1 positions and the value identical bit of the bit are supplemented after each bit;
For when P is not equal to M, N-P/M positions inactive bit to be supplemented after each bit sequence.
A kind of display device, including host machine part and driving display portion, the host machine part include any of the above-described institute
The image data compressing apparatus stated, the driving display portion include the view data decompressing device described in any of the above-described;
Described image data compression device is used for before the host machine part sends view data, to described image data
It is compressed;The view data that described image data decompression device is used for after the driving display portion receives compression
Afterwards, the view data after compression is decompressed.
A kind of picture pick-up device, including host machine part include described in any of the above-described with part, the host machine part is shot with video-corder
View data decompressing device, the part of shooting with video-corder include the image data compressing apparatus described in any of the above-described;
Described image data compression device be used for it is described shoot with video-corder part send view data before, to described image data
It is compressed;Described image data decompression device is used for after the view data that the host machine part receives after compression, right
View data after compression is decompressed.
In the present invention, for each pixel data, the significance bit of bit sequence corresponding to each sub-pixel data is determined
Maximum of T in number;T+1 is deleted in each bit sequence to N positions bit;Generate number of bits corresponding to the pixel data
Information, the number of bits information are used for the digit for representing the pixel data remaining bits.Image Data Compression provided by the invention
Method, it can effectively reduce the digit of the bit of view data occupancy.Using compress mode provided by the invention to view data
After being compressed, it can only transmit effective bit data and corresponding number of bits information when carrying out image transmitting, make figure
Bit number as shared by data greatly reduces, so as to reduce view data transmission quantity.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of image data compression method provided by the invention;
Fig. 2 is a kind of schematic flow sheet 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 are the bit sequence figure using reference format pixel data;
Fig. 5 b are the bit sequence figure of the pixel data after being compressed using method provided by the invention;
Fig. 6 is a kind of structural representation of image data compressing apparatus provided by the invention;
Fig. 7 is a kind of structural representation of view data decompressing device provided by the invention.
Embodiment
With reference to the accompanying drawings and examples, the embodiment of the present invention is further described.Following examples are only
For clearly illustrating technical scheme, and can not be limited the scope of the invention with this.
During the present invention is realized, present inventor find except the existing video of structure and in general image picture with
Outside, generally all without using 24bit full color.Especially in UI pictures (background frame), except background video with
Outside, Icon design (Design of Gray Scale) are also without Full color.In addition when seeing Web files, background frame and word by
Then specific color, can be showed with 8bit or 12bit.And for this kind of pixel data, in the prior art,
Also transmitted between host and LDI with 24bit reference format, thus cause the unnecessary wasting of resources.
Such in order to solve the problems, such as, the embodiment of the present invention one provides a kind of image data compression method, it is assumed that waits to press
The view data of contracting includes at least one pixel data, and the pixel data includes M son as data, and each sub-pixel data
Include the bit sequence of N positions bit composition, in this method, for each pixel data, perform step as shown in Figure 1:
Step S11, determine the maximum of T in the number of significant digit of bit sequence corresponding to M sub-pixel data;
Step S12, when T is less than N, T+1 is deleted in each bit sequence to N positions bit.
Step S13, number of bits information corresponding to the pixel data is generated, the number of bits information is used to represent the pixel
The digit of data redundancy bit.
In actual applications, pixel data here can be the color pixel data of 24 euchroics, and the pixel data can be with
Including three sub-pixel datas, each sub-pixel data includes 8 bit sequences.
It is understandable to be, the number of significant digit of bit sequence corresponding to a signified sub-pixel data in the present invention, be
Refer to the digit where the bit that last in the bit sequence is 1, that is to say bit and the ratio before it that last is 1
Special total number.Such as the pixel data of one 110011001101110011000000, its each bit sequence difference
For 11001100,11010000,11,000,000 three sequences, corresponding number of significant digit is respectively 6,4,2, then the pixel count
It is exactly 6 according to corresponding T values.It is considered significant bit by 1, it should be appreciated that the inactive bit hereinafter occurred refers to 0.
During the present invention is realized, present inventor has found by substantial amounts of statistics, in practical application, has a large amount of
Pixel data, the required bit numbers used are much smaller than 24bit, on the premise of only the significance bit of the pixel data is retained,
The number of bits information for digit corresponding to each pixel data is with the addition of, can also substantially reduce what is taken needed for view data
Bit number.Image data compression method provided by the invention, it can effectively reduce the digit of the bit of view data occupancy.Using
, can be when carrying out image transmitting after compress mode provided by the invention is compressed to view data, only transmission is effective compares
Special data and corresponding number of bits information, greatly reduce the bit number shared by view data, so as to reduce image
Volume of transmitted data.
In practical application, according to different compress modes, the number of bits information of pixel data can be the pixel data
Shared digit in itself, because the possible most significant digit number of a pixel data is 24, in order to represent the significance bit
Number, at least need 5 bits, and each number of bits information must tie up identical digit, then each pixel data
Number of bits information is required for taking 5 bits.
As another optional mode, can be identified using multiple different digits to represent that different number of bits is believed
Breath, in the specific implementation, because number of bits is equal corresponding to each sub-pixel data, then for 24bit's
Pixel data, it is only necessary to make digit mark to represent 0,3,6,9,12,15,18,21,24, such digit mark only needs to account for
With 4 bits.Further, in specific application scenarios, it (for example typically will not be 21 that some general digits, which are not in,
Or 15), on this basis, further compressed bits shared bit number can be identified.Such as, it is specified that compression after picture
The digit of prime number evidence is only wherein several situations, for example, being only 3,6,12,24, can now be identified with prespecified digit
Respectively 00,01,10,11, number of significant digit corresponding to expression is 1,2,4,8 situation respectively, if the reality obtained according to step S11
The T values on border are not one kind in above-mentioned 1,2,4,8, then will be greater than T of the minimum value of actual T values as the pixel data
Value.Such as if the actual T values of a pixel data are 3, then the minimum being more than in defined number of significant digit in the actual T values
T value of the value 4 as the pixel data, accordingly, delete 5-8 positions bit in each bit sequence, the pixel data is final
Digit is 12.Provide that several different digit marks correspond to several different number of significant digit respectively, it is determined that a certain picture
After maximum of T in the number of significant digit of bit sequence corresponding to each sub-pixel data of prime number evidence, if maximum of T is not to be above-mentioned
One in several different number of significant digit, the minimum value that the maximum of T is more than in above-mentioned some number of significant digit is substituted should
The maximum of T of pixel data, then perform step S12- steps S13 operation.In this way, digit mark can be reduced
Shared bit number, in some cases (such as number of significant digit focus on this it is several as defined in number of significant digit when) significantly subtract
The occupancy to transfer resource is lacked.Illustrated below by digit mark of number of bits information.
Accordingly, present invention also offers a kind of view data decompression method, available for utilizing the method institute in Fig. 1
Data after the image data compression method of offer is compressed are decompressed, in this method, for each compressed place
Pixel data after reason, perform step as shown in Figure 2:
Step S21, according to number of bits information corresponding to the pixel data, determine the bit shared by the pixel data
Number P, and P positions bit is intercepted from the original position corresponding to the pixel data;
Step S22, the P positions bit is divided into M bit sequence in order, and mended after each described bit sequence
The bit sequence that inactive bit becomes N positions is filled, the M bit sequence after supplement process is saved as into a pixel
Data.
On the basis of embodiment one, in order to carry out particular procedure to some special datas existing for view data, to enter
One step reduces the view data size after compression, and the embodiment of the present invention two additionally provides second of image data compression method, should
In method, for each pixel data, perform as shown in Figure 3:
Step S10, for the bit sequence corresponding to each sub-pixel data in the pixel data, judge the bit
Each bit in sequence whether value all same;If so, step S12a is then performed, if it is not, then performing S11;
Step S12a, a bit is extracted from each bit sequence and deletes other bits, rear steering step
S13;
Step S11, determine the maximum of T in the number of significant digit of bit sequence corresponding to each sub-pixel data, Zhi Houzhuan
To step S110;
Step S110, judge whether T values corresponding to the pixel data are 1, if so, then turning to step S12b;Otherwise, turn to
Step S12;
Step S12, delete in each bit sequence T+1 to N positions bit, rear steering step S13.
Step S12b, delete in each bit sequence the 3rd to N positions bit, rear steering step S13;
Step S13, number of bits information corresponding to the pixel data is generated, the number of bits information is used to represent the pixel
The digit of data redundancy bit.
In actual applications, for pure color, for example complete red pixel data, the bit sequence of its red subpixel data are
11111111, and the bit sequence of other sub-pixel datas is 00000000, so if still according to the side shown in Fig. 1
Method, then corresponding T values are 8, and bit value combinations are exactly 24, take more bit.And according to Fig. 3 of the present invention embodiment party
Formula a, it is only necessary to bit, the bit value group of composition three are respectively extracted from red subpixel data and other sub-pixel datas
Close 100.On the other hand, in order to see such pixel data with to be just according to step S11 and step S12 compressions 100 picture
Prime number is made a distinction according to (such as 100000000000000010000000), it is necessary to both special pixels using different
Compression Strategies, so that decompressing device can make a distinction to two kinds of pixel datas.Such mode compare with only with Fig. 1's
Mode, it is capable of the bit number of further reduction image data.It is pointed out that in actual applications, in order to above-mentioned this
Two kinds of pixel datas make a distinction, in actual applications, can also be by the way of distinguishing identifier, i.e., for sentencing in step S110
Break the pixel data for being yes, is also handled by the way of step S12, but uses what is obtained afterwards with step S12a processing
Digit identifies different digit marks.When so decompressing device is decompressed, both different digits can also be distinguished
Mark is correctly decompressed.
, can be with if T values corresponding to a pixel data are 0 it is pointed out that in the above embodiments one or two
Bit value corresponding to this pixel data is all deleted, now corresponding digit is identified for indicating the pixel data after compressing
Digit be 0.If T values corresponding to pixel data are 8, and are had in the bit sequence at least corresponding to a sub-pixel data,
The value of each bit is incomplete same, should not now delete any bit.
Accordingly, present invention also offers another decompression method, for being compressed using the compression method shown in Fig. 3
Obtained view data is decompressed, in this method, for each through Fig. 3 method compression processing after pixel data,
Perform as shown in Figure 4:
Step 21, the number of bits information according to corresponding to the pixel data, determines the bit shared by the pixel data
Number P, and P positions bit is intercepted from the original position corresponding to the pixel data;
Step S210, judges whether P is equal to M, if so, step S22a is then performed, if it is not, performing step S22.
Step S22, the P positions bit is divided into M bit sequence in order, and mended after each described bit sequence
The bit sequence that N-P/M positions inactive bit becomes N positions is filled, the M bit sequence after supplement process is saved as
One pixel data.
Step S22a, the value identical bit that N-1 and the bit are supplemented after each bit become N positions
Bit sequence, the M bit sequence after supplement process is saved as into a pixel data.
The compression method and decompression method provided with reference to Fig. 5 a and Fig. 5 b the embodiment of the present invention two is done into traveling
The explanation of one step, Fig. 5 a are the bit sequence figure using reference format (24bit) pixel data, and Fig. 5 b provide for the use present invention
Method be compressed after pixel data bit sequence figure.In fig 5 a, each pixel data (data1, data2,
Data3 24 bits) are respectively taken, R0-R7 value is that 1, G0-G7 and B0-B7 value is in 0, data2 in wherein data1
Number of significant digit corresponding to three primary colours RGBs is respectively 7,8, number of significant digit corresponding to three primary colours RGBs point in 6, data3
Not Wei 3,3,4, according to method provided by the invention, only data1 meets the contractive condition in step S12a, data2 and data3 symbols
Step S12 contractive condition is closed, then data1 is compressed according to step S12a, corresponding data2 and data3 are according to step
S12 is compressed.Afterwards, before first bit corresponding to each pixel data, digit mark corresponding to the pixel data is added
Know.In the preferred embodiment of the invention, represented using 00 and 3 are taken in the view data of corresponding pixel data upon compression
Bit, 11 correspond to 24bit, and 10 correspond to 18bit, and 01 corresponds to 12bit.Then after completing to compress, as shown in Figure 5 b, for
Data1, it is only necessary to using 3 bits 100, and add corresponding digit mark 00, you can performance;Accordingly, for data2, by
It is 8 in most significant digit number corresponding to its primary colours, then 24+2 bit performance is needed, for data3, due to corresponding to its primary colours
Most significant digit number is 4, then needs 12+2 bit performance, and after compression, three pixel datas take 45 bit altogether, relative to
Reduce 27 bit before compression.In decompression, when receiving bit sequence as shown in Figure 5 b, first is read first
2bit digit identifies 00 (S1 shown in figure), determines that first pixel data data1 takes 3 according to digit mark afterwards
Individual bit, now reception device intercepts 3 bits after first 2bit, and is supplemented and the bit after each bit
Value identical bit obtain the pixel data of reference format, i.e., after 1 supplement 71, after first 0 supplement 70,
Supplement 70, reverts to data1 as illustrated in fig. 5 a after second 0.And then secondary reading 2bit digit mark 11
(S2), determine that second pixel data data2 takes 24 bit, intercept 24 bit backward, 24bit forms the picture of standard in itself
Prime number evidence, 0 need not be now supplemented, revert to data2 as illustrated in fig. 5 a.2bit digit mark 01 is again read off afterwards
(S3), determine that the 3rd pixel data data3 takes 12 bit, intercept 12 bit backward, and respectively in first 4bit, the
It is each after two 4bit, the 3rd 4bit to supplement 40, the pixel data of reference format is formed, is reverted to as illustrated in fig. 5 a
Data3.
Present invention also offers a kind of transmission method of view data, including:
Before view data is sent, view data is carried out according to the image data compression method described in any of the above-described
Compression;
After the view data after compressing is received, solved according to the view data decompression method described in any of the above-described
Compression.
Conceived based on identical, present invention also offers a kind of image data compressing apparatus, as shown in fig. 6, including:Digit
Determining module 601, removing module 602, identification information generation module 603, when being compressed to each pixel data,
Digit determining module 601, for determining the maximum in the number of significant digit of bit sequence corresponding to M sub-pixel data
Value T;
Removing module 602, for when T is less than N, deleting in each bit sequence T+1 to N positions bit;
Identification information generation module 603, for generating number of bits information corresponding to the pixel data, number of bits letter
Cease the digit for representing the pixel data remaining bits
Further, it is used for for each pixel data, removing module 602,
In the bit sequence corresponding to each sub-pixel data, during the value all same of each bit, from each ratio
A bit is extracted in special sequence and deletes other bits.
Further, it is additionally operable to for each pixel data, removing module 602,
In having the bit sequence corresponding to an at least sub-pixel data, the value of each bit is incomplete same, and should
When T values corresponding to pixel data are 1, the 3rd is deleted in each bit sequence to N positions bit;
In having the bit sequence corresponding to an at least sub-pixel data, the value of each bit is incomplete same, and should
When T values corresponding to pixel data are not 1, T+1 is deleted in each bit sequence to n-th bit.
Further, digit determining module 601, it is additionally operable to judge the effective of bit sequence corresponding to M sub-pixel data
Whether actual maximum of T in digit is one kind in several number of significant digit, and when being judged as NO, will it is described several
It is more than the minimum value of the actual T values in number of significant digit as T values corresponding to the pixel data.
Conceived based on identical, present invention also offers a kind of view data decompressing device, as shown in fig. 7, comprises:Than
Special digit determining module 701, bit supplemental module 702, when the pixel data after to each compression decompresses,
Number of bits determining module 701, for the number of bits information according to corresponding to the pixel data, determine the pixel count
According to shared number of bits P, and P positions bit is intercepted from the original position corresponding to the pixel data;
Bit supplemental module 702, M bit sequence is divided into order for the P positions bit, and in each ratio
The bit sequence that inactive bit becomes N positions is supplemented after special sequence, the M bit sequence after supplement process is preserved
For a pixel data.
Further, it is used for for each pixel data, bit supplemental module 702
When P is equal to M, N-1 positions and the value identical bit of the bit are supplemented after each bit;
For when P is not equal to M, N-P/M positions inactive bit to be supplemented after each bit sequence.
Present invention also offers a kind of display device, including host machine part and driving display portion, the host machine part bag
The image data compressing apparatus described in any of the above-described is included, the driving display portion includes the picture number described in any of the above-described
According to compression set;
Described image data compression device is used for before the host machine part sends view data, to described image data
It is compressed;The view data that described image data decompression device is used for after the driving display portion receives compression
Afterwards, the view data after compression is decompressed.
Present invention also offers a kind of picture pick-up device, including host machine part to include pressing with part, the host machine part is shot with video-corder
According to the view data decompressing device described in any of the above-described, the part of shooting with video-corder is included according to the image described in any of the above-described
Data compression device;
Described image data compression device be used for it is described shoot with video-corder part send view data before, to described image data
It is compressed;Described image data decompression device is used for after the view data that the host machine part receives after compression, right
View data after compression is decompressed.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, without departing from the technical principles of the invention, some improvements and modifications can also be made, these improvements and modifications
Also it should be regarded as protection scope of the present invention.
Claims (15)
- A kind of 1. image data compression method, it is characterised in that described image data include at least one pixel data, each Pixel data includes M sub-pixel data, and each sub-pixel data includes the bit sequence being made up of N positions bit, this method Including:For each pixel data,Determine the maximum of T in the number of significant digit of bit sequence corresponding to M sub-pixel data;When T is less than N, T+1 is deleted in each bit sequence to N positions bit;Number of bits information corresponding to the pixel data is generated, the number of bits information is used to represent the pixel data remaining bits Digit;The number of significant digit refers to the digit where the bit that last in bit sequence is 1, that is to say last for 1 The total number of bit and its bit previous.
- 2. the method as described in claim 1, it is characterised in that for each pixel data,In the bit sequence corresponding to each sub-pixel data, during the value all same of each bit, M number of sub-pixels is determined According to the maximum of T in the number of significant digit of corresponding bit sequence, when T is less than N, T+1 to N in each bit sequence is deleted Position bit, is replaced with:A bit is extracted from each bit sequence and deletes other bits.
- 3. method as claimed in claim 2, it is characterised in that for each pixel data,In having the bit sequence corresponding to an at least sub-pixel data, the value of each bit is incomplete same, and the pixel It is described to delete in each bit sequence T+1 and replace with to N positions bit when T values corresponding to data are 1:Delete each bit The 3rd to N positions bit in sequence.
- 4. the method as described in claim 1-3 any of which items, it is characterised in that described to determine that M sub-pixel data is corresponding Bit sequence number of significant digit in maximum of T, including:Judge whether the actual maximum of T in the number of significant digit of bit sequence corresponding to M sub-pixel data is several rule One kind in fixed number of significant digit, and when being judged as NO, the actual T values will be more than in several described defined number of significant digit Minimum value as T values corresponding to the pixel data.
- A kind of 5. view data decompression method, it is characterised in that described image data be include it is at least one through overcompression at The pixel data of reason and corresponding number of bits information, the pixel data after each compressed processing include M sub-pixel data, Each sub-pixel data has equal number of bit, and this method includes:For the pixel data after each compressed processing,According to number of bits information corresponding to the pixel data, the number of bits P shared by the pixel data is determined, and from the picture Prime number plays interception P positions bit according to corresponding original position;The P positions bit is divided into M bit sequence in order, and supplement inactive bit after each described bit sequence to make It turns into the bit sequence of N positions, and the M bit sequence after supplement process is saved as into a pixel data.
- 6. method as claimed in claim 5, it is characterised in that for each pixel data,If P is equal to M, after each described bit sequence supplements inactive bit and become the bit sequences of N positions and replace with The value identical bit of supplement N-1 positions and the bit becomes the bit sequence of N positions after each described bit sequence.
- A kind of 7. transmission method of view data, it is characterised in that including:Before view data is sent, according to the image data compression method described in claim any one of 1-4 to view data It is compressed;After the view data after compressing is received, solved according to the view data decompression method as described in claim 5 or 6 Compression.
- 8. a kind of image data compressing apparatus, described image data include at least one pixel data, each pixel data bag M sub-pixel data is included, each sub-pixel data includes the bit sequence being made up of N positions bit, it is characterised in that including: Digit determining module, removing module and identification information generation module;For each pixel data,Digit determining module, for determining the maximum of T in the number of significant digit of bit sequence corresponding to M sub-pixel data;Removing module, for when T is less than N, deleting in each bit sequence T+1 to N positions bit;Identification information generation module, for generating number of bits information corresponding to the pixel data, the number of bits information is used for Represent the digit of the pixel data remaining bits;The number of significant digit refers to the digit where the bit that last in bit sequence is 1, that is to say last for 1 The total number of bit and its bit previous.
- 9. compression set as claimed in claim 8, it is characterised in that for each pixel data, the removing module is also For,In the bit sequence corresponding to each sub-pixel data, during the value all same of each bit, from each bit sequence A bit is extracted in row and deletes other bits.
- 10. compression set as claimed in claim 9, it is characterised in that for each pixel data, the removing module is also For,In having the bit sequence corresponding to an at least sub-pixel data, the value of each bit is incomplete same, and the pixel When T values corresponding to data are 1, the 3rd is deleted in each bit sequence to N positions bit;In having the bit sequence corresponding to an at least sub-pixel data, the value of each bit is incomplete same, and the pixel When T values corresponding to data are not 1, T+1 is deleted in each bit sequence to n-th bit.
- 11. the compression set as described in claim 8-10 any of which items, it is characterised in that the digit determining module, also For judging whether the actual maximum of T in the number of significant digit of bit sequence corresponding to M sub-pixel data is several rule One kind in fixed number of significant digit, and when being judged as NO, the actual T values will be more than in several described defined number of significant digit Minimum value as T values corresponding to the pixel data.
- A kind of 12. view data decompressing device, it is characterised in that described image data be include it is at least one through overcompression at The pixel data of reason and corresponding number of bits information, the pixel data after each compressed processing include M sub-pixel data, Each sub-pixel data has equal number of bit, and the device includes:Number of bits determining module and bit supplemental module are right Pixel data after the compressed processing described in each,Number of bits determining module, for the number of bits information according to corresponding to the pixel data, determine shared by the pixel data Number of bits P, and P positions bit is intercepted from the original position corresponding to the pixel data;Bit supplemental module, M bit sequence is divided into order for the P positions bit, and in each bit sequence Supplement inactive bit becomes the bit sequence of N positions afterwards, and the M bit sequence after supplement process is saved as into one Pixel data.
- 13. view data decompressing device as claimed in claim 12, it is characterised in that for each pixel data, institute Bit supplemental module is stated to be used forWhen P is equal to M, N-1 positions and the value identical bit of the bit are supplemented after each bit;For when P is not equal to M, N-P/M positions inactive bit to be supplemented after each bit sequence.
- 14. a kind of display device, it is characterised in that including host machine part and driving display portion, the host machine part is included such as Image data compressing apparatus described in claim any one of 8-11, the driving display portion include such as claim 12 or 13 Described view data decompressing device;Described image data compression device is used for before the host machine part sends view data, and described image data are carried out Compression;Described image data decompression device is used for after the driving display portion receives the view data after compression, right View data after compression is decompressed.
- 15. a kind of picture pick-up device, it is characterised in that including host machine part and shoot with video-corder part, the host machine part includes such as right It is required that the view data decompressing device described in 12 or 13, the part of shooting with video-corder is included as described in claim any one of 8-11 Image data compressing apparatus;Described image data compression device be used for it is described shoot with video-corder part send view data before, to described image data carry out Compression;Described image data decompression device is used for after the view data that the host machine part receives after compression, to compression View data afterwards 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 CN104394410A (en) | 2015-03-04 |
CN104394410B true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106373367B (en) * | 2016-10-27 | 2019-08-09 | 武汉奥泽电子有限公司 | A kind of low-power consumption automobile RKE remote controler and its method for reducing power consumption |
KR20180076182A (en) * | 2016-12-27 | 2018-07-05 | 주식회사 실리콘웍스 | Sensing circuit of source driver and display apparatus using thereof |
CN109495747B (en) * | 2018-12-28 | 2020-12-04 | 惠科股份有限公司 | Data transmission method and device |
CN113746484B (en) * | 2020-05-29 | 2023-10-24 | 上海三思电子工程有限公司 | Data compression and decompression method, device, equipment and medium |
CN117155404B (en) * | 2023-11-01 | 2024-02-09 | 青岛鼎信通讯股份有限公司 | Data processing method and device, electric energy meter and medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
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 |
-
2014
- 2014-11-21 CN CN201410676849.0A patent/CN104394410B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104394410A (en) | 2015-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104394410B (en) | Image data compression method, decompression method, transmission method and device | |
CN1669233B (en) | Video compression system | |
CN108461061B (en) | Display system and method for supplying data to display | |
RU2517398C2 (en) | Method, device and system for compression and recovery of compressed picture | |
CN109831668B (en) | Data compression method and device, data coding/decoding method and device | |
CN112565772B (en) | Picture compression and decompression method based on electronic price tags | |
EP1892630A1 (en) | A method for remote displaying and processing based on server/client architecture | |
CN102821279A (en) | Picture compression method keeping with alpha channel | |
CN107886560A (en) | The processing method and processing device of animation resource | |
US20200267363A1 (en) | Data processing method, data sending end, data receiving end, and communication system | |
CN107665128A (en) | Image processing method, system, server and readable storage medium storing program for executing | |
CN106256113A (en) | Compression video transmission on multimedia links | |
CN116016693A (en) | Compression processing method and system for printing data of portable printer | |
CN105163122B (en) | A kind of compression of images and decompression method based on image block similarity | |
CN108521535A (en) | A kind of Information hiding transmission method based on image blend processing | |
EP1587299A2 (en) | Compressing and decompressing image of a mobile communication terminal | |
CN110619667B (en) | PNG picture compression method and system | |
CN105704215B (en) | Shared file system and corresponding document sending method and device | |
CN116405692A (en) | Transmission method based on cloud matting and related equipment | |
US8897558B2 (en) | Method of compressing a block-based binary image | |
CN103034972B (en) | The method that realizes of image processing platform and image processing platform | |
CN105321450A (en) | Display device and display control method | |
CN110855990B (en) | Image encoding method, image decoding method, computer device, and image processing system | |
CN114022343A (en) | Resource loading method, terminal and storage medium | |
US10809869B2 (en) | Layered image compression |
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 |