CN106231293B - A kind of anti-detection method and device regarded of three-dimensional film source - Google Patents

A kind of anti-detection method and device regarded of three-dimensional film source Download PDF

Info

Publication number
CN106231293B
CN106231293B CN201510727052.3A CN201510727052A CN106231293B CN 106231293 B CN106231293 B CN 106231293B CN 201510727052 A CN201510727052 A CN 201510727052A CN 106231293 B CN106231293 B CN 106231293B
Authority
CN
China
Prior art keywords
original image
subregion
detection
distance
film source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510727052.3A
Other languages
Chinese (zh)
Other versions
CN106231293A (en
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 Super Technology Co Ltd
Original Assignee
深圳超多维光电子有限公司
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 深圳超多维光电子有限公司 filed Critical 深圳超多维光电子有限公司
Priority to CN201510727052.3A priority Critical patent/CN106231293B/en
Publication of CN106231293A publication Critical patent/CN106231293A/en
Application granted granted Critical
Publication of CN106231293B publication Critical patent/CN106231293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N13/00Stereoscopic video systems; Multi-view video systems; Details thereof
    • H04N13/10Processing, recording or transmission of stereoscopic or multi-view image signals
    • H04N13/106Processing image signals
    • H04N13/128Adjusting depth or disparity

Abstract

The invention provides a kind of anti-detection method and device regarded of three-dimensional film source, it is related to MultiMedia Field, solves the problems, such as instead cannot solve to have a strong impact on picture result of broadcast depending on phenomenon in the prior art, this method includes:N the first original images of frame are chosen in film source to be detected, N is natural number, and N >=1;The detection zone in the first original image is obtained, detection zone is located in the upper left of the first original image or in upper right portion;Obtain the pixel value difference in the first original image with detection zone and be less than the matching area of the first preset value;According to the piece source format of the positional information of matching area, the positional information of detection zone and film source to be detected, determine whether the first original image is counter and regard;Result is determined according to anti-regard of the original image of N frames first, determines whether film source to be detected is counter and regards.The solution of the present invention can accurate judgement film source to be detected whether have it is counter regard, enable instead to be addressed depending on phenomenon, ensure that picture result of broadcast.

Description

A kind of anti-detection method and device regarded of three-dimensional film source
Technical field
The present invention relates to MultiMedia Field, more particularly to a kind of anti-detection method and device regarded of three-dimensional film source.
Background technology
At present, three-dimensional film source is all by two or multiple (such as 8) images form.It is vertical for being made up of two images Body film source, two sub-pictures can left and right merge, can also merge up and down, for multiple image composition three-dimensional film source, image Store form will be more.Therefore when three-dimensional film source plays, often occur due to image put in order malfunction and cause It is anti-regard phenomenon, if cannot instead be solved depending on phenomenon, picture result of broadcast will be had a strong impact on.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of anti-detection method and device regarded of three-dimensional film source, solve existing Often occur in technology due to image put in order error and caused by instead regard phenomenon, if cannot instead be solved depending on phenomenon Certainly, the problem of having a strong impact on picture result of broadcast.
In order to solve the above technical problems, embodiments of the invention provide a kind of anti-detection method regarded of three-dimensional film source, including:
N the first original images of frame are chosen in film source to be detected, N is natural number, and N >=1;
The detection zone in first original image is obtained, the detection zone is located at the pre- of first original image If in region;
Obtain the pixel value difference in first original image with the detection zone and be less than the Matching band of the first preset value Domain;
According to the positional information of the matching area, the positional information of the detection zone and the film source to be detected Piece source format, determine whether first original image is counter and regard;
Result is determined according to anti-regard of the original image of N frames first, determines whether the film source to be detected is counter and regards.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of three-dimensional film source the anti-detection means regarded, including:
Module is chosen, for choosing N the first original images of frame in film source to be detected, N is natural number, and N >=1;
First acquisition module, for obtaining the detection zone in first original image, the detection zone is located at institute In the predeterminable area for stating the first original image;
Second acquisition module, it is less than the with the pixel value difference of the detection zone for obtaining in first original image The matching area of one preset value;
First determining module, for the positional information according to the matching area, the positional information of the detection zone with And the piece source format of the film source to be detected, determine whether first original image is counter and regard;
Second determining module, result is determined for anti-regard according to the original image of N frames first, is determined described to be detected Whether film source is counter to regard.
Wherein, when the film source to be detected is left-right format, first original image includes left view and right view;
When the film source to be detected is top-down format, first original image includes top view and lower view;
First determining module includes:
First acquisition unit, if be located at for the detection zone in the upper left of first original image, When the film source to be detected is left-right format, the detection zone is obtained to the left margin of the left view of first original image Distance DX0 and the matching area to the left margin of the right view of first original image distance DX1;
First computing unit, for calculating the DX1 and the DX0 difference;
First determining unit, for when the DX1 and the DX0 difference are less than 0, determining that first original image is anti- Depending on;
Second acquisition unit, if be located at for the detection zone in the upper right portion of first original image, When the film source to be detected is left-right format, the detection zone is obtained to the right margin of the right view of first original image Distance DX2 and the matching area to the right margin of the left view of first original image distance DX3;
Second computing unit, for calculating the DX3 and the DX2 difference;
Second determining unit, for when the DX3 and the DX2 difference are less than 0, determining that first original image is anti- Depending on;
And/or
3rd acquiring unit, if be located at for the detection zone in the upper left of first original image, When the film source to be detected is top-down format, the detection zone is obtained to the left margin of the top view of first original image Distance DX4 and the matching area to the left margin of the lower view of first original image distance DX5;
3rd computing unit, for calculating the DX5 and the DX4 difference;
3rd determining unit, for when the DX5 and the DX4 difference are less than 0, determining that first original image is anti- Depending on;
4th acquiring unit, if be located at for the detection zone in the upper right portion of first original image, When the film source to be detected is top-down format, the detection zone is obtained to the right margin of the top view of first original image Distance DX6 and the matching area to the right margin of the lower view of first original image distance DX7;
4th computing unit, for calculating the DX6 and the DX7 difference;
4th determining unit, for when the DX6 and the DX7 difference are less than 0, determining that first original image is anti- Depending on.
Wherein, when the film source to be detected is left-right format, first original image includes left view and right view;
When the film source to be detected is top-down format, first original image includes top view and lower view;
The detection zone includes the first separate detection subregion and the second detection subregion, first detection Subregion is located in the upper left of first original image, and the second detection subregion is located at first original image Upper right portion in;
The matching area includes being less than the of first preset value with the pixel value difference of the described first detection subregion One matches subregion and matches sub-district with second of pixel value difference less than first preset value of the described second detection subregion Domain;
First determining module includes:
When the film source to be detected is left-right format:
5th acquiring unit, for obtaining a left side for left view of the first detection subregion to first original image The distance D1 of the left margin of the right view of the distance D on border and the first matching subregion to first original image, and Calculate the D1 and the D difference;And
6th acquiring unit, for obtaining the right side of right view of the second detection subregion to first original image The distance D3 of the right margin of the left view of the distance D2 on border and the second matching subregion to first original image, and Calculate the D3 and the D2 difference;
5th determining unit, the difference for poor and described D3 and the D2 as the D1 and D are all higher than being equal to 0 When, determine that first original image is normal, otherwise determine that first original image is counter and regard;
And/or
When the film source to be detected is top-down format:
7th acquiring unit, for obtaining a left side for top view of the first detection subregion to first original image The distance D5 of the left margin of the lower view of the distance D4 on border and the first matching subregion to first original image, and Calculate the D5 and the D4 difference;And
8th acquiring unit, for obtaining the right side of top view of the second detection subregion to first original image The distance D7 of the right margin of the lower view of the distance D6 on border and the second matching subregion to first original image, and Calculate the D6 and the D7 difference;
6th determining unit, the difference for poor and described D6 and the D7 as the D5 and D4 are all higher than being equal to When 0, determine that first original image is normal, otherwise determine that first original image is counter and regard.
Wherein, the first detection subregion detects subregion relative in first original image with described second Line is symmetrical, and geomery is identical.
Wherein, the detection means also includes:3rd determining module, for determining the film source lattice of the film source to be detected Formula;
3rd determining module includes:
7th determining unit, for determining described first according to the position relationship of the matching area and the detection zone The piece source format of original image;
8th determining unit, for the piece source format according to the original image of N frames first, determine the film source to be detected Piece source format.
Wherein, the detection zone includes the first separate detection subregion and the second detection subregion, and described the One detection subregion is located in the left-half of first original image, and the second detection subregion is former positioned at described first In the right half part of beginning image;
The matching area includes being less than the of first preset value with the pixel value difference of the described first detection subregion One matches subregion and matches sub-district with second of pixel value difference less than first preset value of the described second detection subregion Domain;
7th determining unit includes:
First determination subelement, for the positional information according to the described first detection subregion and the first matching sub-district The positional information of the positional information and the second matching subregion of the positional information in domain and the second detection subregion, when Following relational expression is set up simultaneously when, it is left-right format to determine first original image:
|PX1-W/2-Dx1| < Δs x;
|PY1-Dy1| < Δs y;
|W/2-w-Dx2- PX2 | < Δs x;
|PY2-Dy2| < Δs y;
Wherein, the PX1 is distance of the described first matching subregion to the first original image left margin, described PX2 is distance of the described second matching subregion to the first original image left margin,
The W is the width of first original image,
The Dx1For described first detection subregion to the first original image left margin distance,
The w is the width of the described second detection subregion,
The Dx2For described second detection subregion to the first original image right margin distance,
The Δ x is predetermined value;
The Dy1For described first detection subregion to the first original image coboundary distance,
The Dy2For described second detection subregion to the first original image coboundary distance,
The PY1 is distance of the described first matching subregion to the first original image coboundary,
The PY2 is distance of the described second matching subregion to the first original image coboundary,
The Δ y is predetermined value;
And/or
Second determination subelement, for the positional information according to the described first detection subregion and the first matching sub-district The positional information of the positional information and the second matching subregion of the positional information in domain and the second detection subregion, when Following relational expression is set up simultaneously when, it is top-down format to determine first original image:
|PX1-Dx1| < Δs x;
|W-w-Dx2- PX2 | < Δs x;
|PY1-H/2-Dy1| < Δs y;
|PY2-H/2-Dy2| < Δs y;
Wherein, the PX1 is distance of the described first matching subregion to the first original image left margin, described PX2 is distance of the described second matching subregion to the first original image left margin,
The W is the width of first original image,
The Dx1For described first detection subregion to the first original image left margin distance,
The w is the width of the described second detection subregion,
The Dx2For described second detection subregion to the first original image right margin distance,
The Δ x is predetermined value;
The Dy1For described first detection subregion to the first original image coboundary distance,
The Dy2For described second detection subregion to the first original image coboundary distance,
The PY1 is distance of the described first matching subregion to the first original image coboundary,
The PY2 is distance of the described second matching subregion to the first original image coboundary,
The H is the height of first original image;
The Δ y is predetermined value.
Wherein, the detection means also includes:
Zoom module, for zooming in and out processing to first original image, so as to which first after scaling processing is former Detection zone and matching area are obtained in beginning image.
Wherein, second determining module includes:
9th determining unit, for when the anti-picture number regarded is more than first threshold in the original image of N frames first, Determine that the film source to be detected is counter to regard.
Wherein, the detection means also includes:
Reset module, for if it is determined that the film source to be detected is counter regard after, reset the broadcasting of the film source to be detected Form, described anti-phenomenon is regarded to eliminate.
The above-mentioned technical proposal of the present invention has the beneficial effect that:
The anti-detection method regarded of three-dimensional film source of the embodiment of the present invention, it is former that N frames first are chosen first in film source to be detected Beginning image, N are natural number, and N >=1;Then the detection zone in the first original image is obtained, detection zone is original positioned at first In the upper left of image or in upper right portion;The pixel value difference in the first original image with detection zone is obtained again is less than first The matching area of preset value;Then according to the positional information of matching area, the positional information of detection zone and film source to be detected Piece source format, determine whether the first original image counter and regard;Result is finally determined according to anti-regard of the original image of N frames first, really Whether film source to be detected is counter calmly regards.So as to pass through the film source of the position relationship and film source to be detected of detection zone and matching area Form, has been accurately judged to whether film source to be detected regards with counter, is adjusted in time with there is anti-apparent time in film source to be detected, The viewing experience of user is ensure that, avoiding cannot instead solve depending on phenomenon, the problem of having a strong impact on picture result of broadcast, and have There is the advantages of processing speed is fast, effect is good.
Brief description of the drawings
Fig. 1 is the flow chart of the anti-detection method regarded of three-dimensional film source of the present invention;
Fig. 2 is the image schematic diagram that the anti-detection method regarded of the three-dimensional film source of the present invention obtains detection subregion;
Fig. 3 be the three-dimensional film source of the present invention it is counter depending on detection method detect the anti-left images schematic diagram regarded;
Fig. 4 be the three-dimensional film source of the present invention it is counter depending on detection method detect the anti-upper hypograph schematic diagram regarded;
Fig. 5 is the flow chart of the detection method of the Stereogram source format of the present invention;
Fig. 6 is that the detection method of the Stereogram source format of the present invention obtains the left images schematic diagram of matching subregion;
Fig. 7 is that the detection method of the Stereogram source format of the present invention obtains the upper hypograph schematic diagram of matching subregion;
Fig. 8 is that the detection method of the Stereogram source format of the present invention obtains the non-cubic image schematic diagram of matching subregion;
Fig. 9 is the structural representation of the anti-detection means regarded of three-dimensional film source of the present invention;
Figure 10 is the structural representation of the detection means of the Stereogram source format of the present invention.
Embodiment
To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool Body embodiment is described in detail.
The anti-detection method regarded of three-dimensional film source of the embodiment of the present invention, by original image obtain detection zone and with The matching area that detection zone matches, and according to the position correspondence relation and film source to be detected of detection zone and matching area Piece source format, can accurately and rapidly determine film source to be detected whether have it is counter regard, so as to counter be regarded in film source to be detected appearance When be adjusted in time, improve treatment effeciency and treatment effect, ensure that picture result of broadcast, improve Consumer's Experience.
As shown in figure 1, a kind of anti-detection method regarded of three-dimensional film source of the embodiment of the present invention, including:
Step 11, N the first original images of frame are chosen in film source to be detected, N is natural number, and N >=1.
Here, the accuracy for guarantee analysis by following step to the anti-of the first original image, it is necessary to optionally be carried out Statistical analysis, determine instead to regard result using statistical result, therefore, the former beginning Larva of multiframe first may be selected, such as such as 20 can be chosen First original image of frame or more multiframe.
The first original image of N frames can be randomly selected in the film source of loading, can also be selected in order according to graphical arrangement order Take the first original image of N frames.
Step 12, the detection zone in first original image is obtained, the detection zone is original positioned at described first In the predeterminable area of image.
For example, detection zone is located in the upper left of the first original image or in upper right portion.In the first original image In, the characteristics of image of the image section of different zones is different, and the concavo-convex manner presented in stereoscopic display is also to have nothing in common with each other 's.Such as upper left or upper right portion for the first original image, in most of stereo scene, stereo-picture Upper right portion and upper left are all recessed scenes.Therefore, using the stereoscopic display of different zones in the embodiment of the present invention Bumps difference, detection zone position is selected, and then carry out anti-regard using the positional information of detection zone and judge.
Step 13, obtain the pixel value difference in first original image with the detection zone and be less than the first preset value Matching area.
Step 14, according to the positional information of the matching area, the positional information of the detection zone and described to be checked The piece source format of film source is surveyed, determines whether first original image is counter and regards.
Step 15, result is determined according to anti-regard of the original image of N frames first, determines whether the film source to be detected is anti- Depending on.
The anti-detection method regarded of three-dimensional film source of the embodiment of the present invention, it is former that N frames first are chosen first in film source to be detected Beginning image, N are natural number, and N >=1;Then the detection zone in the first original image is obtained, detection zone is original positioned at first In the upper left of image or in upper right portion;The pixel value difference in the first original image with detection zone is obtained again is less than first The matching area of preset value;Then according to the positional information of matching area, the positional information of detection zone and film source to be detected Piece source format, determine whether the first original image counter and regard;Result is finally determined according to anti-regard of the original image of N frames first, really Whether film source to be detected is counter calmly regards.The film source of the position relationship and film source to be detected of detection zone and matching area can be passed through Form, has been accurately judged to whether film source to be detected regards with counter, is adjusted in time with there is anti-apparent time in film source to be detected, The viewing experience of user is ensure that, avoiding cannot instead solve depending on phenomenon, the problem of having a strong impact on picture result of broadcast, and have There is the advantages of processing speed is fast, effect is good.
Wherein, known in those skilled in the art, when the film source to be detected is left-right format, described first is original Image includes left view and right view;When the film source to be detected is top-down format, first original image includes regarding Figure and lower view.
Optionally, the step of above-mentioned steps 14 can include:
Step 141, if the detection zone is located in the upper left of first original image, described to be detected When film source is left-right format, the detection zone is obtained to the distance DX0 of the left margin of the left view of first original image Distance DX1 with the matching area to the left margin of the right view of first original image;
Step 142, the DX1 and the DX0 difference are calculated;
Step 143, when the DX1 and the DX0 difference are less than 0, determine that first original image is counter and regard.
Here, if DX1 and DX0 difference be more than or equal to 0, can determine whether the first original image upper left side have it is recessed become Gesture, belong to normal picture, if DX1 and DX0 difference is less than 0, can determine whether the upper left side of the first original image without it is recessed become Gesture, the first original image, which has, instead regards phenomenon.
Optionally, the step of above-mentioned steps 14 can include:
Step 144, if the detection zone is located in the upper right portion of first original image, described to be detected When film source is left-right format, the detection zone is obtained to the distance DX2 of the right margin of the right view of first original image Distance DX3 with the matching area to the right margin of the left view of first original image;
Step 145, the DX3 and the DX2 difference are calculated;
Step 146, when the DX3 and the DX2 difference are less than 0, determine that first original image is counter and regard.
Here, if DX3 and DX2 difference be more than or equal to 0, can determine whether the first original image upper right side have it is recessed become Gesture, belong to normal picture, if DX3 and DX2 difference is less than 0, can determine whether the upper right side of the first original image without it is recessed become Gesture, the first original image, which has, instead regards phenomenon.
Optionally, the step of above-mentioned steps 14 can include:
Step 147, if the detection zone is located in the upper left of first original image, described to be detected When film source is top-down format, the detection zone is obtained to the distance DX4 of the left margin of the top view of first original image Distance DX5 with the matching area to the left margin of the lower view of first original image;
Step 148, the DX5 and the DX4 difference are calculated;
Step 149, when the DX5 and the DX4 difference are less than 0, determine that first original image is counter and regard.
Here, if DX5 and DX4 difference be more than or equal to 0, can determine whether the first original image upper left side have it is recessed become Gesture, belong to normal picture, if DX5 and DX4 difference is less than 0, can determine whether the upper left side of the first original image without it is recessed become Gesture, the first original image, which has, instead regards phenomenon.
Optionally, the step of above-mentioned steps 14 can include:
Step 1410, if the detection zone is located in the upper right portion of first original image, described to be checked When survey film source is top-down format, the detection zone is obtained to the distance of the right margin of the top view of first original image The distance DX7 of DX6 and the matching area to the right margin of the lower view of first original image;
Step 1411, the DX6 and the DX7 difference are calculated;
Step 1412, when the DX6 and the DX7 difference are less than 0, determine that first original image is counter and regard.
Here, if DX6 and DX7 difference be more than or equal to 0, can determine whether the first original image upper right side have it is recessed become Gesture, belong to normal picture, if DX6 and DX7 difference is less than 0, can determine whether the upper right side of the first original image without it is recessed become Gesture, the first original image, which has, instead regards phenomenon.
In the embodiments of the present invention, when three-dimensional film source is left and right figure or upper and lower bitmap-format, pass through a left side for detection image Whether top or upper right side have recessed trend, can accurate judgement solid film source whether occur instead regarding phenomenon, to occur in film source Anti- apparent time plays form to film source and is adjusted, and ensure that the viewing experience of user.
Preferably, in one embodiment of the invention, the detection zone may include the first separate detection Region and the second detection subregion, the first detection subregion is located in the upper left of first original image, described Second detection subregion is located in the upper right portion of first original image;
The matching area includes being less than the of first preset value with the pixel value difference of the described first detection subregion One matches subregion and matches sub-district with second of pixel value difference less than first preset value of the described second detection subregion Domain;
The step of above-mentioned steps 14, can include:
When the film source to be detected is left-right format:
Step 1413, obtain the left margin of the left view of the first detection subregion to first original image away from From the left margin distance D1 of the right view of D and the first matching subregion to first original image, and described in calculating D1 and the D difference;And
Step 1414, obtain the right margin of the right view of the second detection subregion to first original image away from From the right margin distance D3 of the left view of D2 and the second matching subregion to first original image, and described in calculating D3 and the D2 difference;
Step 1415, when the D1 and D poor and described D3 and the D2 difference are all higher than being equal to 0, it is determined that First original image is normal, otherwise determines that first original image is counter and regard.
Here, when film source to be detected is left-right format, if D1 and D difference and D3 and D2 difference are all higher than or are equal to Zero, then it can determine that the first original image upper left side is respectively provided with recessed trend with upper right side, belong to normal picture, if D1 and D difference And/or D3 and D2 difference is less than zero, then the upper left side and/or upper right side that can determine that the first original image do not have recessed trend, First original image, which has, instead regards phenomenon.
The step of above-mentioned steps 14, can include:
When the film source to be detected is top-down format:
Step 1416, obtain the left margin of the top view of the first detection subregion to first original image away from From the left margin distance D5 of the lower view of D4 and the first matching subregion to first original image, and described in calculating D5 and the D4 difference;And
Step 1417, obtain the right margin of the top view of the second detection subregion to first original image away from From the right margin distance D7 of the lower view of D6 and the second matching subregion to first original image, and described in calculating D6 and the D7 difference;
Step 1418, when the D5 and D4 poor and described D6 and the D7 difference are all higher than being equal to 0, it is determined that First original image is normal, otherwise determines that first original image is counter and regard.
Here, when film source to be detected is top-down format, if D5 and D4 difference and D6 and D7 difference are all higher than or are equal to Zero, then it can determine that the first original image upper left side is respectively provided with recessed trend with upper right side, belong to normal picture, if D5 and D4 difference And/or D6 and D7 difference be less than zero, then can determine that the first original image upper left side and/or upper right side without it is recessed become Gesture, the first original image, which has, instead regards phenomenon.
Now, can be closed it is determined that after the piece source format of film source to be detected according to the position of matching area and detection zone System, whether the first original image is accurately judged to anti-phenomenon is regarded, so as to determine whether it is anti-whether film source to be detected has Depending on phenomenon, it is adjusted in the form of being played in the anti-apparent time of film source appearance to film source, ensure that the viewing experience of user.
Preferably, the first detection subregion detects subregion relative to first original image with described second Center line is symmetrical, and geomery is identical, facilitates computing, and reduces the complexity of computing, adds detection instead regarding phenomenon Accuracy.
Preferably, after choosing N the first original images of frame in film source to be detected, obtain detection zone and matching area it Before, the detection method can also include:
Step 16, processing is zoomed in and out to first original image, so as to the first original image after scaling processing Middle acquisition detection zone and matching area.
Now, by zooming in and out processing to the first original image, facilitate computing, improve arithmetic speed, so as to improve Treatment effeciency.
Preferably, the step of above-mentioned steps 15 can include:
Step 151, when the anti-picture number regarded is more than first threshold in the original image of N frames first, it is determined that described Film source to be detected is counter to be regarded.
Now, by count multiframe original image whether occur it is counter regard, can the anti-of accurate judgement film source to be detected regard phenomenon, Improve the accuracy and validity of judgement.First threshold could be arranged to N/2.
Wherein, above-mentioned steps 151 can count the anti-picture number regarded in the first original image using counter.For example, A counter can be set, initial value 0, when anti-apparent time occurs in first original image of frame, counter subtracts 1, and otherwise, counter adds 1, finally, if the count results of counter are less than or equal to 0, it can determine that film source to be detected has counter regard.
Preferably, in order to solve instead to regard influence of the phenomenon to result of broadcast, it is determined that whether the film source to be detected is counter regards Afterwards, the detection method can also include:
Step 17, however, it is determined that the film source to be detected is counter regard after, reset the broadcasting form of the film source to be detected, with Eliminate and described instead regard phenomenon.
Now, it is determined that film source to be detected is counter regard after, by resetting the broadcasting form of film source to be detected, effectively eliminate Anti- phenomenon is regarded, ensure that result of broadcast, improve Consumer's Experience.
Here, can adjust automatically film source to be detected broadcasting form, also can according to the operational order of user adjust it is to be detected The broadcasting form of film source, anti-phenomenon is regarded to eliminate.Player plays are such as used, if detecting the vertical of one or so figure distribution mode There is counter regard in body film source, that is to say, that the three-dimensional film source is right left figure distribution mode, then when playing, passes through above-mentioned steps 16, the broadcast format of reconfigurable player is right left figure broadcast format.Broadcasting is rung so as to efficiently solve the anti-seeing image of film source The problem of effect, practicality and intellectuality are improved, improve Consumer's Experience.
Specifically, the operational order mode of user's input can be impact screen, press next button etc..It is such as vertical playing During body film source, if user double-clicks screen, the image player form of film source is adjusted.
Generally, each pixel in the image of shooting has red (R), green (G) and blue (B) face Color information, therefore, pixel value difference between the above-mentioned different zones concretely RGB between the pixel of different zones correspondence position difference Value.It is described as follows:
As shown in Figure 2, it is assumed that a height of H pixel of the first original image, a width of W pixel.First in the first original graph The the first detection subregion and the second detection subregion obtained respectively as in.It is assumed that the first detection subregion obtained and the second inspection It is respectively 1,2 two detection subregion shown in Fig. 2 to survey subregion, wherein the height of 1,2 two detection subregion is h picture Element, wide is w pixel, and the left margin of first detection subregion the first original image of distance is DxIndividual pixel, the second detection The right margin of the original image of subregion distance first is also DxIndividual pixel, the first detection subregion and the second detection subregion distance The coboundary of first original image is DyIndividual pixel.
Then using 1,2 liang of detection sub-regions as template, find on image and most connect with 1,2 two detection subregion color Two near matching subregions.Specifically, removed in the first original image in the remaining area of 1,2 liang of detection sub-regions, It is a comparison domain to obtain the subregion that size is w*h successively, then obtains each comparison domain and 1,2 two detection respectively The RGB differences in region, find matching subregion of the minimum comparison domain of RGB differences for 1,2 two detection subregion.Such as When detecting the progress template matches of subregion 1, subregion 1 can will be detected on the first original image except 1,2 two detection sub-district Slided in overseas remaining area, the region that detection subregion 1 stops be a comparison domain, then will detection subregion 1 and than Pixel RGB values compared with the relevant position in region are made the difference, and record the difference M of detection subregion 1 and comparison domainXYWith than Compared with position X, the Y in region, M is finally obtainedXYComparison domain when minimum is that first to match with detecting subregion 1 matches sub-district Domain.Wherein, MXYComputational methods can use equation below:
When detecting the progress template matches of subregion 2, same step can be used to find what is matched with detecting subregion 2 Second matching subregion.
A specific implementation of the above embodiment of the present invention is illustrated below below:
As shown in figure 3, film source to be detected is left-right format, it is assumed that two 1,2 point of subregions of detection in the first original image Not corresponding matching subregion is respectively 1 ', 2 '.Wherein, subregion 1 ' is matched in right figure, and arrive the left margin of right figure Distance is Dx1, it is D to the coboundary of right figurey1;Subregion 2 ' is matched in left figure, and the distance of the right margin to left figure is Dx2.It is D to the coboundary of left figurey2.Then respectively to the original image of N frames first using equation below calculate the First Eigenvalue D1 and Second Eigenvalue D2:
D1=Dx1-Dx; (1)
D2=Dx2-Dx; (2)
The first counter is set, the initial value C=0 of counter, is entered for each sub-picture in the original image of N frames first When row calculates, such as D1 >=0 and D2 >=0, then counter C=C+1, otherwise C=C-1.Finally, N the first original images of frame are counted Count results, if C > 0, then it is assumed that the parallax of film source to be detected is normal, if during C≤0, then it is assumed that film source to be detected Parallax occurs anti-depending on, it is necessary to carry out parallax adjustment.
As shown in figure 4, film source to be detected is top-down format, it is assumed that two 1,2 point of subregions of detection in the first original image Not corresponding matching subregion is respectively 1 ", 2 ".Wherein, subregion 1 " is matched on figure below, and arrive the left margin of figure below Distance is Dx3, it is D to the coboundary of figure belowy3;Subregion 2 " is matched also on figure below, and the distance of the right margin to figure below For Dx4, the distance to the coboundary of figure below is Dy4.The 3rd spy then is calculated using equation below to the original image of N frames first respectively Value indicative D3 and fourth feature value D4:
D3=Dx3-Dx; (3)
D4=Dx-Dx4; (4)
The second counter is set, the initial value C=0 of counter, is entered for each sub-picture in the original image of N frames first When row calculates, such as D3 >=0 and D4 >=0, then counter C=C+1, otherwise C=C-1.Finally, N the first original images of frame are counted Count results, if C > 0, then it is assumed that the parallax of film source to be detected is normal, if during C≤0, then it is assumed that film source to be detected Parallax occurs anti-depending on, it is necessary to carry out parallax adjustment.
Wherein, the detection subregion 1 of selection, detection subregion 2 are located at the upper left side and upper right side of stereo-picture respectively, and For most of stereo scenes, detection subregion 1,2 is all recessed scene, i.e. determining type (1) (2) (3) (4) is all On the occasion of.Again according in N original images, detection subregion 1,2 is the number of recessed image, is regarded to judge whether film source is counter. Specifically, when it is the number of image of protrusion to detect the number that subregion 1,2 is recessed image to be more than detection subregion 1,2 (i.e. C>0), just think that three-dimensional film source is not counter to regard.
As seen from the above analysis, the anti-detection method regarded of the three-dimensional film source of the embodiment of the present invention, according to a left side for image Top largely has the phenomenon of recessed trend with upper right side, can accurately and rapidly judge whether image distribution is normal, and then Judge whether film source has and instead regard phenomenon, effectively increase treatment effeciency and treatment effect.
It is understood that in order to realize that the embodiment of the present invention treats detection and judgement that detection film source instead regards phenomenon, need The piece source format (top-down format or left-right format) of film source to be detected, therefore, the detection side of the embodiment of the present invention are learnt in advance Method can also include:
Step 18, the piece source format of the film source to be detected is determined.
Further, above-mentioned steps 18 can be realized by the detection mode of Stereogram source format as described below:
As shown in figure 5, Stereogram source format in a kind of anti-detection method regarded of three-dimensional film source of the embodiment of the present invention Detection method, in addition to:
Step 51, N the first original images of frame are chosen in film source to be detected, N is natural number, and N >=1.
Here, in order to avoid selection original image due to damage etc. reason image distribution can not be carried out by subsequent step The determination of form, it can choose such as 2 frames or more first original images.
Step 52, the detection zone for meeting the first preparatory condition in first original image is obtained, described first is default Condition indicate the detection zone size and/or the detection zone in the position of first original image.
Step 53, the matching area for meeting the second preparatory condition in first original image is obtained, described second is default Condition includes the detection zone and the pixel value difference of the matching area is less than the first preset value.
Step 54, first original image is determined according to the position relationship of the matching area and the detection zone Piece source format.
Step 55, according to the piece source format of the original image of N frames first, the film source lattice of the film source to be detected are determined Formula.
The detection method of the Stereogram source format of the embodiment of the present invention, it is former that N frames first are chosen first in film source to be detected Beginning image, N are natural number, and N >=1;Then the detection zone for meeting the first preparatory condition in the first original image is obtained, first Preparatory condition indicate detection zone size and/or detection zone in the position of the first original image;It is original that first is obtained again Meet the matching area of the second preparatory condition in image, the second preparatory condition includes the pixel value difference of detection zone and matching area Less than the first preset value;Then the film source lattice of the first original image are determined according to the position relationship of matching area and detection zone Formula;Finally according to the piece source format of the original image of N frames first, the piece source format of film source to be detected is determined.So as to pass through detection zone The position relationship of domain and matching area has accurately distinguished out the image Store form of film source to be detected, is to be regarded now further directed to anti- The picture adjustment work of elephant provides prerequisite, avoids because image Store form can not accurately distinguish, makes instead to regard phenomenon Cannot solve, the problem of influenceing picture result of broadcast, and with the advantages of processing speed is fast, effect is good.
Wherein, in above-mentioned steps 51, the first original image of N frames can be randomly selected in the film source of loading, also can be according to Graphical arrangement order chooses the first original image of N frames in order.
Specifically, the step of above-mentioned steps 54, can include:
Step 541, according to the positional information of the detection zone and the positional information of the matching area, the inspection is determined Survey region and whether the matching area meets left-right format horizontal level relation;And
Step 542, according to the positional information of the detection zone and the positional information of the matching area, the inspection is determined Survey region and whether the matching area meets left-right format vertical positional relationship;
Step 543, if the detection zone and the matching area meet the left-right format horizontal level relation simultaneously With the left-right format vertical positional relationship, it is left-right format to determine first original image;
Specifically, the step of above-mentioned steps 54, can include:
Step 544, according to the positional information of the detection zone and the positional information of the matching area, the inspection is determined Survey region and whether the matching area meets top-down format horizontal level relation;And
Step 545, according to the positional information of the detection zone and the positional information of the matching area, the inspection is determined Survey region and whether the matching area meets top-down format vertical positional relationship;
Step 546, if the detection zone and the matching area meet the top-down format horizontal level relation simultaneously With the top-down format vertical positional relationship, it is top-down format to determine first original image.
Now, according to matching area and the position relationship of detection zone, can accurate judgement film source to be detected whether be left and right The three-dimensional film source of form or the three-dimensional film source of top-down format, provided to adjust work further directed to the anti-picture depending on phenomenon Prerequisite, avoid because image Store form can not accurately distinguish, make instead solve depending on phenomenon, influence picture broadcasting The problem of effect.
Wherein, the first original image includes image in the outer image of screen and screen, and detection zone, which may be disposed at outside screen, to be schemed As in or in screen in image.Preferably, above-mentioned steps 52 can specifically obtain the detection zone being arranged in screen in image.
Preferably, the step of above-mentioned steps 541 can include:
Step 5411, according to the positional information of the detection zone and the positional information of the matching area, it is determined that described Whether the first relational expression is set up, wherein first relational expression is:
|PX-W/2-Dx| < Δs x or | W/2-w-Dx0- PX | < Δs x;
Wherein, the PX is distance of the matching area to the border of the first original image first,
The W is the width of first original image,
The DxDistance for the detection zone to the border of the first original image first,
The w is the width of the detection zone,
The Dx0Distance for the matching area to the first original image the second boundary,
The Δ x is predetermined value;
Step 5412, if first relational expression is set up, determine that the detection zone and the matching area meet left and right Form horizontal level relation;
The step of above-mentioned steps 542, can include:
Step 5421, according to the positional information of the detection zone and the positional information of the matching area, it is determined that described Whether the second relational expression is set up, wherein second relational expression is:
|PY-Dy| < Δs y;
Wherein, the PY is distance of the matching area to the border of the first original image the 3rd,
The DyDistance for the detection zone to the border of the first original image the 3rd;
The Δ y is predetermined value;
Step 5422, if second relational expression is set up, determine that the detection zone and the matching area meet left and right Form vertical positional relationship.
Now, by the first relational expression and the second relational expression, it can accurately judge that the position of detection zone and matching area is closed Whether system meets left-right format position relationship, so as to judge whether the first original image is left-right format, have processing speed it is fast, The advantages of effect is good.
Preferably, the step of above-mentioned steps 544 can include:
Step 5441, according to the positional information of the detection zone and the positional information of the matching area, it is determined that described Whether the 3rd relational expression is set up, wherein the 3rd relational expression is:
|PX-Dx| < Δs x or | W-w-Dx0- PX | < Δs x
Wherein, the PX is distance of the matching area to the border of the first original image first,
The W is the width of first original image,
The DxDistance for the detection zone to the border of the first original image first,
The w is the width of the detection zone,
The Dx0Distance for the matching area to the first original image the second boundary,
The Δ x is predetermined value;
Step 5442, if the 3rd relational expression is set up, determine that the detection zone and the matching area meet Top-down format horizontal level relation;
The step of above-mentioned steps 545, can include:
Step 5451, according to the positional information of the detection zone and the positional information of the matching area, it is determined that described Whether the 4th relational expression is set up;
Wherein described 4th relational expression is:
|PY-H/2-Dy| < Δs y;
Wherein, the PY is distance of the matching area to the border of the first original image the 3rd,
The DyDistance for the detection zone to the border of the first original image the 3rd;
The H is the height of first original image;
The Δ y is predetermined value;
Step 5452, if the 4th relational expression is set up, determine that the detection zone and the matching area meet up and down Form vertical positional relationship.
Now, by the 3rd relational expression and the 4th relational expression, it can accurately judge that the position of detection zone and matching area is closed Whether system meets top-down format position relationship, so as to judge whether the first original image is top-down format, have processing speed it is fast, The advantages of effect is good.
Further, in one embodiment of the invention, the detection zone may include the first separate detection Subregion and the second detection subregion, the first detection subregion are located in the left-half of first original image, institute The second detection subregion is stated to be located in the right half part of first original image;
The matching area includes being less than the of first preset value with the pixel value difference of the described first detection subregion One matches subregion and matches sub-district with second of pixel value difference less than first preset value of the described second detection subregion Domain;
The step of above-mentioned steps 54, may include:
Step 547, believed according to the position of the positional information of the described first detection subregion and the first matching subregion The positional information of the positional information and the second matching subregion of breath and the second detection subregion, when following relational expression When setting up simultaneously, it is left-right format to determine first original image:
|PX1-W/2-Dx1| < Δs x;
|PY1-Dy1| < Δs y;
|W/2-w-Dx2- PX2 | < Δs x;
|PY2-Dy2| < Δs y;
Wherein, the PX1 is distance of the described first matching subregion to the first original image left margin, described PX2 is distance of the described second matching subregion to the first original image left margin,
The W is the width of first original image,
The Dx1For described first detection subregion to the first original image left margin distance,
The w is the width of the described second detection subregion,
The Dx2For described second detection subregion to the first original image right margin distance,
The Δ x is predetermined value;
The Dy1For described first detection subregion to the first original image coboundary distance,
The Dy2For described second detection subregion to the first original image coboundary distance,
The PY1 is distance of the described first matching subregion to the first original image coboundary,
The PY2 is distance of the described second matching subregion to the first original image coboundary,
The Δ y is predetermined value;
And/or
Step 548, believed according to the position of the positional information of the described first detection subregion and the first matching subregion The positional information of the positional information and the second matching subregion of breath and the second detection subregion, when following relational expression When setting up simultaneously, it is top-down format to determine first original image:
|PX1-Dx1| < Δs x;
|W-w-Dx2- PX2 | < Δs x;
|PY1-H/2-Dy1| < Δs y;
|PY2-H/2-Dy2| < Δs y;
Wherein, the PX1 is distance of the described first matching subregion to the first original image left margin, described PX2 is distance of the described second matching subregion to the first original image left margin,
The W is the width of first original image,
The Dx1For described first detection subregion to the first original image left margin distance,
The w is the width of the described second detection subregion,
The Dx2For described second detection subregion to the first original image right margin distance,
The Δ x is predetermined value;
The Dy1For described first detection subregion to the first original image coboundary distance,
The Dy2For described second detection subregion to the first original image coboundary distance,
The PY1 is distance of the described first matching subregion to the first original image coboundary,
The PY2 is distance of the described second matching subregion to the first original image coboundary,
The H is the height of first original image;
The Δ y is predetermined value.
Wherein, Δ x=A*W, Δ y=B*H, 0 < A < 1, and 0 < B < 1.
Preferably, the first detection subregion detects subregion relative to first original image with described second Center line is symmetrical, and geomery is identical.
Now, can be accurate according to the position relationship and above-mentioned relation formula of two detection subregions and each Self Matching subregion Really determine the first original image whether be three-dimensional film source left-right format or top-down format, improve accuracy and validity.
Preferably, after choosing N the first original images of frame in film source to be detected, obtain detection zone and matching area it Before, methods described can also include:
Step 56, processing is zoomed in and out to first original image, so as to the first original image after scaling processing Middle acquisition detection zone and matching area.
Now, by zooming in and out processing to the first original image, facilitate computing, improve arithmetic speed, so as to improve Treatment effeciency.
Preferably, the step of above-mentioned steps 55 can include:
Step 551, when the picture number of left-right format in the original image of N frames first is more than Second Threshold, it is determined that The film source to be detected is left-right format;
Step 552, when the picture number of top-down format in the original image of N frames first is more than three threshold values, it is determined that The film source to be detected is top-down format.
Second Threshold and the 3rd threshold value could be arranged to N/2.
Now, the image distribution of film source to be detected is determined by reference to the image distribution form of the original image of N frames first Form, improve the accuracy and validity of judgement.
On acquisition of the step 53 for matching area, may refer to combine the explanation that Fig. 2 is carried out in previous embodiment, Here repeat no more.
A specific implementation of the above embodiment of the present invention is illustrated below below:
It is still as shown in Figure 2, it is assumed that a height of H pixel of the first original image, a width of W pixel.In the first original image First detection subregion of middle acquisition and the second detection subregion are respectively 1,2 two detection subregion shown in Fig. 2, wherein 1, The height of 2 two detection subregions is h pixel, and wide is w pixel, and first detects subregion the first original image of distance Left margin be DxIndividual pixel, the right margin of second detection subregion the first original image of distance is also DxIndividual pixel, the first detection The coboundary of subregion and second detection subregion the first original image of distance is DyIndividual pixel, the first detection subregion are being schemed The upper left side of picture, the second detection subregion is in the upper right side of image.
The first situation:As shown in Figure 6, it is assumed that it is subregion that first to match with detecting subregion 1, which matches subregion, 1 ', it is subregion 2 ' that second to match with detecting subregion 2, which matches subregion, and subregion 1 ' is in the first original image Position is (PX1, PY1), and position of the subregion 2 ' in the first original image is (PX2, PY2).Then if 1,2 two detection Region meets following first relational expression with the corresponding position for matching subregion:
|PX1-W/2-Dx| < Δs x;And
|W/2-w-Dx- PX2 | < Δs x;And
|PY1-Dy| < Δs y;And
|PY2-Dy| < Δs y;
Wherein, Δ x can use W*3%, and Δ y can use H*0.1%, then it is left and right bitmap-format to decide that three-dimensional film source.
Second of situation:As shown in Figure 7, it is assumed that it is subregion that first to match with detecting subregion 1, which matches subregion, 1 ", it is subregion 2 " that second to match with detecting subregion 2, which matches subregion, and subregion 1 " is in the first original image Position is (PX3, PY3), and position of the subregion 2 " in the first original image is (PX4, PY4).Then if 1,2 two detection Region meets following second relational expression with the corresponding position for matching subregion:
|PX3-Dx| < Δs x;And
|W-w-Dx- PX4 | < Δs x;And
|PY3-H/2-Dy| < Δs y;And
|PY4-H/2-Dy| < Δs y;
Wherein, Δ x can use W*3%, and Δ y can use H*0.1%, then it is upper and lower bitmap-format to decide that three-dimensional film source.
In addition, the image distribution form of existing three-dimensional film source generally comprises left and right distribution and distribution up and down, therefore, if The matching area detected and the position relationship of template subregion and the position relationship of above-mentioned left and right distribution and the position being distributed up and down Put relation to differ, as shown in figure 8, then it is believed that the film source of detection is not three-dimensional film source.
The anti-detection method regarded of three-dimensional film source of the embodiment of the present invention, passes through the position detected subregion with match subregion Relation has accurately distinguished out the Store form of image, and prerequisite bar is provided to adjust work further directed to the anti-picture depending on phenomenon Part, avoid because image Store form can not accurately distinguish, make instead solve the problems, such as depending on phenomenon.Improve practicality And intellectuality, Consumer's Experience is improved, and with the advantages of processing speed is fast, effect is good.
In one embodiment of the invention, N the first original images of frame are chosen in film source to be detected, first obtain detection zone Domain and matching area, using the mode of previous embodiment, the first original image is judged by the position relationship in the two regions Form and then the piece source format for determining film source to be detected, then, based on the piece source format judged, also with what is obtained before The positional information of detection zone and matching area, determine whether first original image is counter and regard, and then determine film source to be detected Whether counter regard.Detection zone and matching area in the present embodiment thereon using the original image of N frames first and carry out lattice simultaneously Formula judges and anti-regard judges, can simplified operation, reduce resource occupation.
Of course, it should be understood that form judges and can instead carried out respectively depending on judgement, different original images, sheet are utilized Invention is not limited this.
As shown in figure 9, the embodiment of the present invention additionally provides a kind of anti-detection means regarded of three-dimensional film source, including:
Module is chosen, for choosing N the first original images of frame in film source to be detected, N is natural number, and N >=1;
First acquisition module, for obtaining the detection zone in first original image, the detection zone is located at institute In the reservation region for stating the first original image;
Second acquisition module, it is less than the with the pixel value difference of the detection zone for obtaining in first original image The matching area of one preset value;
First determining module, for the positional information according to the matching area, the positional information of the detection zone with And the piece source format of the film source to be detected, determine whether first original image is counter and regard;
Second determining module, result is determined for anti-regard according to the original image of N frames first, is determined described to be detected Whether film source is counter to regard.
The anti-detection means regarded of three-dimensional film source of the embodiment of the present invention, passes through detection zone and the position relationship of matching area And the piece source format of film source to be detected, it has been accurately judged to whether film source to be detected regards with counter, to go out in film source to be detected Now anti-apparent time is adjusted in time, ensure that the viewing experience of user, and avoiding cannot instead solve depending on phenomenon, have a strong impact on picture The problem of face result of broadcast, and with the advantages of processing speed is fast, effect is good.
Wherein, when the film source to be detected is left-right format, first original image includes left view and right view; When the film source to be detected is top-down format, first original image includes top view and lower view.
Preferably, first determining module can include:
First acquisition unit, if be located at for the detection zone in the upper left of first original image, When the film source to be detected is left-right format, the detection zone is obtained to the left margin of the left view of first original image Distance DX0 and the matching area to the left margin of the right view of first original image distance DX1;
First computing unit, for calculating the DX1 and the DX0 difference;
First determining unit, for when the DX1 and the DX0 difference are less than 0, determining that first original image is anti- Depending on;
Second acquisition unit, if be located at for the detection zone in the upper right portion of first original image, When the film source to be detected is left-right format, the detection zone is obtained to the right margin of the right view of first original image Distance DX2 and the matching area to the right margin of the left view of first original image distance DX3;
Second computing unit, for calculating the DX3 and the DX2 difference;
Second determining unit, for when the DX3 and the DX2 difference are less than 0, determining that first original image is anti- Depending on;
And/or
3rd acquiring unit, if be located at for the detection zone in the upper left of first original image, When the film source to be detected is top-down format, the detection zone is obtained to the left margin of the top view of first original image Distance DX4 and the matching area to the left margin of the lower view of first original image distance DX5;
3rd computing unit, for calculating the DX5 and the DX4 difference;
3rd determining unit, for when the DX5 and the DX4 difference are less than 0, determining that first original image is anti- Depending on;
4th acquiring unit, if be located at for the detection zone in the upper right portion of first original image, When the film source to be detected is top-down format, the detection zone is obtained to the right margin of the top view of first original image Distance DX6 and the matching area to the right margin of the lower view of first original image distance DX7;
4th computing unit, for calculating the DX6 and the DX7 difference;
4th determining unit, for when the DX6 and the DX7 difference are less than 0, determining that first original image is anti- Depending on.
Preferably, the detection zone may include the first separate detection subregion and the second detection subregion, institute State the first detection subregion to be located in the upper left of first original image, the second detection subregion is positioned at described the In the upper right portion of one original image;
The matching area includes being less than the of first preset value with the pixel value difference of the described first detection subregion One matches subregion and matches sub-district with second of pixel value difference less than first preset value of the described second detection subregion Domain;
First determining module includes:
When the film source to be detected is left-right format:
5th acquiring unit, for obtaining a left side for left view of the first detection subregion to first original image The distance D1 of the left margin of the right view of the distance D on border and the first matching subregion to first original image, and Calculate the D1 and the D difference;And
6th acquiring unit, for obtaining the right side of right view of the second detection subregion to first original image The distance D3 of the right margin of the left view of the distance D2 on border and the second matching subregion to first original image, and Calculate the D3 and the D2 difference;
5th determining unit, the difference for poor and described D3 and the D2 as the D1 and D are all higher than being equal to 0 When, determine that first original image is normal, otherwise determine that first original image is counter and regard;
And/or
When the film source to be detected is top-down format:
7th acquiring unit, for obtaining a left side for top view of the first detection subregion to first original image The distance D5 of the left margin of the lower view of the distance D4 on border and the first matching subregion to first original image, and Calculate the D5 and the D4 difference;And
8th acquiring unit, for obtaining the right side of top view of the second detection subregion to first original image The distance D7 of the right margin of the lower view of the distance D6 on border and the second matching subregion to first original image, and Calculate the D6 and the D7 difference;
6th determining unit, the difference for poor and described D6 and the D7 as the D5 and D4 are all higher than being equal to When 0, determine that first original image is normal, otherwise determine that first original image is counter and regard.
Preferably, the detection means can also include:
Zoom module, for zooming in and out processing to first original image, so as to which first after scaling processing is former Detection zone and matching area are obtained in beginning image.
Preferably, second determining module can include:
9th determining unit, for when the anti-picture number regarded is more than first threshold in the original image of N frames first, Determine that the film source to be detected is counter to regard.
Preferably, the detection means can also include:
Reset module, for if it is determined that the film source to be detected is counter regard after, reset the broadcasting of the film source to be detected Form, described anti-phenomenon is regarded to eliminate.
The anti-detection means regarded of three-dimensional film source of the embodiment of the present invention, passes through detection zone and the position relationship of matching area And the piece source format of film source to be detected, it has been accurately judged to whether film source to be detected regards with counter, to go out in film source to be detected Now anti-apparent time is adjusted in time, ensure that the viewing experience of user, and avoiding cannot instead solve depending on phenomenon, have a strong impact on picture The problem of face result of broadcast, and with the advantages of processing speed is fast, effect is good.
Wherein, detection and judgement of the film source instead regarding phenomenon are detected, it is necessary to which prior obtain in order to realize that the embodiment of the present invention is treated Know the piece source format (top-down format or left-right format) of film source to be detected, therefore, the detection means can also include:
3rd determining module, for determining the piece source format of the film source to be detected.
Further, above-mentioned 3rd determining module can be realized by the detection means of Stereogram source format as described below:
As shown in Figure 10, the detection means of a kind of Stereogram source format of the embodiment of the present invention, including:
Second chooses module, and for choosing N the first original images of frame in film source to be detected, N is natural number, and N >=1;
3rd acquisition module, meet the detection zone of the first preparatory condition, institute in first original image for obtaining State the first preparatory condition indicate the detection zone size and/or the detection zone in the position of first original image Put;
4th acquisition module, meet the matching area of the second preparatory condition, institute in first original image for obtaining State the second preparatory condition and be less than the first preset value including the detection zone and the pixel value difference of the matching area;
4th determining module, for determining described first according to the position relationship of the matching area and the detection zone The piece source format of original image;
5th determining module, for the piece source format according to the original image of N frames first, determine the film source to be detected Piece source format.
The detection means of the Stereogram source format of the embodiment of the present invention, passes through detection zone and the position relationship of matching area The image Store form of film source to be detected has been accurately distinguished out, has been provided to adjust work further directed to the anti-picture depending on phenomenon Prerequisite, avoid because image Store form can not accurately distinguish, make instead solve the problems, such as depending on phenomenon, and have The advantages of processing speed is fast, effect is good.
Wherein, the first original image of N frames can be randomly selected in the film source of loading, can also be had according to graphical arrangement order Sequence chooses the first original image of N frames.
Specifically, the 4th determining module can include:
Tenth determining unit, for the positional information according to the detection zone and the positional information of the matching area, Determine whether the detection zone and the matching area meet left-right format horizontal level relation;And
11st determining unit, believe for the position of the positional information according to the detection zone and the matching area Breath, determines whether the detection zone and the matching area meet left-right format vertical positional relationship;
12nd determining unit, if meeting the left-right format water simultaneously for the detection zone and the matching area Flat position relationship and the left-right format vertical positional relationship, it is left-right format to determine first original image;
And/or
13rd determining unit, believe for the position of the positional information according to the detection zone and the matching area Breath, determines whether the detection zone and the matching area meet top-down format horizontal level relation;And
14th determining unit, believe for the position of the positional information according to the detection zone and the matching area Breath, determines whether the detection zone and the matching area meet top-down format vertical positional relationship;
15th determining unit, if meeting the top-down format water simultaneously for the detection zone and the matching area Flat position relationship and the top-down format vertical positional relationship, it is top-down format to determine first original image.
Wherein, the first original image includes image in the outer image of screen and screen, and detection zone, which may be disposed at outside screen, to be schemed As in or in screen in image.Preferably, above-mentioned 3rd acquisition module can specifically obtain the detection being arranged in screen in image Region.
Preferably, the tenth determining unit may include:
9th determination subelement, believe for the position of the positional information according to the detection zone and the matching area Breath, determines whether first relational expression is set up, wherein first relational expression is:
|PX-W/2-Dx| < Δs x or | W/2-w-Dx0- PX | < Δs x;
Wherein, the PX is distance of the matching area to the border of the first original image first,
The W is the width of first original image,
The DxDistance for the detection zone to the border of the first original image first,
The w is the width of the detection zone,
The Dx0Distance for the matching area to the first original image the second boundary,
The Δ x is predetermined value;
Tenth determination subelement, if being set up for first relational expression, determine the detection zone and the Matching band Domain meets left-right format horizontal level relation;
11st determining unit may include:
11st determination subelement, believe for the position of the positional information according to the detection zone and the matching area Breath, determines whether second relational expression is set up, wherein second relational expression is:
|PY-Dy| < Δs y;
Wherein, the PY is distance of the matching area to the border of the first original image the 3rd,
The DyDistance for the detection zone to the border of the first original image the 3rd;
The Δ y is predetermined value;
12nd determination subelement, if being set up for second relational expression, determine the detection zone and the matching Region meets left-right format vertical positional relationship.
Preferably, the 13rd determining unit can include:
13rd determination subelement, believe for the position of the positional information according to the detection zone and the matching area Breath, determines whether the 3rd relational expression is set up, wherein the 3rd relational expression is:
|PX-Dx| < Δs x or | W-w-Dx0- PX | < Δs x
Wherein, the PX is distance of the matching area to the border of the first original image first,
The W is the width of first original image,
The DxDistance for the detection zone to the border of the first original image first,
The w is the width of the detection zone,
The Dx0Distance for the matching area to the first original image the second boundary,
The Δ x is predetermined value;
14th determination subelement, if being set up for the 3rd relational expression, determine the detection zone and described Matching area meets top-down format horizontal level relation;
14th determining unit can include:
15th determination subelement, believe for the position of the positional information according to the detection zone and the matching area Breath, determines whether the 4th relational expression is set up;
Wherein described 4th relational expression is:
|PY-H/2-Dy| < Δs y;
Wherein, the PY is distance of the matching area to the border of the first original image the 3rd,
The DyDistance for the detection zone to the border of the first original image the 3rd;
The H is the height of first original image;
The Δ y is predetermined value;
16th determination subelement, if being set up for the 4th relational expression, determine the detection zone and the matching Region meets top-down format vertical positional relationship.
Further, the detection zone includes the first separate detection subregion and the second detection subregion, institute State the first detection subregion to be located in the left-half of first original image, the second detection subregion is positioned at described the In the right half part of one original image;
The matching area includes being less than the of first preset value with the pixel value difference of the described first detection subregion One matches subregion and matches sub-district with second of pixel value difference less than first preset value of the described second detection subregion Domain;
4th determining module can include:
16th determining unit, for the positional information according to the described first detection subregion and the first matching sub-district The positional information of the positional information and the second matching subregion of the positional information in domain and the second detection subregion, when Following relational expression is set up simultaneously when, it is left-right format to determine first original image:
|PX1-W/2-Dx1| < Δs x;
|PY1-Dy1| < Δs y;
|W/2-w-Dx2- PX2 | < Δs x;
|PY2-Dy2| < Δs y;
Wherein, the PX1 is distance of the described first matching subregion to the first original image left margin, described PX2 is distance of the described second matching subregion to the first original image left margin,
The W is the width of first original image,
The Dx1For described first detection subregion to the first original image left margin distance,
The w is the width of the described second detection subregion,
The Dx2For described second detection subregion to the first original image right margin distance,
The Δ x is predetermined value;
The Dy1For described first detection subregion to the first original image coboundary distance,
The Dy2For described second detection subregion to the first original image coboundary distance,
The PY1 is distance of the described first matching subregion to the first original image coboundary,
The PY2 is distance of the described second matching subregion to the first original image coboundary,
The Δ y is predetermined value;
And/or
17th determining unit, for the positional information according to the described first detection subregion and the first matching sub-district The positional information of the positional information and the second matching subregion of the positional information in domain and the second detection subregion, when Following relational expression is set up simultaneously when, it is top-down format to determine first original image:
|PX1-Dx1| < Δs x;
|W-w-Dx2- PX2 | < Δs x;
|PY1-H/2-Dy1| < Δs y;
|PY2-H/2-Dy2| < Δs y;
Wherein, the PX1 is distance of the described first matching subregion to the first original image left margin, described PX2 is distance of the described second matching subregion to the first original image left margin,
The W is the width of first original image,
The Dx1For described first detection subregion to the first original image left margin distance,
The w is the width of the described second detection subregion,
The Dx2For described second detection subregion to the first original image right margin distance,
The Δ x is predetermined value;
The Dy1For described first detection subregion to the first original image coboundary distance,
The Dy2For described second detection subregion to the first original image coboundary distance,
The PY1 is distance of the described first matching subregion to the first original image coboundary,
The PY2 is distance of the described second matching subregion to the first original image coboundary,
The H is the height of first original image;
The Δ y is predetermined value.
Wherein, Δ x=A*W, Δ y=B*H, 0 < A < 1, and 0 < B < 1.
Preferably, the first detection subregion detects subregion relative to first original image with described second Center line is symmetrical, and geomery is identical.
Preferably, described device can also include:
Second Zoom module, for zooming in and out processing to first original image, so as to the after scaling processing Detection zone and matching area are obtained in one original image.
Preferably, the 5th determining module can include:
18th determining unit, it is more than first for the picture number when left-right format in the original image of N frames first During threshold value, it is left-right format to determine the film source to be detected;
19th determining unit, it is more than second for the picture number when top-down format in the original image of N frames first During threshold value, it is top-down format to determine the film source to be detected.
Preferably, the first detection subregion detects subregion relative to first original image with described second Center line is symmetrical, and geomery is identical.
The detection means of the Stereogram source format of the embodiment of the present invention, pass through the position detected subregion with match subregion Relation has accurately distinguished out the Store form of image, and prerequisite bar is provided to adjust work further directed to the anti-picture depending on phenomenon Part, avoid because image Store form can not accurately distinguish, make instead solve the problems, such as depending on phenomenon.Improve practicality And intellectuality, Consumer's Experience is improved, and with the advantages of processing speed is fast, effect is good.
It should be noted that the three-dimensional film source it is counter depending on detection means be and the anti-detection method phase regarded of above-mentioned three-dimensional film source Corresponding device, wherein all implementations are applied to the Stereogram in the anti-detection method embodiment regarded of above-mentioned three-dimensional film source In the embodiment of the anti-detection means regarded in source, it can also reach same technique effect.
Described above is the preferred embodiment of the present invention, it is noted that for those skilled in the art For, on the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (18)

  1. A kind of 1. anti-detection method regarded of three-dimensional film source, it is characterised in that including:
    N the first original images of frame are chosen in film source to be detected, N is natural number, and N >=1;
    The detection zone in first original image is obtained, the detection zone is located at the preset areas of first original image In domain, wherein, the detection zone is located in the upper left and/or upper right portion of first original image;
    Obtain the pixel value difference in first original image with the detection zone and be less than the matching area of the first preset value;
    According to the film source of the positional information of the matching area, the positional information of the detection zone and the film source to be detected Form, determine whether first original image is counter and regard;
    Result is determined according to anti-regard of the original image of N frames first, determines whether the film source to be detected is counter and regards.
  2. 2. detection method according to claim 1, it is characterised in that
    When the film source to be detected is left-right format, first original image includes left view and right view;
    When the film source to be detected is top-down format, first original image includes top view and lower view;
    The detection zone is located in the upper left of first original image or in upper right portion;
    It is described according to the positional information of the matching area, the positional information of the detection zone and the film source to be detected Piece source format, determine first original image whether instead depending on including:
    It is left and right lattice in the film source to be detected if the detection zone is located in the upper left of first original image During formula, distance DX0 and the Matching band of the detection zone to the left margin of the left view of first original image are obtained Distance DX1 of the domain to the left margin of the right view of first original image;
    Calculate the DX1 and the DX0 difference;
    When the DX1 and the DX0 difference are less than 0, determine that first original image is counter and regard;
    It is left and right lattice in the film source to be detected if the detection zone is located in the upper right portion of first original image During formula, distance DX2 and the Matching band of the detection zone to the right margin of the right view of first original image are obtained Distance DX3 of the domain to the right margin of the left view of first original image;
    Calculate the DX3 and the DX2 difference;
    When the DX3 and the DX2 difference are less than 0, determine that first original image is counter and regard;
    And/or
    It is upper and lower lattice in the film source to be detected if the detection zone is located in the upper left of first original image During formula, distance DX4 and the Matching band of the detection zone to the left margin of the top view of first original image are obtained Distance DX5 of the domain to the left margin of the lower view of first original image;
    Calculate the DX5 and the DX4 difference;
    When the DX5 and the DX4 difference are less than 0, determine that first original image is counter and regard;
    It is upper and lower lattice in the film source to be detected if the detection zone is located in the upper right portion of first original image During formula, distance DX6 and the Matching band of the detection zone to the right margin of the top view of first original image are obtained Distance DX7 of the domain to the right margin of the lower view of first original image;
    Calculate the DX6 and the DX7 difference;
    When the DX6 and the DX7 difference are less than 0, determine that first original image is counter and regard.
  3. 3. detection method according to claim 1, it is characterised in that
    When the film source to be detected is left-right format, first original image includes left view and right view;
    When the film source to be detected is top-down format, first original image includes top view and lower view;
    The detection zone includes the first separate detection subregion and the second detection subregion, the first detection sub-district Domain is located in the upper left of first original image, and the second detection subregion is located at the right side of first original image In upper part;
    The matching area includes being less than first of first preset value with the pixel value difference of the described first detection subregion With subregion and it is less than the second of first preset value with the pixel value difference of the described second detection subregion and matches subregion;
    It is described according to the positional information of the matching area, the positional information of the detection zone and the film source to be detected Piece source format, determine first original image whether instead depending on including:
    When the film source to be detected is left-right format:
    Obtain the distance D and described first of the left margin of left view of the first detection subregion to first original image Subregion is matched to the distance D1 of the left margin of the right view of first original image, and calculates the D1 and the D difference; And
    Obtain the distance D2 and described the of the right margin of the right view of the second detection subregion to first original image Two match subregions to the distance D3 of the right margin of the left view of first original image, and calculate the D3's and D2 Difference;
    When the D1 and D poor and described D3 and the D2 difference are all higher than being equal to 0, first original graph is determined As normal, otherwise determine that first original image is counter and regard;
    And/or
    When the film source to be detected is top-down format:
    Obtain the distance D4 and described the of the left margin of the top view of the first detection subregion to first original image One matches subregion to the distance D5 of the left margin of the lower view of first original image, and calculates the D5's and D4 Difference;And
    Obtain the distance D6 and described the of the right margin of the top view of the second detection subregion to first original image Two match subregions to the distance D7 of the right margin of the lower view of first original image, and calculate the D6's and D7 Difference;
    When the D5 and D4 poor and described D6 and the D7 difference are all higher than being equal to 0, determine that described first is original Image is normal, otherwise determines that first original image is counter and regard.
  4. 4. detection method according to claim 1, it is characterised in that the detection method also includes:Determine described to be checked Survey the piece source format of film source;
    The piece source format for determining the film source to be detected includes:
    The piece source format of first original image is determined according to the position relationship of the matching area and the detection zone;
    According to the piece source format of the original image of N frames first, the piece source format of the film source to be detected is determined.
  5. 5. detection method according to claim 4, it is characterised in that the detection zone includes the first separate inspection Subregion and the second detection subregion are surveyed, the first detection subregion is located in the upper left of first original image, The second detection subregion is located in the upper right portion of first original image;
    The matching area includes being less than first of first preset value with the pixel value difference of the described first detection subregion With subregion and it is less than the second of first preset value with the pixel value difference of the described second detection subregion and matches subregion;
    The position relationship according to the matching area and the detection zone determines the film source lattice of first original image Formula includes:
    According to the positional information of the described first detection subregion and the positional information and described the of the first matching subregion The positional information of the positional information of two detection subregions and the second matching subregion, when following relational expression is set up simultaneously, It is left-right format to determine first original image:
    |PX1-W/2-Dx1| < Δs x;
    |PY1-Dy1| < Δs y;
    |W/2-w-Dx2- PX2 | < Δs x;
    |PY2-Dy2| < Δs y;
    Wherein, the PX1 is distance of the described first matching subregion to the first original image left margin, and the PX2 is It is described second matching subregion to the first original image left margin distance,
    The W is the width of first original image,
    The Dx1For described first detection subregion to the first original image left margin distance,
    The w is the width of the described second detection subregion,
    The Dx2For described second detection subregion to the first original image right margin distance,
    The Δ x is predetermined value;
    The Dy1For described first detection subregion to the first original image coboundary distance,
    The Dy2For described second detection subregion to the first original image coboundary distance,
    The PY1 is distance of the described first matching subregion to the first original image coboundary,
    The PY2 is distance of the described second matching subregion to the first original image coboundary,
    The Δ y is predetermined value;
    And/or
    According to the positional information of the described first detection subregion and the positional information and described the of the first matching subregion The positional information of the positional information of two detection subregions and the second matching subregion, when following relational expression is set up simultaneously, It is top-down format to determine first original image:
    |PX1-Dx1| < Δs x;
    |W-w-Dx2- PX2 | < Δs x;
    |PY1-H/2-Dy1| < Δs y;
    |PY2-H/2-Dy2| < Δs y;
    Wherein, the PX1 is distance of the described first matching subregion to the first original image left margin, and the PX2 is It is described second matching subregion to the first original image left margin distance,
    The W is the width of first original image,
    The Dx1For described first detection subregion to the first original image left margin distance,
    The w is the width of the described second detection subregion,
    The Dx2For described second detection subregion to the first original image right margin distance,
    The Δ x is predetermined value;
    The Dy1For described first detection subregion to the first original image coboundary distance,
    The Dy2For described second detection subregion to the first original image coboundary distance,
    The PY1 is distance of the described first matching subregion to the first original image coboundary,
    The PY2 is distance of the described second matching subregion to the first original image coboundary,
    The H is the height of first original image;
    The Δ y is predetermined value.
  6. 6. according to the detection method described in claim any one of 1-5, it is characterised in that choose N frames the in film source to be detected After one original image, before obtaining detection zone and matching area, the detection method also includes:
    Processing is zoomed in and out to first original image, so as to obtain detection zone in the first original image after scaling processing Domain and matching area.
  7. 7. according to the detection method described in claim any one of 1-5, it is characterised in that described original according to the N frames first Whether anti-regard of image determines result, determine the film source to be detected instead depending on including:
    When the anti-picture number regarded is more than first threshold in the original image of N frames first, determine that the film source to be detected is anti- Depending on.
  8. 8. detection method according to claim 1, it is characterised in that it is determined that whether the film source to be detected counter regard after, The detection method also includes:
    If it is determined that the film source to be detected is counter regard after, reset the broadcasting form of the film source to be detected, it is described anti-to eliminate Depending on phenomenon.
  9. 9. the detection method according to claim 3 or 5, it is characterised in that the first detection subregion and described second It is symmetrical relative to the center line of first original image to detect subregion, and geomery is identical.
  10. A kind of 10. anti-detection means regarded of three-dimensional film source, it is characterised in that including:
    Module is chosen, for choosing N the first original images of frame in film source to be detected, N is natural number, and N >=1;
    First acquisition module, for obtaining the detection zone in first original image, the detection zone is positioned at described the In the predeterminable area of one original image, wherein, the detection zone is located at upper left and/or the right side of first original image In upper part;
    Second acquisition module, it is pre- less than first with the pixel value difference of the detection zone in first original image for obtaining If the matching area of value;
    First determining module, for the positional information according to the matching area, the positional information of the detection zone and institute The piece source format of film source to be detected is stated, determines whether first original image is counter and regards;
    Second determining module, result is determined for anti-regard according to the original image of N frames first, determines the film source to be detected Whether counter regard.
  11. 11. detection means according to claim 10, it is characterised in that
    When the film source to be detected is left-right format, first original image includes left view and right view;
    When the film source to be detected is top-down format, first original image includes top view and lower view;
    First determining module includes:
    First acquisition unit, if be located at for the detection zone in the upper left of first original image, described When film source to be detected is left-right format, obtain the detection zone to the left margin of the left view of first original image away from From the left margin distance DX1 of DX0 and the matching area to the right view of first original image;
    First computing unit, for calculating the DX1 and the DX0 difference;
    First determining unit, for when the DX1 and the DX0 difference are less than 0, determining that first original image is counter and regarding;
    Second acquisition unit, if be located at for the detection zone in the upper right portion of first original image, described When film source to be detected is left-right format, obtain the detection zone to the right margin of the right view of first original image away from From the right margin distance DX3 of DX2 and the matching area to the left view of first original image;
    Second computing unit, for calculating the DX3 and the DX2 difference;
    Second determining unit, for when the DX3 and the DX2 difference are less than 0, determining that first original image is counter and regarding;
    And/or
    3rd acquiring unit, if be located at for the detection zone in the upper left of first original image, described When film source to be detected is top-down format, obtain the detection zone to the left margin of the top view of first original image away from From the left margin distance DX5 of DX4 and the matching area to the lower view of first original image;
    3rd computing unit, for calculating the DX5 and the DX4 difference;
    3rd determining unit, for when the DX5 and the DX4 difference are less than 0, determining that first original image is counter and regarding;
    4th acquiring unit, if be located at for the detection zone in the upper right portion of first original image, described When film source to be detected is top-down format, obtain the detection zone to the right margin of the top view of first original image away from From the right margin distance DX7 of DX6 and the matching area to the lower view of first original image;
    4th computing unit, for calculating the DX6 and the DX7 difference;
    4th determining unit, for when the DX6 and the DX7 difference are less than 0, determining that first original image is counter and regarding.
  12. 12. detection means according to claim 10, it is characterised in that
    When the film source to be detected is left-right format, first original image includes left view and right view;
    When the film source to be detected is top-down format, first original image includes top view and lower view;
    The detection zone includes the first separate detection subregion and the second detection subregion, the first detection sub-district Domain is located in the upper left of first original image, and the second detection subregion is located at the right side of first original image In upper part;
    The matching area includes being less than first of first preset value with the pixel value difference of the described first detection subregion With subregion and it is less than the second of first preset value with the pixel value difference of the described second detection subregion and matches subregion;
    First determining module includes:
    When the film source to be detected is left-right format:
    5th acquiring unit, for obtaining the left margin of left view of the first detection subregion to first original image Distance D and the right view of the first matching subregion to first original image left margin distance D1, and calculate The D1 and the D difference;And
    6th acquiring unit, for obtaining the right margin of right view of the second detection subregion to first original image Distance D2 and the left view of the second matching subregion to first original image right margin distance D3, and calculate The D3 and the D2 difference;
    5th determining unit, when the difference for poor and described D3 and the D2 as the D1 and D is all higher than being equal to 0, Determine that first original image is normal, otherwise determine that first original image is counter and regard;
    And/or
    When the film source to be detected is top-down format:
    7th acquiring unit, for obtaining the left margin of top view of the first detection subregion to first original image Distance D4 and the lower view of the first matching subregion to first original image left margin distance D5, and calculate The D5 and the D4 difference;And
    8th acquiring unit, for obtaining the right margin of top view of the second detection subregion to first original image Distance D6 and the lower view of the second matching subregion to first original image right margin distance D7, and calculate The D6 and the D7 difference;
    6th determining unit, when the difference for poor and described D6 and the D7 as the D5 and D4 is all higher than being equal to 0, Determine that first original image is normal, otherwise determine that first original image is counter and regard.
  13. 13. detection means according to claim 10, it is characterised in that the detection means also includes:3rd determines mould Block, for determining the piece source format of the film source to be detected;
    3rd determining module includes:
    7th determining unit, for determining that described first is original according to the position relationship of the matching area and the detection zone The piece source format of image;
    8th determining unit, for the piece source format according to the original image of N frames first, determine the piece of the film source to be detected Source format.
  14. 14. detection means according to claim 13, it is characterised in that
    The detection zone includes the first separate detection subregion and the second detection subregion, the first detection sub-district Domain is located in the upper left of first original image, and the second detection subregion is located at the right side of first original image In upper part;
    The matching area includes being less than first of first preset value with the pixel value difference of the described first detection subregion With subregion and it is less than the second of first preset value with the pixel value difference of the described second detection subregion and matches subregion;
    7th determining unit includes:
    First determination subelement, for matching subregion according to the positional information and described first of the described first detection subregion The positional information of the positional information and the second matching subregion of positional information and the second detection subregion, when as follows Relational expression is set up simultaneously when, it is left-right format to determine first original image:
    |PX1-W/2-Dx1| < Δs x;
    |PY1-Dy1| < Δs y;
    |W/2-w-Dx2- PX2 | < Δs x;
    |PY2-Dy2| < Δs y;
    Wherein, the PX1 is distance of the described first matching subregion to the first original image left margin, and the PX2 is It is described second matching subregion to the first original image left margin distance,
    The W is the width of first original image,
    The Dx1For described first detection subregion to the first original image left margin distance,
    The w is the width of the described second detection subregion,
    The Dx2For described second detection subregion to the first original image right margin distance,
    The Δ x is predetermined value;
    The Dy1For described first detection subregion to the first original image coboundary distance,
    The Dy2For described second detection subregion to the first original image coboundary distance,
    The PY1 is distance of the described first matching subregion to the first original image coboundary,
    The PY2 is distance of the described second matching subregion to the first original image coboundary,
    The Δ y is predetermined value;
    And/or
    Second determination subelement, for matching subregion according to the positional information and described first of the described first detection subregion The positional information of the positional information and the second matching subregion of positional information and the second detection subregion, when as follows Relational expression is set up simultaneously when, it is top-down format to determine first original image:
    |PX1-Dx1| < Δs x;
    |W-w-Dx2- PX2 | < Δs x;
    |PY1-H/2-Dy1| < Δs y;
    |PY2-H/2-Dy2| < Δs y;
    Wherein, the PX1 is distance of the described first matching subregion to the first original image left margin, and the PX2 is It is described second matching subregion to the first original image left margin distance,
    The W is the width of first original image,
    The Dx1For described first detection subregion to the first original image left margin distance,
    The w is the width of the described second detection subregion,
    The Dx2For described second detection subregion to the first original image right margin distance,
    The Δ x is predetermined value;
    The Dy1For described first detection subregion to the first original image coboundary distance,
    The Dy2For described second detection subregion to the first original image coboundary distance,
    The PY1 is distance of the described first matching subregion to the first original image coboundary,
    The PY2 is distance of the described second matching subregion to the first original image coboundary,
    The H is the height of first original image;
    The Δ y is predetermined value.
  15. 15. according to the detection means described in claim any one of 10-14, it is characterised in that the detection means also includes:
    Zoom module, for zooming in and out processing to first original image, so as to the first original graph after scaling processing Detection zone and matching area are obtained as in.
  16. 16. according to the detection means described in claim any one of 10-14, it is characterised in that second determining module includes:
    9th determining unit, for when the anti-picture number regarded is more than first threshold in the original image of N frames first, it is determined that The film source to be detected is counter to be regarded.
  17. 17. detection means according to claim 10, it is characterised in that the detection means also includes:
    Reset module, for if it is determined that the film source to be detected is counter regard after, reset the broadcasting form of the film source to be detected, Described anti-phenomenon is regarded to eliminate.
  18. 18. the detection means according to claim 12 or 14, it is characterised in that the first detection subregion and described the Two detection subregions are symmetrical relative to the center line of first original image, and geomery is identical.
CN201510727052.3A 2015-10-30 2015-10-30 A kind of anti-detection method and device regarded of three-dimensional film source Active CN106231293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510727052.3A CN106231293B (en) 2015-10-30 2015-10-30 A kind of anti-detection method and device regarded of three-dimensional film source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510727052.3A CN106231293B (en) 2015-10-30 2015-10-30 A kind of anti-detection method and device regarded of three-dimensional film source

Publications (2)

Publication Number Publication Date
CN106231293A CN106231293A (en) 2016-12-14
CN106231293B true CN106231293B (en) 2018-01-26

Family

ID=57528769

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510727052.3A Active CN106231293B (en) 2015-10-30 2015-10-30 A kind of anti-detection method and device regarded of three-dimensional film source

Country Status (1)

Country Link
CN (1) CN106231293B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107392240B (en) * 2017-07-14 2021-04-06 歌尔光学科技有限公司 Image detection method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5710592A (en) * 1994-10-29 1998-01-20 Kasan Electronics Co., Ltd. Device realizing 3-D picture
CN102547334A (en) * 2010-12-08 2012-07-04 乐金显示有限公司 Method for displaying a stereoscopic image and display apparatus for performing the same
CN103595991A (en) * 2013-11-04 2014-02-19 天津大学 Method for predicting pixel level of depth video coding
CN104052987A (en) * 2013-03-11 2014-09-17 佳能株式会社 Image display device and image display method
CN104639934A (en) * 2015-01-22 2015-05-20 深圳超多维光电子有限公司 Three-dimensional image pseudoscopic processing method and display device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5710592A (en) * 1994-10-29 1998-01-20 Kasan Electronics Co., Ltd. Device realizing 3-D picture
CN102547334A (en) * 2010-12-08 2012-07-04 乐金显示有限公司 Method for displaying a stereoscopic image and display apparatus for performing the same
CN104052987A (en) * 2013-03-11 2014-09-17 佳能株式会社 Image display device and image display method
CN103595991A (en) * 2013-11-04 2014-02-19 天津大学 Method for predicting pixel level of depth video coding
CN104639934A (en) * 2015-01-22 2015-05-20 深圳超多维光电子有限公司 Three-dimensional image pseudoscopic processing method and display device

Also Published As

Publication number Publication date
CN106231293A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
CN102859675B (en) Semiconductor fault analysis device and fault analysis method
US7218751B2 (en) Generating super resolution digital images
US9049336B2 (en) Auto-detect method for detecting image format and playback method applying the same
CN104994374B (en) Method for automatically detecting three-dimensional format of video
CN104853172B (en) A kind of information processing method and a kind of electronic equipment
Goldmann et al. Temporal synchronization in stereoscopic video: Influence on quality of experience and automatic asynchrony detection
CN102892021A (en) New method for synthesizing virtual viewpoint image
CN105100865B (en) The control method and device of multi-channel image processor
CN106231294B (en) A kind of detection method and device of Stereogram source format
CN106231293B (en) A kind of anti-detection method and device regarded of three-dimensional film source
US20110242282A1 (en) Signal processing device, signal processing method, display device, and program product
CN102257829A (en) Three-dimensional image display device and method of deriving motion vector
CN104185023B (en) Automatic detecting method and device for three-dimensional video format
JP2011050054A (en) Method and device for generating display mask, and computer readable storage medium
CN109829951A (en) It is parallel to wait position detecting methods, device and automated driving system
CN106131528B (en) The recognition methods of 3D video formats and system
KR101481797B1 (en) Apparatus and method for corrcecting synchronous error between left and right frame in 3d imaging system
JP6339601B2 (en) Stereoscopic image processing method and display device
CN106534825B (en) The method of automatic detection panoramic video, picture based on the projection of center line edge feature
CN106028019B (en) Video 3 dimensional format quick determination method
CN104735531B (en) 3D signal automatic-identifying methods based on image quality analysis
TWI432883B (en) 3d image capturing method, 3d camera and level alignment machine for 3d camera
CN106851168A (en) Video format recognition methods, device and player
CN105657397B (en) 3D video playbacks method of adjustment and system
US20150334381A1 (en) Method and system for judging in a 3d imaging environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20180801

Address after: 518054 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Patentee after: Shenzhen super Technology Co., Ltd.

Address before: 518053 H-1 Tung 101, overseas Chinese town, Nanshan District, Shenzhen, Guangdong.

Patentee before: Shenzhen SuperD Photoelectronic Co., Ltd.