CN106899878A - A kind of adjustable video and graph compound method and system of transparency based on OMAP chips - Google Patents

A kind of adjustable video and graph compound method and system of transparency based on OMAP chips Download PDF

Info

Publication number
CN106899878A
CN106899878A CN201710168310.8A CN201710168310A CN106899878A CN 106899878 A CN106899878 A CN 106899878A CN 201710168310 A CN201710168310 A CN 201710168310A CN 106899878 A CN106899878 A CN 106899878A
Authority
CN
China
Prior art keywords
omap
module
osd
user
chips
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
Application number
CN201710168310.8A
Other languages
Chinese (zh)
Inventor
李绍荣
曾珂
李志鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Electronic Science and Technology of China
Original Assignee
University of Electronic Science and Technology of China
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by University of Electronic Science and Technology of China filed Critical University of Electronic Science and Technology of China
Priority to CN201710168310.8A priority Critical patent/CN106899878A/en
Publication of CN106899878A publication Critical patent/CN106899878A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Abstract

A kind of adjustable video and graph compound method and system of transparency based on OMAP chips.It includes:User's operation module, acquisition module, memory module, ARM control modules, DSP operation module and display module.User selects to want the picture and its transparence value of Overlapping display by the interactive interface of user's operation module, the buffering area of memory module is write after OSD pictures are pre-processed, OMAP chip ARM control modules acquisition module obtains the real time video data of specific format, real time video data and image data are carried out OMAP chip DSP operation modules the weighted calculation of Pixel-level according to the transparence value of setting, and display module shows final additive fusion effect by LCD screen.The present invention is superimposed that transparent OSD is unrelated with the complexity of picture selected by user on real-time video, the real time modifying of support mixed transparent degree, improves flexibility and the convenience of OSD.

Description

A kind of adjustable video and graph compound method and system of transparency based on OMAP chips
Technical field
The invention belongs to digital video image treatment and display technology field, it is related to a kind of OSD (OnScreen Display, screen display) realization method and system.
Background technology
In the utilization of multimedia digital image processing techniques, video detection system is often the emphasis of concern.Conventional Video and graph compound method has two kinds:
1) it is overlapped using chip superposed
2) pixel is calculated using counter to be overlapped
Both approaches may be only available for being superimposed simple characters, it is difficult to complex figure is supported, therefore the information content that OSD is included It is few.And character can be completely covered the information of original video image when imaging importing is carried out, the regulation of transparency is not supported, no Can be adapted to according to the change of video additive fusion scene.Other both approaches need the complicated periphery of configuration when in use Circuit, such as character font dot matrix memory.Hardware circuit design is more complicated, in-convenience in use, stability it is poor and most OSD can not be edited.Each character used in OSD is also required to carry out dot matrix description in advance and additional space is stored, Maintenance management high cost.
The present invention is merged using the pixel-level image data investigation of ARGB color spaces, can solve problem above.Form For the color of the single pixel of the video image of ARGB is 32 place values:Alpha, red, green and blueness are each 8.Storage exists Alpha value in Alpha passages indicates the transparency of color, represents the mixability of color and background colour.I.e. one pixel Transparency can be considered as the stochastic variable of interval [0,255], wherein 0 represents fully transparent color, 255 represent completely impermeable Bright color.Data operation directly is carried out to the pixel in image, the imaging importing fusion of Pixel-level is realized.Given source color Three components (red, green and blue) all mix with the respective component of background color according to below equation:
Show Color=source color × alpha/255+ background colors × (255-alpha)/255
The content of the invention
The present invention provides a kind of adjustable video and graph compound method and system of transparency based on OMAP chips, it is intended to solve Certainly existing OSD implementation methods editor very flexible and development cost problem high, it includes following:
User's operation module, acquisition module, memory module, ARM control modules, DSP operation module and display module.User Select to want the picture and its transparence value of Overlapping display by the interactive interface of user's operation module, by the pretreatment of OSD pictures The buffering area of memory module is write afterwards, and OMAP chip ARM control modules acquisition module obtains the real time video data of specific format, Real time video data and image data are carried out OMAP chip DSP operation modules the weighting of Pixel-level according to the transparence value of setting Calculate, display module shows final additive fusion effect by LCD screen.Wherein totally 256 grades of mixed transparent angle value support 0~255 Regulation.
Specifically, acquisition module uses CCD camera and TVP5146M2 decoding chips, in the form of frame buffering queue Obtain the video data of yuv format.
Specifically, ARM control modules and DSP operation module are communicated by DSPlink, share SDRAM data buffer zones.
The present invention by the operational capability of DSP, the characteristics of it takes full advantage of spatial domain treatment and calculates simple, it is to avoid frequency The complex process of domain treatment, is superimposed the whole additive process and picture selected by user of transparent OSD on real-time video Complexity is unrelated, supports the real time modifying of mixed transparent degree, improves flexibility and the convenience of OSD.
Brief description of the drawings
Fig. 1 is process flow block diagram of the present invention;
Fig. 2 is test OSD pictures omap.rgb;
Fig. 3 is the video image of a frame Real-time Collection;
Fig. 4 is the effect 1 of video image and test pictures additive fusion;
Fig. 5 is the effect 2 of video image and test pictures additive fusion;
Fig. 6 is the effect 3 of video image and test pictures additive fusion;
Specific embodiment
The present invention is further described with example below in conjunction with the accompanying drawings
The OSD pictures that user is superimposed needed for being selected under the current directory of program by interactive interface, and set overall mixed Transparence value parameter alpha is closed, wherein number range is (0~255), totally 256 grades.Selected OSD image datas can be added Be downloaded to OSD windows, and recordable picture width parameter i and height parameter j.
Wherein real time video data transparence value is alpha, and OSD pictures transparency is 255-alpha.Reference can be made to Fig. 2, one It is the test pictures of 400x272 to magnify small, for real time video image additive fusion, can therefrom find out that OSD test pictures are Complete nontransparent picture, transparence value is defaulted as 255.
The performance parameter of camera device is obtained, the standard of collection video image is read and is recorded the yuv video figure of collection The specific storage format of picture, picture traverse parameter m and picture altitude parameter n.Core is decoded by CCD camera and TVP5146M2 Piece obtains real time video data, reference can be made to Fig. 3 is when not being overlapped fusion, the frame video image taken by camera, Its size is 720x576, and the transparence value of the image is defaulted as 255, i.e., nontransparent.
The frame buffering queue of OMAP chip ARM control modules control real time video data collection, the yuv format reality for collecting When video data can be transferred to DSP operation module.
Specific storage format (such as 4 of the DSO computing modules according to yuv video data:4:4 or 4:2:2 etc.), select different Single frame video data are transformed into ARGB color spaces by DSP algorithm, and video data is loaded into video window.Wherein solid color The result of calculation value of passage if more than 255 when if be set to 255, if result of calculation value be less than 0 if be set to 0.Wherein according to journey The alpha value that sequence is input into when starting, all pixels point to single frame video image carries out transparence value setting.
So that YUV422 is converted to ARGB as an example:
ARGB (m, n)=alpha (m, n)+R (m, n)+G (m, n)+B (m, n)
Wherein ARGB (m, n) is m rows in a frame ARGB images, the pixel value of the n-th row
Alpha (m, n) is m rows in a frame ARGB images, the transparence value of the n-th row
1) conversion of R Color Channels
R (m, n)=[1192* [YUV (m, n) -16]+1634* [YUV (m, n+3) -128]]>>10
2) conversion of G Color Channels
G (m, n)=[1192* [YUV (m, n) -16] -833* [YUV (m, n+3) -128] -400* [YUV (m, n+1) -128] >>10
3) conversion of B color channel
B (m, n)=[1192* [YUV (m, n) -16]+2066* [YUV (m, n+1) -128]]>>10
Last OSD windows and video window are overlapped display, are connected with LCD screen by DVI output interfaces, can be direct Observation additive fusion effect, after having shown a frame video image, is reentered into rear of queue, and take from queue heads by current frame buffer Go out new frame buffering, carry out the Overlapping display of next frame video image, until stopping collection image.The wherein pixel of overlap-add region Point value can be weighted mixing according to video image and the respective transparence value of picture, and non-superimposed region then directly displays original Video image.Single pixel after to additive fusion is calculated as follows:
Display data=video data × alpha/255+OSD pictures × (255-alpha)/255
Additive fusion region:
Non-superimposed integration region:
Fig. 4, Fig. 5, Fig. 6 are the treatment effects of this algorithm under different alpha input values, it can be seen that after fusion superposition Image it is fine while remain the image information of video image and test pictures, do not cause image fault or fuzzy.
Technical characteristic of the present invention without description can be realized by or using prior art, will not be repeated here.Certainly Described above is not limitation of the present invention, and the present invention is also not limited to the example above, the ordinary skill people of the art Change, addition that member is made in essential scope of the invention, should also belong to protection scope of the present invention.

Claims (3)

1. adjustable video and graph compound method and system of a kind of transparency based on OMAP chips, it is characterised in that can select Required OSD pictures, additive process is unrelated with the complexity of OSD pictures, and without the management of character repertoire.
2. a kind of adjustable video and graph compound method of transparency based on OMAP chips according to claim 1 and it is System, it is characterised in that need the regulation for carrying out transparency to set according to user when supporting to start.
3. a kind of adjustable video and graph compound method of transparency based on OMAP chips according to claim 1 and it is System, it is characterised in that the color space rapid translating of video data is carried out by the DSP algorithm for meeting XDM standards.
CN201710168310.8A 2017-03-21 2017-03-21 A kind of adjustable video and graph compound method and system of transparency based on OMAP chips Pending CN106899878A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710168310.8A CN106899878A (en) 2017-03-21 2017-03-21 A kind of adjustable video and graph compound method and system of transparency based on OMAP chips

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710168310.8A CN106899878A (en) 2017-03-21 2017-03-21 A kind of adjustable video and graph compound method and system of transparency based on OMAP chips

Publications (1)

Publication Number Publication Date
CN106899878A true CN106899878A (en) 2017-06-27

Family

ID=59193945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710168310.8A Pending CN106899878A (en) 2017-03-21 2017-03-21 A kind of adjustable video and graph compound method and system of transparency based on OMAP chips

Country Status (1)

Country Link
CN (1) CN106899878A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108154544A (en) * 2017-12-19 2018-06-12 苏州华兴源创电子科技有限公司 A kind of method and apparatus of overlaying character on the image
CN108428222A (en) * 2018-05-21 2018-08-21 深圳市神飞电子科技有限公司 A kind of system of Terahertz image and natural light image superposition
CN110060197A (en) * 2019-03-26 2019-07-26 浙江达峰科技有限公司 A kind of 3D rendering interactive module and processing method
CN110913262A (en) * 2019-11-28 2020-03-24 京东方科技集团股份有限公司 Image superposition method and device
CN112653917A (en) * 2020-11-04 2021-04-13 西安诺瓦星云科技股份有限公司 Video processing method and device and video processing equipment
US11586255B2 (en) 2019-11-19 2023-02-21 Beijing Bytedance Network Technology Co., Ltd. Method and apparatus for adjusting view for target device, electronic device and medium
CN116363260A (en) * 2023-03-31 2023-06-30 北京百度网讯科技有限公司 Image generation method and device and electronic equipment
CN116363260B (en) * 2023-03-31 2024-05-17 北京百度网讯科技有限公司 Image generation method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110072134A (en) * 2009-12-22 2011-06-29 엘지전자 주식회사 Apparatus and method for processing image
CN103139509A (en) * 2013-02-26 2013-06-05 西安创芯科技有限责任公司 On screen display (OSD) control display method and device based on advanced extensible interface (AXI) bus protocol
CN103516998A (en) * 2013-09-25 2014-01-15 北京航空航天大学 Station caption superposition method for analog video
CN105872418A (en) * 2016-03-30 2016-08-17 浙江大华技术股份有限公司 Method and device for superimposing a GUI (Graphical User Interface) image layer on a digital image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110072134A (en) * 2009-12-22 2011-06-29 엘지전자 주식회사 Apparatus and method for processing image
CN103139509A (en) * 2013-02-26 2013-06-05 西安创芯科技有限责任公司 On screen display (OSD) control display method and device based on advanced extensible interface (AXI) bus protocol
CN103516998A (en) * 2013-09-25 2014-01-15 北京航空航天大学 Station caption superposition method for analog video
CN105872418A (en) * 2016-03-30 2016-08-17 浙江大华技术股份有限公司 Method and device for superimposing a GUI (Graphical User Interface) image layer on a digital image

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108154544A (en) * 2017-12-19 2018-06-12 苏州华兴源创电子科技有限公司 A kind of method and apparatus of overlaying character on the image
CN108428222A (en) * 2018-05-21 2018-08-21 深圳市神飞电子科技有限公司 A kind of system of Terahertz image and natural light image superposition
CN110060197A (en) * 2019-03-26 2019-07-26 浙江达峰科技有限公司 A kind of 3D rendering interactive module and processing method
US11586255B2 (en) 2019-11-19 2023-02-21 Beijing Bytedance Network Technology Co., Ltd. Method and apparatus for adjusting view for target device, electronic device and medium
CN110913262A (en) * 2019-11-28 2020-03-24 京东方科技集团股份有限公司 Image superposition method and device
CN110913262B (en) * 2019-11-28 2022-11-04 京东方科技集团股份有限公司 Image superposition method and device
CN112653917A (en) * 2020-11-04 2021-04-13 西安诺瓦星云科技股份有限公司 Video processing method and device and video processing equipment
CN116363260A (en) * 2023-03-31 2023-06-30 北京百度网讯科技有限公司 Image generation method and device and electronic equipment
CN116363260B (en) * 2023-03-31 2024-05-17 北京百度网讯科技有限公司 Image generation method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN106899878A (en) A kind of adjustable video and graph compound method and system of transparency based on OMAP chips
US20060050076A1 (en) Apparatus for and method of generating graphic data, and information recording medium
US7554563B2 (en) Video display control apparatus and video display control method
US7623140B1 (en) Method and apparatus for processing video and graphics data to create a composite output image having independent and separate layers of video and graphics
CN105869112B (en) A kind of edge keeps the high dynamic range image tone mapping method of minimum
CN109345490B (en) Method and system for enhancing real-time video image quality of mobile playing terminal
CN104010124A (en) Method and device for displaying filter effect, and mobile terminal
WO2022111730A1 (en) Image processing method and apparatus, and electronic device
CN103440674A (en) Method for rapidly generating crayon special effect of digital image
US10542242B2 (en) Display device and method for controlling same
CN106997608A (en) A kind of method and device for generating halation result figure
US9723286B2 (en) Image processing apparatus and control method thereof
CN113727161B (en) Microblaze-based real-time video seam clipping method and system
CN102572219A (en) Mobile terminal and image processing method thereof
US8055077B2 (en) R/T display compression preserving intensity information
CN114245027B (en) Video data hybrid processing method, system, electronic equipment and storage medium
KR20240012396A (en) High-quality UI element borders using masks in temporally interpolated frames.
CN110225177B (en) Interface adjusting method, computer storage medium and terminal equipment
CN110597578B (en) Continuous OSD storage display method and device
CN110874816B (en) Image processing method, device, mobile terminal and storage medium
CN110708476A (en) Real-time image processing method and device
JP2014041455A (en) Image processing device, image processing method, and program
JP2008141698A (en) Chroma key device and video picture synthesizing device
US20240096010A1 (en) Image blending modes systems and methods
Lakshmi et al. Analysis of tone mapping operators on high dynamic range images

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170627