CN108184082A - Image data transmission system and method - Google Patents
Image data transmission system and method Download PDFInfo
- Publication number
- CN108184082A CN108184082A CN201810059651.6A CN201810059651A CN108184082A CN 108184082 A CN108184082 A CN 108184082A CN 201810059651 A CN201810059651 A CN 201810059651A CN 108184082 A CN108184082 A CN 108184082A
- Authority
- CN
- China
- Prior art keywords
- unit
- compression
- value
- index value
- compression unit
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
Abstract
The present invention provides a kind of image data transmission system and method, image includes multiple images unit, and each described image unit corresponds to one or more graphical elements, and each graphical element corresponds to first index value;The scanning means is scanned described image unit, and the elementary area with identical graphical element is counted, and forms the first count value, makes to have the elementary area of identical graphical element to form a scanning element;The sorting device each corresponding first index value of scanning element and first count value will be stored in the compression set, form multiple compression units;The scanning means is scanned the compression unit, identical compression unit is counted, form the second count value, when the second count value of the compression unit is more than first threshold, the compression unit is made to correspond to second index value, the compression unit is substituted with second index value;The compression unit is sent to the reception device.
Description
Technical field
The present invention relates to image data processing technology field, more particularly to a kind of image data transmission system and method.
Background technology
Required amount of bandwidth when different screen resolutions is with different screen updates speed rates.Assuming that transmission one
Resolution ratio is the whole screen data of screen of 800*480, and each pixel occupies 4 bytes, then it is about 1.5M to need the data volume transmitted
The data of byte.Assuming that the refresh rate of screen is 10 frames/second, i.e., the whole screen data of 10 frames are transmitted in one second, then need what is transmitted
Data volume is 15M bytes, it is seen then that such data volume is very huge.In practical applications, due to screen resolution on the market
Rate is seldom less than the mobile equipment of 640*360, and if screen refresh frequency is less than 10 frames, the picture of screen shows meeting
There is apparent Caton phenomenon.Therefore, if to meet the requirement to resolution ratio and brush screen frequency simultaneously, and pixel size is 4 words
Section, just necessarily requires network actual bandwidth more than 15M bytes.If screen resolution higher, brush screen frequency faster, then requires
Bandwidth then bigger.Therefore, how to reduce the data volume of transmission just becomes an important research topic.
Invention content
The purpose of the present invention is to provide a kind of image data transmission system and method, during solving existing image transmitting
Data volume is big, and bandwidth resources occupy the problem of more.
In order to solve the above technical problems, the present invention provides a kind of image data transmission system, described image data transmission system
System includes scanning means, sorting device, compression set and reception device, wherein:
Image includes multiple images unit, and each described image unit corresponds to one or more graphical elements, each described
Graphical element corresponds to first index value;
The scanning means is scanned described image unit, will be carried out with the elementary area of identical graphical element
It counts, forms the first count value, make to have the elementary area of identical graphical element to form a scanning element;
The sorting device will each corresponding first index value of scanning element and first count value deposit institute
Compression set is stated, forms multiple compression units;
The scanning means is scanned the compression unit, and identical compression unit is counted, and forms second
Count value when the second count value of the compression unit is more than first threshold, makes the compression unit correspond to second rope
Draw value, the compression unit is substituted with second index value;
The compression unit is sent to the reception device.
Optionally, in the image data transmission system, the graphical element includes red pixel value, green pixel
Value, blue pixel value, luminance signal, the first carrier chrominance signal, the second carrier chrominance signal and transparency.
Optionally, in the image data transmission system, the compression set is also stored in data cell and element list
Member, wherein:
The data cell stores the corresponding compression unit of second index value;
The element unit stores the corresponding graphical element of first index value;
The data cell and the element unit are sent to the reception device.
Optionally, in the image data transmission system, the compression unit includes flag and compressed content,
In:
When the flag is first flag position, the compressed content is the second index value;
When the flag is second identifier position, the compressed content is the first index value and the first count value.
Optionally, in the image data transmission system, the value of the second identifier position determines that described first counts
The value range of value.
Optionally, in the image data transmission system, the reception device includes decoding unit, decoding storage list
Member, compression storage unit, control unit and element storage unit, wherein:
After the reception device receives the compression unit, the compression storage unit stores the compression unit;
After the reception device receives the data cell, the decoding unit is to the data cell carry out sequence solution
Code, and decoding result is stored in the program storage unit or output;
After the reception device receives the element unit, the element storage unit stores the element unit;
Described control unit identifies the flag, and carries out compression solution to the compression unit according to the flag
Code.
Optionally, in the image data transmission system, described control unit includes data directory module and element
Index module, wherein:
When it is first flag position that described control unit, which identifies the flag, the data directory module is according to the pressure
The second index value in contracting content, tables look-up to the program storage unit, to restore the corresponding pressure of second index value
Contracting unit;
When it is second identifier position that described control unit, which identifies the flag, the element index module is according to the pressure
The first index value in contracting content tables look-up to the element storage unit, to restore the corresponding figure of first index value
Shape element.
Optionally, in the image data transmission system, the decoding unit is to data cell progress sequence
Decoding includes:Compression unit in the data cell is stored in order in the byte units with regular length.
The present invention also provides a kind of image data transfer method, including:
Scanning means is scanned elementary area, the elementary area with identical graphical element is counted, shape
Into the first count value, make to have the elementary area of identical graphical element to form a scanning element;
Sorting device will each corresponding first index value of scanning element and first count value deposit compression dress
It puts, forms multiple compression units;
The scanning means is scanned the compression unit, and identical compression unit is counted, and forms second
Count value when the second count value of the compression unit is more than first threshold, makes the compression unit correspond to second rope
Draw value, the compression unit is substituted with second index value;
The compression unit is sent to reception device.
Optionally, in the image data transfer method, the scanning means is scanned an elementary area
Including:Read the graphical element of elementary area, judge whether it is identical with the graphical element of previous elementary area, the if identical
One count value adds 1, and scanning element is generated, and judge whether the end of scan if different, and scanning element is returned if terminating
It receives, next elementary area is scanned if not terminating.
In image data transmission system provided by the invention and method, pass through the image list with identical graphical element
Member one scanning element of composition, completes the run length encoding compression algorithm coding of first time, and repeated data gets over multiple pressure contracting effect
Fruit is more apparent, and will not occupy a large amount of CPU operation times, while the pixel value repeated in screen pixel data accounts for very big portion
Point, larger compression ratio can be reached in this way, in addition, being counted to identical compression unit, replaced with second index value
For the compression unit, secondary run length encoding compression algorithm coding is completed, data are further compressed, more into one
Step improves compression ratio.
Description of the drawings
Fig. 1~8 are one embodiment of the invention image data transmission system schematic diagrames;
Fig. 9~10 are another embodiment of the present invention image data transfer method schematic diagrames;
Shown in figure:10- scanning means;20- sorting devices;30- compression sets;31- compression units;311- flags;
312- compressed contents;32- data cells;33- element units;40- reception devices;41- decoding units;42- program storage units;
43- compresses storage unit;44- control units;441- data directory modules;442- element index modules;The storage of 45- elements is single
Member.
Specific embodiment
Image data transmission system proposed by the present invention and method are made below in conjunction with the drawings and specific embodiments further
It is described in detail.According to following explanation and claims, advantages and features of the invention will become apparent from.It should be noted that attached drawing
Using very simplified form and using non-accurate ratio, only implement conveniently, lucidly to aid in illustrating the present invention
The purpose of example.
The core concept of the present invention is to provide a kind of image data transmission system and method, be passed with solving existing image
Data volume is big when defeated, and bandwidth resources occupy the problem of more.
To realize above-mentioned thought, the present invention provides a kind of image data transmission system and method, described image data pass
Defeated system includes scanning means, sorting device, compression set and reception device, wherein:Image includes multiple images unit, each
Described image unit corresponds to one or more graphical elements, and each graphical element corresponds to first index value;It is described to sweep
Imaging apparatus is scanned described image unit, and the elementary area with identical graphical element is counted, and forms first
Count value makes to have the elementary area of identical graphical element to form a scanning element;The sorting device will be each described
Corresponding first index value of scanning element and first count value are stored in the compression set, form multiple compression units;Institute
It states scanning means to be scanned the compression unit, identical compression unit is counted, form the second count value, work as institute
When stating the second count value of compression unit more than first threshold, the compression unit is made to correspond to second index value, with described
Second index value substitutes the compression unit;The compression unit is sent to the reception device.
<Embodiment one>
The present embodiment provides a kind of image data transmission system, as shown in Figure 1, described image data transmission system includes sweeping
Imaging apparatus 10, sorting device 20, compression set 30 and reception device 40, wherein:Image includes multiple images unit, each described
Elementary area corresponds to one or more graphical elements, and each graphical element corresponds to first index value;The scanning dress
It puts 10 pairs of described image units to be scanned, the elementary area with identical graphical element is counted, form the first meter
Numerical value makes to have the elementary area of identical graphical element to form a scanning element;The sorting device 20 will be each described
Corresponding first index value of scanning element and first count value are stored in the compression set 30, form multiple compression units
31;The scanning means 10 is scanned the compression unit 31, and identical compression unit 31 is counted, and forms second
Count value when the second count value of the compression unit 31 is more than first threshold, makes the compression unit 31 correspond to one the
Two index values substitute the compression unit 31 with second index value;The compression unit 31 is sent to described receive to fill
Put 40.
A kind of method for reducing data volume or being further reduced data volume used in the prior art is by screen number
It is transmitted again according to after compression, is decompressed and described again after reaching opposite end.But for embedded device, operational capability is all opposite
It is weaker;On the other hand, certain compression algorithms, although compression ratio is very big, compaction algorithms complexity is higher, needs to occupy a large amount of
The operation time of CPU so that screen refresh frequency reduces instead, therefore may not apply to the scene.Therefore, it is necessary to select a kind of fortune
Calculate complexity and all moderate algorithm of compression ratio.
In image data transmission system provided in this embodiment, pass through the elementary area group with identical graphical element
Into a scanning element, the run length encoding compression algorithm coding of first time is completed, the more compression effectiveness of repeated data are more
Significantly, and a large amount of CPU operation times will not be occupied, while the pixel value repeated in screen pixel data accounts for significant portion,
Larger compression ratio can be reached in this way, in addition, being counted to identical compression unit 31, substituted with second index value
The compression unit 31 completes secondary run length encoding compression algorithm coding, data is further compressed, more into one
Step improves compression ratio.RLE (run-lengthencoding, run length encoding) compression algorithm coding and decoding all compares
Simply, which is converted to binary representation method by original unitary data, i.e., from<element>It arrives<Number, element
>, wherein, element represents data element, and number represents the number that the data element repeats.For example, there is a column data
AAABBBBCCCC, it is assumed that each data occupy a byte, then use RLE that total memory space is needed to be adopted for 11 bytes before encoding
It is adjacent repeated data member only storage number of repetition and a data element with RLE codings, reduces memory length, this column data
Just become 3A4B4C after RLE is encoded, it is only necessary to which 6 bytes of storage space have achieved the purpose that compression.As it can be seen that RLE is pressed
For contracting method, repeated data is more, and compression effectiveness is more apparent, and will not occupy a large amount of CPU operation times, while screen
The pixel value repeated in pixel data accounts for significant portion, can reach larger compression ratio in this way.
The coding mode of RLE is introduced, easy to operate and decoding is easy so that the OSD (letters of on-screen display
Claiming, i.e. screen menu type regulative mode) picture is able to be easier to be compressed.But only same pixel value is compressed with
And too simple coding method so that compression efficiency is difficult to meet some to osd data storage and carries what is had higher requirements
Occasion (such as when OSD will switch more complicated picture in real time, is difficult to carry compression ratio in time not high enough from large scale memory
Those pictures).It is larger for the figure or OSD image data amounts that needs to transmit or store, especially needing a large amount of real-times
When transmitting figure or OSD image datas, it has been compressed into and has solved the problems, such as this necessary means.Increase for neither extensive
Decoding hardware resource consumption can effectively improve considering for compression efficiency again, and the present invention provides one kind not to increase hardware significantly
Under the premise of implementation complexity, the compression method and device of graph data especially osd data are preferably compressed.According to graph data
And the characteristics of osd data, the present invention have done detailed regulation for the form of osd data compression unit.In combination with RLE and
(LZW compressions (LZW compression) are a kind of by Abraham Lempel, Jacob Ziv and TerryWelch invention to LZW
Lossless compression method of the algorithm compressing file into small documents is searched based on table) compression method the advantages of, it is proposed that the present invention
The compression method of involved graph data and osd data:RLE Run- Length Codings are used to identical graph data:With inventing before
Similar, the present invention uses RLE Run- Length Codings on the basis of specific factor (pixel index).On the basis of RLE Run- Length Codings, such as
Shown in Fig. 2, data cell 32 (dictionary) and the concept of element unit 33 (palette) are introduced:By the figure picture of appearance
Prime information is deposited in palette successively, and compressed data part 31 occurs only in the form of pixel index (the first index value),
By taking 6 pixel index replace 24 RGB datas as an example, the introducing of this mode can bring good compression effectiveness;In addition, will be compared with
The graphics data compression unit that the big frequency occurs, collects together in dictionary, compressed data part only identifies its index.
The introducing of dictionary is particularly effective the graphics data compression of rule.Specific data compression unit form:With reference to usual
The size of graph image and OSD images is with regular situation and in view of decoded reasonability, and invention defines suitable numbers
According to compression unit form, and further ensure with this compression and the operational efficiency of osd data.
Further, in the image data transmission system, the graphical element includes red pixel value, green picture
Element value, blue pixel value and transparency.The color value of pixel, i.e. RGB or YCbCr etc. are generally comprised for graph data.
And osd data generally further comprises transparency, luminance signal, the first carrier chrominance signal, the second carrier chrominance signal then in addition to color value
(i.e. YUV signal).If being transmitted in real-time or storing the occasion of limitation, these data are just compressed, and just having can
It can meet at present compared with the actual needs of complicated applications.And for general figures data and osd data are compared with video data, have less
Data variation and data it is more regular.This feature causes graph data or osd data to be more suitable for compiling using the RLE distances of swimming
Code.In addition to RLE Run- Length Codings, because the bit wide of color value is larger, we are also contemplated for putting it into palette, the data of compression
Inside only store its index, when decoding inquires it using index.
As shown in figures 2-3, in the image data transmission system, the compression set 30 is also stored in data cell
32 and element unit 33, wherein:The data cell 32 stores the corresponding compression unit 31 of second index value;The element
Unit 33 stores the corresponding graphical element (i.e. a variety of colors) of first index value;By the data cell 32 and the element
Unit 33 is sent to the reception device 40.
As shown in figure 3, the compression unit 31 includes flag 311 (oblique line portion) and (the vertical line filling of compressed content 312
Partly, horizontal line fill part and blank parts), wherein:As shown in 31 (a) in Fig. 3, when the flag 311 is first flag
During position (BL=00 i.e.), the compressed content 312 is the second index value (vertical line fill part);Flag BL is 00, rear six
Position is Code, the i.e. index value of dictionary, its corresponding compression unit can be exported by the index.Compression after export
Unit can be decompressed according to Ordinary Compression unit decoding process.As shown in 31 (b), 31 (c) and 31 (d) in Fig. 3, when described
When flag 311 (oblique line portion) is second identifier position (BL=01,10 or 11 i.e.), the compressed content 312 is the first rope
Draw value (horizontal line fill part) and the first count value (blank parts);The value of the second identifier position 311 determines first meter
The value range of numerical value, as shown in Figure 3:Color value indexes and transparency respectively occupies 6 bit spaces, i.e. 64 kinds of color values and transparency
For 64 OSD figures, RL maximums can occupy 18, it is meant that and the maximum of identical graphical element PA repeats 262144 times, for
For the graphic pictures of one 1920x1080 resolution ratio, optimally only this graphic pictures can be completed in 7 compression units
Compression.
Specifically, as shown in 31 (b) in Fig. 3, as BL=01, expressions data type is Ordinary Compression unit, and length
For two bytes, 14 valid data, respectively graphical element PA and run length RL are shared after identifying BL, for OSD figures
For, graphical element PA generally includes color value and transparency.User can freely define the length of PA and RL, but in view of real
With property, the length of PA is limited within 12 by we, remainder RL.I.e. the maximum length of graphical element PA is 12,
RL at least occupies 2.As shown in 31 (c) in Fig. 3, as BL=10, expression data type is Ordinary Compression unit, and length is
Three bytes share 22 valid data, respectively graphical element PA and run length RL after identifying BL, and OSD figures are come
It says, graphical element PA generally includes color value and transparency.User can freely define the length of PA and RL, but in view of practicality
Property, the length of PA is limited within 12 by we, remainder RL.I.e. the maximum length of graphical element PA is 12, RL
At least occupy 10.As shown in 31 (d) in Fig. 3, as BL=11, expression data type is Ordinary Compression unit, and length is
Four bytes share 30 valid data, respectively graphical element PA and run length RL after identifying BL, and OSD figures are come
It says, graphical element PA generally includes color value and transparency.User can freely define the length of PA and RL, but in view of practicality
Property, the length of PA is limited within 12 by we, remainder RL.I.e. the maximum length of graphical element PA is 12, RL
At least occupy 18.
In addition, as shown in figure 4, in the image data transmission system, the reception device 40 includes decoding unit
41st, program storage unit 42, compression storage unit 43, control unit 44 and element storage unit 45, wherein:The reception device
After 40 receive the compression unit 31, the compression storage unit 43 stores the compression unit 31;The reception device 40
After the data cell 32 is received, the decoding unit 41 is tied to the 32 carry out sequence decoding of data cell, and by decoding
Fruit is stored in the program storage unit 42 or output;After the reception device 40 receives the element unit 33, the element
Storage unit 45 stores the element unit 33;Described control unit 44 identifies the flag 311, and according to the flag
311 pairs of compression units 31 carry out compression coding.
Further, in the image data transmission system, described control unit 44 includes data directory module 441
With element index module 442, wherein:When it is first flag position that described control unit 44, which identifies the flag 311, the number
According to second index value of the index module 441 in the compressed content 312, table look-up to the program storage unit 42,
To restore the corresponding compression unit 31 of second index value;When described control unit 44 identifies that the flag 311 is second
During flag, first index value of the element index module 442 in the compressed content 312 stores the element
Unit 45 is tabled look-up, to restore the corresponding graphical element of first index value.The decoding unit 41 is to the data sheet
First 32 progress sequence decoding includes:Compression unit 31 in the data cell 32 is stored in order and the byte of regular length
In unit.
Data volume is stored and transmitted in order to save, the compression unit in dictionary usually sequentially discharges, and without centre
Interval.Since compression unit is random length byte units, so after receiving data, we are firstly the need of sequentially solving each compression
Unit, and deposited in regular length storage unit, and store in order, control unit 44 to be facilitated to use respective index
Code tables look-up.Program storage unit:The compression unit that decoded unit 41 solves deposits in this, as shown in figure 5, decoding process
In, control unit 44 is through taking out required compression unit herein.Maximum address space of its maximum space for Code, i.e. (2^6) x5
=320 byte units.
As shown in fig. 6, the Palette data after receiving sequentially deposit in element storage unit 45, and in decoding process, control
Unit 44 taken out at element storage unit 45 needed for pixel color value (RGB/YCbCr values).Control unit 44 mainly includes
The state of a control machine of decoder is responsible for decoded detailed process.As shown in fig. 7, by control each state redirect completion pair
The control of decoding process.Wherein, DEC_0 is responsible for the processing of the 0th byte, if being identified as 00, jumps to data directory module
441 carry out the processing of Code, otherwise enter element index module 442, normally decode the 1st byte, and so on, until one
A compression unit terminates, and returns DEC_0 and decodes next compression unit.After the completion of each compression unit decoding, can it obtain
The graphical element (color value and transparency etc.) of specific pixel.The index and Palette of color value Palette out of compression unit
Corresponding position storage is worth.And transparence value is finally then used in the transparent effect of pixel, as shown in Figure 8.
In image data transmission system provided by the invention and method, pass through the image list with identical graphical element
Member one scanning element of composition, completes the run length encoding compression algorithm coding of first time, and repeated data gets over multiple pressure contracting effect
Fruit is more apparent, and will not occupy a large amount of CPU operation times, while the pixel value repeated in screen pixel data accounts for very big portion
Point, larger compression ratio can be reached in this way, in addition, being counted to identical compression unit 31, with second index value
The compression unit 31 is substituted, secondary run length encoding compression algorithm coding is completed, data is further compressed, more
Further improve compression ratio.
With reference to OSD work characteristics itself, in data compression unit form as shown in Figure 3, starting two bits are defined as
Flag BL, when being 00, latter 6 of this byte are defined as the Code i.e. index value of dictionary, pass through the index
Export its corresponding compression unit.When being 01,10 or 11, it is defined as compression unit:Including graphical element PA, (user can be certainly
This data is defined, is suggested herein as the index value of Palette and transparency alpha value) and RL (RunLength) run length.
Digit occupied by graphical element PA and run length RL can be by User Defined.Relatively regular graph data or osd data are using
The compressed data compression unit of RLE Run- Length Codings often has higher repetitive rate.Using this feature, we can draw again
Enter dictionary, the higher data compression unit of the frequency will be repeated and be stored in dictionary, its rope is only stored in compressed data
Draw, during decoding, first using index export compressed data unit, then be decoded.Compressed data according to the present invention includes
Three parts as shown below:The Palette of color value is stored, stores the dictionary of high frequency time compression unit and compression number
According to.
To sum up, the various configuration of image data transmission system is described in detail in above-described embodiment, certainly, the present invention
Cited configuration in including but not limited to above-mentioned implementation, it is any to be converted on the basis of the configuration of above-described embodiment offer
Content, belong to the range protected of the present invention.It is anti-that those skilled in the art can lift one according to the content of above-described embodiment
Three.
<Embodiment two>
The present invention also provides a kind of image data transfer method, as shown in figure 9, including:Scanning means 10 is to elementary area
It is scanned, the elementary area with identical graphical element is counted, form the first count value, including:Read image
The graphical element of unit, judges whether identical with the graphical element of previous elementary area, and first count value adds 1 if identical,
Scanning element is generated, and judge whether the end of scan if different, scanning element is concluded if terminating, if not terminating
Next elementary area is scanned, makes to have the elementary area of identical graphical element to form a scanning element;Sorting device 20
Each corresponding first index value of scanning element and first count value compression set 30 will be stored in, and form multiple compressions
Unit 31;The scanning means 10 is scanned the compression unit 31, and identical compression unit 31 is counted, and is formed
Second count value when the second count value of the compression unit 31 is more than first threshold, makes the compression unit 31 correspond to one
A second index value substitutes the compression unit 31 with second index value;The compression unit 31 is sent to reception dress
Put 40.
As shown in Figure 10, graphic pictures data have been compressed into the pressure of the present invention being made of compression unit one by one
Contracting data illustrate to detailed process shown in Fig. 9:
Raster scannings are carried out to graphic pictures or OSD pictures first, to continuously repeating the graphical element of appearance, by its rope
The number for drawing value appearance is counted, when scanning to next different graphic element, by a upper graphical element and count value one
Storage is played into a scanning element, aforesaid operations are repeated, until the end of scan.
Secondly, number is stored according to Palette maximums, above-mentioned scanning element is subjected to graphical element conclusion, and will be after conclusion
The count value of adjacent pattern element adds up, and graphical element after conclusion is stored in Palette, and distribute its index value.Finally,
Graphical element in the scanning element after concluding is replaced using index value and adds mark BL.
Finally, it scans the compression unit completed by above-mentioned steps to combine, identical compression unit is counted, according to
Dictinoary maximums store number, and less frequency of occurrence compression unit data are abandoned storing.After the end of scan, will finally it go out
The higher compression unit data of the existing frequency, are stored in dictionary, and distribute an index value Code, are replaced using Code corresponding
Compression unit, while it is 00 to update compression unit mark BL.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other
The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For system disclosed in embodiment
For, due to corresponding to the methods disclosed in the examples, so description is fairly simple, related part is referring to method part illustration
.
Foregoing description is only the description to present pre-ferred embodiments, not to any restriction of the scope of the invention, this hair
Any change, the modification that the those of ordinary skill in bright field does according to the disclosure above content, belong to the protection of claims
Range.
Claims (10)
1. a kind of image data transmission system, which is characterized in that described image data transmission system includes scanning means, concludes dress
It puts, compression set and reception device, wherein:
Image includes multiple images unit, and each described image unit corresponds to one or more graphical elements, each figure
Element corresponds to first index value;
The scanning means is scanned described image unit, and the elementary area with identical graphical element is counted
Number forms the first count value, makes to have the elementary area of identical graphical element to form a scanning element;
The sorting device will each corresponding first index value of scanning element and first count value deposit pressure
Compression apparatus forms multiple compression units;
The scanning means is scanned the compression unit, and identical compression unit is counted, and forms second and counts
Value when the second count value of the compression unit is more than first threshold, makes the compression unit correspond to second index value,
The compression unit is substituted with second index value;
The compression unit is sent to the reception device.
2. image data transmission system as described in claim 1, which is characterized in that the graphical element includes red pixel
Value, green pixel values, blue pixel value, luminance signal, the first carrier chrominance signal, the second carrier chrominance signal and transparency.
3. image data transmission system as described in claim 1, which is characterized in that the compression set is also stored in data cell
With element unit, wherein:
The data cell stores the corresponding compression unit of second index value;
The element unit stores the corresponding graphical element of first index value;
The data cell and the element unit are sent to the reception device.
4. image data transmission system as claimed in claim 3, which is characterized in that the compression unit includes flag and pressure
Contracting content, wherein:
When the flag is first flag position, the compressed content is the second index value;
When the flag is second identifier position, the compressed content is the first index value and the first count value.
5. image data transmission system as claimed in claim 4, which is characterized in that described in the value of the second identifier position determines
The value range of first count value.
6. image data transmission system as claimed in claim 4, which is characterized in that the reception device include decoding unit,
Program storage unit, compression storage unit, control unit and element storage unit, wherein:
After the reception device receives the compression unit, the compression storage unit stores the compression unit;
After the reception device receives the data cell, the decoding unit to the data cell carry out sequence decoding,
And decoding result is stored in the program storage unit or output;
After the reception device receives the element unit, the element storage unit stores the element unit;
Described control unit identifies the flag, and carries out compression coding to the compression unit according to the flag.
7. image data transmission system as claimed in claim 6, which is characterized in that described control unit includes data directory mould
Block and element index module, wherein:
When it is first flag position that described control unit, which identifies the flag, the data directory module is according in the compression
The second index value in appearance, tables look-up to the program storage unit, single to restore the corresponding compression of second index value
Member;
When it is second identifier position that described control unit, which identifies the flag, the element index module is according in the compression
The first index value in appearance tables look-up to the element storage unit, will to restore the corresponding figure of first index value
Element.
8. image data transmission system as claimed in claim 6, which is characterized in that the decoding unit is to the data cell
Progress sequence decoding includes:Compression unit in the data cell is stored in order in the byte units with regular length.
9. a kind of image data transfer method, which is characterized in that including:
Scanning means is scanned elementary area, and the elementary area with identical graphical element is counted, and forms the
One count value makes to have the elementary area of identical graphical element to form a scanning element;
Sorting device each corresponding first index value of scanning element and first count value will be stored in compression set, shape
Into multiple compression units;
The scanning means is scanned the compression unit, and identical compression unit is counted, and forms second and counts
Value when the second count value of the compression unit is more than first threshold, makes the compression unit correspond to second index value,
The compression unit is substituted with second index value;
The compression unit is sent to reception device.
10. image data transfer method as claimed in claim 9, which is characterized in that the scanning means is to an image list
Member be scanned including:Read elementary area graphical element, judge whether it is identical with the graphical element of previous elementary area,
First count value adds 1 if identical, if different generate scanning element, and judge whether the end of scan, to scanning if terminating
Unit is concluded, and next elementary area is scanned if not terminating.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810059651.6A CN108184082A (en) | 2018-01-22 | 2018-01-22 | Image data transmission system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810059651.6A CN108184082A (en) | 2018-01-22 | 2018-01-22 | Image data transmission system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108184082A true CN108184082A (en) | 2018-06-19 |
Family
ID=62551120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810059651.6A Pending CN108184082A (en) | 2018-01-22 | 2018-01-22 | Image data transmission system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108184082A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108777800A (en) * | 2018-06-25 | 2018-11-09 | 广州科政数码科技有限公司 | The compression of electronic shelf label image data, decompression, processing method and system |
CN112382234A (en) * | 2020-11-26 | 2021-02-19 | 昆山国显光电有限公司 | Data calling method of display module and display module |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5689255A (en) * | 1995-08-22 | 1997-11-18 | Hewlett-Packard Company | Method and apparatus for compressing and decompressing image data |
CN102075752A (en) * | 2011-01-11 | 2011-05-25 | 北京北纬点易信息技术有限公司 | Image coding method, image decoding method and device for embedded system |
CN105262491A (en) * | 2015-10-13 | 2016-01-20 | 深圳市有方科技股份有限公司 | Data compression method, data compression system, data decompression method, data decompression system and communication equipment |
CN105809720A (en) * | 2015-01-20 | 2016-07-27 | 台湾积体电路制造股份有限公司 | System and method for maskless direct write lithography |
CN106407285A (en) * | 2016-08-26 | 2017-02-15 | 西安空间无线电技术研究所 | RLE and LZW-based optimized bit file compression and decompression method |
CN107211143A (en) * | 2015-01-15 | 2017-09-26 | 株式会社Kt | Method and apparatus for handling vision signal |
-
2018
- 2018-01-22 CN CN201810059651.6A patent/CN108184082A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5689255A (en) * | 1995-08-22 | 1997-11-18 | Hewlett-Packard Company | Method and apparatus for compressing and decompressing image data |
CN102075752A (en) * | 2011-01-11 | 2011-05-25 | 北京北纬点易信息技术有限公司 | Image coding method, image decoding method and device for embedded system |
CN107211143A (en) * | 2015-01-15 | 2017-09-26 | 株式会社Kt | Method and apparatus for handling vision signal |
CN105809720A (en) * | 2015-01-20 | 2016-07-27 | 台湾积体电路制造股份有限公司 | System and method for maskless direct write lithography |
CN105262491A (en) * | 2015-10-13 | 2016-01-20 | 深圳市有方科技股份有限公司 | Data compression method, data compression system, data decompression method, data decompression system and communication equipment |
CN106407285A (en) * | 2016-08-26 | 2017-02-15 | 西安空间无线电技术研究所 | RLE and LZW-based optimized bit file compression and decompression method |
Non-Patent Citations (2)
Title |
---|
林渊博等: "《Fireworks 4 网页图像设计专家指导》", 30 October 2001 * |
芦彩林等: "《大学计算机基础》", 30 September 2015 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108777800A (en) * | 2018-06-25 | 2018-11-09 | 广州科政数码科技有限公司 | The compression of electronic shelf label image data, decompression, processing method and system |
CN112382234A (en) * | 2020-11-26 | 2021-02-19 | 昆山国显光电有限公司 | Data calling method of display module and display module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11785215B2 (en) | Encoding method, decoding method, encoding/decoding system, encoder, and decoder | |
KR950009458B1 (en) | Video telecommunication system and method for compressing and decompressing digital color video data | |
CN102244784B (en) | Method for compressing and displaying picture including transparent information | |
WO2013099076A1 (en) | Moving image compressing apparatus, image processing apparatus, moving image compressing method, image processing method, and data structure of moving image compressed file | |
CN106899861A (en) | A kind of photograph document handling method and its equipment, system | |
CN105933708B (en) | A kind of method and apparatus of data compression and decompression | |
KR101946598B1 (en) | Image coding and decoding method and device | |
CN106937113A (en) | Method for compressing image and device based on mixing colourity sample rate | |
CN104581177A (en) | Image compression method and device combining block matching with string matching | |
CN109831668A (en) | Data compression method and apparatus, data encoding/decoding method and device | |
CN103124350A (en) | Image compression method and device based on run-length encoding (RLE) | |
US10110896B2 (en) | Adaptive motion JPEG encoding method and system | |
CN108184082A (en) | Image data transmission system and method | |
US20050196056A1 (en) | Image coding and decoding method | |
JP3462867B2 (en) | Image compression method and apparatus, image compression program, and image processing apparatus | |
CN105282550A (en) | Encoding method and decoding method, encoding and decoding system, encoder and decoder | |
CN106921869A (en) | A kind of photograph document handling method and its equipment | |
CN110619667B (en) | PNG picture compression method and system | |
CN105992003A (en) | Method and device for image compression of palette color number based on order or frequency | |
JP2846809B2 (en) | Raster format conversion circuit for high-definition television | |
CN112118449B (en) | Method and device for compressing and decompressing image | |
CN116668710A (en) | Color image transmission method, system, device and storage medium | |
CN110572664A (en) | Novel BMP image compression method and system | |
CN110087085A (en) | Image processing apparatus | |
KR20030029611A (en) | Method for reducing code artifacts in block coded video signals |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180619 |
|
RJ01 | Rejection of invention patent application after publication |