CN108737816A - A kind of black field detecting method of IPTV - Google Patents

A kind of black field detecting method of IPTV Download PDF

Info

Publication number
CN108737816A
CN108737816A CN201810379527.8A CN201810379527A CN108737816A CN 108737816 A CN108737816 A CN 108737816A CN 201810379527 A CN201810379527 A CN 201810379527A CN 108737816 A CN108737816 A CN 108737816A
Authority
CN
China
Prior art keywords
block
black field
value
subregion
detection zone
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
CN201810379527.8A
Other languages
Chinese (zh)
Inventor
袁三男
陈东亚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai University of Electric Power
University of Shanghai for Science and Technology
Original Assignee
Shanghai University of Electric Power
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 Shanghai University of Electric Power filed Critical Shanghai University of Electric Power
Priority to CN201810379527.8A priority Critical patent/CN108737816A/en
Publication of CN108737816A publication Critical patent/CN108737816A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems

Abstract

The present invention relates to the black field detecting methods of IPTV a kind of, including step:1, current video frame is read, the part of station symbol will be removed as detection zone;2, detection zone is divided into n*n sub-regions blocks, calculates the average gray value of each sub-regions block;3, Selection Center block and its average gray value;4, the difference of the absolute value of the average gray value of subregion block and central block is calculated, and is compared with the threshold value of setting, if difference is more than threshold value, the block number of subregion block is added 1, the block number for black field does not add 1, otherwise, the block number of subregion block is added 1;5, judge whether the block number of subregion block is equal to n*n, if so, execute next step, otherwise return to step 3;6, judge whether the block number as black field is not less than judgment value, if so, image is black field, execute warning operation, otherwise image is not black field.Compared with prior art, the present invention is simple and practicable, detection is accurate, speed is fast.

Description

A kind of black field detecting method of IPTV
Technical field
The present invention relates to electronic information technical fields, more particularly, to the black field detecting method of IPTV a kind of.
Background technology
Support energetically with government to the integration of three networks, the rise of internet, being played to people's daily life can not neglect Depending on effect, user has been no longer satisfied with the viewing of ordinary tv programme, start requirement have abundanter video, content with And other services, the appearance of IPTV largely meet the demand of user.User may when watching IPTV programs The green screen phenomenon that the case where will appear picture unexpected blue screen or while watching video frequency program on PC occur, this is black field Definition.Faced with this situation, broadcasting and TV supervision department needs to ensure the smooth expansion of IPTV service it is necessary to avoid such case Occur, carries out the monitoring to IPTV system, prevent programme content from black field occurring suddenly, hold every one of outpost of the tax office.It is broadcast live in IPTV In image in contain station symbol, when black field or frozen frame occurs, station symbol still has display, it is therefore desirable to exclude to exist by station symbol region Outside, there is not the effective black field detecting method proposed for station symbol problem also at present.
Invention content
It is an object of the present invention to overcome the above-mentioned drawbacks of the prior art and provide the black fields of IPTV a kind of to examine Survey method.
The purpose of the present invention can be achieved through the following technical solutions:
A kind of black field detecting method of IPTV, this approach includes the following steps:
1) current video frame of IPTV is read, one fixed area for being free of station symbol of setting removes current video frame solid The part in region is determined as detection zone.
2) detection zone is divided into n*n sub-regions blocks, calculates the average gray value of each sub-regions block and storage.
3) central block that detection zone is selected in multiple subregion blocks, obtains the average gray value of central block.
4) difference of the absolute value of the average gray value of subregion block and central block is calculated, and by the threshold value of difference and setting Threshold is compared, if difference is more than the threshold value Threshold of setting, by the block number of the subregion block of detection zone Add 1, the block number for black field does not add 1, otherwise, the block number of the subregion block of detection zone is added 1.
5) judge whether the block number of the subregion block of detection zone is equal to n*n, if so, executing next step, otherwise, return to step It is rapid 3).
6) judge whether the block number as black field is not less than judgment value, if so, image is black field, execute warning operation, it is no Then, image is not black field.
7) terminate detection.
Preferably, the n is set as 8.
Preferably, the judgment value is set by the size of n values.
Preferably, the judgment value is 5.
Preferably, the value range of the threshold value Threshold is 11~26.
Preferably, the division of subregion block is to be carried out being divided into n*n blocks, and threshold value according to the size of detection zone The size of Threshold can be selected according to actual conditions.
Compared with prior art, the present invention has the following advantages:
(1) simple and practicable:Whether the present invention is used would know that image for black field to the detection of the gray value of current video frame, Detection process is simple and practicable;
(2) detection is accurate:The region for the video frame for removing station symbol is set as detection zone by the present invention, and by detection zone etc. Divide piecemeal, judges come detection image whether to be black field by carrying out average gray value to each sub-regions block successively, judge Cheng Zhong, given threshold and judgment value, improve the accuracy of detection the case where according to actually detected region;
(3) detection speed is high:Coloured image needs to use three bytes, and gray level image only needs a byte, this hair The bright gray value to video image is analyzed, and while saving detection occupied resource, improves detection speed.
Description of the drawings
Fig. 1 is a kind of flow chart of the black field detecting method of IPTV.
Specific implementation mode
The present invention is described in detail with specific embodiment below in conjunction with the accompanying drawings.
Embodiment
As shown in Figure 1, the present invention relates to the black field detecting method of IPTV a kind of, include the following steps:
Step 1: reading the current video frame of IPTV, one fixed area for being free of station symbol of setting removes current video frame Go to the part of fixed area as detection zone;
Step 2: detection zone is divided into 8*8 sub-regions blocks, calculate the average gray value of each sub-regions block and is deposited Storage;
Step 3: selecting the central block of detection zone in multiple subregion blocks, the average gray value of central block is obtained;
Step 4: calculate the difference of the absolute value of the average gray value of subregion block and central block, and by difference and setting Threshold value Threshold is compared, if difference is more than the threshold value Threshold of setting, by the subregion block of detection zone Block number adds 1, and the block number for black field does not add 1, executes next step;Otherwise, the block number of the subregion block of detection zone is added 1, executed In next step;
Step 5: need to carry out 8*8=64 time because whole and judge, thus judge the subregion block of detection zone block number whether etc. In 64, if so, next step is executed, otherwise, return to step three;
Step 6: judging whether the block number as black field is not less than 5, if so, image is black field, warning operation is executed, it is no Then, image is not black field.
Step 7: terminating detection.
It should be noted that in step 4, the selecting sequence of subregion block is the central block from the detection zone being set Position start, spread progress successively to the subregion block of adjacent surrounding, and the size of threshold value Threshold can be according to practical feelings Condition selects.
Based on method proposed by the present invention, the present embodiment is tested, to doubtful black field in the IPTV videos of reading 10 frame images be tested, the threshold value of setting and the frame number of the black field detected are as shown in table 1.
The black field detecting result of 1 experiment test of table
By the data in table 1 it is known that different threshold values for setting, the frame number of detected black field is also Difference, threshold value is too small, is also easy to produce the problems such as detection fails, and excessive threshold value is also possible to cause detection mistake.To this 10 frame In the detection of image, occur the phenomenon that black field in order to prevent, and in order to improve the accuracy of detection, threshold value is set in 11~ 26, the video frame images for detecting doubtful black field can be conducive to.It is of course also possible to according to specific actual conditions given threshold model It encloses.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any The staff for being familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection domain subject to.

Claims (5)

1. the black field detecting method of IPTV a kind of, which is characterized in that this approach includes the following steps:
S1:The current video frame of IPTV is read, current video frame is removed fixed area by one fixed area for being free of station symbol of setting The part in domain is as detection zone;
S2:Detection zone is divided into n*n sub-regions blocks, calculates the average gray value of each sub-regions block and storage;
S3:The central block that detection zone is selected in multiple subregion blocks, obtains the average gray value of central block;
S4:The difference of the absolute value of the average gray value of subregion block and central block is calculated, and difference and the threshold value of setting are carried out Compare, if difference is more than the threshold value of setting, the block number of the subregion block of detection zone is added 1, the block number for black field does not add 1, Otherwise, the block number of the subregion block of detection zone is added 1;
S5:Judge whether the block number of the subregion block of detection zone is equal to n*n, if so, next step is executed, otherwise, return to step S3;
S6:Judge whether the block number as black field is not less than judgment value, if so, image is black field, executes warning operation, otherwise, Image is not black field;
S7:Terminate detection.
2. the black field detecting method of IPTV according to claim 1 a kind of, which is characterized in that the n is set as 8.
3. the black field detecting method of IPTV according to claim 1 a kind of, which is characterized in that the judgment value is by n values Size set.
4. the black field detecting method of IPTV according to claim 1 a kind of, which is characterized in that the judgment value is 5.
5. the black field detecting method of IPTV according to claim 1 a kind of, which is characterized in that the value model of the threshold value Enclose is 11~26.
CN201810379527.8A 2018-04-25 2018-04-25 A kind of black field detecting method of IPTV Pending CN108737816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810379527.8A CN108737816A (en) 2018-04-25 2018-04-25 A kind of black field detecting method of IPTV

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810379527.8A CN108737816A (en) 2018-04-25 2018-04-25 A kind of black field detecting method of IPTV

Publications (1)

Publication Number Publication Date
CN108737816A true CN108737816A (en) 2018-11-02

Family

ID=63939822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810379527.8A Pending CN108737816A (en) 2018-04-25 2018-04-25 A kind of black field detecting method of IPTV

Country Status (1)

Country Link
CN (1) CN108737816A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213571A (en) * 2019-06-13 2019-09-06 上海佰贝科技发展股份有限公司 More monitoring point program real-time consistency assessment systems and method in a kind of broadcast link
CN113099220A (en) * 2021-06-07 2021-07-09 全时云商务服务股份有限公司 Video conference video image green screen detection method, system and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102547370A (en) * 2011-11-01 2012-07-04 大连捷成实业发展有限公司 Black frame and frozen frame monitoring method and system for video signal
CN102780910A (en) * 2011-05-13 2012-11-14 上海风格信息技术股份有限公司 Device and method for analyzing and monitoring SDI (Serial Digital Interface) video contents by using FPGA (field programmable gate array)
CN103281559A (en) * 2013-05-31 2013-09-04 于京 Method and system for detecting quality of video
CN103873852A (en) * 2012-12-11 2014-06-18 上海文广互动电视有限公司 Multi-mode parallel video quality fault detection method and device
CN104506853A (en) * 2014-12-31 2015-04-08 成都东方盛行电子有限责任公司 System and method for technical reviewing of audios/videos
CN107507577A (en) * 2016-06-14 2017-12-22 青岛海信电器股份有限公司 Method for controlling backlight thereof and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780910A (en) * 2011-05-13 2012-11-14 上海风格信息技术股份有限公司 Device and method for analyzing and monitoring SDI (Serial Digital Interface) video contents by using FPGA (field programmable gate array)
CN102547370A (en) * 2011-11-01 2012-07-04 大连捷成实业发展有限公司 Black frame and frozen frame monitoring method and system for video signal
CN103873852A (en) * 2012-12-11 2014-06-18 上海文广互动电视有限公司 Multi-mode parallel video quality fault detection method and device
CN103281559A (en) * 2013-05-31 2013-09-04 于京 Method and system for detecting quality of video
CN104506853A (en) * 2014-12-31 2015-04-08 成都东方盛行电子有限责任公司 System and method for technical reviewing of audios/videos
CN107507577A (en) * 2016-06-14 2017-12-22 青岛海信电器股份有限公司 Method for controlling backlight thereof and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213571A (en) * 2019-06-13 2019-09-06 上海佰贝科技发展股份有限公司 More monitoring point program real-time consistency assessment systems and method in a kind of broadcast link
CN113099220A (en) * 2021-06-07 2021-07-09 全时云商务服务股份有限公司 Video conference video image green screen detection method, system and storage medium
CN113099220B (en) * 2021-06-07 2021-08-13 全时云商务服务股份有限公司 Video conference video image green screen detection method, system and storage medium

Similar Documents

Publication Publication Date Title
CN112423083B (en) System and method for dynamically providing video overlay
CN101059951B (en) Image processing apparatus and method
CN110300316B (en) Method and device for implanting push information into video, electronic equipment and storage medium
US20150348251A1 (en) Method and Device for Evaluating Quality of Video in Time Domain on Terminal Side
CN110830787B (en) Method and device for detecting screen-patterned image
CN107959863A (en) A kind of video reviewing method and system
CN100463531C (en) Method for describing colour temperature in metadata conversion display device using content and system thereof
Chen et al. DaTuM: Dynamic tone mapping technique for OLED display power saving based on video classification
CN108737816A (en) A kind of black field detecting method of IPTV
CN104581132B (en) Detecting system and detection method
CN112788329A (en) Video static frame detection method and device, television and storage medium
CN112435244A (en) Live video quality evaluation method and device, computer equipment and storage medium
CN110120039B (en) Screen detection method, screen detection device, electronic equipment and readable storage medium
CN103442245B (en) Method of predicting perceptual differences between memory and directly viewed colors in video
CN103530895A (en) Method and device for detecting mosaic
CN107483985A (en) A kind of advertisement accurately localization method
CN114881889A (en) Video image noise evaluation method and device
CN103716676B (en) The video program play method and device of intelligent television
KR101337833B1 (en) Method for estimating response of audience concerning content
Xu et al. Bridging the gap between objective score and subjective preference in video quality assessment
JP2020141273A (en) Commercial detection apparatus
Song et al. No-reference quality assessment of night-time images via the analysis of local and global features
CN111652237B (en) OSD image detection method and device in video image and terminal equipment
CN109214311B (en) Detection method and device
CN115225965A (en) Method, device and equipment for intercepting wonderful segment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20181102