CN1564122A - Image display utilizing compression tech and its displaying method - Google Patents
Image display utilizing compression tech and its displaying method Download PDFInfo
- Publication number
- CN1564122A CN1564122A CN 200410030828 CN200410030828A CN1564122A CN 1564122 A CN1564122 A CN 1564122A CN 200410030828 CN200410030828 CN 200410030828 CN 200410030828 A CN200410030828 A CN 200410030828A CN 1564122 A CN1564122 A CN 1564122A
- Authority
- CN
- China
- Prior art keywords
- data
- screen data
- compression
- screen
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000007906 compression Methods 0.000 title claims description 47
- 230000006835 compression Effects 0.000 title claims description 46
- 239000000203 mixture Substances 0.000 claims description 10
- 230000006837 decompression Effects 0.000 claims description 9
- 238000013144 data compression Methods 0.000 claims description 4
- 241001269238 Data Species 0.000 claims description 3
- 230000005611 electricity Effects 0.000 abstract 1
- 230000003252 repetitive effect Effects 0.000 abstract 1
- 230000005540 biological transmission Effects 0.000 description 4
- 239000003086 colorant Substances 0.000 description 3
- 238000012856 packing Methods 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Abstract
The method include following steps: providing a image data and a screen data; compressing the screen data to obtain a compressed screen data; transferring the compressed screen data to a image processing engine; decompressing the compressed screen data by the image processing engine; merging the screen data with the said image data by the image processing engine so as to obtain a output image. The screen information is combined with image information in real time and output to display. Based on character of high repetitive screen data, the functions of compressing and decompressing screen information saves for transferring data and electricity, and raise efficiency for displaying image.
Description
Technical field
The present invention relates to a kind of image display and display packing thereof of utilizing compress technique, relate in particular to a kind of compress technique of utilizing and save data transmission frequency range and power consumption, with the device and method of more efficient show image.
Background technology
In a display with man machine operation interface,, also has the demonstration problem of screen message except the demonstration of image information.So-called screen message (0n Screen Data) general reference man machine operation interface is presented on literal, pointer and the figure on the picture.In digital camera or digital camera, this series products of player, general processing mode is, with after screen message mixes in a display memory, synthetic last image exports display again to image information.
As shown in Figure 1, in the different section, stored view data 102 and on-screen data 103 in the video memory 101, these data input image displays 105 after handling through coinciding of mixture control 104, directly export LCD 106 or TV 107 to.
Wherein on-screen data 103 mainly is literal, symbol or the figure that is produced by human interface software, in interactively operating process, is presented on the display.The content of this on-screen data 103, generally speaking complicated just like that colorful not as view data 102, form by several colors or solid color at the most, have the character and graphic of fixed pattern.Therefore in general traditional technology, with the character and graphic of these fixed pattern, such as English alphabet, cursor, punctuate symbol point, numeral etc., all be stored in the ROM (read-only memory) in the device or in the routine data sections in the mode of graph data in advance.Read the required letter character fragment of wanting by program in use, obtain on-screen data 103 through permutation and combination.
Summary of the invention
The object of the present invention is to provide a kind of image display of compress technique and display packing utilized to utilize compress technique to save data transmission frequency range and power consumption, with more efficient show image.
The invention provides a kind of image display method that utilizes compress technique, comprise the following steps: to provide a view data and an on-screen data; With this on-screen data compression, obtain a compression on-screen data; Transmit this compression on-screen data to image processing engine; This image processing engine this compression on-screen data that decompresses obtains an on-screen data; And this image processing engine coincide this on-screen data and this view data, obtain an image output.
The invention provides a kind of image display that utilizes compress technique, a scrambler is in order to be compressed into an on-screen data one compression on-screen data; One mixture control in order to this compression on-screen data that decompresses, obtains an on-screen data, and with the processing that coincides of this on-screen data and a view data, obtains an image output.
Description of drawings
Fig. 1 is a traditional screen message and an image information display device;
Fig. 2 a is the image display that utilizes compress technique of the present invention;
Fig. 2 b is an image display method flow process of utilizing compress technique of the present invention;
Fig. 3 a is a run length coding method compress technique method of the present invention;
Fig. 3 b is a run length coding method decompression technique method of the present invention.
Wherein, Reference numeral:
101~video memory, 102~view data
103~on-screen data, 104~mixture control
105~image processing engine, 106~LCD
107~TV, 201~OSD scrambler
202~OSD code translator 204~compression on-screen data
207~mixer, 208~on-screen data
209~image output, 301~bitmap
302~dot array data 303~compression dot array data
Embodiment
Shown in Fig. 2 a, the principle that shows is to read an on-screen data 103 and a view data 102 from video memory 101, handle back output through coinciding, and these on-screen data 103 characteristics own are repetition rate height, if read again after compression, can promote the efficient that transmits data, also can reach video memory 101 purpose of power saving.Therefore the invention provides a kind of compress technique of utilizing and save data transmission frequency range and power consumption, with the method and the device of more efficient show image.At this image display method that utilizes compress technique, a preferred embodiment is provided, shown in Fig. 2 b, comprise the following steps: at first to provide a view data 102 and an on-screen data 103, with these on-screen data 103 compressions, obtain a compression on-screen data 204.Reading this compression on-screen data 204 and this view data 102, this compression on-screen data 204 that decompresses, obtain an on-screen data 208 after, the processing that again this on-screen data 208 and this view data 102 coincided obtains an image output 209.During wherein with these on-screen data 103 compressions, employed compression method is a kind of run length coding method with every behavior unit (Line-Based Run-Length Encoding).Image processing engine 105 is in reading video memory 101 time, and shared data bus frequency range reduces relatively because of the compression of data volume, and compressibility can be from tens of to hundreds of times wait, and the enhancement of its efficient is rather considerable.
Shown in Fig. 2 a, wherein, provide a preferred embodiment with the method for these on-screen data 103 compressions, comprise the following steps: at first from a video memory 101, to read this on-screen data 103, with these on-screen data 103 compressions, obtain this compression on-screen data 204, write in this video memory 101.This step can be to utilize a device to reach as OSD scrambler 201.Because of the source of on-screen data 103, be the program of last layer more, the character image picture that is produced when carrying out man machine operation interface is for user and machine communication.The often suitable height of image content repeatability of these on-screen datas 103, so the mode with compression exists in the video memory 101, when needs are reusable, can directly in video memory 101, read, not reuse the step that this scrambler 201 compresses with image processing engine 105.Through reflecting on the display picture after the decompression in real time and the program that coincides, as LCD 106 or TV 107.
Shown in Fig. 2 b, production process about this image output 209, provide another preferred embodiment to comprise the following steps: at first from this video memory 101, to read this compression on-screen data 204, should compress on-screen data 204 and decompress, obtain this on-screen data 208 with OSD code translator 202.At last this on-screen data 208 and this view data 102 are coincided to handle and obtain this image output 209.This on-screen data 208 is identical content with this on-screen data 103 between the two in fact, just comes across different positions in processing procedure, and one is the data of introducing the upstream program generation by man-machine, and one is the data of returning through the reduction that decompresses.And the method that coincides and handle, general way is as prospect with this on-screen data 103, this view data 102 is as background, directly superposition forms a synthetic image together, in a preferred embodiment, further can adjust the transparency of prospect, or the superposition pattern of the color of prospect, prospect and background etc.Wherein the superposition pattern of prospect and background further among the embodiment, can be selected one in the various programmable mixed methods from conventional art.
Shown in Fig. 2 b, at of the present invention one image display that utilizes compress technique, provide another preferred embodiment to comprise an OSD scrambler 201, in order to an on-screen data 103 is compressed into a compression on-screen data 204, and one mixture control 104 in order to this compression on-screen data 204 that decompresses, obtain an on-screen data 208, and with this on-screen data 208 and a view data 102 via a mixer 207 processing that coincides, obtain an image output 209.Flow chart of data processing in this image display can be contained by the relevant embodiment of Fig. 2 b.At this image display, another preferred embodiment is provided, as shown in Fig. 2 a, comprised a video memory 101, in order to store this view data 102, this on-screen data 103 and this compression on-screen data 204, one image processing engine 105 is in order to coding and the decoding on-screen data and the processing that coincides, and a LCD 106 or TV 107, in order to show this image output 209.
The compression process of applied run length coding method among Fig. 3 a explanation the present invention.When view data 102 is stored in the video memory 101, no matter native format why, all must be converted into two-dimensional bitmap at last to be shown in accordingly on the display, therefore can directly image output 209 soon be considered as the corresponding result of a plane bitmap in the internal memory, shown in Fig. 3 a, for instance, the figure that has AB printed words in the bitmap 301.Each lattice in the bitmap 301 is one to have eight byte, can write down numeral 0 to 255, in order to the shade of representing each figure to order.Known in optical principle, primary colors red is bluish-green, according to the arbitrary proportion combination, can obtain any color.If show the figure of a colour, need three bitmaps, represent a kind of brightness data of primary colors individually, 0 represents brightness minimum, and 255 represent brightness the highest, just can produce the figure of a colour after three bitmaps that respectively write down a primary color luminance values coincide together.The bitmap 301 that is provided in the present embodiment is used for merely representing the black and white achromatic sheet, so brightness value is that 0 pixel is a black, brightness value be 255 pixel for white, then represent the different grey of depth degree between the pixel of intermediate value.
Shown in Fig. 3 a, the AB printed words that presented among Figure 30 1 on the throne are actually string number in internal memory, with dot array data 302 expressions.With the first behavior example, the corresponding white print point of hexadecimal value 0x00, the corresponding black figure point of hexadecimal value 0x7f, and the corresponding grey chromatic graph point of hexadecimal value 0xff.Scrambler 201 shown in Fig. 2 a is used the run length coding method dot array data is compressed line by line, is example with Fig. 3 a, at first, reads in dot array data 302 line by line, and compression line by line.The data of seeing first row have three group 00 at the beginning, and the 4th be not 00 but 7F, so write down 03 00 in a storehouse, representative " continuous three 00 ".In like manner, the value of fourth, fifth byte is that 7F and the value of the 6th byte are not 7F but 00, just writes down 02 7F in this storehouse, representative " continuous two 7F ".The rest may be inferred, and the data of a string length overall 32 bytes are just can be re-encoded as shown in compression dot array data 303, first line data is compressed into and only accounts for 10 bytes, the fourth line data in the bitmap 301, in like manner, compression is only accounted for 18 byte packed datas, as shown in compression dot array data 303.In another example, the length and width of possible original position Figure 30 1 are 255 * 127, and wherein the data of a full line all are identical place values, as 00, so continuous 255 00 can direct representation be " FF 00 " just, only accounted for two bytes,, saved more than 100 times space compared with in internal memory, putting 255 00 shared space 255 bytes.
Shown in Fig. 3 b be application run length coding method of the present invention decompress one the compression on-screen data example.Shown in Fig. 2 a, be arranged in the OSD code translator 202 of mixture control 104, can very efficient this decompression method of application, with compression on-screen data 204 real-time convert on-screen data 208 to, do not need extra memory headroom, need not consume a large amount of calculating clock pulses yet.In Fig. 3 b, a compression dot array data 303 is provided, in the present embodiment, this compression dot array data 303 is the wherein somes in the compression on-screen data 204, utilizes video memory 101 to store, and reads in this OSD code translator 202 before decompression.Then just handle it with the decompression method of run length coding method.Once read a data set, comprise two bytes, first byte is represented the consecutive numbers value, and second byte represented pixel value.Therefore first element reads in " 05 00 ", just represents that continuous five values are 00 byte, and second action read in " 02 FF " and just represented continuous two bytes that value is FF, shown in the dot array data 302 of Fig. 3 b.Therefore can on display 106, obtain corresponding bitmap 301.Decompression method is analogized according to this, and code translator 202 can very efficient real-time processing compress on-screen data 204, produces on-screen data 103 and exports for mixture control 104.
Therefore, the invention is characterized in, the on-screen data that upstream program produced 103 from man-machine interface, be sent to before this image processing engine 105 carries out the work of display frame, handle through overcompression, and the data volume of compression on-screen data 204 is own much smaller than original on-screen data 103, so, in a large amount of saving of the process that reads the mixture control 104 this image processing engine 105 from internal memory 101 transmission data frequency range and consumption time and power consumption, promoted the level of resources utilization of total system greatly.
Though the present invention with preferred embodiment openly as above; right its is not in order to limiting scope of the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; when can doing various changes and improvement, so protection scope of the present invention is as the criterion with claim.
Claims (11)
1. an image display method that utilizes compress technique is characterized in that, comprises at least:
One view data and an on-screen data are provided;
With this on-screen data compression, obtain a compression on-screen data;
Transmit this compression on-screen data to image processing engine;
This image processing engine this compression on-screen data that decompresses obtains an on-screen data; And
This image processing engine coincide this on-screen data and this view data obtain an image output.
2. the method for claim 1 is characterized in that, the step of this compression on-screen data also comprises the following steps:
Read this on-screen data;
Data length and data class according to this on-screen data compress, and obtain this compression on-screen data.
3. the method for claim 1 is characterized in that, the step that this obtains image output also comprises the following steps:
From an internal memory, read this compression on-screen data;
Should compress the screen data decompression, obtain this on-screen data; And
With the processing that coincides of this on-screen data and this view data, obtain this image output.
4. the method for claim 1, it is characterized in that, step with this on-screen data compression, comprise: in each bar sweep trace in this on-screen data, continuous and identical data are encoded into a coded data with data length and data type, and all coded datas are arranged in regular turn according to corresponding scanning beam.
5. the method for claim 1 is characterized in that, the step with this on-screen data decompresses comprises the following steps:
Read the limited scanning line data in this compression on-screen data from an internal memory line by line, wherein these limited scanning line data comprise several data sets, and each data set is made up of a place value and a count value;
Carry out a data set read step,,, several these place values are write a storehouse working area according to this count value to read a data set in these limited scanning line data;
The reading of all data sets in finishing these limited scanning line data at next line limited scanning line data, repeats above-mentioned data set read step; And
When finishing reading of all limited scanning line data, combination is stored in all these place values in this storehouse working area, obtains this on-screen data.
6. an image display that utilizes compress technique is characterized in that, comprises at least:
One scrambler is in order to be compressed into an on-screen data one compression on-screen data; And
One mixture control in order to this compression on-screen data that decompresses, obtains an on-screen data, and with the processing that coincides of this on-screen data and a view data, obtains an image output.
7. device as claimed in claim 6 is characterized in that, also comprises:
One internal memory is in order to store this view data, this on-screen data and this compression on-screen data; And
One display is in order to show this image output.
8. device as claimed in claim 7 is characterized in that this display is LCD or TV.
9. device as claimed in claim 7 is characterized in that this scrambler is also carried out the following step, to compress this on-screen data:
From this internal memory, read this on-screen data;
With this on-screen data compression, obtain this compression on-screen data; And
Should compress on-screen data writes in this internal memory.
10. device as claimed in claim 7 is characterized in that this mixture control is also carried out the following step, to export this image output:
From this internal memory, read this compression on-screen data;
Should compress the screen data decompression, obtain this on-screen data; And
With the processing that coincides of this on-screen data and this view data, obtain this image output.
11. device as claimed in claim 6 is characterized in that, this mixture control also comprises a code translator, in order to should compress the screen data decompression, obtains this on-screen data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410030828 CN1291305C (en) | 2004-04-07 | 2004-04-07 | Image display utilizing compression tech and its displaying method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200410030828 CN1291305C (en) | 2004-04-07 | 2004-04-07 | Image display utilizing compression tech and its displaying method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1564122A true CN1564122A (en) | 2005-01-12 |
CN1291305C CN1291305C (en) | 2006-12-20 |
Family
ID=34481189
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200410030828 Expired - Lifetime CN1291305C (en) | 2004-04-07 | 2004-04-07 | Image display utilizing compression tech and its displaying method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1291305C (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101707678B (en) * | 2009-12-11 | 2011-08-03 | 华亚微电子(上海)有限公司 | Osd controller |
CN101707677B (en) * | 2009-12-11 | 2011-12-21 | 华亚微电子(上海)有限公司 | Osd controller |
CN109311205A (en) * | 2016-04-14 | 2019-02-05 | 东洋机械金属株式会社 | Display operating device, molding machine and lathe |
-
2004
- 2004-04-07 CN CN 200410030828 patent/CN1291305C/en not_active Expired - Lifetime
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101707678B (en) * | 2009-12-11 | 2011-08-03 | 华亚微电子(上海)有限公司 | Osd controller |
CN101707677B (en) * | 2009-12-11 | 2011-12-21 | 华亚微电子(上海)有限公司 | Osd controller |
CN109311205A (en) * | 2016-04-14 | 2019-02-05 | 东洋机械金属株式会社 | Display operating device, molding machine and lathe |
Also Published As
Publication number | Publication date |
---|---|
CN1291305C (en) | 2006-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1236940A (en) | Monochromatic representation of color images | |
RU2433478C2 (en) | Image data preprocessing for improved compression | |
CA2221752C (en) | Method and apparatus for reducing storage requirements for display data | |
US6781600B2 (en) | Shape processor | |
CN106937113B (en) | Image compression method and device based on mixed chroma sampling rate | |
CN1178459C (en) | Method for compressing image data for bicolor images | |
CN1942922A (en) | Image data set with embedded pre-subpixel rendered image | |
US7248735B2 (en) | Compression and decompression method of image data | |
JP5995864B2 (en) | Display data encoding method and system | |
JP3461309B2 (en) | Huffman coded data compression device | |
EP0703549B1 (en) | A two dimensional method and system for compressing bi-level images | |
DE60120670T2 (en) | DIGITAL DOCUMENT PROCESSING | |
CN102523444A (en) | Compression method for monochrome bitmap and system thereof | |
US20070274601A1 (en) | Image compression method | |
CN105719321A (en) | Texture compression method and device | |
CN1291305C (en) | Image display utilizing compression tech and its displaying method | |
JP2008042685A (en) | Image processor and processing method, computer program and computer readable storage medium | |
US20050212969A1 (en) | Apparatus and method of image display with real-time compression | |
CN101378506A (en) | Method for compressing image | |
JPH07322074A (en) | Equipment and method for data processing to process 2 level image file that a dither ring happened | |
KR100834669B1 (en) | Image encoder and decoder based on wavelet transform for creating thumbnail image and method thereof | |
EP3729808B1 (en) | Image compression | |
CN112991412B (en) | Liquid crystal instrument sequence frame animation performance optimization method and liquid crystal instrument | |
US7146058B2 (en) | Compression of images using object maps | |
CN112256228A (en) | Optimization method for dot matrix character display |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term |
Granted publication date: 20061220 |