CN102404649A - Watermark position self-adaptive video watermark adding method - Google Patents
Watermark position self-adaptive video watermark adding method Download PDFInfo
- Publication number
- CN102404649A CN102404649A CN2011103888054A CN201110388805A CN102404649A CN 102404649 A CN102404649 A CN 102404649A CN 2011103888054 A CN2011103888054 A CN 2011103888054A CN 201110388805 A CN201110388805 A CN 201110388805A CN 102404649 A CN102404649 A CN 102404649A
- Authority
- CN
- China
- Prior art keywords
- video
- watermark
- frame
- size
- consecutive image
- 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
Abstract
The invention discloses a watermark position self-adaptive video watermark adding method which comprises the following implementation steps of: 1, reading the size of a watermark image; 2, obtaining video frames of a video file one by one, and using the first video frame of the video file as the current video frame; 3, obtaining a color continuous image region with maximum size from the current video frame of the video file, and adding the watermark image to the color continuous image region with maximum size; and 4, using the next video frame as the current video frame, and repeatedly executing the step 3 until all video frames of the video file are processed completely. The invention has the advantages of reasonable and clear watermark position, good marking effect, good anti-theft function, small overhead and simpleness in use.
Description
Technical field
The present invention relates to the video information process field, be specifically related to the adaptive video watermark adding method of a kind of watermark location.
Background technology
In recent years; Along with Internet development, obtained increasingly extensive application based on amusement, friend-making, the teaching of Online Video, and in Internet video is used; The throughput of different networks constantly, propagation delay time etc. are constantly to change; This grouping that just makes transmission video signal is difficult to arrive receiving terminal simultaneously with the grouping of its corresponding sound accompaniment of transmission, thereby makes the broadcast of vision signal can not be more serious with the synchronous problem of its sound accompaniment, produces the effect of " labial is asynchronous "; Greatly limited, based on the promotion and application of the amusement of Online Video, friend-making, teaching.And video is not stolen, the propaganda copyright information in order to protect, and all comes food is handled through the technological means that adds watermark at present.
The watermarking method of prior art all is the fixed position that the watermark picture all is attached to frame of video; This watermark adding method is very fast simple; But there is very big shortcoming; For example the watermark removal method to the fixed position has stingy figure method, reflection method at present, scratches the figure method and exactly direct the scratching of watermark region is gone, and substitutes with color lump or new watermark; Adopt near image mapped to the watermark region of watermark region and shine upon rule,, also can be consistent basically, with the aesthetics of the video after the assurance removal watermark with colouring information on every side even make watermark region remove.In a word, this simple, fixing, mechanical watermark adding method can not satisfy the needs that add the watermark original intention, presses for a kind of watermark adding method of simple possible at present.
Summary of the invention
The technical problem that the present invention will solve provides that a kind of watermark location is rationally clear, sign is effective, put steal better function, expense little, use the adaptive video watermark adding method of simple watermark location.
In order to solve the problems of the technologies described above, the technical scheme that the present invention adopts is:
The adaptive video watermark adding method of a kind of watermark location, implementation step is following:
1) reads the size of watermarking images;
2) obtain the frame of video of video file one by one, with first frame of video of video file as current video frame;
3) in the current video frame of video file, obtain the maximum color consecutive image zone of size, watermarking images is added in the maximum color consecutive image zone of said size;
4) with next frame of video as current video frame, repeated execution of steps 3) dispose until all frame of video of video file.
Further improvement as technique scheme:
The detailed step that in the current video frame of video file, obtains the maximum color consecutive image zone of size in the said step 3) comprises: in current video frame, extract a plurality of central points; The gray value that adopts the sliding window method to stretch out to obtain a plurality of color gray values and central point is less than the consecutive image zone of predetermined threshold value, and it is regional as the maximum color consecutive image of said size to obtain wherein maximum consecutive image district at last.
The number of said extraction central point is 0.5~0.1 times of current video frame pixel number summation.
The said concrete steps that watermarking images is added in the maximum color consecutive image zone of said size comprise: the central pixel point of at first obtaining watermarking images; Obtain the central pixel point in the maximum color consecutive image zone of said size then, be added in the maximum color consecutive image zone of said size with said two central pixel point alignment and with watermarking images at last.
The present invention has following advantage:
The size of the present invention through reading watermarking images, obtain the frame of video of video file one by one; First frame of video of video file is obtained the maximum color consecutive image zone of size as current video frame, in the current video frame of video file; Watermarking images is added in the maximum color consecutive image zone of size, with next frame of video as current video frame; Repeated execution of steps 3) all frame of video until video file dispose; Therefore can add watermark in the on-fixed position in frame of video; Can prevent to scratch figure method, the reflection method seal that anhydrates, and, make watermark obviously protrude owing to select maximum color consecutive image zone interpolation watermark; The protection video is not stolen, the propaganda copyright information effective, have that watermark location is rationally clear, sign is effective, put steal better function, expense little, use simple advantage.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the main schematic flow sheet of the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing the preferred embodiments of the present invention are set forth in detail, thereby protection scope of the present invention is made more explicit defining so that advantage of the present invention and characteristic can be easier to it will be appreciated by those skilled in the art that.
As shown in Figure 1, the implementation step of the adaptive video watermark adding method of present embodiment watermark location is following:
1) reads the size of watermarking images;
2) obtain the frame of video of video file one by one, with first frame of video of video file as current video frame;
3) in the current video frame of video file, obtain the maximum color consecutive image zone of size, watermarking images is added in the maximum color consecutive image zone of size;
4) with next frame of video as current video frame, repeated execution of steps 3) dispose until all frame of video of video file.
The detailed step that in the current video frame of video file, obtains the maximum color consecutive image zone of size in the present embodiment step 3) comprises: in current video frame, extract a plurality of central points; The gray value that adopts the sliding window method to stretch out to obtain a plurality of color gray values and central point is less than the consecutive image zone of predetermined threshold value, and it is regional as the maximum color consecutive image of size to obtain wherein maximum consecutive image district at last.In the present embodiment, the number that extracts central point is 0.5~0.1 times of current video frame pixel number summation.
Present embodiment comprises the concrete steps that watermarking images is added in the maximum color consecutive image zone of size: the central pixel point of at first obtaining watermarking images; Obtain the central pixel point in the maximum color consecutive image zone of size then, be added in the maximum color consecutive image zone of size with two central pixel point alignment and with watermarking images at last.
The above only is a preferred implementation of the present invention, and protection scope of the present invention also not only is confined to the foregoing description, and all technical schemes that belongs under the thinking of the present invention all belong to protection scope of the present invention.Should be pointed out that for those skilled in the art in the some improvement and the retouching that do not break away under the principle of the invention prerequisite, these improvement and retouching also should be regarded as protection scope of the present invention.
Claims (4)
1. adaptive video watermark adding method of watermark location is characterized in that implementation step is following:
1) reads the size of watermarking images;
2) obtain the frame of video of video file one by one, with first frame of video of video file as current video frame;
3) in the current video frame of video file, obtain the maximum color consecutive image zone of size, watermarking images is added in the maximum color consecutive image zone of said size;
4) with next frame of video as current video frame, repeated execution of steps 3) dispose until all frame of video of video file.
2. the adaptive video watermark adding method of watermark location according to claim 1; It is characterized in that; The detailed step that in the current video frame of video file, obtains the maximum color consecutive image zone of size in the said step 3) comprises: in current video frame, extract a plurality of central points; The gray value that adopts the sliding window method to stretch out to obtain a plurality of color gray values and central point is less than the consecutive image zone of predetermined threshold value, and it is regional as the maximum color consecutive image of said size to obtain wherein maximum consecutive image district at last.
3. the adaptive video watermark adding method of watermark location according to claim 2 is characterized in that, the number of said extraction central point is 0.5~0.1 times of current video frame pixel number summation.
4. according to claim 1 or the adaptive video watermark adding method of 2 or 3 described watermark locations; It is characterized in that; The said concrete steps that watermarking images is added in the maximum color consecutive image zone of said size comprise: the central pixel point of at first obtaining watermarking images; Obtain the central pixel point in the maximum color consecutive image zone of said size then, be added in the maximum color consecutive image zone of said size with said two central pixel point alignment and with watermarking images at last.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103888054A CN102404649A (en) | 2011-11-30 | 2011-11-30 | Watermark position self-adaptive video watermark adding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103888054A CN102404649A (en) | 2011-11-30 | 2011-11-30 | Watermark position self-adaptive video watermark adding method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102404649A true CN102404649A (en) | 2012-04-04 |
Family
ID=45886353
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103888054A Pending CN102404649A (en) | 2011-11-30 | 2011-11-30 | Watermark position self-adaptive video watermark adding method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102404649A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103037268A (en) * | 2012-12-07 | 2013-04-10 | 广东威创视讯科技股份有限公司 | Method and device for watermark adding |
CN103826168A (en) * | 2014-02-25 | 2014-05-28 | 深圳市掌网立体时代视讯技术有限公司 | Method and system for adding watermark to video |
CN104952026A (en) * | 2014-03-31 | 2015-09-30 | 腾讯科技(深圳)有限公司 | Method of processing image and device thereof |
CN105898561A (en) * | 2016-04-13 | 2016-08-24 | 腾讯科技(深圳)有限公司 | Video image processing method and video image processing device |
CN106331746A (en) * | 2016-09-19 | 2017-01-11 | 北京小度互娱科技有限公司 | Method and device for identifying position of watermark in video file |
CN107833175A (en) * | 2017-11-27 | 2018-03-23 | 重庆邮电大学 | A kind of computer desktop suspension watermark adaptive generation method |
CN108055493A (en) * | 2017-12-13 | 2018-05-18 | 苏州科达科技股份有限公司 | The method and device of embedded watermark in video image |
CN111310134A (en) * | 2018-12-11 | 2020-06-19 | 阿里巴巴集团控股有限公司 | Screen watermark generation method, device and equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1584929A (en) * | 2004-06-10 | 2005-02-23 | 上海交通大学 | Synchronous self-adaptable watermark method based on image continuity |
US7068809B2 (en) * | 2001-08-27 | 2006-06-27 | Digimarc Corporation | Segmentation in digital watermarking |
CN101119429A (en) * | 2006-08-01 | 2008-02-06 | 北京北大方正电子有限公司 | Digital watermark embedded and extracting method and device |
CN101155249A (en) * | 2006-09-28 | 2008-04-02 | 富士通株式会社 | Electronic watermark embedding apparatus and electronic watermark detection apparatus |
CN101533517A (en) * | 2009-04-15 | 2009-09-16 | 北京联合大学 | Structure feature based on Chinese painting and calligraphy seal image automatic extracting method |
-
2011
- 2011-11-30 CN CN2011103888054A patent/CN102404649A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7068809B2 (en) * | 2001-08-27 | 2006-06-27 | Digimarc Corporation | Segmentation in digital watermarking |
CN1584929A (en) * | 2004-06-10 | 2005-02-23 | 上海交通大学 | Synchronous self-adaptable watermark method based on image continuity |
CN101119429A (en) * | 2006-08-01 | 2008-02-06 | 北京北大方正电子有限公司 | Digital watermark embedded and extracting method and device |
CN101155249A (en) * | 2006-09-28 | 2008-04-02 | 富士通株式会社 | Electronic watermark embedding apparatus and electronic watermark detection apparatus |
CN101533517A (en) * | 2009-04-15 | 2009-09-16 | 北京联合大学 | Structure feature based on Chinese painting and calligraphy seal image automatic extracting method |
Non-Patent Citations (1)
Title |
---|
王宏霞,等: "基于图像连通性的自适应水印同步方案", 《西南交通大学学报》, vol. 40, no. 6, 28 December 2005 (2005-12-28) * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103037268A (en) * | 2012-12-07 | 2013-04-10 | 广东威创视讯科技股份有限公司 | Method and device for watermark adding |
CN103037268B (en) * | 2012-12-07 | 2015-07-08 | 广东威创视讯科技股份有限公司 | Method and device for watermark adding |
CN103826168A (en) * | 2014-02-25 | 2014-05-28 | 深圳市掌网立体时代视讯技术有限公司 | Method and system for adding watermark to video |
CN104952026B (en) * | 2014-03-31 | 2019-09-27 | 腾讯科技(深圳)有限公司 | The method and device of image procossing |
CN104952026A (en) * | 2014-03-31 | 2015-09-30 | 腾讯科技(深圳)有限公司 | Method of processing image and device thereof |
CN105898561A (en) * | 2016-04-13 | 2016-08-24 | 腾讯科技(深圳)有限公司 | Video image processing method and video image processing device |
CN105898561B (en) * | 2016-04-13 | 2019-06-18 | 腾讯科技(深圳)有限公司 | A kind of method of video image processing and device |
CN106331746A (en) * | 2016-09-19 | 2017-01-11 | 北京小度互娱科技有限公司 | Method and device for identifying position of watermark in video file |
CN106331746B (en) * | 2016-09-19 | 2019-12-06 | 北京小度互娱科技有限公司 | Method and apparatus for identifying watermark location in video file |
CN107833175A (en) * | 2017-11-27 | 2018-03-23 | 重庆邮电大学 | A kind of computer desktop suspension watermark adaptive generation method |
CN108055493A (en) * | 2017-12-13 | 2018-05-18 | 苏州科达科技股份有限公司 | The method and device of embedded watermark in video image |
CN111310134A (en) * | 2018-12-11 | 2020-06-19 | 阿里巴巴集团控股有限公司 | Screen watermark generation method, device and equipment |
CN111310134B (en) * | 2018-12-11 | 2022-07-22 | 阿里巴巴集团控股有限公司 | Screen watermark generation method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102404649A (en) | Watermark position self-adaptive video watermark adding method | |
CN101661608B (en) | Diginal image blind watermark adding, extracting and removing method suitable for internet | |
Peng et al. | Improved PVO-based reversible data hiding | |
WO2018006095A3 (en) | Image-based pose determination | |
GB0712690D0 (en) | Imagee processing | |
CN111107370B (en) | Video watermark embedding processing method and device, electronic equipment and storage medium | |
TW200501224A (en) | Graphic processing method and apparatus | |
WO2021103643A1 (en) | Video watermark removing method and apparatus, video data publishing method and apparatus, device and storage medium | |
CN103248898A (en) | Adding and extracting method for digital watermark and device thereof | |
CN105260980A (en) | Method and system for synthesizing and generating water mark | |
Liao et al. | A novel steganographic method with four-pixel differencing and modulus function | |
CN105488822B (en) | Reversible image hidden algorithm based on AMBTC algorithm | |
CN104978706A (en) | Watermark embedding method based on Fourier descriptor, watermark extraction method based on Fourier descriptor, watermark embedding device based on Fourier descriptor, watermark extraction device based on Fourier descriptor and system | |
CN103428503A (en) | Method and device for watermark extraction in digital medium | |
CN101778289B (en) | Method for embedding and extracting digital video information based on FLV (flash video) video structural feature | |
Cui et al. | Research on region selection strategy for visible watermark embedding | |
CN102663675A (en) | Method and apparatus for scaling image processed by character superimposition | |
CN105430237B (en) | A kind of processing method and system of frame missing image | |
CN107203979B (en) | Low-illumination image enhancement method | |
CN101685496B (en) | Video segment duplication detecting method | |
CN109309869A (en) | A kind of watermark embedding method, device and storage medium | |
CN105208462B (en) | Video digital watermark processing method and the video digital watermark system for performing this method | |
Qian-lan | The blind detection of information hiding in color image | |
CN103491456A (en) | SIFT (Scale-Invariant Feature Transform)-based geometric-attack-resistant robust video watermarking method | |
CN102314668A (en) | Difference-expansion digital-watermark-embedding improvement method for enhancing quality of watermark-embedded image |
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: 20120404 |