CN104702878A - Method for differentiating OSD and Video signals based on HDMI protocol - Google Patents
Method for differentiating OSD and Video signals based on HDMI protocol Download PDFInfo
- Publication number
- CN104702878A CN104702878A CN201510091819.8A CN201510091819A CN104702878A CN 104702878 A CN104702878 A CN 104702878A CN 201510091819 A CN201510091819 A CN 201510091819A CN 104702878 A CN104702878 A CN 104702878A
- Authority
- CN
- China
- Prior art keywords
- osd
- video signal
- signal
- distinguishing
- block
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Landscapes
- Television Systems (AREA)
Abstract
The invention provides a method for differentiating OSD and Video signals based on an HDMI protocol. The method comprises the steps of 1) dividing image signals transmitted by the HDMI into blocks and marking signal types by the blocks, 2) marking the types of the image signals transmitted by the HDMI differently by use of flag bits, and separately processing the Video and OSD signals without reducing the image signal quality, and 3) estimating the image information of the flag bits for marking the signal types by use of pixels in neighborhoods, thereby further improving the image signal quality. According to the method, the Video and OSD signals are fused before transmission, so that the transmission bandwidth and the data storage space can be reduced; during image processing, the Video and OSD signals are processed separately, so that a good display effect can be ensured.
Description
Technical field
The present invention relates to display screen technology field, more specifically, relating to a kind of method based on distinguishing OSD and Video signal under HDMI agreement.
Background technology
The display terminal that image is play can show two kinds of signals: Video signal and osd signal.Wherein Video signal is the external image vision signal received by display device input interface; Osd signal be screen display comprise that the process of the image frame such as DVD player, television receiver is relevant with display arranges menu signal.In image frame display device, to some process operation (as frame rate conversion, process such as Color Gamut Mapping) of input signal, differentiation Video signal and osd signal is needed then optionally to process, the display result just can guaranteed.If but Video signal and osd signal separately being carried out transmission stores, then can propose very high requirement to transmission bandwidth and data space, be unfavorable for hardware implementing.
Summary of the invention
The present invention is directed to the technical problem existed in above-mentioned prior art, a kind of method based on distinguishing OSD and Video signal under HDMI agreement being provided, reducing transmission bandwidth and data space, ensure that good display result.
For achieving the above object, the technical solution adopted in the present invention is as follows:
Based on the method distinguishing OSD and Video signal under HDMI agreement, comprise step as follows:
1), by the signal of video signal that HDMI transmits carry out the division of block, carry out marking signal type by block;
2), service marking position carrys out the signal of video signal type that separator HDMI transmits, and Video and osd signal carried out separately process under the prerequisite not reducing signal of video signal quality;
3), to the flag bit being used to marking signal type, utilize the pixel in neighborhood to estimate the image information that it is original, improve signal of video signal quality further.
Described 1) specifically: the block signal of video signal that HDMI transmits being divided into M × N size, wherein, it is Video signal or osd signal that each block will mark this block by a flag bit, raising system processing speed, suppose that image size is Wd × Ht, then the value of M, N is the arbitrary value in 1 ~ Wd, 1 ~ Ht.
The value of M, N is even number.
M=N。
Described 2) specifically: to each block, the bit i-bit choosing one of them pixel is as flag bit, and being used for marking corresponding block is Video signal or osd signal, i value 1 ~ M × N.
i=1。
Described 3) specifically: adopt neighborhood information to carry out the signal of video signal of recovering mark position, in signal processing, pixel component containing flag bit have lost the image information contained by itself, if do not repaired, then can reduce signal of video signal quality, utilize the pixel in its a certain size neighborhood, adopt interpolation to solve the image information of its loss, promote and recover signal of video signal quality.
Based on the contiguous range of different size, adopt different interpolation algorithms.
Technique scheme of the present invention, the beneficial effect brought is as follows:
According to the inventive method, transmit after Video signal and osd signal can being merged, reduce transmission bandwidth and data space; During image processing, the separately process of Video signal and osd signal, ensure that good display result.
Accompanying drawing explanation
By reading the detailed description done non-limiting example with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 is block schematic diagram in one embodiment of the invention;
Fig. 2 is current block and neighborhood block position view in one embodiment of the invention;
Fig. 3 is the method schematic diagram indicating in Fig. 2 embodiment that place value is identical;
Fig. 4 carries out to Fig. 3 the method schematic diagram that interpolation solves;
Fig. 5 indicates place value diverse ways schematic diagram in Fig. 2 embodiment;
Fig. 6 carries out to Fig. 5 the method schematic diagram that interpolation solves.
Embodiment
Below in conjunction with specific embodiment, the present invention is described in detail.Following examples will contribute to those skilled in the art and understand the present invention further, but not limit the present invention in any form.It should be pointed out that to those skilled in the art, without departing from the inventive concept of the premise, some distortion and improvement can also be made.These all belong to protection scope of the present invention.
Method based on distinguishing OSD and Video signal under HDMI agreement provided by the present invention, embodiment as shown in Figure 1, selects in the lower right corner pixel of 2 × 2 pieces and contributes the lowest bit position 1-bit of little component as flag bit, as in Fig. 1 to visual effect
shown in.If have pixel to belong to osd signal in these 2 × 2 pieces, then mark position 1, otherwise set to 0.
In shown in Fig. 1 ~ Fig. 6,
represent the pixel of flag bit;
represent the pixel not containing flag bit;
represent the neighborhood territory pixel being used for interpolation pixel to be solved.
Based on the pixel in neighborhood, the method that interpolation solves containing flag bit pixel is: based on the information of 2 × 2 neighborhood blocks taking current block as upper left hand block, as shown in Figure 2, wherein block C is current block, and R/D/RD refers to the neighborhood block in the current block left/right/top/below/upper left corner/upper right corner/lower left corner/lower right corner respectively.
If the mark place value homogeneous phase of C, R, D, RD is same, then as shown in Figure 3, carry out interpolation based on 3 × 3 Pixel Information centered by pixel to be solved in block C; Otherwise, as shown in Figure 5, carry out interpolation based on all Pixel Information in block C.
As shown in Figure 4, the process using 3 × 3 neighborhood territory pixel information of pixel to be solved in block C to carry out interpolation is: the half-tone information first based on 3 × 3 pixels calculates APL_8 and SAD_8 (APL_8 is the gray average (average pixel level) of neighborhood 8 pixels, and SAD_8 is the absolute length chang (sum ofabsolute difference) of neighborhood 8 pixels and pixel to be solved).Wherein Σ is accumulation operations symbol, g
krepresent the grey decision-making of pixel k (k=0 ~ 7), the gx grey decision-making that to be pixel to be solved hypothesis marker bit corresponding bit be after 0;
Then according to a predetermined threshold value Th0, the interpolation result of final pixel to be solved is determined:
As shown in Figure 6, use the pixel grey scale information of in block C 2 × 2, calculate APL_3 and SAD_3 (what APL_3 represented is the gray average of neighborhood 3 pixels, and SAD_3 represents the absolute length chang of neighborhood 3 pixels and pixel to be solved):
Then according to a predetermined threshold value Th1, the interpolation result of final pixel to be solved is determined:
Above specific embodiments of the invention are described.It is to be appreciated that the present invention is not limited to above-mentioned particular implementation, those skilled in the art can make various distortion or amendment within the scope of the claims, and this does not affect flesh and blood of the present invention.
Claims (8)
1., based on the method distinguishing OSD and Video signal under HDMI agreement, it is characterized in that, comprise step as follows:
1), by the signal of video signal that HDMI transmits carry out the division of block, carry out marking signal type by block;
2), service marking position carrys out the signal of video signal type that separator HDMI transmits, and Video and osd signal carried out separately process;
3), to the flag bit being used to marking signal type, utilize the pixel in neighborhood to estimate the image information that it is original.
2. the method based on distinguishing OSD and Video signal under HDMI agreement according to claim 1, it is characterized in that, described 1) specifically: the block signal of video signal that HDMI transmits being divided into M × N size, wherein, it is Video signal or osd signal that each block will mark this block by a flag bit, raising system processing speed, suppose that image size is Wd × Ht, then the value of M, N is the arbitrary value in 1 ~ Wd, 1 ~ Ht.
3. the method based on distinguishing OSD and Video signal under HDMI agreement according to claim 2, is characterized in that, the value of M, N is even number.
4. the method based on distinguishing OSD and Video signal under HDMI agreement according to claim 3, is characterized in that, M=N.
5. the method based on distinguishing OSD and Video signal under HDMI agreement according to claim 2, it is characterized in that, described 2) specifically: to each block, choose the bit i-bit of one of them pixel as flag bit, being used for marking corresponding block is Video signal or osd signal, i value 1 ~ M × N.
6. the method based on distinguishing OSD and Video signal under HDMI agreement according to claim 5, is characterized in that, i=1.
7. the method based on distinguishing OSD and Video signal under HDMI agreement according to claim 2, it is characterized in that, described 3) specifically: adopt neighborhood information to carry out the signal of video signal of recovering mark position, in signal processing, pixel component containing flag bit have lost the image information contained by itself, if do not repaired, then can reduce signal of video signal quality, utilize the pixel in its a certain size neighborhood, adopt interpolation to solve the image information of its loss, promote and recover signal of video signal quality.
8. the method based on distinguishing OSD and Video signal under HDMI agreement according to claim 7, is characterized in that, based on the contiguous range of different size, adopts different interpolation algorithms.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510091819.8A CN104702878B (en) | 2015-02-28 | 2015-02-28 | Based on the method that OSD and Video signals are distinguished under HDMI agreements |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510091819.8A CN104702878B (en) | 2015-02-28 | 2015-02-28 | Based on the method that OSD and Video signals are distinguished under HDMI agreements |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104702878A true CN104702878A (en) | 2015-06-10 |
CN104702878B CN104702878B (en) | 2018-03-16 |
Family
ID=53349607
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510091819.8A Active CN104702878B (en) | 2015-02-28 | 2015-02-28 | Based on the method that OSD and Video signals are distinguished under HDMI agreements |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104702878B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567170A (en) * | 2003-06-13 | 2005-01-19 | 钰创科技股份有限公司 | Method for displaying form partition on screen |
KR20070048388A (en) * | 2005-11-04 | 2007-05-09 | 엘지전자 주식회사 | Screen select capable video display apparatus and control method thereof |
CN1969314A (en) * | 2004-06-15 | 2007-05-23 | 索尼株式会社 | Image processing device and method, recording medium, and program |
CN101127847A (en) * | 2007-08-29 | 2008-02-20 | 杭州华三通信技术有限公司 | A screen display synthesis method and synthesis device |
CN102186035A (en) * | 2010-12-29 | 2011-09-14 | 友达光电股份有限公司 | Method for displaying screen display information |
US20110285902A1 (en) * | 2010-05-19 | 2011-11-24 | Sony Corporation | Display device, frame rate conversion device, and display method |
-
2015
- 2015-02-28 CN CN201510091819.8A patent/CN104702878B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567170A (en) * | 2003-06-13 | 2005-01-19 | 钰创科技股份有限公司 | Method for displaying form partition on screen |
CN1969314A (en) * | 2004-06-15 | 2007-05-23 | 索尼株式会社 | Image processing device and method, recording medium, and program |
KR20070048388A (en) * | 2005-11-04 | 2007-05-09 | 엘지전자 주식회사 | Screen select capable video display apparatus and control method thereof |
CN101127847A (en) * | 2007-08-29 | 2008-02-20 | 杭州华三通信技术有限公司 | A screen display synthesis method and synthesis device |
US20110285902A1 (en) * | 2010-05-19 | 2011-11-24 | Sony Corporation | Display device, frame rate conversion device, and display method |
CN102186035A (en) * | 2010-12-29 | 2011-09-14 | 友达光电股份有限公司 | Method for displaying screen display information |
Also Published As
Publication number | Publication date |
---|---|
CN104702878B (en) | 2018-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016107496A1 (en) | Video frame processing method, video processing chip, motion estimation and motion compensation chip | |
EP3429210A1 (en) | Methods, devices and stream for encoding and decoding volumetric video | |
US9967599B2 (en) | Transmitting display management metadata over HDMI | |
US10574937B2 (en) | Method for high-definition image processing, method for high-definition image playback and related apparatus and system | |
CN109427047B (en) | Image processing method and device | |
CN108235055B (en) | Method and device for realizing transparent video in AR scene | |
US10360687B2 (en) | Detection and location of active display regions in videos with static borders | |
CN109600605B (en) | Detection method of 4K ultra-high-definition video, electronic device and computer program product | |
CN102714745B (en) | Digital video signal output device and display device, and digital video signal output method and reception method | |
US10467737B2 (en) | Method and device for adjusting grayscale values of image | |
CN105681791A (en) | Self-adaptive remote desktop transmission method and system | |
US10638131B2 (en) | Content providing apparatus, display apparatus, and control method therefor | |
TWI516124B (en) | Displaying method of screen display information | |
CN111179195A (en) | Depth image hole filling method and device, electronic equipment and storage medium thereof | |
US20240054623A1 (en) | Image processing method and system, and device | |
CN104702878A (en) | Method for differentiating OSD and Video signals based on HDMI protocol | |
US10109077B2 (en) | Image generation device and display device | |
KR20210066619A (en) | Electronic apparatus and control method thereof | |
CN111200693A (en) | Image data transmission method, device and system | |
CN105554587B (en) | A kind of display control method, device and display device | |
US10419709B2 (en) | Video processing device, transmitting device, control program, and recording medium | |
CN104702895A (en) | Video image enhancing system applied to player | |
CN117834891B (en) | Video signal compression processing and transmitting method | |
US10019967B2 (en) | Image processing apparatus, source device, image processing system, image processing method, and program for combining images | |
US9361860B2 (en) | Display apparatus, image post-processing apparatus and method for image post-processing of contents |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200117 Address after: 266101 No. 399, Laoshan District Pine Ridge Road, Qingdao of Shandong province Patentee after: Qingdao Xinxin Microelectronics Technology Co., Ltd. Address before: 201203 Shanghai City Chenhui Road, Zhangjiang High Tech Park of Pudong New Area No. 88, building 1, room 418, 416 Patentee before: Hongyou Image Technology (Shanghai) Co., Ltd. |