CN102123315A - High-definition display method - Google Patents
High-definition display method Download PDFInfo
- Publication number
- CN102123315A CN102123315A CN2010106138515A CN201010613851A CN102123315A CN 102123315 A CN102123315 A CN 102123315A CN 2010106138515 A CN2010106138515 A CN 2010106138515A CN 201010613851 A CN201010613851 A CN 201010613851A CN 102123315 A CN102123315 A CN 102123315A
- Authority
- CN
- China
- Prior art keywords
- interpolation
- data points
- pixel
- data
- literal
- 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
Images
Landscapes
- Image Processing (AREA)
Abstract
The invention discloses a high-definition display method used in mu CLinuxGUI. The method comprises the following steps of: reading images and characters stored in low resolution from a flash, improving output resolution, distinguishing the characters from the images, performing interpolation computation on the images and the characters with low resolution by using an improved bilinear interpolation algorithm, sending interpolated complete character and image information back to a memory, and displaying the interpolated complete character and image information through an output channel. By the technical scheme of the high-definition display method, after low-resolution data is interpolated, the graphic display resolution of the mu CLinuxGUI can be improved and the output resolution of the characters and the images can be correspondingly improved simultaneously so as to meet a high definition requirement.
Description
Technical field
The present invention relates to digital TV set-top box high definition Display Technique field, be specifically related to the high definition display packing of a kind of μ of being used in CLinuxGUI.
Background technology
Present domestic HDTV (High-Definition Television) is risen gradually, and most of LCD TV all supports super-resolution to improve appreciation effect.Yet, all the time rest on as reasons such as, the bandwidth deficiencies limited owing to embedded system flash resource-constrained, embedded system memory of HDTV (High-Definition Television) front end on 720 * 480 the resolution based on the GUI graphical display interface of the HDTV (High-Definition Television) set-top box of embedded μ CLinux operating system, make that user UI interface display definition is limited, and edge sawtooth or mosaic can appear in literal and picture demonstration, can't satisfy the high definition display effect.
Image interpolation is the most basic, most important method in the image processing, and traditional interpolation algorithm has the arest neighbors interpolation, bilinear interpolation, cube convolution interpolation etc.The advantage of arest neighbors interpolation method is that amount of calculation is very little, and algorithm is simple, but arithmetic speed is very fast.Gray value has tangible discontinuity behind the resampling, and image quality loss is bigger, can produce tangible mosaic and crenellated phenomena.The bilinear interpolation amount of calculation is big slightly, the algorithm complexity, program runtime is also long slightly, but picture quality height behind the convergent-divergent, substantially overcome the discontinuous characteristics of arest neighbors interpolation gray value, but reckoned without the influence of gray-value variation rate between each adjoint point, therefore had the character of low pass filter, thereby cause that the high fdrequency component of image incurs loss behind the convergent-divergent, it is comparatively fuzzy that the image border becomes to a certain extent.The influence of four direct neighbor pixel gray values around the cube convolution interpolation has been considered, also consider the influence of their gray-value variation rates, can produce the edge more more level and smooth than bilinear interpolation, the image loss of image quality after the processing is minimum, but its amount of calculation maximum, algorithm are also complicated.
Summary of the invention
The invention provides the little μ CLinuxGUI high definition display packing of a kind of graphic display resolution height and algorithm complex based on the bilinear interpolation algorithm.
According to above-mentioned purpose, the invention provides a kind of μ CLinuxGUI high definition display packing based on the bilinear interpolation algorithm, comprising:
(1) reads in image and the literal that low resolution is stored from flash;
(2) improve output resolution ratio, writings and image is distinguished;
(3) with improved bilinear interpolation algorithm the figure and the literal of low resolution carried out interpolation calculation respectively;
(4) will send back in the Installed System Memory and through the complete literal after the interpolation and graphical information and show through output channel.
Further, described step (2) further comprises: the low graphics and the literal that will write among the flash read in the Installed System Memory, and output resolution ratio is adjusted to 1 280 * 960 from original 720 * 480.
Further, described step (3) further comprises: (301) determine target interpolating pixel point; (302) according to the particularity of dot character above-mentioned target interpolating pixel point is carried out special 0/1 interpolation (303) from starting point, travel through all data points line by line along directions X, and, wait to be shown the memory address that result of calculation is write direct and is used to show;
Further, described step (301) comprising: suppose that former dot matrix data are f (i, j), on the x direction, amplify M doubly, on the y direction, amplify N doubly, carry out that dot array data is f (x after the interpolation, y), then initial data general corresponding relation in the dot array data after interpolation satisfies x=i * M, y=j * N, if to be changed to 32 dot characters with 16 * 16 dot characters by bilinear interpolation is example, promptly no matter directions X still to be the Y direction be every any carries out interpolation one time.
Further, described step (302) comprising: 0/1 special picture element interpolation has two types, Class1: with have 4 raw data points and 4 interpolated data points on 8 data points of pixel direct neighbor, the interpolation of this type is tried to achieve through above-mentioned improved bilinear interpolations calculating by 4 raw data points; Type 2: on 8 data points of pixel direct neighbor, have only two to be raw data points, and determine the interpolation formula of each pixel according to this.
Further, the value of pixel no longer adopts the mode of 0/1 approximate value, rounds after adopting above-mentioned general mode that the interpolating pixel point is found the solution, and the contrast palette information is searched relevant color information, as does not find then to get and substitute near color.
Further, behind every traversal data line the object pixel after original pixels and the interpolation is all carried out interpolation calculation as the original pixels of next line data, to remove the lofty point of colored pixels that brings owing to interpolation.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, be that the accompanying drawing of required use is done to introduce simply below.
Accompanying drawing 1 is a μ CLinuxGUI graphical display technics flow process;
Accompanying drawing 2 is bilinear interpolation algorithm steps that μ CLinuxGUI high definition literal shows;
Accompanying drawing 3 is the two-wire interpolation algorithm steps in the graphical display of μ CLinuxGUI high definition.
Embodiment
Below in conjunction with accompanying drawing the specific embodiment of the present invention is elaborated.
Bilinear interpolation is made the two-dimensional linear interpolation calculation according to the gray value of immediate four points around the pixel.Be elaborated below in conjunction with 1 couple of μ CLinuxGUI of accompanying drawing graphical display technics:
1, the low graphics and the literal that will write among the flash reads in the internal memory, and output resolution ratio is adjusted to 1280 * 960 from original 720 * 480;
2, use improved bilinear interpolation algorithm that the figure and the literal of low resolution are carried out interpolation calculation respectively, the data that obtain are sent back in the internal memory;
3,, will send into output channel through the complete literal after the interpolation and graphical information and show at last by to the configuration of information such as palette.
Part in accompanying drawing 1 square frame is the core of this algorithm.By this core algorithm, can improve present μ CLinuxGUI graphical display effect, make graphical display clear.Next the core algorithm will be explained in detail.What the μ CLinuxGUI character and graphic interface of embedded OS used is the 2D graphics engine, uses dot matrix word library that literal is shown.Because the particularity of dot character, its value has only 0 or 1 two kind of value in the Z direction, has done to optimize and has improved for the bilinear interpolation algorithm of literal, and 0 or 1 these two kinds of values are only inserted in selection.Bilinear interpolation algorithm steps such as accompanying drawing 2 for literal:
At first need to determine target interpolating pixel point.Suppose that former dot matrix data are that (i j), amplifies M doubly to f on the x direction, amplify N doubly on the y direction, carries out that dot array data is that (x, y), then initial data general corresponding relation in the dot array data after interpolation satisfies x=i * M, y=j * N to f after the interpolation.If to be changed to 32 dot characters with 16 * 16 dot characters by bilinear interpolation is example, promptly no matter directions X still to be the Y direction be every any carries out interpolation one time.
Behind definite target interpolating pixel point position, above-mentioned target interpolating pixel point is carried out 0/1 special interpolation according to the particularity of dot character.0/1 special picture element interpolation has two types, Class1: with have 4 raw data points and 4 interpolated data points on 8 data points of pixel direct neighbor.The interpolation of this type is calculated through above-mentioned improved bilinear interpolation by 4 raw data points and is tried to achieve.Type 2: on 8 data points of pixel direct neighbor, have only two to be raw data points, therefore, carry out interpolation calculation for two raw data points of interpolating pixel point use of this type.Determine the interpolation formula of each pixel according to this.
After definite interpolating pixel point and interpolation formula, from starting point, travel through all data points line by line, and, wait to be shown the memory address that result of calculation is write direct and is used to show along directions X.
μ CLinuxGUI high definition graphical display algorithm adopts the bilinear interpolation algorithm that improves with optimizing to realize equally, but with the literal display algorithm difference is arranged, concrete steps such as accompanying drawing 3:
At first need to determine target interpolating pixel point.
The image pixel value no longer adopts the mode of 0/1 approximate value.Because the pixel of coloured image is made up of three kinds of colors of red, green, blue (RGB), every kind of color is represented its color depth by a byte, therefore round after adopting above-mentioned general mode that the interpolating pixel point is found the solution, the contrast palette information is searched relevant color information, as does not find then to get and substitute near color.Determine the interpolation formula of each pixel in view of the above.
After definite interpolating pixel point and interpolation formula,, travel through each all data point of row line by line along directions X from starting point.
Behind every traversal data line the object pixel after original pixels and the interpolation is all carried out interpolation calculation as the original pixels of next line data, to remove the lofty point of colored pixels that brings owing to interpolation.
When having traveled through the memory address that data line writes direct result of calculation to be used to show, wait to be shown.
Hence one can see that, and image and literal display algorithm have difference to be summarized as follows:
1) value of pixel no longer adopts the mode of 0/1 approximate value.Because the pixel of coloured image is made up of three kinds of colors of red, green, blue (RGB), every kind of color is represented its color depth by a byte, therefore round after adopting above-mentioned general mode that the interpolating pixel point is found the solution, the contrast palette information is searched relevant color information, as does not find then to get and substitute near color.
2) in order to guarantee that image carries out overall visual after the interpolation, behind every traversal data line the object pixel after original pixels and the interpolation is all carried out interpolation calculation as the original pixels of next line data, to remove because the lofty point of colored pixels that interpolation is brought.
More than the high definition display packing of a kind of UClinuxGUI of being used in that the embodiment of the invention provided is described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (7)
1. a high definition display packing that is used in μ CLinuxGUI is characterized in that, comprising:
(1) reads in image and the literal that low resolution is stored from flash;
(2) improve output resolution ratio, writings and image is distinguished;
(3) with improved bilinear interpolation algorithm the figure and the literal of low resolution carried out interpolation calculation respectively;
(4) will send back in the Installed System Memory and through the complete literal after the interpolation and graphical information and show through output channel.
2. method according to claim 1 is characterized in that: described step (2) further comprises: the low graphics and the literal that will write among the flash read in the Installed System Memory, and output resolution ratio is adjusted to 1280 * 960 from original 720 * 480.
3. method according to claim 1 is characterized in that: described step (3) further comprises:
(301) determine target interpolating pixel point;
(302) according to the particularity of dot character above-mentioned target interpolating pixel point is carried out 0/1 special interpolation
(303), travel through all data points line by line along directions X, and, wait to be shown the memory address that result of calculation is write direct and is used to show from starting point;
4. method according to claim 3, it is characterized in that, described step (301) comprising: suppose that former dot matrix data are that (i j), amplifies M doubly to f on the x direction, on the y direction, amplify N doubly, carry out after the interpolation dot array data and be f (x, y), then initial data general corresponding relation in the dot array data after interpolation satisfies x=i * M, y=j * N, no matter still to be the Y direction be every some directions X carries out interpolation one time.
5. method according to claim 3, it is characterized in that: described step (302) comprising: 0/1 special picture element interpolation has two types, type one: with have 4 raw data points and 4 interpolated data points on 8 data points of pixel direct neighbor, the interpolation of this type is tried to achieve through above-mentioned improved bilinear interpolations calculating by 4 raw data points; Type two: on 8 data points of pixel direct neighbor, have only two to be raw data points, and determine the interpolation formula of each pixel according to this.
6. method according to claim 5, it is characterized in that: the value of pixel does not adopt the mode of 0/1 approximate value, round after adopting above-mentioned general mode that the interpolating pixel point is found the solution, the contrast palette information is searched relevant color information, as does not find then to get and substitute near color.
7. method according to claim 3 is characterized in that: behind every traversal data line the object pixel after original pixels and the interpolation is all carried out interpolation calculation as the original pixels of next line data, to remove the lofty point of colored pixels that brings owing to interpolation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106138515A CN102123315A (en) | 2010-12-30 | 2010-12-30 | High-definition display method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010106138515A CN102123315A (en) | 2010-12-30 | 2010-12-30 | High-definition display method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102123315A true CN102123315A (en) | 2011-07-13 |
Family
ID=44251734
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010106138515A Pending CN102123315A (en) | 2010-12-30 | 2010-12-30 | High-definition display method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102123315A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102496357A (en) * | 2011-12-17 | 2012-06-13 | 天津深楠信息安全有限公司 | Enlarging method for character style displayed on USB KEY (Universal Serial Bus Key) liquid crystal display |
CN107004396A (en) * | 2014-11-21 | 2017-08-01 | 乐天株式会社 | Information processor, information processing method and message handling program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731834A (en) * | 2005-08-02 | 2006-02-08 | 北京北大方正电子有限公司 | Method for processing TV subtitling words |
JP2008085614A (en) * | 2006-09-27 | 2008-04-10 | Sharp Corp | Digital television receiver and digital television receiving system |
-
2010
- 2010-12-30 CN CN2010106138515A patent/CN102123315A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1731834A (en) * | 2005-08-02 | 2006-02-08 | 北京北大方正电子有限公司 | Method for processing TV subtitling words |
JP2008085614A (en) * | 2006-09-27 | 2008-04-10 | Sharp Corp | Digital television receiver and digital television receiving system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102496357A (en) * | 2011-12-17 | 2012-06-13 | 天津深楠信息安全有限公司 | Enlarging method for character style displayed on USB KEY (Universal Serial Bus Key) liquid crystal display |
CN107004396A (en) * | 2014-11-21 | 2017-08-01 | 乐天株式会社 | Information processor, information processing method and message handling program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1942902B (en) | Ghost artifact reduction for rendering 2.5D graphics | |
US10554882B2 (en) | Panoramic camera and photographing method thereof | |
JP4971442B2 (en) | Image processing apparatus and method for pixel data conversion | |
KR20160051154A (en) | Rendering method and apparatus, and electronic apparatus | |
CN103605506B (en) | The display packing of a kind of graphical user interface resource and terminal | |
CN101908216B (en) | Method and device for realizing vector fonts | |
US20200193563A1 (en) | Image processing apparatus and method, and related circuit | |
CN116486738B (en) | Pixel multiplexing method, data transmission system and display screen control system and method | |
CN109949395A (en) | Thermodynamic chart rendering method and device | |
CN101183521A (en) | Image scaling device, method and image display device | |
CN114071223A (en) | Optical flow-based video interpolation frame generation method, storage medium and terminal equipment | |
CN107864335A (en) | Image preview method, apparatus, computer-readable recording medium and electronic equipment | |
CN102123315A (en) | High-definition display method | |
CN103065349B (en) | A kind of data rendering method and device | |
JP3819873B2 (en) | 3D image display apparatus and program | |
US8279223B2 (en) | Image processing apparatus, image processing method and program | |
CN109643462B (en) | Real-time image processing method based on rendering engine and display device | |
KR100466901B1 (en) | Description method, drawing device, computer graphic system | |
JP2010081024A (en) | Device for interpolating image | |
CN112650460A (en) | Media display method and media display device | |
CN104268098A (en) | On-chip cache system for transformation on ultrahigh-definition video frame rates | |
CN101266760B (en) | Method and system for integrating reverse crossing and over-driving to process image data on LCD | |
CN102263924B (en) | Image processing method based on bicubic interpolation and image display method | |
CN202206487U (en) | MEMC (Motion Estimation and Motion Compensation) device for 240Hz display | |
CN104639969A (en) | Full screen page display method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
DD01 | Delivery of document by public notice |
Addressee: Guangzhou Juhui Electronic Technology Co., Ltd. Document name: Notification that Application Deemed to be Withdrawn |
|
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110713 |