CN105141901A - Video processing method and device - Google Patents

Video processing method and device Download PDF

Info

Publication number
CN105141901A
CN105141901A CN201510494176.1A CN201510494176A CN105141901A CN 105141901 A CN105141901 A CN 105141901A CN 201510494176 A CN201510494176 A CN 201510494176A CN 105141901 A CN105141901 A CN 105141901A
Authority
CN
China
Prior art keywords
pixel
map information
source
data
value
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
CN201510494176.1A
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.)
QINGDAO VIMICRO ELECTRONICS CO Ltd
Original Assignee
QINGDAO VIMICRO ELECTRONICS CO Ltd
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 QINGDAO VIMICRO ELECTRONICS CO Ltd filed Critical QINGDAO VIMICRO ELECTRONICS CO Ltd
Priority to CN201510494176.1A priority Critical patent/CN105141901A/en
Publication of CN105141901A publication Critical patent/CN105141901A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

The invention provides a video processing method and device in an embodiment. The method comprises: obtaining source pixels input from a video source; obtaining preset occlusion data, wherein the occlusion data comprises pixel mapping information; determining the corresponding pixel mapping information of the source pixels in the occlusion data; performing occlusion processing on the source pixels according to the pixel mapping information in the occlusion data to obtain target pixels; and outputting the target pixels. Compared with the prior art, the video processing method realizes occlusion on a specified region in the video information and avoids the leakage of privacy and sensitive information in a video by performing occlusion processing on the source pixels in the video source obtained at present one by one according to the corresponding pixel mapping information in the occlusion data.

Description

A kind of method for processing video frequency and device
Technical field
The present invention relates to technical field of image processing, particularly relate to a kind of method for processing video frequency and device.
Background technology
At present, Video Supervision Technique is being applied to multiple occasion as a kind of safety guarantee means, such as traffic, public place, elevator etc.But, in some occasion, when reference object is more responsive relate to individual privacy time, just need to block ad-hoc location in video, so as not to reveal privacy.
Therefore, how privacy screen is carried out to monitor video and just become those skilled in the art's technical issues that need to address.
Summary of the invention
In view of the above problems, the embodiment of the present invention is proposed to provide a kind of overcoming the problems referred to above or a kind of method for processing video frequency solved the problem at least in part and device.
In order to solve the problem, the embodiment of the invention discloses a kind of method for processing video frequency, described method comprises:
Obtain the source pixel of video source input;
What acquisition pre-set blocks data; Wherein, block data described in and comprise pixel-map information;
Determine that described source pixel blocks pixel-map information corresponding in data described;
According to described pixel-map information of blocking correspondence in data, process is blocked to described source pixel, obtain object pixel;
Export described object pixel.
Preferably, described in block the pixel-map information of data, comprising: location of pixels map information and/or pixel value map information;
Describedly determine that described source pixel is in described step of to block in data corresponding pixel-map information, comprising:
Mate with the described location of pixels map information blocking data according to the physical location information of described source pixel in described video source, and the pixel value map information of coupling is defined as described source pixel at the pixel value map information blocking correspondence in data.
Preferably, described method also comprises:
Corresponding about m adjacent source pixel is used in video source described in n bit bit replacement response to obtain pixel value map information; Wherein, n and m be greater than 1 integer;
The location of pixels map information of a described m source pixel is determined according to about described m the adjacent physical location information of source pixel in video source;
According to the described location of pixels map information that obtains and pixel value map information determination pixel-map information, and obtain blocking data.
Preferably, when described n is 2, described pixel value map information, comprising: 2 ' b00,2 ' b01,2 ' b10,2 ' b11, wherein,
2 ' b00, represents that pixel-map value is all-transparent;
2 ' b01 is pixel first mapping value; 2 ' b10 is pixel second mapping value; 2 ' b11 is pixel the 3rd mapping value.
Preferably, block pixel-map information corresponding in data blocks process step to described source pixel described in described basis, comprising:
Judge whether pixel value map information corresponding to described source pixel is 2 ' b00, if so, does not then process current source pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b01 or 2 ' b10 or 2 ' b11, if so, use corresponding pixel-map value to cover current source pixel.
Preferably, block pixel-map information corresponding in data blocks process step to described source pixel described in described basis, comprising:
Judge whether pixel value map information corresponding to described source pixel is 2 ' b00, if so, does not then process current source pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b01, if so, then using current source pixel as initial pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b10 or 2 ' b11, if so, then use the pixel value of initial pixel to cover current source pixel.
According to another aspect of the present invention, provide a kind of video process apparatus, described device comprises:
Input module, for obtaining the source pixel of video source input;
Block data read module, for obtain pre-set block data; Wherein, block data described in and comprise pixel-map information;
Pixel-map information determination module, for determining that the source pixel that described input module obtains blocks pixel-map information corresponding in data described;
Block processing module, for blocking pixel-map information corresponding in data described in basis, process being blocked to described source pixel, obtaining object pixel;
Output module, for exporting described object pixel.
Preferably, described in block the pixel-map information of data, comprising: location of pixels map information and/or pixel value map information;
Described pixel-map information determination module, also for mating with the described location of pixels map information blocking data according to the physical location information of described source pixel in described video source, and the pixel value map information of coupling is defined as described source pixel at the pixel value map information blocking correspondence in data.
Preferably, described device also comprises:
Blocking data and module is set, obtaining pixel value map information for using in video source described in n bit bit replacement response corresponding about m adjacent source pixel; Wherein, n and m be greater than 1 integer;
The location of pixels map information of a described m source pixel is determined according to about described m the adjacent physical location information of source pixel in video source; According to the described location of pixels map information that obtains and pixel value map information determination pixel-map information, and obtain blocking data.Preferably,
When described n is 2, described pixel value map information comprises: 2 ' b00,2 ' b01,2 ' b10,2 ' b11, wherein,
2 ' b00, represents that pixel-map value is all-transparent;
2 ' b01 is pixel first mapping value; 2 ' b10 is pixel second mapping value; 2 ' b11 is pixel the 3rd mapping value.
Preferably, described in block processing module, also for,
Judge whether pixel value map information corresponding to described source pixel is 2 ' b00, if so, does not then process current source pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b01 or 2 ' b10 or 2 ' b11, if so, use corresponding pixel-map value to cover current source pixel.
Preferably, described in block processing module, also for,
Judge whether pixel value map information corresponding to described source pixel is 2 ' b00, if so, does not then process current source pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b01, if so, then using current source pixel as initial pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b10 or 2 ' b11, if so, then use the pixel value of initial pixel to cover current source pixel.
The embodiment of the present invention at least comprises following advantage:
The embodiment of the present invention blocks data by pre-setting, and according to blocking pixel-map information corresponding in data, process is blocked one by one to the source pixel in the current video source got, achieve blocking appointed area in video information, avoid the leakage of privacy and sensitive information in video.
Accompanying drawing explanation
Fig. 1 shows the flow chart of steps of a kind of method for processing video frequency embodiment one of the present invention;
Fig. 2 shows a kind of video source dot structure schematic diagram of the present invention;
Fig. 3 shows the flow chart of steps of a kind of method for processing video frequency embodiment two of the present invention;
Fig. 4 shows a kind of structural representation blocking data of the present invention;
Fig. 5 shows the structural representation of a kind of video object data of the present invention;
Fig. 6 shows the structural representation that another kind of the present invention blocks data;
Fig. 7 shows the structural representation of another kind of video object data of the present invention;
Fig. 8 shows the structured flowchart of a kind of video process apparatus of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Embodiment one
With reference to Fig. 1, show the flow chart of steps of a kind of method for processing video frequency embodiment one of the present invention, specifically can comprise:
Step 101, obtains the source pixel of video source input;
Wherein, video source can be live signal, also can be non real-time, such as, from the data of monitoring camera Real-time Collection, the TV signal broadcasted or the video etc. taken in advance, the present invention does not do concrete restriction to the obtain manner of video source data, data type.
In the embodiment of the present invention, the pixel of composition video source is called source pixel, pixel is after treatment called object pixel.General, video source can represent with the dot matrix of source pixel composition, as shown in Figure 2, is a kind of exemplary construction of video source, a source pixel wherein in the corresponding video source of each cell.When obtaining video source, according to from left to right, order from top to bottom, obtains a source pixel in a frame video source successively, certainly, it will be appreciated by those skilled in the art that the source pixel adopting other order to obtain video source is also fine.
Step 102, what acquisition pre-set blocks data;
In the embodiment of the present invention, described data of blocking are for blocking process as required to each pixel in each two field picture in video source, here block process the color value of setting can be used to cover completely source pixel, also can be in harmonious proportion according to certain rule to the color value of source pixel, the shielding mode of the present invention to pixel be restricted.
Wherein, block data described in and comprise pixel-map information.Specifically, corresponding pixel-map information can be determined according to the physical location of source pixel each in video source data in advance.Wherein, described pixel-map information, can also comprise: location of pixels map information and/or pixel value map information.
In an alternate embodiment of the present invention where, also comprise before described step 102:
Corresponding about m adjacent source pixel is used in video source described in n bit bit replacement response to obtain pixel value map information; Wherein, n and m be greater than 1 integer;
The location of pixels map information of a described m source pixel is determined according to about described m the adjacent physical location information of source pixel in video source;
According to the described location of pixels map information that obtains and pixel value map information determination pixel-map information, and obtain blocking data.
To the treatment effeciency blocking data when implementing of the present invention to improve, when data are blocked in setting, the size of blocking data is set as being not more than the size of a two field picture in video source, the resource shared by process of opposite side out-of-bounds map information can be avoided like this, improve the efficiency of video shelter process.
In the present invention's embodiment, described pixel value map information is just used to the pixel value blocking correspondence position pixel in video source data, and, those skilled in the art can select the color value for blocking source data according to actual needs, the present invention does not do concrete restriction to this, such as, black, redness, blueness or other random color can be selected.
In another embodiment of the present invention, described pixel value map information can also be used to the initial pixel locations identifying mosaic.
Step 103, determines that described source pixel blocks pixel-map information corresponding in data described;
Particularly, describedly determine that described source pixel is in described step of to block in data corresponding pixel-map information, comprising:
Mate with the described location of pixels map information blocking data according to the physical location information of described source pixel in described video source, and the pixel value map information of coupling is defined as described source pixel at the pixel value map information blocking correspondence in data.
Step 104, blocks process according to described pixel-map information of blocking correspondence in data to described source pixel, obtains object pixel;
It should be noted that, block the pixel-map information that defines in data namely can corresponding 1 source pixel also can corresponding two or more source pixel, such as, if corresponding two source pixel, then process being blocked to two adjacent source pixel simultaneously, being defined as object pixel by completing the source pixel of blocking process.
Step 105, looks object pixel described in output.
After output target pixel, repeated execution of steps 101, blocks process until complete to pixels all in video source data.
To sum up, the embodiment of the present invention blocks data by pre-setting, and according to blocking pixel-map information corresponding in data, process is blocked one by one to the source pixel in the current video source got, achieve blocking appointed area in video information, avoid the leakage of privacy and sensitive information in video.
Embodiment two
With reference to Fig. 3, show the flow chart of steps of a kind of method for processing video frequency embodiment two of the present invention, specifically can comprise:
The source pixel of step 301, the input of acquisition video source;
Step 302, what acquisition pre-set blocks data;
Wherein, the pixel-map information of blocking in data comprises: location of pixels map information and pixel value map information.When data are blocked in setting, can according to the physical location of pixel in video source data, according to from left to right, order from top to bottom determines corresponding location of pixels map information and pixel-map value information one by one, and is stored in external memory storage (Memory) by the data in advance that blocks set.When needs block process to video source data, read from described external memory storage and block data.
In embodiments of the present invention, described pixel value map information uses about two of correspondence in video source data described in 2 bit replacement response adjacent source pixel, described pixel value map information at least comprises: 2 ' b00,2 ' b01,2 ' b10,2 ' b11, wherein, 2 ' b00, represents that pixel-map value is all-transparent; 2 ' b01 is pixel first mapping value; 2 ' b10 is pixel second mapping value; 2 ' b11 is pixel the 3rd mapping value.The structure of blocking data adopting this mapping mode to arrange as shown in Figure 4, in the diagram, the pixel value that the numeral correspondence one of each coordinate is concrete maps, specifically: 0 is 2 ' b00,1 is 2 ' b01,2 is 2 ' b10, and 3 is 2 ' b11, and two source pixel that each coordinate digital is corresponding physically adjacent.
It should be noted that, the embodiment of the present invention uses two source pixel in 2 bit mapping video sources to be the preferred mode of the present invention, and those skilled in the art also can use multiple bit to map two or more source pixel when implementing of the present invention.Easy understand, if use multiple bit to arrange the map information of source pixel, the multiple pixel-map value of corresponding definable, can make the color for blocking abundanter like this, more can meet user and block demand to object different in video.In general, the increase of bit figure place means the more memory space of needs, also needs to take more resource when doing video and blocking process in real time.The embodiment of the present invention preferably uses 2 bit, and 3 kinds of pixel color value carry out blocking the user's request that can meet in most cases, and while meeting and blocking process to video, it is minimum to block the space that data take, and effectively reduces resource occupation.
Step 303, mate with the described location of pixels map information blocking data according to the physical location information of described source pixel in described video source, and the pixel value map information of coupling is defined as described source pixel at the pixel value map information blocking correspondence in data
Step 304, blocks process according to described pixel-map information of blocking correspondence in data to described source pixel, obtains object pixel;
In a preferred embodiment of the invention, block pixel-map information corresponding in data described in described basis and process blocked to described source pixel, comprise following sub-step:
Sub-step A1, judges whether pixel value map information corresponding to described source pixel is 2 ' b00, if so, does not then process current source pixel;
Sub-step A2, judges whether pixel value map information corresponding to described source pixel is 2 ' b01 or 2 ' b10 or 2 ' b11, if so, uses corresponding pixel-map value to cover current source pixel.
Particularly:
When object pixel mapping value information is 2 ' b01, predefined pixel first mapping value (such as black, #000000) is used to cover current source pixel;
When object pixel mapping value information is 2 ' b10, predefined pixel second mapping value (such as red, #FF0000) is used to cover current source pixel;
When object pixel mapping value information is 2 ' b11, predefined pixel the 3rd mapping value (such as blue, #0000FF) is used to cover current source pixel;
Step 305, exports object pixel.
Object pixel after output processing, then repeated execution of steps 301, until do not have new source pixel input.
The video object data obtained after said method process as shown in Figure 5, composition graphs 5 is known, the embodiment of the present invention blocks the pixel-map value of diverse location in data by arranging, can realize to optional position in video source data, random color block process, method for processing video frequency adaptability provided by the invention is improved greatly, different occasion, different user can be met to the different requirements of video shelter process.
Embodiment three
In the above-described embodiments, using predefined pixel value to cover needing the video source pixel of blocking, in addition, also can realize the mosaic processing to video by method provided by the invention, specifically can comprise the steps:
Step 401, receives the video source pixel from the input of front end camera;
Step 402, reads and blocks data from external memory storage.
Wherein, arrange when blocking the pixel-map information of data and use one or more adjacent source pixel corresponding in 2 bit mapping video sources, particularly, the pixel value map information blocked in data comprises: 2 ' b00, represents and do not process current source pixel; 2 ' b01 represents current source pixel as initial pixel; 2 ' b10 and 2 ' b11 represents that the pixel value using initial pixel replaces current source pixel.What set according to the method described above blocks data instance as shown in Figure 6.
Step 404, determines that described source pixel blocks pixel-map information corresponding in data described;
Particularly, mate with the described location of pixels map information blocking data according to the physical location information of described source pixel in described video source, and the pixel value map information of coupling is defined as described source pixel at the pixel value map information blocking correspondence in data.
Step 405, blocks process according to described pixel-map information of blocking data to source pixel, obtains object pixel.
Wherein, according to described pixel-map information of blocking data, process is blocked to source pixel, specifically can comprise following sub-step:
Sub-step B1, judges whether pixel value map information corresponding to described source pixel is 2 ' b00, if so, does not then process current source pixel;
Sub-step B2, judges whether pixel value map information corresponding to described source pixel is 2 ' b01, if so, then using current source pixel as initial pixel;
Sub-step B3, judges whether pixel value map information corresponding to described source pixel is 2 ' b10 or 2 ' b11, if so, then uses the pixel value of initial pixel to cover current source pixel.
Step 404, exports object pixel.
Object pixel after output processing, then repeated execution of steps 401, until do not have new video source pixel input.
By the video object data that obtain after said method process as shown in Figure 7.Composition graphs 7 is known, by method for processing video frequency provided by the invention, the position of mosaic processing can be carried out as required, namely the physical location of initial pixel is blocking in data the pixel-map information arranging correspondence, so, when processing video, the mosaic processing to video arbitrary region can be realized according to blocking initial pixel map information in data.
Device embodiment
With reference to Fig. 8, show the structured flowchart of a kind of video process apparatus embodiment of the present invention, specifically can comprise: input module 810, block data read module 820, pixel-map information determination module 830, block processing module 840, output module 850, wherein
Input module 810, for obtaining the source pixel of video source input;
Block data read module 820, for obtain pre-set block data; Wherein, block data described in and comprise pixel-map information;
Pixel-map information determination module 830, for determining that the source pixel that described input module obtains blocks pixel-map information corresponding in data described;
Block processing module 840, for blocking pixel-map information corresponding in data described in basis, process being blocked to described source pixel, obtaining object pixel;
Output module 850, for exporting described object pixel.
Further, described in block the pixel-map information of data, comprising: location of pixels map information and/or pixel value map information;
Described pixel-map information determination module, also for mating with the described location of pixels map information blocking data according to the physical location information of described source pixel in described video source, and the pixel value map information of coupling is defined as described source pixel at the pixel value map information blocking correspondence in data.
In another embodiment of the present invention, described device also comprises:
Blocking data and module is set, obtaining pixel value map information for using in video source described in n bit bit replacement response corresponding about m adjacent source pixel; Wherein, n and m be greater than 1 integer;
The location of pixels map information of a described m source pixel is determined according to about described m the adjacent physical location information of source pixel in video source; According to the described location of pixels map information that obtains and pixel value map information determination pixel-map information, and obtain blocking data.
Further, described pixel value map information uses about two of correspondence in video source described in 2 bit replacement response adjacent source pixel, and described pixel value map information comprises: 2 ' b00,2 ' b01,2 ' b10,2 ' b11, wherein,
2 ' b00, represents that pixel-map value is all-transparent;
2 ' b01 is pixel first mapping value; 2 ' b10 is pixel second mapping value; 2 ' b11 is pixel the 3rd mapping value.
Further, described in block processing module, also for,
Judge whether pixel value map information corresponding to described source pixel is 2 ' b00, if so, does not then process current source pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b01 or 2 ' b10 or 2 ' b11, if so, use corresponding pixel-map value to cover current source pixel.
Further, described in block processing module, also for,
Judge whether pixel value map information corresponding to described source pixel is 2 ' b00, if so, does not then process current source pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b01, if so, then using current source pixel as initial pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b10 or 2 ' b11, if so, then use the pixel value of initial pixel to cover current source pixel.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art should understand, the embodiment of the embodiment of the present invention can be provided as method, device or computer program.Therefore, the embodiment of the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the embodiment of the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The embodiment of the present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, terminal equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing terminal equipment to produce a machine, making the instruction performed by the processor of computer or other programmable data processing terminal equipment produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing terminal equipment, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded on computer or other programmable data processing terminal equipment, make to perform sequence of operations step to produce computer implemented process on computer or other programmable terminal equipment, thus the instruction performed on computer or other programmable terminal equipment is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although described the preferred embodiment of the embodiment of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of embodiment of the present invention scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal equipment comprising described key element and also there is other identical element.
Above to a kind of method for processing video frequency provided by the present invention and device, be described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (12)

1. a method for processing video frequency, is characterized in that, described method comprises:
Obtain the source pixel of video source input;
What acquisition pre-set blocks data; Wherein, block data described in and comprise pixel-map information;
Determine that described source pixel blocks pixel-map information corresponding in data described;
According to described pixel-map information of blocking correspondence in data, process is blocked to described source pixel, obtain object pixel;
Export described object pixel.
2. the method for claim 1, is characterized in that, described in block the pixel-map information of data, comprising: location of pixels map information and/or pixel value map information;
Describedly determine that described source pixel is in described step of to block in data corresponding pixel-map information, comprising:
Mate with the described location of pixels map information blocking data according to the physical location information of described source pixel in described video source, and the pixel value map information of coupling is defined as described source pixel at the pixel value map information blocking correspondence in data.
3. method as claimed in claim 2, it is characterized in that, described method also comprises:
Corresponding about m adjacent source pixel is used in video source described in n bit bit replacement response to obtain pixel value map information; Wherein, n and m be greater than 1 integer;
The location of pixels map information of a described m source pixel is determined according to about described m the adjacent physical location information of source pixel in video source;
According to the described location of pixels map information that obtains and pixel value map information determination pixel-map information, and obtain blocking data.
4. method as claimed in claim 3, it is characterized in that, when described n is 2, described pixel value map information, comprising: 2 ' b00,2 ' b01,2 ' b10,2 ' b11, wherein,
2 ' b00, represents that pixel-map value is all-transparent;
2 ' b01 is pixel first mapping value; 2 ' b10 is pixel second mapping value; 2 ' b11 is pixel the 3rd mapping value.
5. method as claimed in claim 4, is characterized in that, blocks pixel-map information corresponding in data blocks process step to described source pixel, comprising described in described basis:
Judge whether pixel value map information corresponding to described source pixel is 2 ' b00, if so, does not then process current source pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b01 or 2 ' b10 or 2 ' b11, if so, use corresponding pixel-map value to cover current source pixel.
6. method as claimed in claim 4, is characterized in that, blocks pixel-map information corresponding in data blocks process step to described source pixel, comprising described in described basis:
Judge whether pixel value map information corresponding to described source pixel is 2 ' b00, if so, does not then process current source pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b01, if so, then using current source pixel as initial pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b10 or 2 ' b11, if so, then use the pixel value of initial pixel to cover current source pixel.
7. a video process apparatus, is characterized in that, described device comprises:
Input module, for obtaining the source pixel of video source input;
Block data read module, for obtain pre-set block data; Wherein, block data described in and comprise pixel-map information;
Pixel-map information determination module, for determining that the source pixel that described input module obtains blocks pixel-map information corresponding in data described;
Block processing module, for blocking pixel-map information corresponding in data described in basis, process being blocked to described source pixel, obtaining object pixel;
Output module, for exporting described object pixel.
8. device as claimed in claim 7, is characterized in that, described in block the pixel-map information of data, comprising: location of pixels map information and/or pixel value map information;
Described pixel-map information determination module, also for mating with the described location of pixels map information blocking data according to the physical location information of described source pixel in described video source, and the pixel value map information of coupling is defined as described source pixel at the pixel value map information blocking correspondence in data.
9. device as claimed in claim 7, it is characterized in that, described device also comprises:
Blocking data and module is set, obtaining pixel value map information for using in video source described in n bit bit replacement response corresponding about m adjacent source pixel; Wherein, n and m be greater than 1 integer;
The location of pixels map information of a described m source pixel is determined according to about described m the adjacent physical location information of source pixel in video source; According to the described location of pixels map information that obtains and pixel value map information determination pixel-map information, and obtain blocking data.
10. device as claimed in claim 9, is characterized in that,
When described n is 2, described pixel value map information comprises: 2 ' b00,2 ' b01,2 ' b10,2 ' b11, wherein,
2 ' b00, represents that pixel-map value is all-transparent;
2 ' b01 is pixel first mapping value; 2 ' b10 is pixel second mapping value; 2 ' b11 is pixel the 3rd mapping value.
11. devices as claimed in claim 10, is characterized in that, described in block processing module, also for,
Judge whether pixel value map information corresponding to described source pixel is 2 ' b00, if so, does not then process current source pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b01 or 2 ' b10 or 2 ' b11, if so, use corresponding pixel-map value to cover current source pixel.
12. devices as claimed in claim 10, is characterized in that, described in block processing module, also for,
Judge whether pixel value map information corresponding to described source pixel is 2 ' b00, if so, does not then process current source pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b01, if so, then using current source pixel as initial pixel;
Judge whether pixel value map information corresponding to described source pixel is 2 ' b10 or 2 ' b11, if so, then use the pixel value of initial pixel to cover current source pixel.
CN201510494176.1A 2015-08-12 2015-08-12 Video processing method and device Pending CN105141901A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510494176.1A CN105141901A (en) 2015-08-12 2015-08-12 Video processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510494176.1A CN105141901A (en) 2015-08-12 2015-08-12 Video processing method and device

Publications (1)

Publication Number Publication Date
CN105141901A true CN105141901A (en) 2015-12-09

Family

ID=54727097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510494176.1A Pending CN105141901A (en) 2015-08-12 2015-08-12 Video processing method and device

Country Status (1)

Country Link
CN (1) CN105141901A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611386A (en) * 2015-12-23 2016-05-25 小米科技有限责任公司 Video picture processing method and device
WO2019076187A1 (en) * 2017-10-16 2019-04-25 杭州海康威视数字技术股份有限公司 Video blocking region selection method and apparatus, electronic device, and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705370A (en) * 2004-06-02 2005-12-07 罗伯特·博世有限公司 Virtual mask for use in autotracking video camera images
CN1770205A (en) * 2004-11-02 2006-05-10 微软公司 Texture-based packing, such as for packing 8-bit pixels into two bits
CN102609710A (en) * 2012-02-22 2012-07-25 武汉大学 Smoke and fire object segmentation method aiming at smog covering scene in fire disaster image video
CN103051903A (en) * 2012-12-24 2013-04-17 四川九洲电器集团有限责任公司 Space adaptive H.264 video I frame error concealment method
CN103226712A (en) * 2013-05-19 2013-07-31 南京新方向智能技术有限公司 Finite-stage machine-based method for detecting abandoned object

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1705370A (en) * 2004-06-02 2005-12-07 罗伯特·博世有限公司 Virtual mask for use in autotracking video camera images
CN1770205A (en) * 2004-11-02 2006-05-10 微软公司 Texture-based packing, such as for packing 8-bit pixels into two bits
CN102609710A (en) * 2012-02-22 2012-07-25 武汉大学 Smoke and fire object segmentation method aiming at smog covering scene in fire disaster image video
CN103051903A (en) * 2012-12-24 2013-04-17 四川九洲电器集团有限责任公司 Space adaptive H.264 video I frame error concealment method
CN103226712A (en) * 2013-05-19 2013-07-31 南京新方向智能技术有限公司 Finite-stage machine-based method for detecting abandoned object

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105611386A (en) * 2015-12-23 2016-05-25 小米科技有限责任公司 Video picture processing method and device
WO2019076187A1 (en) * 2017-10-16 2019-04-25 杭州海康威视数字技术股份有限公司 Video blocking region selection method and apparatus, electronic device, and system
US11321945B2 (en) 2017-10-16 2022-05-03 Hangzhou Hikvision Digital Technology Co., Ltd. Video blocking region selection method and apparatus, electronic device, and system

Similar Documents

Publication Publication Date Title
US10803561B2 (en) Systems, methods, and media for hierarchical progressive point cloud rendering
US7570280B2 (en) Image providing method and device
US20150363913A1 (en) Adaptive filter demosaicizing for super resolution
KR102635003B1 (en) Light field data representation
US20210243426A1 (en) Method for generating multi-view images from a single image
CN113192185B (en) Dynamic light field reconstruction method, device and equipment
CN113989173A (en) Video fusion method and device, electronic equipment and storage medium
CN104598436A (en) Method and device for dynamically generating three-dimensional chart
CN105791793A (en) Image processing method and electronic device
CN105227873A (en) A kind of method of testing of on-chip study data and device
CN105141901A (en) Video processing method and device
CN108230454B (en) Panorama picture cutting method and device and storage medium
CN104332131A (en) Driving method for display device, display screen updating method and device
CN116758206A (en) Vector data fusion rendering method and device, computer equipment and storage medium
CN103780828A (en) Image acquisition method and electronic device
CN105227866A (en) A kind of multi-channel video display packing and device
CN116962612A (en) Video processing method, device, equipment and storage medium applied to simulation system
WO2022271425A1 (en) Point-of-view image warp systems and methods
CN105163199A (en) Real-time video coding method and electronic equipment
CN105163194A (en) Real-time video coding method and electronic equipment
CN117440160A (en) Video processing method, device, equipment and storage medium
US9723216B2 (en) Method and system for generating an image including optically zoomed and digitally zoomed regions
CN114387378A (en) Image generation method and device based on digital twin rendering engine and electronic equipment
CN111223105B (en) Image processing method and device
CN104574343A (en) Method and equipment for extracting images from videos

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20151209