CN102857703A - High-definition video character superimposing system and control method - Google Patents
High-definition video character superimposing system and control method Download PDFInfo
- Publication number
- CN102857703A CN102857703A CN2012103315663A CN201210331566A CN102857703A CN 102857703 A CN102857703 A CN 102857703A CN 2012103315663 A CN2012103315663 A CN 2012103315663A CN 201210331566 A CN201210331566 A CN 201210331566A CN 102857703 A CN102857703 A CN 102857703A
- Authority
- CN
- China
- Prior art keywords
- character
- video
- buffer
- module
- order
- 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
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a high-definition video character superimposing system which comprises an MCU (microprogrammed control unit), a camera, a word stock storage, a screen mapping storage, a display and an FPGA (field programmable gate array)-based high-definition video character superimposing device, wherein the FPGA-based high-definition video character superimposing device comprises a command buffer, a video buffer, a character buffer and a character superimposing module. The invention further discloses a control method using the system. The high-definition video character superimposing system is set up by an internal high-speed parallel processing unit of an FPGA, extraction and superimposition of characters are completed without affecting normal transmission of videos by taking advantages of high processing speed, abundant resources and flexible design of the FPGA and by the aid of a parallel processing mode, and difficulty in character superimposition of high-definition monitoring products on current market is overcome.
Description
Technical field
The present invention relates to the safety monitoring technology field, particularly relate to a kind of HD video character overlapping system and control method.
Background technology
The high-definition digital epoch of monitoring product arrive at present, and the security monitoring field needs a large amount of high-definition video monitoring systems that use, and the monitoring product of various high definitions emerges in an endless stream.The monitor staff does not spend on-the-spot patrol and just can monitor the actual conditions at scene by the control monitoring product, simultaneously monitor staff's data message of also needing to show by monitor video obtain on-the-spot relevant information as, monitoring orientation and time etc.Therefore man-machinely seem alternately particularly important.
The man-machine bridge that provides alternately is provided overlaying character in the HD video, and by display menu in HD video, the monitor staff can easily select control model; By the monitor message that shows in the video, the monitor staff can grasp on-the-spot basic condition.But existing character overlapping system is generally used for simulating or the digital monitoring product of SD, and the amount of video information of processing is little, and overlaying character is few, has not been suitable for the demand of current high-definition digital video monitoring product.So just need a kind of HD video character superimposing device that can adapt to high-definition monitoring production development requirement.
Summary of the invention
The objective of the invention is for the technological deficiency that exists in the prior art, and a kind of HD video character overlapping system and control method that can adapt to high-definition monitoring production development requirement is provided.
For realizing that the technical scheme that purpose of the present invention adopts is:
A kind of HD video character overlapping system, comprise MCU, video camera, library stores device, screen mapping memory, display and based on the HD video character superimposing device of FPGA, described HD video character superimposing device based on FPGA comprises command buffer, video display buffer, character buffer and character laminating module, described character laminating module comprises, command control module, it is kept in communication to be connected with MCU and receives and then resolve command deposits order in command buffer; The character mapping block, it extracts order and extracts character and deposit in the character buffer in the library stores device by order from ordering in the buffer, and it can extract by order that data deposit in the screen mapping memory in the character buffer simultaneously; The video control module, it receives the high-definition video signal of video camera and the overlaying character data extracted in the screen mapping memory according to vision signal deposit video display buffer in, then character and vision signal is superposeed and exports display to.
Described command buffer, video display buffer and character buffer are the FIFO buffer based on FPGA.
Described command control module comprises continuous order extraction module and command analysis module, and described order extraction module is connected to extract the order that MCU sends with MCU; The command analysis module is connected with order FIFO buffer, and its resolve command and the order that will need to store buffer in the command buffer.
Described character storage control module comprises character storage control module and the character storing driver module that is connected, described character storage control module links to each other with the character buffer with character memory, and also buffer memory is to the character buffer by order designated character is extracted in character memory, and described character storing driver module is connected the character data in the character buffer memory to be deposited in to screen mapping memory assigned address by order with the character buffer with the screen mapping memory.
Described video control module is connected and composed by video parsing module and video superimpose module, and the video parsing module is connected to finish the parsing of video and extracts synchronizing signal with input video; The video superimpose module is connected with the screen mapping memory with video display buffer, the video superimpose module is extracted all characters that a frame video needs by instruction and is deposited in the video display buffer in the screen mapping memory, output after reading character and the stack in the video buffer in output video.
A kind of control method such as the described HD video character of claim 1-5 overlapping system may further comprise the steps,
1) MCU sends character stack order;
2) deposit this order in command buffer after the control command of command control module reception MCU and the parsing;
3) character extraction step, character superposing control module reading order memory obtains screen coordinate and ASCII character corresponding to this character that character shows, and get this character in the library stores device, then this character information is buffered in the character buffer;
4) character deposits step in, and the character information in the character superposing control module reading character buffer, and according to the screen coordinate in the control command is deposited correspondence position in the screen mapping memory with character information;
5) video extraction step, video control module be according to the video information received, read character data in the screen mapping memory with the display position corresponding with video, and a buffer memory is to video display buffer;
6) video is read character information in the video display buffer when effectively row shows, and the video image after the rear output character stack that superposes.
Described video extraction step priority deposits step priority in greater than character, and described character deposits step priority in greater than character extraction step priority.
Compared with prior art, the invention has the beneficial effects as follows:
High definition character overlapping system of the present invention adopts FPGA inner high speed parallel processing element to build, utilize the processing speed of FPGA fast, the advantage of aboundresources, flexible design, adopt the parallel processing mode, when finishing the extraction of character and stack, do not affect the normal transmission of video yet, solved the difficulty of in the market high-definition monitoring product character stack.
As preferred version, this high definition character overlapping system is connected with MCU by the built-in FIFO buffer of FGPA, has improved the operating efficiency of MCU, has solved simultaneously the MCU problem different from FPGA work clock territory.And this high definition character superimposing device is connected with character library by the built-in character FIFO buffer of FGPA, and the buffer memory character has solved the slow problem of character library read or write speed in advance.Simultaneously this device flexibility is high, can be according to different character format and the character Display modes of user's needs customization.And adopt the FPGA Design for Programmable Logic to form, so the design cycle is short, the compatibility is high, is fit to very much the high-definition monitoring system of high-performance and low-cost.This high definition character superimposing device is connected with display by the built-in video FIFO buffer of FGPA, cushion in advance delegation's character data, has solved the problem that screen mapping memory read or write speed is slower than video speed.
Description of drawings
Figure 1 shows that HD video character overlapping system structural representation of the present invention;
Figure 2 shows that character superposing control block diagram of the present invention.
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
As illustrated in fig. 1 and 2, HD video character overlapping system of the present invention, comprise MCU, video camera, library stores device, screen mapping memory, display and based on the HD video character superimposing device of FPGA, described HD video character superimposing device based on FPGA comprises command buffer, video display buffer, character buffer and character laminating module, described character laminating module comprises command control module, and it is kept in communication to be connected with MCU and receives and then resolve command deposits order in command buffer; The character mapping block, it extracts order and deposits in the character buffer by extracting character in the command word library stores device from ordering in the buffer, and it can extract by order that data deposit in the screen mapping memory in the character buffer simultaneously; The video control module, it receives the high-definition video signal of video camera and the overlaying character data extracted in the screen mapping memory according to vision signal deposit video display buffer in, then with character and video superimpose and export display to.
Wherein, specifically, based on the application of HD video character superimposing device in high-definition video monitoring system of FPGA as shown in Figure 1, its front end links to each other with controller MCU with monitoring camera, and the rear end links to each other with display, consists of basic supervisory control system.The HD video character superimposing device based on FPGA in the present embodiment has adopted the ECP3 of Lattice company Series FPGA chip, the SPI FLASH of the 32M of the W25-p32 of library stores device employing WinBond company, it is the SRAM of the 4M of LY61L25616 that the screen mapping memory adopts model.HD video character superimposing device based on FPGA can carry out the character stack according to the stack requirement of MCU with the video data of monitoring, and the video data transmitting after will superposeing is to display.
Described command control module is connected and composed by order extraction module and command analysis module, and described order extraction module is connected to extract the order that MCU sends with MCU; The command analysis module is connected with command buffer, and its resolve command and the order that will need to store buffer into command buffer with specific data format.
Described character storage control module comprises character storage control module and the character storing driver module that is connected, in order to extraction and the buffer memory work of finishing character; Described character storage control module links to each other with the character buffer with character memory, and also buffer memory is to the character buffer by order designated character is extracted in character memory, and described character storing driver module is connected the character data in the character buffer to be deposited in to screen mapping memory assigned address by order with the character buffer with the screen mapping memory.
Described video control module is connected and composed by video parsing module and video superimpose module, and the video parsing module is connected with input video, finishes the parsing of video, extracts synchronizing signal; Laminating module is connected with the screen mapping memory with video display buffer, laminating module video display buffer during with sky in the screen mapping memory all characters of frame video and buffer memory to video display buffer, and in video output, read video cache wherein character information and with video superimpose after export.
Preferably, described command buffer, video display buffer and character buffer are the data fifo buffer based on FPGA.Certainly, buffer also can adopt the forms such as Ram.
Highlightedly, buffer adopts the FIFO buffer, and the character overlapping controller can the rational management action to the degree of depth handle control of each FIFO buffer in the whole device.Send video such as need, then send in the process of video at video cache FIFO, carry out extraction and the storage work of character.In case video cache FIFO is sky, be about to delegation's character information cache and enter video cache FIFO, reasonably dispatch and cooperate, solved the bottleneck that the character stack velocity is slower than the video display speed.
Below in conjunction with control method overlapping system of the present invention is further elaborated and illustrates.
At first, MCU sends character stack order; The control command that command control module receives MCU also deposits this order in order FIFO buffer after the parsing, wherein orders FIFO buffer depth requirements can cushion maximum character amounts that a frame can superpose; The character extraction step, character mapping block reading order FIFO buffer, obtain screen coordinate and ASCII character corresponding to this character that character shows, the character mapping block is got this character according to ASCII character and this character information is buffered in the character FIFO buffer in the library stores device, wherein the degree of depth of this character FIFO buffer is the size of two character informations, simultaneously, character information in the character mapping block reading character FIFO buffer, and according to the screen coordinate in the control command character information is deposited correspondence position in the screen mapping memory; The video control module is according to the video information of receiving, read character data in the screen mapping memory and a buffer memory to video FIFO buffer with the display position corresponding with video, this video FIFO buffer degree of depth is the size of video one-row pixels point, stack output step at last, the video control module is analyzed when video is effectively gone and is read character information in the video FIFO buffer, and the rear output video image that superposes again is to display.
That is, the character laminating module is mainly finished the control work of character stack, and it determines the operating state that need to carry out at present by the degree of depth that reads 3 FIFO buffers.Its operating state is as follows: video FIFO buffer is during with sky, and the video control module need to enter the video extraction state, finishes by extracting character information corresponding to delegation's video in the screen mapping memory; When character FIFO buffer will be expired, the character laminating module need to enter character and deposit state in, need to finish to put forward data by character FIFO buffer and deposit the screen mapping memory in; During order FIFO buffer non-NULL, the character laminating module need to enter character and extract state, need to finish by extracting in the order FIFO buffer and order, and extract character information from the relevant position according to the order indication.The priority of above three kinds of operating states is the video extraction state〉character deposits state in〉character extracts state.When three kinds of states trigger simultaneously, according to the priority processing of sorting.
The above only is preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (7)
1. HD video character overlapping system, it is characterized in that, comprise MCU, video camera, library stores device, screen mapping memory, display and based on the HD video character superimposing device of FPGA, described HD video character superimposing device based on FPGA comprises command buffer, video display buffer, character buffer and character laminating module, described character laminating module comprises
Command control module, it is kept in communication to be connected with MCU and receives and then resolve command deposits order in command buffer;
The character mapping block, it extracts order and extracts character and deposit in the character buffer in the library stores device by order from ordering in the buffer, and it can extract by order that data deposit in the screen mapping memory in the character buffer simultaneously;
The video control module, it receives the high-definition video signal of video camera and the overlaying character data extracted in the screen mapping memory according to vision signal deposit video display buffer in, then character and vision signal is superposeed and exports display to.
2. HD video character overlapping system as claimed in claim 1 is characterized in that, described command buffer, video display buffer and character buffer are the FIFO buffer based on FPGA.
3. HD video character overlapping system as claimed in claim 2 is characterized in that, described command control module comprises continuous order extraction module and command analysis module, and described order extraction module is connected to extract the order that MCU sends with MCU; The command analysis module is connected with order FIFO buffer, and its resolve command and the order that will need to store buffer in the command buffer.
4. HD video character overlapping system as claimed in claim 2, it is characterized in that, described character storage control module comprises character storage control module and the character storing driver module that is connected, described character storage control module links to each other with the character buffer with character memory, and also buffer memory is to the character buffer by order designated character is extracted in character memory, and described character storing driver module is connected the character data in the character buffer memory to be deposited in to screen mapping memory assigned address by order with the character buffer with the screen mapping memory.
5. HD video character overlapping system as claimed in claim 2, it is characterized in that, described video control module is connected and composed by video parsing module and video superimpose module, and the video parsing module is connected to finish the parsing of video and extracts synchronizing signal with input video; The video superimpose module is connected with the screen mapping memory with video display buffer, the video superimpose module is extracted all characters that a frame video needs by instruction and is deposited in the video display buffer in the screen mapping memory, output after reading character and the stack in the video buffer in output video.
6. the control method such as the described HD video character of claim 1-5 overlapping system is characterized in that, may further comprise the steps,
1) MCU sends character stack order;
2) deposit this order in command buffer after the control command of command control module reception MCU and the parsing;
3) character extraction step, character superposing control module reading order memory obtains screen coordinate and ASCII character corresponding to this character that character shows, and get this character in the library stores device, then this character information is buffered in the character buffer;
4) character deposits step in, and the character information in the character superposing control module reading character buffer, and according to the screen coordinate in the control command is deposited correspondence position in the screen mapping memory with character information;
5) video extraction step, video control module be according to the video information received, read character data in the screen mapping memory with the display position corresponding with video, and a buffer memory is to video display buffer;
6) video is read character information in the video display buffer when effectively row shows, and the video image after the rear output character stack that superposes.
7. control method as claimed in claim 6 is characterized in that, described video extraction step priority deposits step priority in greater than character, and described character deposits step priority in greater than character extraction step priority.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103315663A CN102857703A (en) | 2012-09-07 | 2012-09-07 | High-definition video character superimposing system and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012103315663A CN102857703A (en) | 2012-09-07 | 2012-09-07 | High-definition video character superimposing system and control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102857703A true CN102857703A (en) | 2013-01-02 |
Family
ID=47403857
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012103315663A Pending CN102857703A (en) | 2012-09-07 | 2012-09-07 | High-definition video character superimposing system and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102857703A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103747191A (en) * | 2014-01-27 | 2014-04-23 | 大连科迪视频技术有限公司 | Network interaction high-definition character superimposition system |
CN105187745A (en) * | 2015-08-30 | 2015-12-23 | 深圳市特力科信息技术有限公司 | High definition video OSD menu superposition module based on FPGA and method |
CN103489424B (en) * | 2013-10-08 | 2016-01-13 | 东南大学 | A kind of implementation method of image-text video mixed display driver |
CN105933670A (en) * | 2016-06-20 | 2016-09-07 | 中警科技(江苏)开发有限公司 | Police kiosk monitoring system |
CN105955687A (en) * | 2016-04-29 | 2016-09-21 | 华为技术有限公司 | Image processing method, apparatus and system |
CN106534722A (en) * | 2016-12-19 | 2017-03-22 | 中国科学院长春光学精密机械与物理研究所 | FPGA based video stream character superimposition processing system and processing method |
CN106961581A (en) * | 2017-03-23 | 2017-07-18 | 济南飞越机电科技有限公司 | It is a kind of to be realized by manipulating character to the monitoring system of cradle head control |
CN109886396A (en) * | 2019-03-18 | 2019-06-14 | 国家电网有限公司 | A kind of transmission line galloping on-line prediction system and method |
CN111311479A (en) * | 2020-01-14 | 2020-06-19 | 成都智明达电子股份有限公司 | Character superposition method based on FPGA |
CN111818277A (en) * | 2020-06-24 | 2020-10-23 | 重庆山淞信息技术有限公司 | Character superposition method and device for video image, computer equipment and storage medium |
CN113242391A (en) * | 2021-07-09 | 2021-08-10 | 四川赛狄信息技术股份公司 | Video processing board, video processing method and video processing platform |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201360317Y (en) * | 2008-12-09 | 2009-12-09 | 中国北方工业公司 | Character superimposing device |
CN101640768A (en) * | 2008-07-30 | 2010-02-03 | 天津天地伟业数码科技有限公司 | Multi-cannel OSD video superposition controller |
CN101707677A (en) * | 2009-12-11 | 2010-05-12 | 华亚微电子(上海)有限公司 | osd controller |
CN102209205A (en) * | 2011-06-14 | 2011-10-05 | 中国科学院长春光学精密机械与物理研究所 | Video overlapping display device for television tracker |
-
2012
- 2012-09-07 CN CN2012103315663A patent/CN102857703A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101640768A (en) * | 2008-07-30 | 2010-02-03 | 天津天地伟业数码科技有限公司 | Multi-cannel OSD video superposition controller |
CN201360317Y (en) * | 2008-12-09 | 2009-12-09 | 中国北方工业公司 | Character superimposing device |
CN101707677A (en) * | 2009-12-11 | 2010-05-12 | 华亚微电子(上海)有限公司 | osd controller |
CN102209205A (en) * | 2011-06-14 | 2011-10-05 | 中国科学院长春光学精密机械与物理研究所 | Video overlapping display device for television tracker |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103489424B (en) * | 2013-10-08 | 2016-01-13 | 东南大学 | A kind of implementation method of image-text video mixed display driver |
CN103747191A (en) * | 2014-01-27 | 2014-04-23 | 大连科迪视频技术有限公司 | Network interaction high-definition character superimposition system |
CN103747191B (en) * | 2014-01-27 | 2017-02-15 | 大连科迪视频技术有限公司 | Network interaction high-definition character superimposition system |
CN105187745A (en) * | 2015-08-30 | 2015-12-23 | 深圳市特力科信息技术有限公司 | High definition video OSD menu superposition module based on FPGA and method |
CN105955687B (en) * | 2016-04-29 | 2019-12-17 | 华为技术有限公司 | Image processing method, device and system |
CN105955687A (en) * | 2016-04-29 | 2016-09-21 | 华为技术有限公司 | Image processing method, apparatus and system |
CN105933670A (en) * | 2016-06-20 | 2016-09-07 | 中警科技(江苏)开发有限公司 | Police kiosk monitoring system |
CN106534722A (en) * | 2016-12-19 | 2017-03-22 | 中国科学院长春光学精密机械与物理研究所 | FPGA based video stream character superimposition processing system and processing method |
CN106961581A (en) * | 2017-03-23 | 2017-07-18 | 济南飞越机电科技有限公司 | It is a kind of to be realized by manipulating character to the monitoring system of cradle head control |
CN109886396A (en) * | 2019-03-18 | 2019-06-14 | 国家电网有限公司 | A kind of transmission line galloping on-line prediction system and method |
CN111311479A (en) * | 2020-01-14 | 2020-06-19 | 成都智明达电子股份有限公司 | Character superposition method based on FPGA |
CN111311479B (en) * | 2020-01-14 | 2023-09-29 | 成都智明达电子股份有限公司 | FPGA-based character superposition method |
CN111818277A (en) * | 2020-06-24 | 2020-10-23 | 重庆山淞信息技术有限公司 | Character superposition method and device for video image, computer equipment and storage medium |
CN113242391A (en) * | 2021-07-09 | 2021-08-10 | 四川赛狄信息技术股份公司 | Video processing board, video processing method and video processing platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102857703A (en) | High-definition video character superimposing system and control method | |
CN208971624U (en) | Automotive camera system | |
FI115802B (en) | Refresh the photo frames on the memory display | |
CN101516015B (en) | Multi-path video data acquiring, processing and transmitting method | |
CN104320615B (en) | A kind of intelligent video safety-protection system and its signal processing method | |
CN101697112B (en) | Method and device for processing multi-screen splicing display | |
CN101697114B (en) | Method and device for processing multi-screen splicing display | |
CN101710256A (en) | High speed image data acquisition and processing card based on Camera Link interface | |
CN107807777B (en) | Multi-core embedded television tracker man-machine interaction device and method | |
CN103037205A (en) | Method and system of video transmission | |
CN103986931A (en) | Method for transmitting video data on FPGA and DSP structure on basis of SRIO bus | |
CN107733546A (en) | A kind of time information synchronization system and method | |
CN101221439A (en) | Embedded system for high speed parallel duplex digital image capturing and processing | |
CN106454023A (en) | USB3.0 CMOS linear array industrial camera | |
CN105721789A (en) | Low-latency omni-directional navigation video multi-mode display control method | |
CN201628974U (en) | System for checking inventory in stereoscopic warehouse | |
CN104735448B (en) | ARINC818 sending node data collection and control methods | |
CN107231540B (en) | High-speed video acquisition and transmission system | |
CN101175218B (en) | Method and system for performing image process in computer equipment | |
CN202872972U (en) | Image monitoring and processing device | |
CN105450980A (en) | Method and system for controlling high-definition aerial photography and returning videos | |
CN202111782U (en) | 5million pixel video processing system | |
CN103747191A (en) | Network interaction high-definition character superimposition system | |
CN102497514B (en) | Three-channel video forwarding equipment and forwarding method | |
CN107623834A (en) | A kind of moving object detection system based on FPGA |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130102 |