CN104079929A - Mosaic detection method and device - Google Patents

Mosaic detection method and device Download PDF

Info

Publication number
CN104079929A
CN104079929A CN201410270356.7A CN201410270356A CN104079929A CN 104079929 A CN104079929 A CN 104079929A CN 201410270356 A CN201410270356 A CN 201410270356A CN 104079929 A CN104079929 A CN 104079929A
Authority
CN
China
Prior art keywords
characteristic value
detected
image
color
standard picture
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
CN201410270356.7A
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.)
Shenzhen Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship 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 Shenzhen Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN201410270356.7A priority Critical patent/CN104079929A/en
Publication of CN104079929A publication Critical patent/CN104079929A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Abstract

The embodiment of the invention discloses a mosaic detection method. The method comprises the steps of obtaining a feature value of an image to be detected in a playing video, wherein the feature value is used for representing a color feature of each pixel point in the image to be detected; matching the feature value of the image to be detected with a first preset feature value, wherein the first preset feature value is the feature value of a first standard image without mosaic, and the first standard image corresponds to the image to be detected; according to the matched result, determining whether mosaic exists in the image to be detected or not. The embodiment of the invention further discloses a mosaic detection device. By the adoption of the mosaic detection method and device, whether the mosaic exists in the image in the playing video or not can be effectively detected in a short time, the detection method is simple, and efficiency is high.

Description

A kind of mosaic detection method and device
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of mosaic detection method and device.
Background technology
Along with the development of electronic technology, often need to whether exist mosaic to carry out the parameters such as test machine top box minimum, maximum incoming level and carrier to noise ratio by means of the image detecting in displaying video.For example play one section of video, total time is 23 seconds, broadcast 50 two field pictures per second, and this just needs to detect efficiently each two field picture in video and whether has mosaic.Whether existing detected image exists the method for mosaic to be, first image to be detected is converted to gray-scale map, carries out canny edge detection, obtains the image only with profile information; Then utilize four templates to carry out template matches to contour images, obtain four matching images; Again four matching images are carried out to binary conversion treatment, obtain the image that only retains the point matching; Finally utilize sliding window mosaic detection algorithm detected image whether to there is mosaic.
Existing detection mosaic technology algorithm complexity, is difficult to detect efficiently at short notice image and whether has mosaic, is not therefore suitable for the image detecting in displaying video and whether has mosaic.
Summary of the invention
The embodiment of the present invention provides a kind of mosaic detection method and device, and whether the image that efficient detection goes out in displaying video at short notice exists mosaic, and detection method is simple, and efficiency is high.
The embodiment of the present invention provides a kind of mosaic detection method, comprising:
Obtain the characteristic value of image to be detected in displaying video, described characteristic value is for representing the color character of the each pixel of described image to be detected;
The characteristic value of described image to be detected and the first default characteristic value mates, and described first presets the characteristic value that characteristic value is first standard picture without mosaic corresponding with described image to be detected;
According to matching result, determine whether described image to be detected exists mosaic.
Correspondingly, the embodiment of the present invention also provides a kind of mosaic checkout gear, comprising:
Acquisition module, for obtaining the characteristic value of displaying video image to be detected, described characteristic value is for representing the color character of the each pixel of described image to be detected;
Matching module, for the characteristic value of described image to be detected and the first default characteristic value mates, described first presets the characteristic value that characteristic value is first standard picture without mosaic corresponding with described image to be detected;
The first determination module, for according to matching result, determines whether described image to be detected exists mosaic.
In the embodiment of the present invention, obtain the characteristic value of image to be detected in displaying video, the characteristic value of obtained image to be detected is mated with the first default characteristic value, the first default characteristic value is the characteristic value of first standard picture without mosaic corresponding with image to be detected, and determines according to matching result whether image to be detected exists mosaic.In the embodiment of the present invention, detection method is simple, can detect efficiently at short notice image to be detected in displaying video and whether have mosaic, and efficiency is high, method practicality.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of mosaic detection method of providing of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the another kind of mosaic detection method that provides of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another mosaic detection method of providing of the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another mosaic detection method of providing of the embodiment of the present invention;
Fig. 5 is a kind of schematic flow sheet that obtains default characteristic value that the embodiment of the present invention provides;
Fig. 6 is the structural representation of a kind of mosaic checkout gear of providing of the embodiment of the present invention;
Fig. 7 is the structural representation of the another kind of mosaic checkout gear that provides of the embodiment of the present invention;
Fig. 8 is the structural representation of another mosaic checkout gear of providing of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, the schematic flow sheet of a kind of mosaic detection method providing for the embodiment of the present invention; As described in Figure 1, a kind of mosaic detection method described in the present embodiment comprises step:
S100, obtains the characteristic value of image to be detected in displaying video, and described characteristic value is for representing the color character of the each pixel of described image to be detected;
In specific embodiment, in the time that needs test in displaying video whether image exists mosaic, obtain the characteristic value of image to be detected in displaying video, for example, in channel test, playing one period of total time is 23 seconds, broadcast 50 two field pictures per second, in efficient detection video, whether each two field picture there is mosaic, is in 20 milliseconds, to detect a two field picture whether to have mosaic.When detected image, obtain the characteristic value of image to be detected in displaying video, it should be noted that, characteristic value, for representing the color character of the each pixel of image to be detected, for example, can be color-values of three Color Channels of each pixel etc.
S101, mate the characteristic value of described image to be detected and the first default characteristic value, and described first presets the characteristic value that characteristic value is first standard picture without mosaic corresponding with described image to be detected;
In specific embodiment, the characteristic value of obtained image to be detected being mated with the first default characteristic value, is to judge that whether the characteristic value of image to be detected is identical with the first default characteristic value.The first default characteristic value can be the characteristic value of first standard picture corresponding with image to be detected, the first standard picture is without mosaic, the corresponding relation of the first standard picture and image to be detected can be the playing sequence in video, the first default characteristic value can be also the color character for representing the each pixel of the first standard picture, for example, can be the color-values etc. of three Color Channels of each pixel.
S102, according to matching result, determines whether described image to be detected exists mosaic.
In specific embodiment, according to the matching result of the characteristic value of image to be detected and the first default characteristic value, determine whether image to be detected exists mosaic.For example, if can be that characteristic value and the first default characteristic value coupling of image to be detected is consistent, there is not mosaic in definite image to be detected; If it is inconsistent that the characteristic value of image to be detected is mated with the first default characteristic value, determine that image to be detected exists mosaic.
In the embodiment of the present invention, obtain the characteristic value of image to be detected in displaying video, the characteristic value of obtained image to be detected is mated with the first default characteristic value, the first default characteristic value is the characteristic value of first standard picture without mosaic corresponding with image to be detected, and determines according to matching result whether image to be detected exists mosaic.In the embodiment of the present invention, detection method is simple, can detect efficiently at short notice image to be detected in displaying video and whether have mosaic, and efficiency is high, method practicality.
Please refer to Fig. 2, the schematic flow sheet of the another kind of mosaic detection method providing for the embodiment of the present invention; As described in Figure 2, the another kind of mosaic detection method described in the present embodiment comprises step:
S200, obtains the characteristic value of image to be detected in displaying video, and described characteristic value is for representing the color character of the each pixel of described image to be detected;
In specific embodiment, the present embodiment step S200, with reference to embodiment step S100 described in Fig. 1, does not repeat them here.
S201, mate the characteristic value of described image to be detected and the first default characteristic value, and described first presets the characteristic value that characteristic value is first standard picture without mosaic corresponding with described image to be detected;
In specific embodiment, the present embodiment step S201, with reference to embodiment step S101 described in Fig. 1, does not repeat them here.
S202, if the characteristic value of described image to be detected is consistent with the described first default characteristic value coupling, determines that described image to be detected does not exist mosaic;
In specific embodiment, if the characteristic value of image to be detected is consistent with the first default characteristic value coupling, the color character that image to be detected is described is identical with the color character of the first standard picture, the first standard picture is the image without mosaic, therefore can derive image to be detected and not have mosaic.
S203, inconsistent if the characteristic value of described image to be detected is mated with the described first default characteristic value, determine that described image to be detected exists mosaic.
In specific embodiment, if the characteristic value of image to be detected is mated inconsistent with the first default characteristic value, illustrate that the color character of image to be detected is not identical with the color character of the first standard picture, the first standard picture is the image without mosaic, therefore can derive image to be detected and have mosaic.
In the embodiment of the present invention, obtain the characteristic value of image to be detected in displaying video, the characteristic value of obtained image to be detected is mated with the first default characteristic value, the first default characteristic value is the characteristic value of first standard picture without mosaic corresponding with image to be detected, and determines according to matching result whether image to be detected exists mosaic.In the embodiment of the present invention, detection method is simple, can detect efficiently at short notice image to be detected in displaying video and whether have mosaic, and efficiency is high, method practicality.
Please refer to Fig. 3, the schematic flow sheet of another the mosaic detection method providing for the embodiment of the present invention; As described in Figure 3, another the mosaic detection method described in the present embodiment comprises step:
S300, obtains in described displaying video in image to be detected the color-values of each Color Channel in three Color Channels of RGB of each pixel;
In specific embodiment, in the time that needs detect in video whether image exists mosaic, play one section of video, and obtain in displaying video in image to be detected the color-values of each Color Channel in three Color Channels of RGB of each pixel, be the rgb value of each pixel, for example, the color of certain pixel is white, its rgb value is (255,255,255).
S301, is added the color-values of each Color Channel in three Color Channels of each described pixel, obtains the color-values summation that each described pixel is corresponding, wherein, and a corresponding color-values summation of pixel;
In specific embodiment, the color-values of each Color Channel in three Color Channels of each pixel is added, obtains the color-values summation that each pixel is corresponding, it should be noted that, a corresponding color-values summation of pixel.For example, the rgb value of pixel A is (255,255,255), and the rgb value of pixel B is (255,0,0), and the color-values summation that pixel A is corresponding is 255+255+255=765, and the color-values summation of pixel B is 255+0+0=255.
S302, is added the color-values summation of each described pixel in described image to be detected, obtains the characteristic value of described image to be detected.
In specific embodiment, the color-values summation of each pixel in image to be detected is added, obtains the characteristic value of image to be detected.For example, if only include pixel A and pixel B in image to be detected, the color-values summation that pixel A is corresponding is 765, and the color-values summation that pixel B is corresponding is 255, the characteristic value R1=765+255=1020 of image to be detected.
S303, mate the characteristic value of described image to be detected and the first default characteristic value, and described first presets the characteristic value that characteristic value is first standard picture without mosaic corresponding with described image to be detected;
In specific embodiment, the present embodiment step S303, with reference to embodiment step S101 described in Fig. 1, does not repeat them here.
S304, according to matching result, determines whether described image to be detected exists mosaic.
In specific embodiment, the present embodiment step S304, with reference to embodiment step S102 described in Fig. 1, does not repeat them here.
In the embodiment of the present invention, obtain the characteristic value of image to be detected in displaying video, the characteristic value of obtained image to be detected is mated with the first default characteristic value, the first default characteristic value is the characteristic value of first standard picture without mosaic corresponding with image to be detected, and determines according to matching result whether image to be detected exists mosaic.In the embodiment of the present invention, detection method is simple, can detect efficiently at short notice image to be detected in displaying video and whether have mosaic, and efficiency is high, method practicality.
Please refer to Fig. 4, the schematic flow sheet of another the mosaic detection method providing for the embodiment of the present invention; As described in Figure 4, another the mosaic detection method described in the present embodiment comprises step:
S400, plays normal video consistent with described displaying video content and that number of image frames is consistent, and described normal video comprises at least one frame standard picture, and described in each frame, standard picture does not all exist mosaic;
In specific embodiment, in order to obtain the first default characteristic value, need to first play a segment standard video, this normal video is and the video that content is consistent and number of image frames is consistent of displaying video, just the quality of normal video and displaying video may be different, be that each frame standard picture in normal video does not all exist mosaic, in the image to be detected in displaying video, may have mosaic.When playing standard video, need to obtain the total standard picture frame number of normal video, suppose that total standard picture frame number is M frame.
S401, the broadcasting that the playing sequence of standard picture in described normal video described in each frame is defined as to this standard picture identifies;
In specific embodiment, the playing sequence of each frame standard picture in video in normal video is defined as to the broadcasting mark of standard picture, for example, be numbered according to the playing sequence of each frame standard picture in normal video, this broadcasting mark is mainly in order to distinguish each frame standard picture, is to choose according to this broadcasting mark in the time getting the first standard picture corresponding with image to be detected.
S402, obtains the default characteristic value of standard picture described in each frame, and sets up the corresponding relation between the default characteristic value that the broadcasting mark of standard picture described in each frame and this broadcasting identify corresponding standard picture;
In specific embodiment, obtain the default characteristic value of each frame standard picture in normal video, the corresponding default characteristic value of a frame standard picture, this default characteristic value reflects the color character of this frame standard picture.Set up each frame standard picture broadcasting mark and and this broadcasting identify the corresponding relation between the default characteristic value of corresponding standard picture, be one and play the corresponding default characteristic value of mark.
Further, please refer to the schematic flow sheet of a kind of default characteristic value of obtaining each frame standard picture that Fig. 5 provides for the embodiment of the present invention, as shown in the figure, the method for obtaining default characteristic value comprises step:
S500, obtains described in each frame in standard picture the color-values of each Color Channel in three Color Channels of RGB of each official portrait vegetarian refreshments;
In specific embodiment, the method of obtaining the default characteristic value of each frame standard picture in normal video can be, first the color-values of obtaining each Color Channel in three Color Channels of RGB of each official portrait vegetarian refreshments in each frame standard picture is the rgb value that obtains each official portrait vegetarian refreshments.One frame standard picture comprises at least one official portrait vegetarian refreshments.
S501, the color-values of each Color Channel in three Color Channels of each described official portrait vegetarian refreshments in standard picture described in each frame is added, obtain color-values summation corresponding to each described official portrait vegetarian refreshments, wherein, a corresponding color-values summation of official portrait vegetarian refreshments;
In specific embodiment, the color-values of each Color Channel in three Color Channels of each official portrait vegetarian refreshments in each frame standard picture is added, obtain the color-values summation that each official portrait vegetarian refreshments is corresponding, it should be noted that, a corresponding color-values summation of official portrait vegetarian refreshments.For example, the rgb value of official portrait vegetarian refreshments A is (255,255,255), the rgb value of official portrait vegetarian refreshments B is (255,0,0), the color-values summation that official portrait vegetarian refreshments A is corresponding is 255+255+255=765, and the color-values summation of official portrait vegetarian refreshments B is 255+0+0=255.
S502, is added the color-values summation of each described official portrait vegetarian refreshments in standard picture described in each frame, obtains the default characteristic value of this frame standard picture.
In specific embodiment, the color-values summation of each official portrait vegetarian refreshments in each frame standard picture is added, obtain the default characteristic value of this frame standard picture, the corresponding default characteristic value of each frame standard picture, the default characteristic value of a frame standard picture is the result that the color-values summation of all official portrait vegetarian refreshments in this frame standard picture is added.
S403, is stored to described corresponding relation in described sample database.
In specific embodiment, by the broadcasting mark of each frame standard picture and and the corresponding relation that identifies between the default characteristic value of corresponding standard picture of this broadcasting be stored in sample database, be in sample database, to have stored all broadcastings marks and play the default characteristic value of standard picture corresponding to mark with each.Sample database is mainly to search default characteristic value for the ease of identifying by broadcasting.
S404, obtains the characteristic value of image to be detected in displaying video, and described characteristic value is for representing the color character of the each pixel of described image to be detected;
In specific embodiment, the present embodiment step S404, with reference to embodiment step S100 described in Fig. 1, does not repeat them here.
S405, obtains first of described image to be detected and plays mark;
In specific embodiment, obtain first of image to be detected and play mark, it can be the playing sequence of image to be detected in displaying video that first of image to be detected is play mark, is this frame image to be detected occupied order in all images of displaying video.
S406, in sample database, the first default characteristic value of the first standard picture corresponding to mark is play in inquiry and described first, stores all broadcastings marks and identify the default characteristic value of corresponding standard picture with broadcasting described in each in described sample database;
In specific embodiment, in sample database, the first default characteristic value of the first standard picture corresponding to mark is play in inquiry and first, in sample database, store all broadcasting marks and play with each default characteristic value that identifies corresponding standard picture, it should be noted that, the broadcasting of storing in sample database identifies and presets characteristic value is to obtain according to the normal video without mosaic.
S407, mates the characteristic value of described image to be detected with the described first inquired about default characteristic value.
In specific embodiment, the characteristic value of image to be detected is mated with the first inquired about default characteristic value, and concrete matching process can be that the characteristic value of for example image to be detected is R1, the first default characteristic value of inquiring about is R, and matching process is to judge that whether R1 is identical with R.
S408, according to matching result, determines whether described image to be detected exists mosaic.
In specific embodiment, the present embodiment step S408, with reference to embodiment step S102 described in Fig. 1, does not repeat them here.
In the embodiment of the present invention, obtain the characteristic value of image to be detected in displaying video, the characteristic value of obtained image to be detected is mated with the first default characteristic value, the first default characteristic value is the characteristic value of first standard picture without mosaic corresponding with image to be detected, and determines according to matching result whether image to be detected exists mosaic.In the embodiment of the present invention, detection method is simple, can detect efficiently at short notice image to be detected in displaying video and whether have mosaic, and efficiency is high, method practicality.
Set forth the specific implementation of a kind of mosaic checkout gear that the embodiment of the present invention provides below.
Please refer to Fig. 6, the structural representation of a kind of mosaic checkout gear providing for the embodiment of the present invention.As shown in Figure 6, a kind of mosaic checkout gear described in the present embodiment comprises: acquisition module 100, matching module 101 and the first determination module 102.
Acquisition module 100, for obtaining the characteristic value of displaying video image to be detected, described characteristic value is for representing the color character of the each pixel of described image to be detected;
In specific embodiment, in the time that needs test in displaying video whether image exists mosaic, acquisition module 100 obtains the characteristic value of image to be detected in displaying video, for example, in channel test, playing one period of total time is 23 seconds, broadcast 50 two field pictures per second, in efficient detection video, whether each two field picture there is mosaic, is in 20 milliseconds, to detect a two field picture whether to have mosaic.When detected image, acquisition module 100 obtains the characteristic value of image to be detected in displaying video, it should be noted that, characteristic value is for representing the color character of the each pixel of image to be detected, for example, can be the color-values etc. of three Color Channels of each pixel.
Matching module 101, for the characteristic value of described image to be detected and the first default characteristic value mates, described first presets the characteristic value that characteristic value is first standard picture without mosaic corresponding with described image to be detected;
In specific embodiment, matching module 101 mates the characteristic value of obtained image to be detected with the first default characteristic value, is to judge that whether the characteristic value of image to be detected is identical with the first default characteristic value.The first default characteristic value can be the characteristic value of first standard picture corresponding with image to be detected, the first standard picture is without mosaic, the corresponding relation of the first standard picture and image to be detected can be the playing sequence in video, the first default characteristic value can be also the color character for representing the each pixel of the first standard picture, for example, can be the color-values etc. of three Color Channels of each pixel.
The first determination module 102, for according to matching result, determines whether described image to be detected exists mosaic.
In specific embodiment, according to the matching result of the characteristic value of image to be detected and the first default characteristic value, the first determination module 102 determines whether image to be detected exists mosaic.For example, if can be that characteristic value and the first default characteristic value coupling of image to be detected is consistent, there is not mosaic in definite image to be detected; If it is inconsistent that the characteristic value of image to be detected is mated with the first default characteristic value, determine that image to be detected exists mosaic.
In the embodiment of the present invention, obtain the characteristic value of image to be detected in displaying video, the characteristic value of obtained image to be detected is mated with the first default characteristic value, the first default characteristic value is the characteristic value of first standard picture without mosaic corresponding with image to be detected, and determines according to matching result whether image to be detected exists mosaic.In the embodiment of the present invention, detection method is simple, can detect efficiently at short notice image to be detected in displaying video and whether have mosaic, and efficiency is high, method practicality.
Please refer to Fig. 7, the structural representation of the another kind of mosaic checkout gear providing for the embodiment of the present invention.As shown in Figure 7, the mosaic checkout gear that the embodiment of the present invention provides comprises all modules of the mosaic checkout gear shown in Fig. 6, further alternative, acquisition module 100 can also comprise the first acquiring unit 1000, second acquisition unit 1001 and the 3rd acquiring unit 1002, matching module 101 can also comprise that the 4th acquiring unit 1010, query unit 1011 and matching unit 1012, the first determination modules 102 can also comprise the first determining unit 1020 and the second determining unit 1021.Acquisition module 100, matching module 101 and the first determination module 102 please refer to the description of Fig. 6, do not repeat them here.
The first acquiring unit 1000, for obtaining the color-values of each Color Channel in three Color Channels of RGB of each pixel in described displaying video image to be detected;
In specific embodiment, in the time that needs detect in video whether image exists mosaic, play one section of video, the first acquiring unit 1000 also obtains in displaying video in image to be detected the color-values of each Color Channel in three Color Channels of RGB of each pixel, is the rgb value of each pixel, for example, the color of certain pixel is white, its rgb value is (255,255,255).
Second acquisition unit 1001, for the color-values of three each Color Channels of Color Channel of each described pixel is added, obtains the color-values summation that each described pixel is corresponding, wherein, and a corresponding color-values summation of pixel;
In specific embodiment, second acquisition unit 1001 is added the color-values of each Color Channel in three Color Channels of each pixel, obtains the color-values summation that each pixel is corresponding, it should be noted that a corresponding color-values summation of pixel.For example, the rgb value of pixel A is (255,255,255), and the rgb value of pixel B is (255,0,0), and the color-values summation that pixel A is corresponding is 255+255+255=765, and the color-values summation of pixel B is 255+0+0=255.
The 3rd acquiring unit 1002, for the color-values summation of the each described pixel of described image to be detected is added, obtains the characteristic value of described image to be detected.
In specific embodiment, the 3rd acquiring unit 1002 is added the color-values summation of each pixel in image to be detected, obtains the characteristic value of image to be detected.For example, if only include pixel A and pixel B in image to be detected, the color-values summation that pixel A is corresponding is 765, and the color-values summation that pixel B is corresponding is 255, the characteristic value R1=765+255=1020 of image to be detected.
The 4th acquiring unit 1010, plays mark for obtaining first of described image to be detected;
In specific embodiment, the 4th acquiring unit 1010 obtains first of image to be detected and plays mark, it can be the playing sequence of image to be detected in displaying video that first of image to be detected is play mark, is this frame image to be detected occupied order in all images of displaying video.
Query unit 1011, for play the first default characteristic value of the first standard picture corresponding to mark in sample database inquiry and described first, in described sample database, store all broadcastings marks and identify the default characteristic value of corresponding standard picture with broadcasting described in each;
In specific embodiment, query unit 1011 is inquired about with first and is play the first default characteristic value that identifies the first corresponding standard picture in sample database, in sample database, store all broadcasting marks and play with each default characteristic value that identifies corresponding standard picture, it should be noted that, the broadcasting of storing in sample database identifies and presets characteristic value is to obtain according to the normal video without mosaic.
Matching unit 1012, for mating the characteristic value of described image to be detected with the described first inquired about default characteristic value.
In specific embodiment, matching unit 1012 mates the characteristic value of image to be detected with the first inquired about default characteristic value, concrete matching process can be, the characteristic value of for example image to be detected is R1, the first default characteristic value of inquiring about is R, and matching process is to judge that whether R1 is identical with R.
The first determining unit 1020, if consistent with the described first default characteristic value coupling for the characteristic value of described image to be detected, determines that described image to be detected does not exist mosaic;
In specific embodiment, if the characteristic value of image to be detected is consistent with the first default characteristic value coupling, the color character that image to be detected is described is identical with the color character of the first standard picture, the first standard picture is the image without mosaic, and therefore the first determining unit 1020 can be derived image to be detected and not have mosaic.
The second determining unit 1021, if mate inconsistently for the characteristic value of described image to be detected and the described first default characteristic value, there is mosaic in definite described image to be detected.
In specific embodiment, if the characteristic value of image to be detected is mated inconsistent with the first default characteristic value, illustrate that the color character of image to be detected is not identical with the color character of the first standard picture, the first standard picture is the image without mosaic, and therefore the second determining unit 1021 can be derived image to be detected and have mosaic.
In the embodiment of the present invention, obtain the characteristic value of image to be detected in displaying video, the characteristic value of obtained image to be detected is mated with the first default characteristic value, the first default characteristic value is the characteristic value of first standard picture without mosaic corresponding with image to be detected, and determines according to matching result whether image to be detected exists mosaic.In the embodiment of the present invention, detection method is simple, can detect efficiently at short notice image to be detected in displaying video and whether have mosaic, and efficiency is high, method practicality.
Please refer to Fig. 8, the structural representation of another the mosaic checkout gear providing for the embodiment of the present invention.As shown in Figure 8, the mosaic checkout gear that the embodiment of the present invention provides comprises all modules of the mosaic checkout gear shown in Fig. 6, further alternative, this mosaic checkout gear can also comprise playing module 103, the second determination module 104, obtain and set up module 105 and memory module 105, acquisition module 100, matching module 101 and the first determination module 102 please refer to the description of Fig. 6, do not repeat them here.
Playing module 103, for playing normal video consistent with described displaying video content and that number of image frames is consistent, described normal video comprises at least one frame standard picture, and described in each frame, standard picture does not all exist mosaic;
In specific embodiment, in order to obtain the first default characteristic value, first playing module 103 need to play a segment standard video, this normal video is and the video that content is consistent and number of image frames is consistent of displaying video, just the quality of normal video and displaying video may be different, be that each frame standard picture in normal video does not all exist mosaic, in the image to be detected in displaying video, may have mosaic.When playing standard video, need to obtain the total standard picture frame number of normal video, suppose that total standard picture frame number is M frame.
The second determination module 104, for being defined as standard picture described in each frame the broadcasting mark of this standard picture at the playing sequence of described normal video;
In specific embodiment, the second determination module 104 is defined as the playing sequence of each frame standard picture in video in normal video the broadcasting mark of standard picture, for example, be numbered according to the playing sequence of each frame standard picture in normal video, this broadcasting mark is mainly in order to distinguish each frame standard picture, is to choose according to this broadcasting mark in the time getting the first standard picture corresponding with image to be detected.
Obtain and set up module 105, for obtaining the default characteristic value of standard picture described in each frame, and set up the corresponding relation between the default characteristic value that the broadcasting mark of standard picture described in each frame and this broadcasting identify corresponding standard picture;
In specific embodiment, obtain the default characteristic value of setting up module 105 and obtain each frame standard picture in normal video, the corresponding default characteristic value of a frame standard picture, this default characteristic value reflects the color character of this frame standard picture.Obtain set up module 105 set up each frame standard picture broadcasting mark and and this broadcasting identify the corresponding relation between the default characteristic value of corresponding standard picture, be one and play the corresponding default characteristic value of mark.
Further optional, obtain and set up module 105 and can also comprise the 5th acquiring unit 1050, the 6th acquiring unit 1051, the 7th acquiring unit 1052 and set up unit 1053.
The 5th acquiring unit 1050, for obtaining the color-values of each Color Channel in three Color Channels of RGB of the each official portrait vegetarian refreshments of standard picture described in each frame;
In specific embodiment, the method of obtaining the default characteristic value of each frame standard picture in normal video can be, first the 5th acquiring unit 1050 obtains the color-values of each Color Channel in three Color Channels of RGB of each official portrait vegetarian refreshments in each frame standard picture, is the rgb value that obtains each official portrait vegetarian refreshments.One frame standard picture comprises at least one official portrait vegetarian refreshments.
The 6th acquiring unit 1051, for the color-values of each Color Channel in three Color Channels of the each described official portrait vegetarian refreshments of standard picture described in each frame is added, obtain color-values summation corresponding to each described official portrait vegetarian refreshments, wherein, a corresponding color-values summation of official portrait vegetarian refreshments;
In specific embodiment, the 6th acquiring unit 1051 is added the color-values of each Color Channel in three Color Channels of each official portrait vegetarian refreshments in each frame standard picture, obtain the color-values summation that each official portrait vegetarian refreshments is corresponding, it should be noted that a corresponding color-values summation of official portrait vegetarian refreshments.For example, the rgb value of official portrait vegetarian refreshments A is (255,255,255), the rgb value of official portrait vegetarian refreshments B is (255,0,0), the color-values summation that official portrait vegetarian refreshments A is corresponding is 255+255+255=765, and the color-values summation of official portrait vegetarian refreshments B is 255+0+0=255.
The 7th acquiring unit 1052, for the color-values summation of the each described official portrait vegetarian refreshments of standard picture described in each frame is added, obtains the default characteristic value of this frame standard picture;
In specific embodiment, the 7th acquiring unit 1052 is added the color-values summation of each official portrait vegetarian refreshments in each frame standard picture, obtain the default characteristic value of this frame standard picture, the corresponding default characteristic value of each frame standard picture, the default characteristic value of a frame standard picture is the result that the color-values summation of all official portrait vegetarian refreshments in this frame standard picture is added.
Set up unit 1053, identify the corresponding relation between the default characteristic value of corresponding standard picture for setting up the broadcasting mark of standard picture described in each frame and this broadcasting;
In specific embodiment, set up unit 1053 set up each frame standard picture broadcasting mark and and this broadcasting identify the corresponding relation between the default characteristic value of corresponding standard picture, for example, can be to set up a form one to one.
Memory module 106, for being stored to described sample database by described corresponding relation.
In specific embodiment, memory module 106 by the broadcasting mark of each frame standard picture and and the corresponding relation that identifies between the default characteristic value of corresponding standard picture of this broadcasting be stored in sample database, be in sample database, to have stored all broadcastings marks and play the default characteristic value of standard picture corresponding to mark with each.Sample database is mainly to search default characteristic value for the ease of identifying by broadcasting.
In the embodiment of the present invention, obtain the characteristic value of image to be detected in displaying video, the characteristic value of obtained image to be detected is mated with the first default characteristic value, the first default characteristic value is the characteristic value of first standard picture without mosaic corresponding with image to be detected, and determines according to matching result whether image to be detected exists mosaic.In the embodiment of the present invention, detection method is simple, can detect efficiently at short notice image to be detected in displaying video and whether have mosaic, and efficiency is high, method practicality.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, in the time carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Step in embodiment of the present invention method can be carried out according to actual needs order and adjusted, merges and delete.
Module in embodiment of the present invention terminal or unit can merge according to actual needs, divide and delete.
Module described in the embodiment of the present invention or unit, can pass through universal integrated circuit, for example CPU (Central Processing Unit, central processing unit), or realize by ASIC (Application Specific Integrated Circuit, application-specific integrated circuit (ASIC)).
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.

Claims (12)

1. a mosaic detection method, is characterized in that, described method comprises:
Obtain the characteristic value of image to be detected in displaying video, described characteristic value is for representing the color character of the each pixel of described image to be detected;
The characteristic value of described image to be detected and the first default characteristic value mates, and described first presets the characteristic value that characteristic value is first standard picture without mosaic corresponding with described image to be detected;
According to matching result, determine whether described image to be detected exists mosaic.
2. as weighed the method as described in 1, it is characterized in that, described according to matching result, determine that whether described image to be detected exists mosaic, comprising:
If the characteristic value of described image to be detected is consistent with the described first default characteristic value coupling, determine that described image to be detected does not exist mosaic;
If it is inconsistent that the characteristic value of described image to be detected is mated with the described first default characteristic value, determine that described image to be detected exists mosaic.
3. as weighed the method as described in 1, it is characterized in that, described in obtain the characteristic value of image to be detected in displaying video, comprising:
Obtain in described displaying video in image to be detected the color-values of each Color Channel in three Color Channels of RGB of each pixel;
The color-values of each Color Channel in three Color Channels of each described pixel is added, obtains the color-values summation that each described pixel is corresponding, wherein, a corresponding color-values summation of pixel;
The color-values summation of each described pixel in described image to be detected is added, obtains the characteristic value of described image to be detected.
4. as weighed the method as described in 3, it is characterized in that, described the characteristic value of described image to be detected and the first default characteristic value mated, comprising:
Obtain first of described image to be detected and play mark;
In sample database, the first default characteristic value of the first standard picture corresponding to mark is play in inquiry and described first, stores all broadcastings marks and identify the default characteristic value of corresponding standard picture with broadcasting described in each in described sample database;
The characteristic value of described image to be detected is mated with the described first inquired about default characteristic value.
5. method as claimed in claim 4, is characterized in that, described first plays and be designated the playing sequence of described image to be detected in described displaying video, described in obtain the characteristic value of image to be detected in displaying video before, also comprise:
Play normal video consistent with described displaying video content and that number of image frames is consistent, described normal video comprises at least one frame standard picture, and described in each frame, standard picture does not all exist mosaic;
The playing sequence of standard picture in described normal video described in each frame is defined as to the broadcasting mark of this standard picture;
Obtain the default characteristic value of standard picture described in each frame, and set up the corresponding relation between the default characteristic value that the broadcasting mark of standard picture described in each frame and this broadcasting identify corresponding standard picture;
Described corresponding relation is stored in described sample database.
6. method as claimed in claim 5, is characterized in that, described in obtain the default characteristic value of standard picture described in each frame, comprising:
Obtain described in each frame in standard picture the color-values of each Color Channel in three Color Channels of RGB of each official portrait vegetarian refreshments;
The color-values of each Color Channel in three Color Channels of each described official portrait vegetarian refreshments in standard picture described in each frame is added, obtains color-values summation corresponding to each described official portrait vegetarian refreshments, wherein, a corresponding color-values summation of official portrait vegetarian refreshments;
The color-values summation of each described official portrait vegetarian refreshments in standard picture described in each frame is added, obtains the default characteristic value of this frame standard picture.
7. a mosaic checkout gear, is characterized in that, described device comprises:
Acquisition module, for obtaining the characteristic value of displaying video image to be detected, described characteristic value is for representing the color character of the each pixel of described image to be detected;
Matching module, for the characteristic value of described image to be detected and the first default characteristic value mates, described first presets the characteristic value that characteristic value is first standard picture without mosaic corresponding with described image to be detected;
The first determination module, for according to matching result, determines whether described image to be detected exists mosaic.
8. device as claimed in claim 7, is characterized in that, described the first determination module comprises:
The first determining unit, if consistent with the described first default characteristic value coupling for the characteristic value of described image to be detected, determines that described image to be detected does not exist mosaic;
The second determining unit, if mate inconsistently for the characteristic value of described image to be detected and the described first default characteristic value, there is mosaic in definite described image to be detected.
9. device as claimed in claim 7, is characterized in that, described acquisition module comprises:
The first acquiring unit, for obtaining the color-values of each Color Channel in three Color Channels of RGB of each pixel in described displaying video image to be detected;
Second acquisition unit, for the color-values of three each Color Channels of Color Channel of each described pixel is added, obtains the color-values summation that each described pixel is corresponding, wherein, and a corresponding color-values summation of pixel;
The 3rd acquiring unit, for the color-values summation of the each described pixel of described image to be detected is added, obtains the characteristic value of described image to be detected.
10. device as claimed in claim 9, is characterized in that, described matching module comprises:
The 4th acquiring unit, plays mark for obtaining first of described image to be detected;
Query unit, for play the first default characteristic value of the first standard picture corresponding to mark in sample database inquiry and described first, in described sample database, store all broadcastings marks and identify the default characteristic value of corresponding standard picture with broadcasting described in each;
Matching unit, for mating the characteristic value of described image to be detected with the described first inquired about default characteristic value.
11. devices as claimed in claim 10, is characterized in that, described the first broadcasting is designated the playing sequence of described image to be detected in described displaying video, and described device also comprises:
Playing module, for playing normal video consistent with described displaying video content and that number of image frames is consistent, described normal video comprises at least one frame standard picture, and described in each frame, standard picture does not all exist mosaic;
The second determination module, for being defined as standard picture described in each frame the broadcasting mark of this standard picture at the playing sequence of described normal video;
Obtain and set up module, for obtaining the default characteristic value of standard picture described in each frame, and set up the corresponding relation between the default characteristic value that the broadcasting mark of standard picture described in each frame and this broadcasting identify corresponding standard picture;
Memory module, for being stored to described sample database by described corresponding relation.
12. devices as claimed in claim 11, is characterized in that, described in obtain and set up module and comprise:
The 5th acquiring unit, for obtaining the color-values of each Color Channel in three Color Channels of RGB of the each official portrait vegetarian refreshments of standard picture described in each frame;
The 6th acquiring unit, for the color-values of each Color Channel in three Color Channels of the each described official portrait vegetarian refreshments of standard picture described in each frame is added, obtain color-values summation corresponding to each described official portrait vegetarian refreshments, wherein, a corresponding color-values summation of official portrait vegetarian refreshments;
The 7th acquiring unit, for the color-values summation of the each described official portrait vegetarian refreshments of standard picture described in each frame is added, obtains the default characteristic value of this frame standard picture;
Set up unit, identify the corresponding relation between the default characteristic value of corresponding standard picture for setting up the broadcasting mark of standard picture described in each frame and this broadcasting.
CN201410270356.7A 2014-06-17 2014-06-17 Mosaic detection method and device Pending CN104079929A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410270356.7A CN104079929A (en) 2014-06-17 2014-06-17 Mosaic detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410270356.7A CN104079929A (en) 2014-06-17 2014-06-17 Mosaic detection method and device

Publications (1)

Publication Number Publication Date
CN104079929A true CN104079929A (en) 2014-10-01

Family

ID=51600939

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410270356.7A Pending CN104079929A (en) 2014-06-17 2014-06-17 Mosaic detection method and device

Country Status (1)

Country Link
CN (1) CN104079929A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472385A (en) * 2015-11-26 2016-04-06 深圳创维数字技术有限公司 Video decoding and image output quality detection method and system
CN106372584A (en) * 2016-08-26 2017-02-01 浙江银江研究院有限公司 Video image mosaic detection method
CN106657996A (en) * 2016-11-09 2017-05-10 广州视源电子科技股份有限公司 Performance parameter detection method and system of display equipment
CN107301718A (en) * 2017-06-20 2017-10-27 深圳怡化电脑股份有限公司 A kind of image matching method and device
CN108696747A (en) * 2018-04-17 2018-10-23 青岛海信电器股份有限公司 A kind of video measurement method and apparatus
CN108769672A (en) * 2018-06-22 2018-11-06 四川九州电子科技股份有限公司 A kind of audio and video Auto-Test System and method instead of human perception
CN109168082A (en) * 2018-10-15 2019-01-08 四川长虹电器股份有限公司 Mosaic based on fixed video detects implementation method
TWI697871B (en) * 2019-04-01 2020-07-01 中華電信股份有限公司 Inspection system for image containing mosaic and method thereof
CN112752145A (en) * 2020-02-03 2021-05-04 腾讯科技(深圳)有限公司 Video identification method and related equipment
CN113271460A (en) * 2019-06-27 2021-08-17 研祥智能科技股份有限公司 Dynamic image detection method and detection system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551900B (en) * 2008-03-31 2011-10-05 新奥特(北京)视频技术有限公司 Detection method for video mosaic images
CN103530895A (en) * 2012-07-06 2014-01-22 北京大学 Method and device for detecting mosaic

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551900B (en) * 2008-03-31 2011-10-05 新奥特(北京)视频技术有限公司 Detection method for video mosaic images
CN103530895A (en) * 2012-07-06 2014-01-22 北京大学 Method and device for detecting mosaic

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
司文丽等: "马赛克故障图像的分析与检测", 《有线电视技术》 *
陈峰: "用于机顶盒功能测试的马赛克检测算法", 《科技传播》 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472385A (en) * 2015-11-26 2016-04-06 深圳创维数字技术有限公司 Video decoding and image output quality detection method and system
CN106372584A (en) * 2016-08-26 2017-02-01 浙江银江研究院有限公司 Video image mosaic detection method
CN106372584B (en) * 2016-08-26 2019-06-11 浙江银江研究院有限公司 A kind of video image mosaic detection method
CN106657996B (en) * 2016-11-09 2019-03-26 广州视源电子科技股份有限公司 Show the performance parameter detection method and system of equipment
CN106657996A (en) * 2016-11-09 2017-05-10 广州视源电子科技股份有限公司 Performance parameter detection method and system of display equipment
CN107301718A (en) * 2017-06-20 2017-10-27 深圳怡化电脑股份有限公司 A kind of image matching method and device
CN107301718B (en) * 2017-06-20 2019-07-26 深圳怡化电脑股份有限公司 A kind of image matching method and device
CN108696747A (en) * 2018-04-17 2018-10-23 青岛海信电器股份有限公司 A kind of video measurement method and apparatus
CN108696747B (en) * 2018-04-17 2019-12-24 青岛海信电器股份有限公司 Video testing method and device
CN108769672A (en) * 2018-06-22 2018-11-06 四川九州电子科技股份有限公司 A kind of audio and video Auto-Test System and method instead of human perception
CN109168082A (en) * 2018-10-15 2019-01-08 四川长虹电器股份有限公司 Mosaic based on fixed video detects implementation method
CN109168082B (en) * 2018-10-15 2020-12-29 四川长虹电器股份有限公司 Mosaic detection implementation method based on fixed video
TWI697871B (en) * 2019-04-01 2020-07-01 中華電信股份有限公司 Inspection system for image containing mosaic and method thereof
CN113271460A (en) * 2019-06-27 2021-08-17 研祥智能科技股份有限公司 Dynamic image detection method and detection system
CN113271460B (en) * 2019-06-27 2022-05-20 研祥智能科技股份有限公司 Dynamic image detection method and detection system
CN112752145A (en) * 2020-02-03 2021-05-04 腾讯科技(深圳)有限公司 Video identification method and related equipment
CN112752145B (en) * 2020-02-03 2022-05-17 腾讯科技(深圳)有限公司 Video identification method and related equipment

Similar Documents

Publication Publication Date Title
CN104079929A (en) Mosaic detection method and device
CN110675373B (en) Component installation detection method, device and system
SG142124A1 (en) Image texture retrieving method and apparatus thereof
CN109166156B (en) Camera calibration image generation method, mobile terminal and storage medium
CN110493595B (en) Camera detection method and device, storage medium and electronic device
CN103488984A (en) Method and device for identifying second-generation identity cards based on intelligent mobile equipment
CN105283902A (en) Image processing device, image processing method, and image processing program
CN101626518B (en) Method and system for detecting resolution of photographic device
CN111291601B (en) Lane line identification method and device and electronic equipment
US20130170756A1 (en) Edge detection apparatus, program and method for edge detection
US20060045389A1 (en) Automatic meter reading
CN108304562B (en) Question searching method and device and intelligent terminal
CN110035281B (en) Dead pixel detection method and device and electronic equipment
CN104615972B (en) Intelligent identification method and device for pointer instrument
CN111199567B (en) Lane line drawing method and device and terminal equipment
CN111915635A (en) Test question analysis information generation method and system supporting self-examination paper marking
CN112634227A (en) Detection and identification method and device for PCB jointed board, electronic equipment and storage medium
CN106327531A (en) Panorama video identification method and device, and video playing method and device
CN115170552A (en) Image quality evaluation method, device, equipment and storage medium
CN105264896A (en) Video quality detection method and device
EP1437686A3 (en) Object information processing apparatus, image processing system, game apparatus and image processing method
CN108427110A (en) Distance measuring method, device and electronic equipment
CN101180657A (en) Information terminal
CN110610178A (en) Image recognition method, device, terminal and computer readable storage medium
CN106778762B (en) 360-degree panoramic picture feature vector extraction method, identification method and corresponding devices

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: 20141001