CN106162092B - A method and system for collecting and playing motion video - Google Patents
A method and system for collecting and playing motion video Download PDFInfo
- Publication number
- CN106162092B CN106162092B CN201610617408.2A CN201610617408A CN106162092B CN 106162092 B CN106162092 B CN 106162092B CN 201610617408 A CN201610617408 A CN 201610617408A CN 106162092 B CN106162092 B CN 106162092B
- Authority
- CN
- China
- Prior art keywords
- video
- preset background
- block
- real
- moving target
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
- H04N7/183—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast for receiving images from a single remote source
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30221—Sports video; Sports image
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Television Signal Processing For Recording (AREA)
Abstract
The invention discloses the method and system a kind of sport video acquisition and played.This method, comprising: acquire the real-time video of moving target by camera under preset background;The preset background for identifying the real-time video, the preset background is removed, and there was only the video object of moving target after being handled;The video object and the pre- setting video are overlapped broadcasting.The present invention obtains video object by the preset background of the real-time video of the moving target of removal acquisition, and video object and pre- setting video are overlapped broadcasting, when participating in the cintest experience sense of the enhancing user in TV applications.
Description
Technical field
The present invention relates to video display technology field more particularly to a kind of acquisition of sport video and the method played and it is
System.
Background technique
In recent years, smart television is rapidly developed in TV industry.In terms of smart television, TV applications experience is always
Industry emphasis of interest, in application experience, the strong TV of experience sense can obtain the favor of more users, to give enterprise's band
Carry out bigger sales volume, obtains abundanter benefit.With the infiltration of industry and the development of technology, smart television in terms of experience
There is great promotion, such as various fitness campaign TVs, the permeability and activity ratio of smart television also step up, and data are shown,
Ending the smart television permeability of the end of the year in 2015 is 73%, and activity ratio is to have reached 83%, but it still has big development and improvement
Space.It needs to improve the experience sense of user, enhance the telepresenc of TV applications, to improve the permeability and activation of smart television
Rate.
Summary of the invention
The present invention provides the method and system a kind of sport video acquisition and played, and pass through the moving target of removal acquisition
Real-time video preset background, obtain video object, video object and pre- setting video be overlapped broadcastings, enhance user and exist
The experience sense when participating in the cintest of TV applications.
To realize above-mentioned design, the invention adopts the following technical scheme:
On the one hand, a kind of method sport video acquisition and played, this method are provided, comprising:
The real-time video of moving target is acquired by camera under preset background;
The preset background for identifying the real-time video, the preset background is removed, and is only moved after being handled
The video object of target;
The video object and the pre- setting video are overlapped broadcasting.
Preferably, the preset background is preset solid background.
Preferably, the preset background of the identification real-time video, the preset background is removed, after being handled only
There is the video object of moving target, comprising:
A1: the real-time video is decoded using digital signal decoder, obtains RGB information;
A2: the rgb value list of every frame image in the vision signal of the real-time video is obtained according to the RGB information;
A3: the edge of the preset background of every frame image is determined according to the rgb value list;
A4:
A41: every frame image is divided into several block of pixels by the pixel region that the edge surrounds, calculates every piece of pixel
The average value of R, G, B of block;
A42: detection pixel block internally is obtained in the pixel region from surrounding;
A43: judge the average value of R, G, B of the detection pixel block and R, G, B of adjacent pixel blocks average value whether
It is equal, if so, being returned to a mobile block of pixels inside the pixel region using the block of pixels after movement as detection pixel block
Execute step A43;If it is not, continuing to execute step A44;
A44: the edge of the preset background Yu the moving target is determined according to the rgb value of pixel in the block of pixels;
A5: according to the edge of the determining preset background and the moving target, the preset background is deleted or is incited somebody to action
The preset background transparence only has the video object of moving target after being handled.
It is preferably, described that the video object and the pre- setting video are overlapped before broadcasting, further includes:
Enhancing scaling processing is carried out using picture signal of the image enhancement SCALER to the video object.
It is preferably described that the video object and the pre- setting video are overlapped broadcasting, comprising:
The video object after the enhancing scaling processing is subjected to reproduction ratio adjustment and scaling movement, so that the view
Frequency target and the default video matching;
The reproduction ratio is adjusted and scaled the top layer that the video object after movement is placed in the pre- setting video, is folded
Add;
The superimposed pre- setting video is exported with V-BY-ONE interface mode to display screen, is played out.
Preferably, the pre- setting video is the video that HDMI or USB is played.
On the other hand, a kind of system sport video acquisition and played, the system are provided, comprising:
Real Time Video Capture Module, for acquiring the real-time video of moving target by camera under preset background;
Background removal module, the preset background of the real-time video, the preset background is removed, is obtained for identification
There was only the video object of moving target after to processing;
Playing module, the top layer for the video object to be placed in pre- setting video play out.
Preferably, the preset background is preset solid background.
Preferably, the background removal module, comprising:
Decoding unit obtains RGB information for being decoded the real-time video using digital signal decoder;
Rgb value list acquiring unit, every frame in the vision signal for obtaining the real-time video according to the RGB information
The rgb value list of image;
Edge determination unit, four of the preset background for determining every frame image according to the rgb value list
Circumferential edges;
Object edge determination unit, for every frame image to be divided into several pictures by the pixel region that the edge surrounds
Plain block calculates the average value of R, G, B of every piece of block of pixels;Detection pixel block internally is obtained in the pixel region from surrounding;
Judge whether the average value of R, G, B of the detection pixel block are equal with the average value of R, G, B of adjacent pixel blocks, if so, to
A mobile block of pixels inside the pixel region, using the block of pixels after movement as detection pixel block;If it is not, according to the block of pixels
The rgb value of middle pixel determines the edge of the preset background Yu the moving target;
Background removal unit will be described pre- for the edge according to the determining preset background and the moving target
Background is set to delete or by the preset background transparence, there was only the video object of moving target after being handled.
Preferably, the system, further includes:
Image signal processing blocks, for being increased using picture signal of the image enhancement SCALER to the video object
Strong scaling processing.
Preferably, the playing module, is specifically used for:
The video object after the enhancing scaling processing is subjected to reproduction ratio adjustment and scaling movement, so that the view
Frequency target and the default video matching;
The reproduction ratio is adjusted and scaled the top layer that the video object after movement is placed in the pre- setting video, is folded
Add;
The superimposed pre- setting video is exported with V-BY-ONE interface mode to display screen, is played out.
Compared with prior art, the invention has the benefit that acquiring moving target by camera under preset background
Real-time video;The preset background for identifying the real-time video, the preset background is removed, and is only transported after being handled
The video object of moving-target;The video object and the pre- setting video are overlapped broadcasting.The present invention passes through removal acquisition
Moving target real-time video preset background, obtain video object, video object and pre- setting video be overlapped broadcasting,
Enhance user in the experience sense when participating in the cintest of TV applications.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, institute in being described below to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the invention
Example, for those of ordinary skill in the art, without creative efforts, can also implement according to the present invention
The content of example and these attached drawings obtain other attached drawings.
Fig. 1 is a kind of sport video acquisition provided in the specific embodiment of the invention and the first implementation of the method played
The method flow diagram of example.
Fig. 2 is a kind of sport video acquisition provided in the specific embodiment of the invention and the second implementation of the method played
The method flow diagram of example.
Fig. 3 is that a kind of third of sport video acquisition and method played provided in the specific embodiment of the invention is implemented
The method flow diagram of example.
Fig. 4 is a kind of sport video acquisition provided in the specific embodiment of the invention and the first implementation of the system played
The structural block diagram of example.
Fig. 5 is a kind of sport video acquisition provided in the specific embodiment of the invention and the second implementation of the system played
The structural block diagram of example.
Fig. 6 is that a kind of third of sport video acquisition and system played provided in the specific embodiment of the invention is implemented
The structural block diagram of example.
Specific embodiment
To keep the technical problems solved, the adopted technical scheme and the technical effect achieved by the invention clearer, below
It will the technical scheme of the embodiment of the invention will be described in further detail in conjunction with attached drawing, it is clear that described embodiment is only
It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those skilled in the art exist
Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
Referring to FIG. 1, it is the method for a kind of acquisition of sport video and broadcasting that provide in the specific embodiment of the invention
First embodiment method flow diagram.As shown, this method, comprising:
Step S101: the real-time video of moving target is acquired by camera under preset background.
For example, in green background, the real-time video of user movement is shot by camera for subscriber station.
Step S102: it identifies the preset background of the real-time video, the preset background is removed, after obtaining processing
The only video object of moving target.
The preset background removal in real-time video, there was only moving target --- the video object of user after being handled,
User or the video of other moving objects are extracted by the data that camera is shot.
Step S103: the video object and the pre- setting video are overlapped broadcasting.
For the experience sense for improving user, the top layer that the video object is placed in pre- setting video is overlapped broadcasting.
The present embodiment can be applied in smart television application, and camera is carried out by the moving target under certain specific background
Acquisition in real time after acquisition, sends its video content to television system processing chip, system is known from collected video image
Its other background image only retains moving target by removing its background parts after certain algorithm filtering, the view that obtains that treated
Frequency target.When TV is entering certain sports applications, when playing certain video, camera is acquired and passes through system treated
Video object is placed in video top layer and plays out, and for example HDMI or USB play channel, that is, before the video object extracted is shown in
Face, while in the video for showing that HDMI or USB is played below.
In conclusion the present embodiment obtains video by the preset background of the real-time video of the moving target of removal acquisition
Video object and pre- setting video are overlapped broadcasting, when participating in the cintest experience sense of the enhancing user in TV applications by target.
Referring to FIG. 2, it is the method for a kind of acquisition of sport video and broadcasting that provide in the specific embodiment of the invention
Second embodiment method flow diagram.The present embodiment is that a kind of sport video provided in the specific embodiment of the invention is adopted
It is realized on the basis of the first embodiment of collection and the method played, as shown, with being provided in the specific embodiment of the invention
A kind of sport video acquisition and play method first embodiment unlike: the step S102: identification it is described in real time
The preset background of video, the preset background is removed, and there was only the video object of moving target after being handled, comprising:
Step S1021: the real-time video is decoded using digital signal decoder, obtains RGB information.
The real-time video of camera acquisition is digital video signal, needs to acquire camera using digital signal decoder
Digital video signal be converted to rgb signal, further to analyze.
Step S1022: the rgb value of every frame image in the vision signal of the real-time video is obtained according to the RGB information
List.
The rgb value list of every frame image in the vision signal of real-time video can be obtained according to the RGB information obtained after decoding,
The rgb value list can be stored in memory DDR3 or memory EMMC.
Step S1023: the edge of the preset background of every frame image is determined according to the rgb value list.
Because when camera is shot, it is also possible to take other backgrounds other than preset background, therefore need
Determine the edge of preset background.
The edge of the preset background that every frame image is determined according to the rgb value list, comprising:
A1: two column of the surrounding outermost of image or the pixel information of two rows are obtained from rgb value list;
A2: judge outermost two column or two row pixels R, G, B information whether, if different, correspondence is to figure
As internal mobile two column or two row pixels, two rows or two column pixels after acquisition is mobile are as two column of outermost or two rows
Pixel returns to step a2;A wherein column or one if the same, in two column of corresponding outermost or two row pixels
Row can be identified as the edge of preset background.
After the edge for determining every frame image preset background, it is thus necessary to determine that preset background described in every frame image and institute
State the edge of moving target, step S1024 are as follows: determine the edge of preset background and the moving target described in every frame image.
The step S1024 includes step SA1~SA4.
Step S1024:
Step SA1: every frame image is divided into several block of pixels by the pixel region that the edge surrounds, calculates every piece
The average value of R, G, B of block of pixels.
On the basis of determining the edge of preset background, a block of pixels is determined with nine pixels, calculates pixel
The average value of corresponding block of pixels R, G, B on region.
Step SA2: detection pixel block internally is obtained in the pixel region from surrounding;
Step SA3: judge the average value of the average value of R, G, B of the detection pixel block and R, G, B of adjacent pixel blocks
It is whether equal, if so, to a block of pixels mobile inside the pixel region, using the block of pixels after movement as detection pixel block,
Return to step SA3;If it is not, continuing to execute step SA4.
Step SA4: the side of the preset background Yu the moving target is determined according to the rgb value of pixel in the block of pixels
Edge.
Information between the block of pixels of every frame image is compared, whether judges block of pixels R, G, B information, if one
Sample then moves inward a block of pixels, then compares with adjacent pixel blocks;If different, confirm preset background with moving target
Edge.It further, is to reduce edge processing error, it, can be with the edge that currently confirms to image when detecting edge
Outer movement 1 or 1 or more pixel, is determined as the final edge of preset background and moving target with the pixel after movement.
Preferably, the preset background is solid background, such as green, red, yellow.It is by green of preset background
Example, corresponding R, G, B value of green is respectively 0,255,0, and choosing 9 pixels is a block of pixels, theoretically green R=
0, G=255, B=0, thus in background, R, G, B value relationship are R=0, G=255, B=0, after block of pixels confirms well, pixel
Block is compared with R, G, B value between block of pixels, using image border as reference, is gradually compared with the pixel inside image
Compared with when R, G, B value are identical or close, then it is assumed that this corresponding block of pixels is background.When it is different between block of pixels or exist compared with
When big difference, then it is assumed that this part is the marginal position of moving target and preset background.
Step S1025: according to the edge of the determining preset background and the moving target, the preset background is deleted
It removes or by the preset background transparence, there was only the video object of moving target after being handled.
By preset background removal include by preset background delete or by preset background transparence, if it exists except preset background with
Outer background, then should also be deleted or transparence, there was only the video object of moving target after being handled, to improve user's
Perception.
The executing subject of the present embodiment step S102 can be the image procossing CPU in TV.
This implementation is by being converted to rgb signal, root for the digital video signal of real-time video using digital signal decoder
The rgb value list of the every frame image obtained according to the rgb signal identifies the preset background of the real-time video, will be described
Preset background is deleted or by its transparence, there was only the video object of moving target after being handled, then video object and preset
Video is overlapped broadcasting, when participating in the cintest experience sense of the enhancing user in TV applications.
Referring to FIG. 3, it is the method for a kind of acquisition of sport video and broadcasting that provide in the specific embodiment of the invention
3rd embodiment method flow diagram.The present embodiment is that a kind of sport video provided in the specific embodiment of the invention is adopted
It is realized on the basis of the second embodiment of collection and the method played, as shown, with being provided in the specific embodiment of the invention
A kind of sport video acquisition and play method second embodiment unlike:
Before the step S103, further includes:
Step S301: enhancing scaling processing is carried out using picture signal of the image enhancement SCALER to the video object.
Enhancing scaling processing is carried out using picture signal of the image enhancement SCALER to the video object, comprising: is utilized
Image enhancement SCALER changes contrast, saturation degree, clarity, the noise etc. in the picture signal of the video object
It is kind, to improve the result of broadcast of video object, improve the perception and experience sense of user.
The step S103: the top layer that the video object is placed in pre- setting video is played out, comprising:
Step S1031: carrying out reproduction ratio adjustment for the video object after the enhancing scaling processing and scaling move,
So that the video object and the default video matching.
Step S1032: the reproduction ratio is adjusted and is scaled the top that the video object after movement is placed in the pre- setting video
Layer, is overlapped.
Such as by taking image procossing CPU distribution video layer is two layers as an example, before signal is exported and shown to display screen, it need to will image
The signal of the video of head is placed in first layer (i.e. top layer), and the signal of the preset video of broadcasting is placed in the second layer (i.e. bottom), camera shooting
The background of the video of head shooting has been deleted when output is shown to display screen or transparence, therefore human eye plays on a display screen
Video be preset video overlay video target picture effect.
It is also possible to first video object is placed in the top layer of pre- setting video, is overlapped, again by video object after superposition
Reproduction ratio adjustment and scaling movement are carried out, so that the video object and the default video matching.
Step S1033: the superimposed pre- setting video is exported with V-BY-ONE interface mode to display screen, is broadcast
It puts.The pre- setting video is input in television system by HDMI or USB.
In this implementation, relevant sports applications or switch can be developed, signal-processing board can be opened when entering sports applications
Camera is opened, and can play the vision signal of the digital interfaces such as online, HDMI, USB.When for switch, for example interface is real-time
Motion switch has on and off two states, flag bit MOVE=1 or MOVE=0 in corresponding software, when real time kinematics switch is to open
When, MOVE=1;When real time kinematics switch is closes, MOVE=0.
Such as in system, real time kinematics switch plays video to open, by USB, and preset video at this time can be specific fortune
Dynamic video, for example, when for a certain outdoor sport captured in real-time video, then to the video and electricity of broadcasting in graphics processor GPU
Video depending on camera acquisition is overlapped, and the video object after making camera acquisition process brings to Front, and the video of broadcasting exists
The lower layer of layer where video object after camera acquisition process, such as playing video is the video that road motion pick arrives, then will
Video after camera acquisition process carries out appropriate reproduction ratio adjustment and scaling movement, so that moving target is showing that energy is right
USB is answered to play position corresponding to the road moved in video.Finally work as moving target, as user runs under green background or walks
When, just as playing scene running in video in TV USB or walking equally, greatly improve the experience sense when participating in the cintest of user.
TV includes signal-processing board in the present embodiment, and display screen, camera etc., wherein signal-processing board includes to mention
For the electric power management circuit of system board work, dynamic RAM DDR3, the DDR3 in the present embodiment are 2133MHz frequency
Rate, system storage chip use 8GByte EMMC, and system handles chip, and the system board of another TV is also devised with HDMI, USB etc.
Digital input interface.System processing chip also contains the number that HDMI, USB, camera digital video signal are converted to rgb signal
Word decoding signals, image procossing CPU and image enhancement SCALER etc., image procossing CPU is by each block of pixels RGB of rgb signal
Value is analyzed, and determines the background parts in camera video, and by the background transparent vision signal that obtains that treated.Scheming
It is exported after shape processor GPU processing with V-BY-ONE interface mode and is played out to display screen.
The present embodiment using picture signal of the image enhancement SCALER to the video object by being carried out at enhancing scaling
The video object after the enhancing scaling processing is carried out reproduction ratio adjustment and scaling moves, so that the video mesh by reason
Mark and the default video matching greatly improve experience sense and the perception when participating in the cintest of user.
It is a kind of embodiment of sport video acquisition and system played provided in the specific embodiment of the invention below,
The embodiment of system realizes that not most description in systems please refers to the reality of preceding method based on the embodiment of above-mentioned method
Apply example.
Referring to FIG. 4, it is the system of a kind of acquisition of sport video and broadcasting that provide in the specific embodiment of the invention
First embodiment structural block diagram.As shown, the system, comprising:
Real Time Video Capture Module 41, for acquiring the real-time video of moving target by camera under preset background.
Background removal module 42, the preset background of the real-time video, the preset background is removed for identification,
There was only the video object of moving target after being handled.
Playing module 43, the top layer for the video object to be placed in pre- setting video play out.
In conclusion the present embodiment obtains video by the preset background of the real-time video of the moving target of removal acquisition
Video object and pre- setting video are overlapped broadcasting, when participating in the cintest experience sense of the enhancing user in TV applications by target.
Referring to FIG. 5, it is the system of a kind of acquisition of sport video and broadcasting that provide in the specific embodiment of the invention
Second embodiment structural block diagram.This implementation is a kind of sport video acquisition provided in the specific embodiment of the invention
And realize on the basis of the first embodiment of the system played, as shown, with providing in the specific embodiment of the invention
Unlike the first embodiment of a kind of sport video acquisition and the system played:
The background removal module 42, comprising:
Decoding unit 421 obtains RGB information for being decoded the real-time video using digital signal decoder.
Rgb value list acquiring unit 422, in the vision signal for obtaining the real-time video according to the RGB information
The rgb value list of every frame image.
Edge determination unit 423, for determining according to the rgb value list preset background of every frame image
Edge.
Object edge determination unit 424, if for every frame image to be divided by the pixel region that the edge surrounds
Dry block of pixels, calculates the average value of R, G, B of every piece of block of pixels;Detection pixel internally is obtained in the pixel region from surrounding
Block;Judge whether the average value of R, G, B of the detection pixel block are equal with the average value of R, G, B of adjacent pixel blocks, if so,
A mobile block of pixels inside to the pixel region, using the block of pixels after movement as detection pixel block;If it is not, according to the pixel
The rgb value of pixel determines the edge of the preset background Yu the moving target in block.
Background removal unit 425 will be described for the edge according to the determining preset background and the moving target
Preset background is deleted or by the preset background transparence, there was only the video object of moving target after being handled.
The preset background is preset solid background.
The present embodiment by the way that the digital video signal of real-time video is converted to rgb signal using digital signal decoder,
The rgb value list of the every frame image obtained according to the rgb signal identifies the preset background of the real-time video, by institute
Preset background is stated to delete or by its transparence, there was only the video object of moving target after being handled, then video object view
Frequency target and pre- setting video are overlapped broadcasting, when participating in the cintest experience sense of the enhancing user in TV applications.
Referring to FIG. 6, it is the system of a kind of acquisition of sport video and broadcasting that provide in the specific embodiment of the invention
3rd embodiment structural block diagram.This implementation is a kind of sport video acquisition provided in the specific embodiment of the invention
And realize on the basis of the second embodiment of the system played, as shown, with providing in the specific embodiment of the invention
Unlike the second embodiment of a kind of sport video acquisition and the system played:
The system also includes:
Image signal processing blocks 61, for being carried out using picture signal of the image enhancement SCALER to the video object
Enhance scaling processing.
The playing module 43, is specifically used for:
The video object after the enhancing scaling processing is subjected to reproduction ratio adjustment and scaling movement, so that the view
Frequency target and the default video matching;
The reproduction ratio is adjusted and scaled the top layer that the video object after movement is placed in the pre- setting video, is folded
Add;
The superimposed pre- setting video is exported with V-BY-ONE interface mode to display screen, is played out.
The pre- setting video is input in television system by HDMI or USB.
In conclusion the present embodiment provides sport video acquisitions and the system played by utilizing SCALER pairs of image enhancement
The picture signal of the video object carries out enhancing scaling processing, and the video object after the enhancing scaling processing is carried out
Reproduction ratio adjustment and scaling movement, so that the video object and the default video matching, greatly improve facing for user
Field experience sense and perception.
The technical principle of the invention is described above in combination with a specific embodiment.These descriptions are intended merely to explain of the invention
Principle, and shall not be construed in any way as a limitation of the scope of protection of the invention.Based on the explanation herein, the technology of this field
Personnel can associate with other specific embodiments of the invention without creative labor, these modes are fallen within
Within protection scope of the present invention.
Claims (8)
1. a kind of method sport video acquisition and played characterized by comprising
The real-time video of moving target is acquired by camera under preset background;
The preset background for identifying the real-time video, the preset background is removed, and there was only moving target after being handled
Video object, comprising:
A1: the real-time video is decoded using digital signal decoder, obtains RGB information;
A2: the rgb value list of every frame image in the vision signal of the real-time video is obtained according to the RGB information;
A3: the edge of the preset background of every frame image is determined according to the rgb value list;
A4:
A41: every frame image is divided into several block of pixels by the pixel region that the edge surrounds, calculates every piece of block of pixels
R, the average value of G, B;
A42: detection pixel block internally is obtained in the pixel region from surrounding;
A43: judging whether the average value of R, G, B of the detection pixel block are equal with the average value of R, G, B of adjacent pixel blocks,
If so, using the block of pixels after movement as detection pixel block, return executes step to a mobile block of pixels inside the pixel region
Rapid A43;If it is not, continuing to execute step A44;
A44: the edge of the preset background Yu the moving target is determined according to the rgb value of pixel in the block of pixels;
A5: according to the edge of the determining preset background and the moving target, the preset background is deleted or will be described
Preset background transparence only has the video object of moving target after being handled;
The video object and pre- setting video are overlapped broadcasting.
2. a kind of method sport video acquisition and played according to claim 1, which is characterized in that the preset background
For preset solid background.
3. a kind of method sport video acquisition and played according to claim 1, which is characterized in that described the view
Frequency target and pre- setting video are overlapped before broadcasting, further includes:
Enhancing scaling processing is carried out using picture signal of the image enhancement SCALER to the video object.
4. a kind of method sport video acquisition and played according to claim 3, which is characterized in that described the video
Target and pre- setting video are overlapped broadcasting, comprising:
The video object after the enhancing scaling processing is subjected to reproduction ratio adjustment and scaling movement, so that the video mesh
Mark and default video matching;
The reproduction ratio is adjusted and scaled the top layer that the video object after movement is placed in the pre- setting video, is overlapped;
The superimposed pre- setting video is exported with V-BY-ONE interface mode to display screen, is played out.
5. a kind of system sport video acquisition and played characterized by comprising
Real Time Video Capture Module, for acquiring the real-time video of moving target by camera under preset background;
Background removal module, the preset background of the real-time video, the preset background is removed, is obtained everywhere for identification
There was only the video object of moving target after reason, comprising:
Decoding unit obtains RGB information for being decoded the real-time video using digital signal decoder;
Rgb value list acquiring unit, every frame image in the vision signal for obtaining the real-time video according to the RGB information
Rgb value list;
Edge determination unit, the surrounding of the preset background for determining every frame image according to the rgb value list
Edge;
Object edge determination unit, for every frame image to be divided into several pixels by the pixel region that the edge surrounds
Block calculates the average value of R, G, B of every piece of block of pixels;Detection pixel block internally is obtained in the pixel region from surrounding;Sentence
Break the detection pixel block R, G, B average value it is whether equal with the average value of R, G, B of adjacent pixel blocks, if so, to institute
A mobile block of pixels inside pixel region is stated, using the block of pixels after movement as detection pixel block;If it is not, according in the block of pixels
The rgb value of pixel determines the edge of the preset background Yu the moving target;
Background removal unit, for the edge according to the determining preset background and the moving target, by the preset back
Scape is deleted or by the preset background transparence, there was only the video object of moving target after being handled;
Playing module, the top layer for the video object to be placed in pre- setting video play out.
6. a kind of system sport video acquisition and played according to claim 5, which is characterized in that the preset background
For preset solid background.
7. a kind of system sport video acquisition and played according to claim 5, which is characterized in that the system, also
Include:
Image signal processing blocks, for carrying out enhancing contracting using picture signal of the image enhancement SCALER to the video object
Put processing.
8. a kind of system sport video acquisition and played according to claim 7, which is characterized in that the playing module,
It is specifically used for:
The video object after the enhancing scaling processing is subjected to reproduction ratio adjustment and scaling movement, so that the video mesh
Mark and the default video matching;
The reproduction ratio is adjusted and scaled the top layer that the video object after movement is placed in the pre- setting video, is overlapped;
The superimposed pre- setting video is exported with V-BY-ONE interface mode to display screen, is played out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610617408.2A CN106162092B (en) | 2016-07-29 | 2016-07-29 | A method and system for collecting and playing motion video |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610617408.2A CN106162092B (en) | 2016-07-29 | 2016-07-29 | A method and system for collecting and playing motion video |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106162092A CN106162092A (en) | 2016-11-23 |
CN106162092B true CN106162092B (en) | 2019-03-15 |
Family
ID=57328459
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610617408.2A Active CN106162092B (en) | 2016-07-29 | 2016-07-29 | A method and system for collecting and playing motion video |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106162092B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109697703A (en) * | 2018-11-22 | 2019-04-30 | 深圳艺达文化传媒有限公司 | The background stacking method and Related product of video |
CN112165631B (en) * | 2020-09-18 | 2022-04-26 | 腾讯科技(深圳)有限公司 | Media resource processing method and device, storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102340620A (en) * | 2011-10-25 | 2012-02-01 | 重庆大学 | Video Image Background Detection Method Based on Mahalanobis Distance |
CN102693537A (en) * | 2011-01-17 | 2012-09-26 | 三星泰科威株式会社 | Image surveillance system and method of detecting whether object is left behind or taken away |
CN102915544A (en) * | 2012-09-20 | 2013-02-06 | 武汉大学 | Video image motion target extracting method based on pattern detection and color segmentation |
CN105407254A (en) * | 2015-11-19 | 2016-03-16 | 广州玖的数码科技有限公司 | Real-time video and image synthesis method, real-time video and image synthesis device and global shooting equipment |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9113059B2 (en) * | 2011-11-30 | 2015-08-18 | Canon Kabushiki Kaisha | Image pickup apparatus and image region discrimination method |
-
2016
- 2016-07-29 CN CN201610617408.2A patent/CN106162092B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102693537A (en) * | 2011-01-17 | 2012-09-26 | 三星泰科威株式会社 | Image surveillance system and method of detecting whether object is left behind or taken away |
CN102340620A (en) * | 2011-10-25 | 2012-02-01 | 重庆大学 | Video Image Background Detection Method Based on Mahalanobis Distance |
CN102915544A (en) * | 2012-09-20 | 2013-02-06 | 武汉大学 | Video image motion target extracting method based on pattern detection and color segmentation |
CN105407254A (en) * | 2015-11-19 | 2016-03-16 | 广州玖的数码科技有限公司 | Real-time video and image synthesis method, real-time video and image synthesis device and global shooting equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106162092A (en) | 2016-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102890781B (en) | A kind of Highlight recognition methods for badminton game video | |
CN108122206A (en) | A kind of low-light (level) image denoising method and device | |
TWI712316B (en) | Method and device for generating video summary | |
CN110189378A (en) | A kind of method for processing video frequency, device and electronic equipment | |
CN101599179B (en) | A method for automatically generating highlights of field sports highlights | |
US10528820B2 (en) | Colour look-up table for background segmentation of sport video | |
US8542929B2 (en) | Image processing method and apparatus | |
CN104902279B (en) | A kind of method for processing video frequency and device | |
Mahapatra et al. | Coherency based spatio-temporal saliency detection for video object segmentation | |
US8355079B2 (en) | Temporally consistent caption detection on videos using a 3D spatiotemporal method | |
CN101645137B (en) | Method for automatically detecting location of a football in long shot of football video | |
CN109151573A (en) | Video source modeling control method, device and electronic equipment | |
CN108229346B (en) | Video summarization using signed foreground extraction and fusion | |
CN109361949A (en) | Video processing method, device, electronic device, and storage medium | |
CN113516609B (en) | Split-screen video detection method and device, computer equipment and storage medium | |
CN113068034A (en) | Video encoding method and device, encoder, equipment and storage medium | |
CN106162092B (en) | A method and system for collecting and playing motion video | |
US10440313B2 (en) | Method, system and apparatus for spatially arranging a plurality of video frames for display | |
US20090180670A1 (en) | Blocker image identification apparatus and method | |
US10764509B2 (en) | Image processing device, image processing method, and program | |
CN118097183B (en) | Key color extraction method and system for green curtain live broadcast | |
CN114079815B (en) | Subtitle protection method, system, terminal equipment and storage medium | |
CN112837350A (en) | Target moving object recognition method, device, electronic device and storage medium | |
Nieto et al. | An automatic system for sports analytics in multi-camera tennis videos | |
TW201742006A (en) | Method of capturing and reconstructing court lines |
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 |