CN101938620A - Movie-mode video signal processing method and device - Google Patents

Movie-mode video signal processing method and device Download PDF

Info

Publication number
CN101938620A
CN101938620A CN 201010283102 CN201010283102A CN101938620A CN 101938620 A CN101938620 A CN 101938620A CN 201010283102 CN201010283102 CN 201010283102 CN 201010283102 A CN201010283102 A CN 201010283102A CN 101938620 A CN101938620 A CN 101938620A
Authority
CN
China
Prior art keywords
scene change
field
same polarity
heteropolarity
differences
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201010283102
Other languages
Chinese (zh)
Inventor
袁野
刘宇轩
刘志恒
刘坤
王峰
孙军
戴杨
管云峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHANGHAI HIGH DEFINITION DIGITAL TECHNOLOGY INDUSTRIAL Co Ltd
Original Assignee
SHANGHAI HIGH DEFINITION DIGITAL TECHNOLOGY INDUSTRIAL Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHANGHAI HIGH DEFINITION DIGITAL TECHNOLOGY INDUSTRIAL Co Ltd filed Critical SHANGHAI HIGH DEFINITION DIGITAL TECHNOLOGY INDUSTRIAL Co Ltd
Priority to CN 201010283102 priority Critical patent/CN101938620A/en
Publication of CN101938620A publication Critical patent/CN101938620A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Television Systems (AREA)

Abstract

The invention discloses a movie-mode video signal processing method and a movie-mode video signal processing device. The movie-mode video signal processing method comprises the following steps of: judging whether scene change exists or not; according to one or combinations of heteropolar scene differences and homopolar four-scene differences in set numbers before and after the scene change, judging whether miscoding exists or not before and after a scene and judging signal types before and after the scene change; and according to judgment results, performing corresponding processing on subsequent signals. In the method and the device, by fully utilizing structural characteristics of movie-mode video signals and television video signals and pixel changes among frames and the scenes obtained by the splitting of frame data, the miscoding is effectively detected according to one of the heteropolar scene differences and homopolar four-scene differences, error detection caused by the change of video signal types is effectively eliminated, and the play quality of the movie-mode video signals is greatly improved.

Description

Movie mode video signal processing method and device
Technical field
The present invention relates to field of video image processing, relate in particular to movie mode video signal processing method and device.
Background technology
Along with the expansion of video screen size and the development of high definition technology, increasing people is chosen in and watches film on the video screen.At present, when the Making Movies material, video camera is normally taken according to the frame per second of per second 24 frames, obtains the movie mode video signal of lining by line scan.And for control bandwidth, existing television system adopts interleaved mode to handle vision signal to be played.The interlaced scan tv signaling mode that is adopted by most countries mainly comprise 60/second with (the National Television System Committee of NTSC, NTSC) Ming Ming colour television standard TV signal and 50 s'/second line-by-line inversion (Phase Alternation Line, PAL) colour television standard TV signal.Therefore, produced difference between the playback rate of the speed of movie mode video signal and TV signal.For movie glibly on television set, be necessary movie mode video signal is handled.
Movie mode video signal processing mode commonly used comprises: 3-2 glass tube down-drawing (3-2pull-down), or 2-2 glass tube down-drawing (2-2pull-down).Wherein, 3-2 glass tube down-drawing (3-2pull-down) is meant two adjacent frame signals is splitted into Liang Chang and three field signals respectively, make when successively the field signal that is obtained being play, the TV signal broadcast request that can meet 60 of per seconds is used for movie mode video signal is converted to TSC-system formula TV signal more.And 2-2 glass tube down-drawing (2-2pull-down) is meant, utilize a reproduction technology, the even field that every frame signal is splitted into the odd field that comprises all frame odd-numbered line pixels and comprises all frame even number line pixels, and play the odd field and the even field of every frame successively, wherein, described odd field or even field all are drop-down of standard 2-2.The 3-2 glass tube down-drawing is two kinds of different movie mode video signal conversion methods with the 2-2 glass tube down-drawing, and difference is very big.
In the existing television system, movie mode video signal and TV signal are mixed in together.In processing procedure, usually earlier pending vision signal is defaulted as television video frequency signal, after it is detected, is movie mode video signal if detect it, then enter the movie mode video signal processing procedure, otherwise then continue television video frequency signal is handled; Similarly, in the processing procedure of movie mode video signal, be television video frequency signal, then jump out the movie mode video signal processing mode if detect it.Because television video frequency signal and film video signal are formed structure and are formed the difference of principle, caused both processing modes are had nothing in common with each other; In general, usually adopt de-interlaced processing mode for television video frequency signal, single game/frame signal is handled independently, and for movie mode video signal, then be to adopt current field signal and previous field or back one field signal continuation are merged, split preceding primitive frame signal to form it, show again.
When the film mode signal is handled,, field signal can produce the situation of code error, the phenomenon of promptly miscoding because losing.When occurring miscoding phenomenon, can be when merging field signal, cause direction to merge to mistake, produce the phenomenon of sprouting wings, have influence on image quality, even can cause and in the time need not withdrawing from film mode, jump out film mode voluntarily, and then reenter, perhaps generation is delayed time or is made mistakes when needs withdraw from film mode, perhaps occurs the image sawtooth before withdrawing from, and badly influences the result of broadcast of video.
The patent No. is 200510093581.9, the Chinese invention patent that name is called " film mode detection apparatus and the method thereof that can detect wrong editor " discloses a kind of method and apparatus that the mistake editor who produces in the film mode is detected and handles, particularly, poor by the field of calculating between the opposite field, and field difference and certain threshold level compared to produce pattern, and write down the maximum and the minimum value of the field difference changing value between continuous three opposite fields and continue to upgrade, write down by the field that its difference changing value is surpassed the maximum that write down or minimum value and to judge whether the field that occurs changing suddenly, to determine wrong editor's field.
Yet, said method only writes down itself and opposite field and changes big field, and in normal movie mode video signal playing process, scene change or when jumping out film mode and entering television mode, miscode even without generation, when the field difference of front court and opposite field changes also can be apparent in view, and when using said method and differentiating, can't discern above-mentioned situation, be very easy to produce erroneous judgement.In addition, in the said method, to obtain described certain threshold level or according to judged result it to be made amendment, cause described certain threshold level can't immediately follow the variation of signal by artificial setting, testing result is easy to generate time-delay.
Summary of the invention
The technical problem that the present invention solves provides a kind of movie mode video signal processing method and device, and the phenomenon of miscoding that exists in the movie mode video signal is effectively detected and handles.
For solving the problems of the technologies described above, the invention provides a kind of movie mode video signal processing method, comprising: judge whether to exist scene change; According to one of the heteropolarity field difference of setting number before and after the scene change and four differences of same polarity or its combination, to whether existing before and after the scene miscode, and the signal type behind the scene change is judged; According to judged result, follow-up signal is handled accordingly.
Optionally, according to one of the heteropolarity field difference of setting number before and after the scene change and four differences of same polarity or its combination, judge whether to exist the indication of miscoding; When there being described when indication of miscoding, the signal type behind the scene change is judged; When signal becomes television video frequency signal by movie mode video signal after the scene conversion, then jump out the movie mode video signal tupe, adopt the television video frequency signal tupe that follow-up signal is handled; Signal is a movie mode video signal after the scene conversion, and has described miscoding when indicating, and under the prerequisite of not jumping out film mode, the movie mode video signal that existence is miscoded is handled.
In addition, the present invention also provides a kind of movie mode video signal processing unit, comprises at least: the scene change judging unit judges whether to exist the position of scene change and definite scene change; Whether the indication detecting unit of miscoding when described scene change judgment unit judges goes out to have scene change, exists the indication of miscoding before and after detecting scene change; The signal type detection unit is judged when the described indication detecting unit of miscoding and to be existed when miscoding indication, and the signal that detects after the scene change is television video frequency signal or movie mode video signal; The television video frequency signal processing unit when signal after described signal type detection unit detects scene change is television video frequency signal, is jumped out the movie mode video signal tupe, adopts the television video frequency signal tupe that follow-up signal is handled; The processing unit of miscoding when the signal after described signal type detection unit detects scene change is movie mode video signal, is handled the movie mode video signal that existence is miscoded.
Compared with prior art, the present invention makes full use of the architectural difference between movie mode video signal and the television video frequency signal, and split between frame and the frame and by frame data the field obtained with between the pixel variation, the experience that is obtained by means of inventor's long-term practice experience, promptly miscode and appear at usually before and after the scene change, at first judge whether to exist the position of scene change and definite scene change according to same polarity field difference, again further combined with one of heteropolarity field difference and four differences of same polarity or its combination, obtain reliable result, thereby detect miscoding effectively, and got rid of effectively because the flase drop that the video signal type conversion is brought is surveyed, improved the play quality of movie mode video signal greatly.
Description of drawings
By the more specifically explanation of the preferred embodiments of the present invention shown in the accompanying drawing, above-mentioned and other purpose, feature and advantage of the present invention will be more clear.Reference numeral identical in whole accompanying drawings is indicated identical part.Painstakingly do not draw accompanying drawing, focus on illustrating purport of the present invention by actual size equal proportion convergent-divergent.
Fig. 1 is the schematic flow sheet of movie mode video signal processing method of the present invention;
Fig. 2 is the schematic flow sheet of a kind of execution mode of movie mode video signal processing method of the present invention;
Fig. 3 is a normal signal schematic diagram in a kind of embodiment of movie mode video signal processing method of the present invention;
Fig. 4 is the schematic diagram data that calculates the heteropolarity field difference of signal shown in Figure 3;
Fig. 5 is the schematic diagram data that calculates the same polarity field difference of signal shown in Figure 3;
Fig. 6 is the schematic diagram data according to four differences of same polarity of Fig. 5 data computation signal shown in Figure 3;
Fig. 7 is the scene change front signal heteropolarity field difference data schematic diagram of miscoding only in a kind of embodiment of movie mode video signal processing method of the present invention;
Fig. 8 is the heteropolarity field difference data schematic diagram that only signal is miscoded behind the scene change in a kind of embodiment of movie mode video signal processing method of the present invention;
Fig. 9 is scene change front signal four difference data schematic diagrames of same polarity of miscoding only in a kind of embodiment of movie mode video signal processing method of the present invention;
Figure 10 is four difference data schematic diagrames of same polarity that only signal is miscoded behind the scene change in a kind of embodiment of movie mode video signal processing method of the present invention;
Figure 11 is the schematic flow sheet of a step S2 shown in Figure 2 embodiment;
Figure 12 is the structural representation of a kind of execution mode of movie mode video signal processing unit of the present invention;
Figure 13 is the structural representation of a kind of embodiment of scene change judging unit shown in Figure 12;
Figure 14 is the structural representation of a kind of embodiment of indication detecting unit of miscoding shown in Figure 12;
Figure 15 is the structural representation of a kind of embodiment in signal type detection shown in Figure 12 unit.
Embodiment
In the practical video signal processing, have only whether correctly and apace detecting miscodes exists, can adopt suitable processing mode further corresponding video signals to be handled, to guarantee display effect, the detection of also so to say that miscoding is to guarantee one of key that vision signal is handled.The inventor recognizes that by the long term studies practice in the front and back of scene change, especially the some frames in the front and back of scene change are easier to produce the phenomenon of miscoding.In addition, because scene change may be the scene variation between the movie mode video signal, also might be to be converted into TV signal by movie mode video signal, signal type after being necessary when judgement is miscoded, to determine scene change, otherwise miscoding situation about being taken place might be mistakened as the conversion of making video signal type, perhaps the normal conversion of video signal type is mistakened as miscoding and handles, thereby influenced display effect.
Below in conjunction with the drawings and specific embodiments, embodiment of the present invention is further specified.
A lot of details have been set forth in the following description so that fully understand the present invention.But the present invention can implement much to be different from alternate manner described here, and those skilled in the art can do similar popularization under the situation of intension of the present invention, so the present invention is not subjected to the restriction of following public concrete enforcement.
With reference to figure 1, the invention provides a kind of movie mode video signal processing method, comprising:
Step T1 judges whether to exist the position of scene change and definite scene change;
Whether step T2 according to one of the heteropolarity field difference of setting number before and after the scene change and four differences of same polarity or its combination, to existing before and after the scene miscodes, and the signal type behind the scene change is judged;
Step T3 according to the judged result of step T2, handles accordingly to follow-up signal.
Wherein, can adopt multiple mode that the position of scene change is determined among the step T1.In concrete enforcement, can be poor according to the same polarity field, to whether existing scene change to judge, and the position of definite scene change.
With reference to figure 2, the invention provides a kind of execution mode of movie mode video signal processing method, comprising:
Step S1, poor according to the same polarity field of place correspondence, judge whether to exist the position of scene change and definite scene change, when having scene change, enter step S2, otherwise, repeating step S1;
Step S2 according to one of the heteropolarity field difference of setting number before and after the scene change and four differences of same polarity or its combination, judges whether to exist the indication of miscoding; When indication is miscoded in existence, enter step S3, otherwise, return step S1;
Step S3, signal type behind the scene change is judged, when signal becomes television video frequency signal by movie mode video signal after the scene conversion, jump out the movie mode video signal tupe, adopt the television video frequency signal tupe that follow-up signal is handled; Otherwise existence is miscoded, and enters step S4;
Step S4 under the prerequisite of not jumping out film mode, handles the movie mode video signal that existence is miscoded.
When adopting the 2-2 glass tube down-drawing, the even field that every frame movie mode video signal has been splitted into the odd field that comprises all frame odd-numbered line pixels successively and comprised all frame even number line pixels.Wherein, under normal circumstances, be the same polarity field between the odd field of each frame correspondence or between the even field of each frame correspondence, and the polarity of different frame correspondence different the field between, promptly the odd field of the frame correspondence even field corresponding with another frame is the heteropolarity field.Between two odd fields of adjacent two frame correspondences or be adjacent same polarity field between two even fields, and the odd field of a frame correspondence is adjacent between the even field of frame correspondence and is adjacent heteropolarity field.Under the situation of miscoding, same polarity field or heteropolarity field are also not exclusively according to above-mentioned definition.In general, the interval is one between the same polarity field, and the heteropolarity field is adjacent mutually.
The difference of the pixel of adjacent same polarity field correspondence position is same polarity field difference or two differences of same polarity, and the difference of the pixel of adjacent heteropolarity field correspondence position is poor for the heteropolarity field, and the difference between two differences of two same polarities then is called four differences of same polarity.
In a kind of embodiment, among the step S1, judge whether to exist scene change specifically according to same polarity field difference, at least can comprise: when two of continuous appearance during all much larger than the same polarity field difference of other same polarity field difference, first same polarity field difference is poor for first same polarity field after switching in scene in these two same polarity fields differences.Particularly, describedly perhaps surpass more than three times of a less side, so that clearly discern and judge much larger than including, but are not limited to be meant a bigger side three times for a less side.
For example, n and n+1 same polarity field difference are respectively 115200 and 115300, and the value of the difference of same polarity field before this is in 8400 to 8800 scope, therefore, when finding that two bigger same polarity fields of appearance continuously are poor, can determine that n same polarity field difference is poor for first same polarity field after switching in scene, in other words, between by n pairing two field signals of same polarity field difference, produced scene change.
Step S1 also comprises: when determining to have scene change, and the position of record scene change, the signal of setting number field behind the maintenance scene change.Wherein, the signal that the number field is set in described maintenance is meant, for the signal of setting the number field behind the scene change, under the situation of not jumping out the movie mode video signal processing, adopts the interlacing algorithm that goes of Motion Adaptive that the signal of setting the number field is handled.
Then, execution in step S2 according to one of the heteropolarity field difference of setting number before and after the scene change and four differences of same polarity or its combination, judges whether produce the indication of miscoding before and after scene change.The inventor sums up through long term studies and finds, after determining scene change to have occurred, the differentiation of miscoding again and indicating, can improve identification effect effectively, and behind the position of having determined scene change, near it field is discerned, can be improved the accuracy that identifies the field of miscoding.
At first, when all being movie mode video signal before and after the scene conversion, the standard profile of heteropolarity field difference or four differences of same polarity has certain rules.
With reference to figure 3, frame A, B, C, D and E are followed successively by continuous movie mode video signal frame, wherein, an A1 and A2, a B1 and B2, a C1 and C2, a D1 and D2 and an E1 and E2 are respectively frame A, frame B, frame C, frame D and frame E split odd field and even field.When entering to frame C, produced scene change by frame B.
The heteropolarity field of calculating each correspondence respectively is poor.With reference to figure 4, the pixel value difference of calculated field A1 and A2 correspondence position, obtain the heteropolarity field and differ from 101, similarly, the heteropolarity field that obtains an A2 and B1 differs from 102, the heteropolarity field of a B1 and B2 differs from 103, the heteropolarity field of a B2 and C1 differs from 104, the heteropolarity field of a C1 and C2 differs from 105, the heteropolarity field of field C2 and D1 differs from 106, the heteropolarity field of field D1 and D2 differs from 107, the same polarity field of field D2 and E1 differ from 108 and the heteropolarity field of field E1 and E2 differ from 109.Because A1 and A2 belong to same frame signal, and an A2 is derived from different frame signals with B1, and the heteropolarity field between field A2 and the B1 differs from 102 and differs from 101 greater than the heteropolarity field between field A1 and the A2.Do not exist under the situation of miscoding, heteropolarity field difference is " little ", " greatly " or " greatly ", " little " repetition rule at interval distributes.Wherein, above-mentioned " little " or " greatly " are meant current heteropolarity field difference compared to its previous adjacent poor comparative result in heteropolarity field.
Similarly, with reference to figure 5, a F1 is a split field of frame F.Calculate four differences of each corresponding same polarity respectively.Four differences of same polarity are poor for the same polarity field, i.e. two differences of same polarity, between difference.Specifically, it is poor to calculate the same polarity field earlier, calculates corresponding four differences of same polarity again.That is to say that the pixel value difference of first calculated field A1 and B1 correspondence position obtains a same polarity field of B1 correspondence and differs from 200; Similarly, the same polarity field that obtains an A2 and B2 differs from 201, the same polarity field of a B1 and C1 differs from 202, the same polarity field of a B2 and C2 differs from 203, the same polarity field of a C1 and D1 differs from 204, the same polarity field of field C2 and D2 differs from 205, the same polarity field of field D1 and E1 differs from 206, the same polarity field of field D2 and E2 differs from 207, the same polarity field of field E1 and F1 differs from 208.Then, with reference to figure 6,, calculate corresponding four differences of same polarity according to above-mentioned checkout result; Particularly, calculate the same polarity field and differ from 200 and differ from 201 absolute difference, obtain four of same polarities and differ from 211 with the same polarity field; Similarly, obtaining to differ from 201 corresponding to the same polarity field differs from 202 four of same polarities with the same polarity field and differs from 212, differing from 202 corresponding to the same polarity field differs from 203 four of same polarities with the same polarity field and differs from 213, differing from 203 corresponding to the same polarity field differs from 204 four of same polarities with the same polarity field and differs from 214, differing from 204 corresponding to the same polarity field differs from 205 four of same polarities with the same polarity field and differs from 215, differing from 205 corresponding to the same polarity field differs from 206 four of same polarities with the same polarity field and differs from 216, differ from 206 and 207 four of same polarities corresponding to the same polarity field and differ from 217 and differ from 207 and 208 four of same polarities corresponding to the same polarity field and differ from 218.
Differing from 215,216,217 and 218 with four of same polarities is example, it is 215 relevant with D2 with C1, a C2, D1 that four of same polarities differ from, only relate to two frame data, and that four of same polarities differ from is 216 relevant with E1 with C2, a D1, D2, relate to three frame data, therefore, four of same polarities differ from 215 and differ from 216 less than four of same polarities.Similarly, four of same polarities differ from 217 and differ from 216 less than four of same polarities, and four of same polarities differ from 218 and differ from 217 greater than four of same polarities; And, the same polarity field differ from 200 and the same polarity field differ from four of same polarities between 201 and differ from 211 less than four differences of its previous adjacent same polarity (figure does not show).That is to say that when all not occurring miscoding phenomenon, four differences of described same polarity are " little ", " greatly " or " greatly ", " little " repetition rule at interval before and after scene change; Wherein, above-mentioned " little " or " greatly " are meant the comparative result of four differences of current same polarity compared to its previous adjacent four differences of same polarity.
Whether yet when existence was miscoded, change had taken place in the standard profile of above-mentioned parameter regularity, by the regularity of distribution of above-mentioned parameter reality and the standard profile under the normal condition are compared, exist unusually to detect it.When above-mentioned parameter exists when unusual, may be to exist to miscode, also might be because the conversion of video signal type.When above-mentioned parameter does not meet standard profile, mean that there is the indication of miscoding in vision signal.
For the difference of heteropolarity field, its standard profile is " little ", " greatly " or " greatly ", " little " repetition regularity distribution at interval.Moreover, with reference to figure 4, because when frame B enters frame C, produced scene change, the heteropolarity field that will substantially exceed between the field that stems from the different frame signal normally from the heteropolarity field difference between the field of two frames of crossing over scene change is poor, for example, the heteropolarity field between B2 and the C1 differs from 104 value and differs from 102 much larger than heteropolarity field between field A2 and the B1, perhaps the heteropolarity field of a C2 and D1 differ from 106 or the same polarity field of field D2 and E1 differ from 108.Specifically, described substantially exceed or much larger than, can be meant that a bigger side surpasses a less side more than three times even three times.
Adopt the detection sequence that it is identified, poor compared to its previous adjacent heteropolarity field, difference bigger being designated as " 1 " of current heteropolarity field, less be designated as " 0 ", then difference corresponding standard detection sequence in heteropolarity field is the sequence form of " 010101010101 " or " 101010101010 " for example, has scene change between certain " 0 " and subsequent " 1 ".
Yet when existence was miscoded before the scene conversion or behind the scene change, change had taken place in the distribution of heteropolarity field difference.
Only before scene change, occur miscoding
Still be when entering to frame C by frame B, produced scene change, specifically, with reference to figure 7, losing has appearred in field B1 or the B2 split at the former frame B that enters scene change, and for example a B2 loses.
At this moment, the heteropolarity field of calculating correspondence respectively is poor.Particularly, the pixel value difference of calculated field A1 and A2 correspondence position, obtain the heteropolarity field and differ from 111, similarly, the heteropolarity field that obtains an A2 and B1 differs from 112, the heteropolarity field of a B1 and C1 differs from 113, the heteropolarity field of a C1 and C2 differs from 114, the heteropolarity field of a C2 and D1 differs from 115, the heteropolarity field of field D1 and D2 differs from 116, the same polarity field of field D2 and E1 differ from 117 and the heteropolarity field of field E1 and E2 differ from 118.
Before scene change, as mentioned above, heteropolarity field difference is " little ", " greatly " or " greatly ", " little " repetition rule at interval until scene change occurring.A1 and A2 belong to same frame signal, and an A2 is derived from different frame signals with B1, and the heteropolarity field between field A2 and the B1 differs from 112 and differs from 111 greater than the heteropolarity field between field A1 and the A2.
Then, produced scene change.The heteropolarity field that will substantially exceed between the field that stems from the different frame signal normally from the heteropolarity field difference between the field of two frames of crossing over scene change is poor, that is to say, because a B2 loses, the heteropolarity field of B1 and C1 differ from 113 to differ from much larger than the heteropolarity field of field C2 and D1 115 or the same polarity field of field D2 and E1 differ from 117, even the heteropolarity field of a B1 and C1 differs from 113 and also will differ from 112 much larger than the heteropolarity field between field A2 and the B1.
Do not produce after the scene change and miscode, heteropolarity field continue a B1 and C1 differs from after 113, the heteropolarity field of field C1 and C2 differs from the 104 heteropolarity fields less than field B1 and C1 and differs from 113, the heteropolarity field of field C2 and D1 differs from the 115 heteropolarity fields greater than field C1 and C2 and differs from 114, the heteropolarity field of field D1 and D2 differs from the 116 heteropolarity fields less than field C2 and D1 and differs from 115, the same polarity field of field D2 and E1 differs from the 117 heteropolarity fields greater than field D1 and D2 and differs from 116, and heteropolarity field difference still is " greatly ", " little " repetition rule at interval.
If a B1 loses, The above results is still identical.That is to say, when only before scene change, occurring miscoding phenomenon, the poorest near a heteropolarity field difference of scene change before scene change greater than its previous adjacent heteropolarity field, and the poorest much larger than its previous adjacent heteropolarity field near a heteropolarity field difference of scene change behind scene change, and the distribution conformance with standard of after this described heteropolarity field difference distributes.Adopt the detection sequence that it is identified, poor compared to its previous adjacent heteropolarity field, difference bigger being designated as " 1 " of current heteropolarity field, less being designated as " 0 ", therefore, the situation that does not occur miscoding compared to the scene change front and back, when only occurring miscoding before scene change, two before and after the scene change correspond respectively to " 1 ", " 1 ", and promptly heteropolarity field difference is corresponding to detecting sequence, for example " 0101|1010 " or " 10101|1010 ", wherein " | " expression produces scene change.
Only behind scene change, occur miscoding
Still be when entering to frame C by frame B, produced scene change, specifically, with reference to figure 8, losing has appearred in split field C1 or the C2 of the Frame C behind scene change, and for example a C1 loses.
Still it is poor to calculate corresponding heteropolarity field respectively.Particularly, the pixel value difference of calculated field A1 and A2 correspondence position, obtain the heteropolarity field and differ from 121, similarly, the heteropolarity field that obtains an A2 and B1 differs from 122, the heteropolarity field of a B1 and B2 differs from 123, the heteropolarity field of a B2 and C2 differs from 124, the heteropolarity field of a C2 and D1 differs from 125, the heteropolarity field of field D1 and D2 differs from 126, the same polarity field of field D2 and E1 differ from 127 and the heteropolarity field of field E1 and E2 differ from 128.
Before scene change, as mentioned above, heteropolarity field difference is " little ", " greatly " or " greatly ", " little " repetition rule at interval until scene change occurring.B1 and B2 belong to same frame signal, and an A2 is derived from different frame signals with B1, and the heteropolarity field between field B2 and the B1 differs from 122 and differs from 121 less than the heteropolarity field between field B1 and the A2.
Then, produced scene change.The heteropolarity field that will substantially exceed between the field that stems from the different frame signal normally from the heteropolarity field difference between the field of two frames of crossing over scene change is poor, that is to say, because a C1 loses, the heteropolarity field of a B2 and C2 differs from 124 and will differ from 125 much larger than the heteropolarity field of field C2 and D1.And because D1 belongs to same frame signal with D2, and a C2 is derived from different frame signals with D1, and the heteropolarity field between field D1 and the D2 differs from 126 and differs from 125 less than the heteropolarity field between field D1 and the C2.
Heteropolarity field between a D1 and D2 differs from after 126, the heteropolarity field of field D2 and E1 differs from the 127 heteropolarity fields greater than field D1 and D2 and differs from 126, the heteropolarity field of field E2 and E1 differs from the 127 heteropolarity fields less than field E1 and D2 and differs from 127, after frame D, heteropolarity field difference is " greatly ", " little " repetition rule at interval.
That is to say that when only occurring miscoding phenomenon, the 3rd heteropolarity field difference behind scene change is poor less than its previous adjacent heteropolarity field behind scene change, and the distribution conformance with standard of after this described heteropolarity field difference distributes.Adopt the detection sequence that it is identified, poor compared to its previous adjacent heteropolarity field, difference bigger being designated as " 1 " of current heteropolarity field, less be designated as " 0 ", therefore, the situation that does not occur miscoding before and after the scene change, when only behind scene change, occurring miscoding, heteropolarity field difference is corresponding to detecting sequence, for example " 1010|10010 " or " 01010|10010 ", wherein " | " expression generation scene change.
Before and after scene change, all occur miscoding
In conjunction with above-mentioned two kinds of situations, when before and after scene change, all occurring miscoding phenomenon, the poorest near a heteropolarity field difference of scene change before scene change greater than its previous adjacent heteropolarity field, and the 3rd heteropolarity field difference behind scene change is poor less than its previous adjacent heteropolarity field, in addition, after the 3rd heteropolarity field difference behind scene change, described heteropolarity field difference conformance with standard distributes.Adopt the detection sequence that it is identified, poor compared to its previous adjacent heteropolarity field, difference bigger being designated as " 1 " of current heteropolarity field, less be designated as " 0 ", therefore, the situation that does not occur miscoding before and after the scene change, when all occurring miscoding before and after the scene conversion, heteropolarity field difference is corresponding to detecting sequence, for example " 0101|10010 " or " 10101|10010 ", wherein " | " expression generation scene change.
By at least three heteropolarity field difference behind at least two and/or the scene change before the scene change is write down and detects, when above-mentioned any situation appears in heteropolarity field difference, there is the indication of miscoding.
In addition, also can judge the indication that whether occurs miscoding before and after the scene change by four differences of same polarity.
Under the normal situation, the phenomenon of miscoding do not occur before and after scene change, that is to say, frame before scene change or the frame before scene change do not have to produce the phenomenon of losing the field in split process.Wherein, four differences of described same polarity are " little ", " greatly " or " greatly ", the regular standard profile of " little " repetition at interval; Wherein, above-mentioned " little " or " greatly " are meant the comparative result of four differences of current same polarity compared to its previous adjacent four differences of same polarity.
And, with reference to figure 6, because when frame B enters frame C, produced scene change, from the same polarity field difference between formed of the frame B that crosses over scene change and the frame C to substantially exceed before the scene change that coexists or the same polarity field that stems from behind the scene change that coexists between the field of different frame signal poor, therefore, the same polarity field differ from 201 and four of same polarities differing between 202 of same polarity field differ from 212, and the same polarity field differ from 203 and four of same polarities differing between 204 of same polarity field differ from 214, be much larger than four differences of above-mentioned other same polarity.Described much larger than, can be meant that a bigger side surpasses a less side more than three times even three times.
That is to say, adopt the detection sequence that four differences of same polarity are identified, compared to four differences of its previous adjacent same polarity, four bigger being designated as of difference of current same polarity " 1 ", less being designated as " 0 ", therefore, corresponding to the phenomenon that does not occur miscoding before and after the scene change, corresponding to the standard detection sequence, i.e. there is scene change in " 010101010101 " or " 101010101010 " between certain " 0 " and subsequent " 1 ".
Yet when the situation of miscoding occurring before the scene conversion or behind the scene change, change has taken place in the distribution of four differences of same polarity.
Only before scene change, occur miscoding
Still be when entering to frame C by frame B, produced scene change, specifically, with reference to figure 9, losing has appearred in field B1 or the B2 split at the former frame B that enters scene change, and for example a B2 loses.
Calculate corresponding four differences of same polarity respectively.Particularly, the pixel value difference of first calculated field A1 and B1 correspondence position obtains a same polarity field of B1 correspondence and differs from 300; Similarly, the same polarity field that obtains an A2 and C1 differs from 301, the same polarity field of a B1 and C2 differs from 302, the same polarity field of a C1 and D1 differs from 303, the same polarity field of a C2 and D2 differs from 304, the same polarity field of field D1 and E1 differs from 305, the same polarity field of field D2 and E2 differs from 306, the same polarity field of field E1 and F1 differs from 307.Then, according to above-mentioned checkout result, calculate corresponding four differences of same polarity; Particularly, calculate the same polarity field and differ from 300 and differ from 301 absolute difference, obtain four of same polarities and differ from 311 with the same polarity field; Similarly, obtaining to differ from 301 corresponding to the same polarity field differs from 302 four of same polarities with the same polarity field and differs from 312, differs from 302 corresponding to the same polarity field and differ from 303 four of same polarities with the same polarity field and differ from 313, differ from 303 corresponding to the same polarity field and differ from 304 four of same polarities with the same polarity field and differ from 314, differ from 304 corresponding to the same polarity field and differ from 305 four of same polarities with the same polarity field and differ from 315, differ from 305 corresponding to the same polarity field and differ from 306 four of same polarities with the same polarity field and differ from 316 and differ from 306 and 307 four of same polarities corresponding to the same polarity field and differ from 317.
Before scene change, as mentioned above, four differences of same polarity are " little ", " greatly " or " greatly ", " little " repetition rule at interval until scene change occurring.Because four of same polarities differ from 311 and are derived from an A1, A2, B1 and C1, not only relate to three frame data, and two wherein related frame data leap scene change, so four of same polarities differ from 311 greater than four differences of its adjacent previous same polarity (figure does not show).
Then, produced scene change.Do not miscode owing to produce after the scene change, four differences of same polarity still are " greatly ", " little " repetition rule at interval.
If a B1 loses, The above results is still identical.That is to say, when only before scene change, occurring miscoding phenomenon, before scene change near four differences of a same polarity of scene change greater than four differences of its previous adjacent same polarity, and the distribution conformance with standard of four differences of after this described same polarity distributes.Adopt the detection sequence that it is identified, compared to four differences of its previous adjacent same polarity, four bigger being designated as of difference of current same polarity " 1 ", less be designated as " 0 ", therefore, the situation that does not occur miscoding compared to the scene change front and back, when only before scene change, occurring miscoding, four difference of two same polarities before and after the scene change are not corresponding to " 1 ", " 1 ", be that four differences of same polarity are corresponding to detecting sequence, for example " 0101|1010 " or " 10101|1010 " produced scene change between two field signals before and after wherein " | " is illustrated in.
Only behind scene change, occur miscoding
Still be when entering to frame C by frame B, produced scene change, specifically, with reference to Figure 10, losing has appearred in split field C1 or the C2 of the Frame C behind scene change, and for example a C1 loses.
Calculate corresponding four differences of same polarity respectively.Particularly, the pixel value difference of first calculated field A1 and B1 correspondence position obtains a same polarity field of B1 correspondence and differs from 400; Similarly, the same polarity field that obtains an A2 and B2 differs from 401, the same polarity field of a B1 and C2 differs from 402, the same polarity field of a B2 and D1 differs from 403, the same polarity field of a C2 and D2 differs from 404, the same polarity field of field D1 and E1 differs from 405, the same polarity field of field D2 and E2 differs from 405, the same polarity field of field E1 and F1 differs from 407.Then, according to above-mentioned checkout result, calculate corresponding four differences of same polarity; Particularly, calculate the same polarity field and differ from 400 and differ from 401 absolute difference, obtain four of same polarities and differ from 411 with the same polarity field; Similarly, obtaining to differ from 401 corresponding to the same polarity field differs from 402 four of same polarities with the same polarity field and differs from 412, differs from 402 corresponding to the same polarity field and differ from 403 four of same polarities with the same polarity field and differ from 413, differ from 403 corresponding to the same polarity field and differ from 404 four of same polarities with the same polarity field and differ from 414, differ from 404 corresponding to the same polarity field and differ from 405 four of same polarities with the same polarity field and differ from 415, differ from 405 corresponding to the same polarity field and differ from 406 four of same polarities with the same polarity field and differ from 416 and differ from 406 and 407 four of same polarities corresponding to the same polarity field and differ from 417.
Before scene change, as mentioned above, four differences of same polarity are " little ", " greatly " or " greatly ", " little " repetition rule at interval until scene change occurring.It is 411 relevant with B2 with A1, an A2, B1 that four of same polarities differ from, only relate to two frame data, and four of same polarities differ from four differences of a same polarity adjacent before 411 (figure does not show) and not only relate to an A1, A2 and B1, also relate to frame A frame data before, that is to say, relate to three frame data, therefore, four of same polarities differ from 411 less than four differences of same polarity adjacent before it (figure does not show).
Then, produced scene change.Because four of same polarities differ from 412 and are derived from an A2, B1, B2 and C2, not only relate to three frame data, and two wherein related frame data B and C cross over scene change, so four of same polarities differ from 412 and differ from 411 greater than its four of adjacent previous same polarity.Four of same polarities differ from 413 for the same polarity field differ from 402 and 403 poor; The same polarity field differs from 402 and relates to two B1 and the C2 that crosses over scene change, so its value is bigger, and is similar, and it is also bigger that the same polarity field differs from 403 value; Therefore four of same polarities differ from 413 and are less than four of same polarities and differ from 412.Because the same polarity field differs from 404 two field signals that come from behind the scene change, its value and same polarity field differ from 403 differ greatly, so differ from four of same polarities that 403 and 404 difference obtains according to the same polarity field and differ from 414 and differ from 413 greater than four of same polarities.
Because C1 loses, the peer property four of the regularity of distribution of same polarity field difference behind the scene change differs from 415 and 416 and begins to have taken place variation.Specifically, differ from for 415 for four of same polarities, because four of same polarities differ from 414 and are derived from a B2, C2, D1 and D2, not only relate to three frame data, and two wherein related frame data B and C cross over scene change, be derived from a C2, D1, D2 and E1 and four of same polarities differ from 415, three related frame data all are positioned at after the scene change, so four of same polarities differ from 415 and differ from 414 less than its four of adjacent previous same polarity.And then, differ from for 416 for four of same polarities, it is 416 relevant with E2 with D1, a D2, E1 that four of same polarities differ from, only relate to two frame data, and four of same polarities differ from 415 and relate to three frame data, and therefore, four of same polarities differ from 416 and differ from 415 less than four adjacent of same polarities before it.
That is to say, when only behind scene change, occurring miscoding phenomenon, before scene change, four differences of same polarity still present " greatly ", " little " or " little ", " greatly " repetition rule at interval, and before scene change near four differences of a same polarity of scene change less than four differences of its previous adjacent same polarity, yet, four differences of the 5th same polarity behind scene change are less than four differences of its previous adjacent same polarity, and the distribution conformance with standard of four differences of after this described same polarity distributes.Adopt the detection sequence that it is identified, compared to four differences of its previous adjacent same polarity, four bigger being designated as of difference of current same polarity " 1 ", less be designated as " 0 ", therefore, the situation that does not occur miscoding before and after the scene change, when only behind scene change, occurring miscoding, four differences of same polarity are corresponding to detecting sequence, for example " 1010|101001 " or " 01010|101001 ", wherein " | " expression generation scene change.
Before and after scene change, all occur miscoding
In conjunction with above-mentioned two kinds of situations, when before and after scene change, all occurring miscoding phenomenon, before scene change near four differences of a same polarity of scene change greater than four differences of its previous adjacent same polarity, and four differences of the 5th same polarity behind scene change are less than four differences of its previous adjacent same polarity, in addition, after four differences of the 5th same polarity behind scene change, the distribution conformance with standard of four differences of described same polarity distributes.Adopt the detection sequence that it is identified, compared to four differences of its previous adjacent same polarity, four bigger being designated as of difference of current same polarity " 1 ", less be designated as " 0 ", therefore, the situation that does not occur miscoding before and after the scene change, when before and after scene change, all occurring miscoding, four differences of same polarity are corresponding to detecting sequence, for example " 0101|10100 " or " 10101|10100 ", wherein " | " expression generation scene change.
By four differences of at least five same polarities behind at least two and/or the scene change before the scene change are write down and detect, when above-mentioned any situation appears in four differences of same polarity, there is the indication of miscoding.
In specific implementation process, according to inventive concept of the present invention, often only by finishing after the verification step one of in differing from of same polarity field difference and heteropolarity field, can judge largely and whether have the indication of miscoding, and the described indication of miscoding is before betiding scene change, perhaps to betide after the scene change.Yet, it should be appreciated by those skilled in the art that selection and combination that this verification step is suitable, be that sacrifice with certain accuracy is a prerequisite.When the accuracy that is realized in allowed band, in the time of perhaps can directly knowing the testing result of bringing according to described omission step by other known conditioned disjunction prior art, the selection of this verification step and combination are not tackled inventive concept of the present invention and are impacted.The present invention comprises that also differing from two parameters according to same polarity field difference and heteropolarity field detects.
In a kind of specific embodiment, with reference to Figure 11, step S2 can comprise: step S201, at least three heteropolarity field difference behind at least two and the scene change before the scene change is write down and detects, when the distribution conformance with standard of heteropolarity field difference distributes, return step S1, otherwise enter step S202; Step S202 by four differences of at least five same polarities behind at least two and the scene change before the scene change are write down and detect, when the distribution conformance with standard of four differences of same polarity distributes, returns step S1, otherwise enters step S3.
In the above-mentioned specific embodiment, specifically, the regularity of distribution of the field of heteropolarity described in step S201 difference normally is meant, heteropolarity field difference presents standard profile before and after scene change, be that it has " greatly ", " little " or " little ", " greatly " repetition rule at interval, and the poorest near a heteropolarity field difference of scene change before scene change less than its previous adjacent heteropolarity field, and the poorest near a heteropolarity field difference of scene change behind scene change greater than its previous adjacent heteropolarity field.The regularity of distribution of four differences of same polarity described in the step S202 normally is meant, four differences of same polarity present standard profile, be that it has " greatly ", " little " or " little ", " greatly " repetition rule at interval, before scene change near four differences of a same polarity of scene change less than four differences of its previous adjacent same polarity, behind scene change near four differences of a same polarity of scene change greater than four differences of its previous adjacent same polarity.
Wherein, when before scene change near a heteropolarity field difference of scene change greater than its previous adjacent heteropolarity field difference and during much larger than its previous adjacent heteropolarity field difference, before scene change, have the indication of miscoding behind the scene change near a heteropolarity field difference of scene change; When the 3rd heteropolarity field difference behind scene change is poor less than its previous adjacent heteropolarity field, behind scene change, there is the indication of miscoding.
Wherein, when before scene change, when poor, before scene change, having the indication of miscoding greater than four of its previous adjacent same polarities near four differences of a same polarity of scene change; When four differences of the 5th same polarity behind scene change less than four differences of its previous adjacent same polarity, have the indication of miscoding behind the scene change.
The foregoing description is in different specific implementations, and the verification step poor to the heteropolarity field can also can be later than the verification step of four differences of same polarity prior to the verification step when same polarity field, front court difference.In a certain order, verify according to each parameter in heteropolarity field difference and four differences of same polarity respectively successively and detect, in this case, can make testing result reach higher accuracy, avoid as much as possible judging by accident.
Then, execution in step S3 judges whether being converted to television video frequency signal by movie mode video signal behind the scene change.Can comprise specifically, according to one of the heteropolarity field difference of setting number predetermined number afterwards behind the scene change and four differences of same polarity or its combination, be that movie mode video signal still is that television video frequency signal detects to the signal behind the scene change.
When described signal is television video frequency signal, because each frame is play frame by frame, there are not adjacent two field signals that obtain, play one by one in the adjacent moment respectively by same frame signal, therefore, no matter be heteropolarity field difference or four differences of same polarity of signal, its regularity of distribution presents randomness, and no longer has the standard profile of above-mentioned regularity.
In concrete enforcement, when indication is miscoded in existence, continue above-mentioned parameter is detected, soon each above-mentioned parameter will be previous with it compares, and statistics does not meet the number of the parameter of described standard profile; When described statistics exceeded predetermined value, so, above-mentioned parameter was random distribution, promptly do not exist rule " " little ", " greatly " or " greatly ", " little " distribution rule, then the signal behind the scene change is a television video frequency signal.
Wherein, described setting number can be determined for poor still four differences of same polarity in heteropolarity field according to the parameter that is adopted.When the difference of employing heteropolarity field, can after the scene conversion, the 3rd heteropolarity field difference begin, each difference heteropolarity previous with it field, heteropolarity field difference compares afterwards; When adopting four of same polarities poor, can be after the scene conversion four difference beginnings of the 5th same polarity, four differences of four differences of each same polarity same polarity previous with it compare afterwards; When adopting four of heteropolarity field difference and same polarities poor simultaneously, described setting number can be made as more one of above-mentioned number, promptly five.In addition, described predetermined value can be made as any natural number that surpasses more than 5, for example is 8.It should be appreciated by those skilled in the art that described predetermined value is big more, number of parameters promptly still to be tested is many more, and the proving time is of a specified duration more, and required hardware resource consumption is many more, yet accuracy is but high more.
When the signal after detecting definite scene change is television video frequency signal, jump out the movie mode video signal tupe, adopt the television video frequency signal tupe that follow-up signal is handled, otherwise, then determine to exist to miscode.
Exist before and after the scene conversion and miscode, and when signal type still was movie mode video signal behind the scene change, execution in step S4 under the prerequisite of not jumping out film mode, handled the movie mode video signal that existence is miscoded.
Specifically, remove to before the scene change for the counting of the field that does not belong to film mode, calculate judgement parameter when the front court; When the judgement parameter of front court correspondence when being 1, will work as front court and an adjacent thereafter occasion also, think that above-mentioned two stem from same frame signal; And be under 0 the situation when the judgement parameter of front court correspondence, will work as front court and its preceding adjacent occasion also, think that above-mentioned two stem from same frame signal.Wherein, it is poor that described judgement parameter can be the heteropolarity field, also can be four differences of same polarity.
In addition, with reference to Figure 12, the present invention also provides a kind of movie mode video signal processing unit 500, comprises at least:
Scene change judging unit 510, poor according to the same polarity field of place correspondence, judge whether to exist scene change;
The indication detecting unit 520 of miscoding is judged when having scene change when scene conversion judging unit 510, whether has the indication of miscoding before and after detecting scene change;
Signal type detection unit 530 is indicated detecting unit 520 to judge when miscoding and is existed when miscoding indication, and detecting scene change signal afterwards is television video frequency signal or movie mode video signal;
Television video frequency signal processing unit 540 when the signal after signal type detection unit 530 detects scene change is television video frequency signal, is jumped out the movie mode video signal tupe, adopts the television video frequency signal tupe that follow-up signal is handled;
The processing unit 550 of miscoding when the signal after signal type detection unit 530 detects scene change is movie mode video signal, is handled the movie mode video signal that existence is miscoded.
With reference to Figure 13, scene change judging unit 510 comprises at least: same polarity field difference computing unit 511, and it is poor to be used to calculate corresponding same polarity field; Difference computational unit 512 is used to calculate the difference between the difference of same polarity field; Comparing unit 513, whether the difference that is used for the 512 current calculating of comparison difference computational unit surpasses setting threshold; Counting unit 514 is used to add up the number above peer's property field difference of setting threshold; Holding unit 515 keeps handling to the vision signal of setting the number field behind the scene change.
Wherein, when counting unit 514 counted on two of continuous appearance all much larger than the same polarity field difference of other same polarity field difference, first same polarity field difference was poor for switch first same polarity field, back in scene in these two same polarity fields differences.Described setting threshold can be three times an of side less in the difference computational unit 512 current result of calculations, perhaps greater than more than three times of a less side.
When scene change occurring, keep handling for the signal of setting the number field behind the scene change by holding unit 515, specifically, exactly under the situation of not jumping out the movie mode video signal processing, adopt the interlacing algorithm that goes of Motion Adaptive that the signal of setting the number field is handled.
With reference to Figure 14, the indication detecting unit 520 of miscoding can comprise: the detection mode of miscoding selected cell 521, be used for selecting by one of heteropolarity field difference and four differences of same polarity or its combination, and to whether there being the indication of miscoding before and after the scene change detect; Heteropolarity field mistake is compiled detecting unit 522, is used for detecting whether there being the indication of miscoding before and after the scene change according to heteropolarity field difference; Four mistakes of same polarity are compiled detecting unit 523, are used for detecting whether there being the indication of miscoding before and after the scene change according to four differences of same polarity.
Specifically, heteropolarity field mistake is compiled detecting unit 522 and can be comprised: when the poorest greater than its previous adjacent heteropolarity field near a heteropolarity field difference of scene change before scene change, have the indication of miscoding before scene change; When the 3rd heteropolarity field difference differed from less than its previous adjacent heteropolarity field after the scene conversion, there was the indication of miscoding in the movie mode video signal behind the scene change.
Four mistakes of same polarity are compiled detecting unit 523 and can be comprised: when before scene change near four differences of a same polarity of scene change greater than four of its previous adjacent same polarities when poor, the existence indication of miscoding before scene change; When four differences of the 5th same polarity after the scene conversion were poor less than four of its previous adjacent same polarities, there was the indication of miscoding in the movie mode video signal behind the scene change.
With reference to Figure 15, signal type detection unit 530 can comprise: detection mode selected cell 531 is used for selecting by one of heteropolarity field difference and four differences of same polarity or its combination the signal type behind the scene change being detected; Heteropolarity field difference detecting unit 532, being used for according to the signal of heteropolarity field difference after to scene change is that movie mode video signal still is that television video frequency signal detects; Four poor detecting units 533 of same polarity, being used for according to the signal of four differences of same polarity after to scene change is that movie mode video signal still is that television video frequency signal detects.
Specifically, heteropolarity field difference detecting unit 532 can the 3rd heteropolarity field difference begin after the scene conversion, each difference heteropolarity previous with it field, heteropolarity field difference is compared, no longer be " little ", " greatly " or " greatly ", the regular standard profile of " little " repetition at interval when surpassing a predetermined value heteropolarity field difference, then heteropolarity field difference is random distribution, and the signal behind the scene change is a television video frequency signal.Four poor detecting units 533 of same polarity can be after the scene conversion four difference beginnings of same polarity of the 5th, four differences of each same polarity and four differences of previous same polarity thereof are compared, no longer be " little ", " greatly " or " greatly ", the regular standard profile of " little " repetition at interval when surpassing four differences of a predetermined value same polarity, then four differences of same polarity are random distribution, and the signal behind the scene change is a television video frequency signal.Described predetermined value can be made as any natural number that surpasses more than 5, for example is 8.
Miscode processing unit 550 specifically, can comprise: remove to before the scene change for the counting of the field that does not belong to film mode, calculate judgement parameter when the front court; When the judgement parameter of front court correspondence when being 1, with its with an adjacent thereafter occasion also, think that above-mentioned two stem from same frame signal; And be under 0 the situation when the judgement parameter of front court correspondence, with an occasion adjacent before itself and its also, think that above-mentioned two stem from same frame signal.Wherein, it is poor that described judgement parameter can be the heteropolarity field, also can be four differences of same polarity.
Those skilled in the art will be understood that, in different embodiments, the execution mode of each unit can be by different hardware-embodied in the movie mode video signal processing unit 500, can be achieved by common hardware element, the concrete hardware element of using does not cause restriction to invention thinking of the present invention yet.
The respective embodiments described above of the present invention, make full use of the design feature between movie mode video signal and the television video frequency signal, and split between frame and the frame and by frame data the field obtained with between the pixel variation, sum up the experience of acquisition by the inventor, promptly miscode and appear at usually before and after the scene change, at first judge whether to exist scene change according to same polarity field difference, again further according to one of heteropolarity field difference and four differences of same polarity or its combination, obtain reliable result, thereby detect miscoding effectively, and got rid of effectively because the flase drop that the video signal type conversion is brought is surveyed, improved the play quality of movie mode video signal greatly.
Though the present invention by the preferred embodiment explanation as above, these preferred embodiments are not in order to limit the present invention.Those skilled in the art without departing from the spirit and scope of the present invention, should have the ability various corrections and additional are made in this preferred embodiment, and therefore, protection scope of the present invention is as the criterion with the scope of claims.

Claims (18)

1. a movie mode video signal processing method is characterized in that, comprises at least:
Judge whether to exist scene change;
According to one of the heteropolarity field difference of setting number before and after the scene change and four differences of same polarity or its combination, to whether existing before and after the scene miscode, and the signal type behind the scene change is judged; According to described judged result, follow-up signal is handled accordingly.
2. movie mode video signal processing method as claimed in claim 1 is characterized in that, described judging whether exists scene change to comprise: the position that judges whether to exist scene change and definite scene change according to same polarity field difference.
3. movie mode video signal processing method as claimed in claim 2, it is characterized in that, describedly judge whether to exist scene change to comprise according to same polarity field, field difference: when two of continuous appearance during all much larger than the same polarity field difference of other same polarity field difference, first same polarity field difference is poor for switch first same polarity field, back in scene in these two same polarity fields differences.
4. movie mode video signal processing method as claimed in claim 2 is characterized in that, describedly judges whether to exist scene change also to comprise: when having scene change, the position of record scene change keeps setting behind the scene change signal of number field.
5. movie mode video signal processing method as claimed in claim 4, it is characterized in that, set the signal of number field behind the described maintenance scene change, finger is set the signal of number field after for scene change, under the situation of not jumping out the movie mode video signal processing, adopt the interlacing algorithm that goes of Motion Adaptive that the signal of setting the number field is handled.
6. movie mode video signal processing method as claimed in claim 1, it is characterized in that, described according to one of the heteropolarity field difference of setting number before and after the scene change and four differences of same polarity or its combination, to the signal type behind the scene change, and judge whether existing to miscode before and after the scene, comprising:
According to one of the heteropolarity field difference of setting number before and after the scene change and four differences of same polarity or its combination, judge whether to exist the indication of miscoding;
When there being described when indication of miscoding, signal type behind the scene change is judged, when signal becomes television video frequency signal by movie mode video signal after the scene conversion, then jump out the movie mode video signal tupe, adopt the television video frequency signal tupe that follow-up signal is handled;
Signal is a movie mode video signal after the scene conversion, and has described miscoding when indicating, and under the prerequisite of not jumping out film mode, the movie mode video signal that existence is miscoded is handled.
7. movie mode video signal processing method as claimed in claim 6 is characterized in that, and is described according to one of the heteropolarity field difference of setting number before and after the scene change and four differences of same polarity or its combination, judges whether to exist to miscode to indicate to comprise:
At least three heteropolarity field differences behind at least two heteropolarity fields difference and/or the scene change before the scene change are write down and detect; When before scene change, during greater than its previous adjacent heteropolarity field difference, having the indication of miscoding before the scene change near a heteropolarity field difference of scene change; When the 3rd heteropolarity field difference differs from less than its previous adjacent heteropolarity field behind scene change, there is the indication of miscoding behind the scene change.
8. movie mode video signal processing method as claimed in claim 6 is characterized in that, and is described according to one of the heteropolarity field difference of setting number before and after the scene change and four differences of same polarity or its combination, judges whether to exist to miscode to indicate to comprise:
Four differences of at least five same polarities behind four differences of at least two same polarities and/or the scene change before the scene change are write down and detect; When before scene change, when poor, having the indication of miscoding greater than four of its previous adjacent same polarities before the scene change near four differences of a same polarity of scene change; When four differences of the 5th pairing same polarity behind scene change are poor less than four of its previous adjacent same polarities, there is the indication of miscoding behind the scene change.
9. movie mode video signal processing method as claimed in claim 6 is characterized in that, described signal type before and after the scene change is judged comprise:
According to one of the heteropolarity field difference of setting number predetermined number afterwards behind the scene change and four differences of same polarity or its combination, be that movie mode video signal still is that television video frequency signal detects to the signal behind the scene change.
10. movie mode video signal processing method as claimed in claim 9, it is characterized in that, described is that movie mode video signal still is that television video frequency signal detects according to the signal of the heteropolarity field difference of setting the predetermined number after the number behind the scene change after to scene change, comprise: the heteropolarity field of the 3rd place correspondence difference beginning after the scene conversion, continuation compares each difference heteropolarity previous with it field, heteropolarity field difference, and statistics does not meet the number of the heteropolarity field difference of described standard profile; When described statistics exceeded predetermined value, then heteropolarity field difference was random distribution, and the signal behind the scene change is a television video frequency signal.
11. movie mode video signal processing method as claimed in claim 9, it is characterized in that, described is that movie mode video signal still is that television video frequency signal detects according to the signal of four differences of same polarity of setting the predetermined number after the number behind the scene change after to scene change, comprise: four difference beginnings of same polarity of the 5th correspondence after the scene conversion, continuation compares four differences of four differences of each same polarity same polarity previous with it, and statistics does not meet the number of four differences of same polarity of described standard profile; When described statistics exceeded predetermined value, then four differences of same polarity were random distribution, and the signal behind the scene change is a television video frequency signal.Four differences of four differences of each same polarity same polarity previous with it are compared, and when four differences of same polarity are random distribution according to the size of value, then the signal behind the scene change is a television video frequency signal.
12., it is characterized in that described predetermined value is to surpass 5 natural number as claim 10 or 11 described movie mode video signal processing methods.
13. movie mode video signal processing method as claimed in claim 12 is characterized in that, described predetermined value is 8.
14. movie mode video signal processing method as claimed in claim 6, it is characterized in that, the described movie mode video signal that existence is miscoded is handled and is comprised: remove to before the scene change for the counting of the field that does not belong to film mode, calculate judgement parameter when the front court; When the judgement parameter of front court correspondence when being 1, will work as front court and an adjacent thereafter occasion also; And when the judgement parameter when the front court correspondence is 0, will work as front court and its preceding adjacent occasion also.
15. a movie mode video signal processing unit is characterized in that, comprises at least:
The scene change judging unit, poor according to the same polarity field of place correspondence, judge whether to exist scene change;
Whether the indication detecting unit of miscoding when described scene change judgment unit judges goes out to have scene change, exists the indication of miscoding before and after detecting scene change;
The signal type detection unit is judged when the described indication detecting unit of miscoding and to be existed when miscoding indication, and the signal that detects after the scene change is television video frequency signal or movie mode video signal;
The television video frequency signal processing unit when signal after described signal type detection unit detects scene change is television video frequency signal, is jumped out the movie mode video signal tupe, adopts the television video frequency signal tupe that follow-up signal is handled;
The processing unit of miscoding when the signal after described signal type detection unit detects scene change is movie mode video signal, is handled the movie mode video signal that existence is miscoded.
16. movie mode video signal processing unit as claimed in claim 15 is characterized in that, described scene change judging unit comprises at least:
Same polarity field difference computing unit, it is poor to be used to calculate corresponding same polarity field;
Difference computational unit is used to calculate the difference between the difference of same polarity field;
Comparing unit, whether the difference that is used for the current calculating of more described difference computational unit surpasses setting threshold;
Counting unit is used to add up the number above peer's property field difference of setting threshold;
Holding unit keeps handling to the vision signal of setting the number field behind the scene change.
17. movie mode video signal processing unit as claimed in claim 15 is characterized in that, the described indication detecting unit of miscoding comprises at least:
The detection mode of miscoding selected cell is used for selecting by one of heteropolarity field difference and four differences of same polarity, or its combination to whether there being the indication of miscoding before and after the scene change detects;
Heteropolarity field mistake is compiled detecting unit, is used for detecting whether there being the indication of miscoding before and after the scene change according to heteropolarity field difference;
Four mistakes of same polarity are compiled detecting unit, are used for detecting whether there being the indication of miscoding before and after the scene change according to four differences of same polarity.
18. movie mode video signal processing unit as claimed in claim 15 is characterized in that, described signal type detection unit comprises at least:
The detection mode selected cell be used for selecting by one of heteropolarity field difference and four differences of same polarity, or its combination detects the signal type behind the scene change;
Heteropolarity field difference detecting unit, being used for according to the signal of heteropolarity field difference after to scene change is that movie mode video signal still is that television video frequency signal detects;
Four poor detecting units of same polarity, being used for according to the signal of four differences of same polarity after to scene change is that movie mode video signal still is that television video frequency signal detects.
CN 201010283102 2010-09-16 2010-09-16 Movie-mode video signal processing method and device Pending CN101938620A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010283102 CN101938620A (en) 2010-09-16 2010-09-16 Movie-mode video signal processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010283102 CN101938620A (en) 2010-09-16 2010-09-16 Movie-mode video signal processing method and device

Publications (1)

Publication Number Publication Date
CN101938620A true CN101938620A (en) 2011-01-05

Family

ID=43391724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010283102 Pending CN101938620A (en) 2010-09-16 2010-09-16 Movie-mode video signal processing method and device

Country Status (1)

Country Link
CN (1) CN101938620A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572289A (en) * 2011-08-02 2012-07-11 上海高清数字科技产业有限公司 Method and device for detecting and processing movie mode
CN102572290A (en) * 2011-12-09 2012-07-11 上海高清数字科技产业有限公司 Detection and processing method for 2-2 film mode
CN112398772A (en) * 2019-08-14 2021-02-23 上海高清数字科技产业有限公司 OFDM system reception demodulation method and OFDM system receiver

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1304614A (en) * 1999-05-12 2001-07-18 松下电器产业株式会社 Telecine video signal detecting device
CN1383327A (en) * 2002-06-10 2002-12-04 成都威斯达芯片有限责任公司 Digital detection method for transmitting movie scene by TV
CN1694494A (en) * 2005-06-09 2005-11-09 西安交通大学 Detection method of 3:2 pull-down film source video
CN100409672C (en) * 2004-08-26 2008-08-06 三星电子株式会社 Film mode detection apparatus capable of detecting bad edit and method thereof
CN101483745A (en) * 2008-12-22 2009-07-15 四川虹微技术有限公司 Video mode recognition method based on edge detection

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1304614A (en) * 1999-05-12 2001-07-18 松下电器产业株式会社 Telecine video signal detecting device
CN1383327A (en) * 2002-06-10 2002-12-04 成都威斯达芯片有限责任公司 Digital detection method for transmitting movie scene by TV
CN100409672C (en) * 2004-08-26 2008-08-06 三星电子株式会社 Film mode detection apparatus capable of detecting bad edit and method thereof
CN1694494A (en) * 2005-06-09 2005-11-09 西安交通大学 Detection method of 3:2 pull-down film source video
CN101483745A (en) * 2008-12-22 2009-07-15 四川虹微技术有限公司 Video mode recognition method based on edge detection

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102572289A (en) * 2011-08-02 2012-07-11 上海高清数字科技产业有限公司 Method and device for detecting and processing movie mode
CN102572290A (en) * 2011-12-09 2012-07-11 上海高清数字科技产业有限公司 Detection and processing method for 2-2 film mode
CN112398772A (en) * 2019-08-14 2021-02-23 上海高清数字科技产业有限公司 OFDM system reception demodulation method and OFDM system receiver
CN112398772B (en) * 2019-08-14 2024-04-02 上海高清数字科技产业有限公司 OFDM system receiving demodulation method and OFDM system receiver

Similar Documents

Publication Publication Date Title
CN106341711B (en) A kind of multimachine digital video direct playing and playback method and system
US7414671B1 (en) Systems and methods for display object edge detection and pixel data interpolation in video processing systems
JP2001507550A (en) Film source video detection
JPH08149514A (en) Method for converting two-dimensional video image into three-dimensional video image
CN100471282C (en) Error concealment for video signals
CN101938620A (en) Movie-mode video signal processing method and device
US7538824B1 (en) Systems and methods for reducing noise during video deinterlacing
US8319888B2 (en) Method of determining field dominance in a sequence of video frames
CN100459694C (en) Foldable field sequence detecting method and digital video deinterleaving device and method
US3941930A (en) Synchronizing signal regenerator
CN102143376B (en) Method and device for detecting consistency of twin-channel video signals
US7616693B2 (en) Method and system for detecting motion between video field of same and opposite parity from an interlaced video source
CN101483790B (en) Movie mode video signal detection method
CN102263982A (en) Method and device for improving moving visibility of analogue television
US7733420B2 (en) Judder detection apparatus, de-interlacing apparatus using the same, and de-interlacing method
CN102395019B (en) Deinterlacing method
CN101087439A (en) A method, device and display for detecting TV and film signals
CN100409672C (en) Film mode detection apparatus capable of detecting bad edit and method thereof
CN102300071A (en) Method and device for processing movie mode video signal
CN101729841B (en) Comb-like pseudoscopic image detection apparatus and method
NO800578L (en) PROCESS AND SYSTEMS FOR ELECTRONIC GENERATION OF WIDELY MOVING IMAGES FOR TRAINING IN SHIP NAVIGATION
CN111613162B (en) Fault detection method and device, LED display and storage medium
CN102572289A (en) Method and device for detecting and processing movie mode
US7420626B1 (en) Systems and methods for detecting a change in a sequence of interlaced data fields generated from a progressive scan source
JPH10215435A (en) Method and device for discriminating synchronizing signal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110105