CN100356798C - Mobile sensing method for three-dimensional comb type filtering video signal decoder - Google Patents

Mobile sensing method for three-dimensional comb type filtering video signal decoder Download PDF

Info

Publication number
CN100356798C
CN100356798C CNB2003101160828A CN200310116082A CN100356798C CN 100356798 C CN100356798 C CN 100356798C CN B2003101160828 A CNB2003101160828 A CN B2003101160828A CN 200310116082 A CN200310116082 A CN 200310116082A CN 100356798 C CN100356798 C CN 100356798C
Authority
CN
China
Prior art keywords
amd
color television
composite color
picture element
television signal
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.)
Expired - Fee Related
Application number
CNB2003101160828A
Other languages
Chinese (zh)
Other versions
CN1635800A (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.)
Sunplus Technology Co Ltd
Original Assignee
Sunplus Technology 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 Sunplus Technology Co Ltd filed Critical Sunplus Technology Co Ltd
Priority to CNB2003101160828A priority Critical patent/CN100356798C/en
Publication of CN1635800A publication Critical patent/CN1635800A/en
Application granted granted Critical
Publication of CN100356798C publication Critical patent/CN100356798C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Processing Of Color Television Signals (AREA)

Abstract

The present invention relates to a mobile detecting method for a three-dimensional comb filtering video signal decoder, which is characterized in that composite color television signals are sampled firstly to obtain and temporarily store a plurality of kinds of sampling data FmP (x, y), wherein FmP (x, y) represents the sampling data of a y picture element in an x row of an m picture frame in the composite color television signals, and m, x and y are positive integers greater than or equal to zero; then, the dynamic state/static state of the composite color television signals is judged by Fm+1P (x, y), FmP (x, y), Fm-1P (x, y) and Fm-2P (x, y). Since mobile detection is directly carried out according to the composite color television signals with the brightnesses/chromas not separated, the present invention can be used for accurately judging the mobile degree so that the advantages of the three-dimensional comb filtering video signal decoder are fully exerted.

Description

The method of mobile detection in the video decoded device of three-dimensional comb type filtering
Technical field
The present invention relates to the method for a kind of mobile detection (motion detection), particularly relate to the method (METHOD OF MOTION DETECTIONFOR 3D COMB FILTER VIDEO DECODER) of mobile detection in the video decoded device of three-dimensional comb type filtering of the three-dimensional video decoded device of comb type filtering of a kind of NTSC of being applied to (3D comb filter video decoder).
Background technology
In the modern life, people have not needed to go out to see many things, such as television set, and people can be sent to television set in the family with pictures such as landscape, media event, theatrical performances by TV station; Or community's surveillance, people can watch that monitor picture can be known the outside situation by video camera in the family.Above-mentioned various video-signal systems have nothing in common with each other function and purpose, but video signal (video signal) must be sent to the recipient from transmit leg.
Color is made up of red (R), green (G), blue (B) three primary colors, therefore directly perceived on the transmit leg tendency to develop send video pictures, just R, G, B color data are converted to electrical signal and send out and get final product.Yet transmitting bandwidth is limited, just must utilize particular form R, G, B color data to be converted to the data of brightness (luma) and chroma (chroma) for saving transmitting bandwidth.For example Y (brightness), U (chroma), V (chroma) data promptly are wherein examples that R, G, B data is converted to brightness and chroma data.The pass of R, G, B data and Y, U, V data is: Y=0.299R+0.587G+0.114B; U=0.493 (B-Y); V=0.877 (R-Y).The weighted value of R, G, B represents human vision to trichromatic impression degree in the Y formula.U and V represent respectively and to have removed blue and red after the brightness.For white light (being R=G=B), the value of U and V is all 0 (expression no color differnece).
In the process of signal transmission, must earlier the chroma data be modulated on the subcarrier signal (subcarrier) and mix with the brightness data again.As (U.S.) NTSC (National TelevisionStandards Committee, NTSC) the NTSC standard of being formulated promptly is to transmit after Y, U, V data are modulated into the composite color television signal (composite signal) of Y+U*sin (ω t)+V*cos (ω t).ω=2 π * Fsc wherein, Fsc is subcarrier signal frequency (subcarrier frequency).Television standard-the PAL of European countries (Phase alternating Line) is also arranged in addition, and this standard is modulated Y, U, V data with line-by-line inversion.In the PAL modulation picture frame (frame) when Y, the U of each horizontal line (line), V data, the mutual modulation system of selecting to use Y+U*sin (ω t)+V*cos (ω t) or Y+U*sin (ω t)-V*cos (ω t).That is to say that if wherein a horizontal line is with Y+U*sin (ω t)+V*cos (ω t) modulation Y, U, V data, then its next bar horizontal line changes with Y+U*sin (ω t)-V*cos (ω t) and modulates it.
After the recipient received the composite color television signal, sampling (sample) earlier is data wherein.General comb filter (comb filter) can reach sample composite color television signal with the frequency of four times of Fsc, and so every horizontal line of NTSC can get 910 sampling points (sample point); Every horizontal line of PAL then has 1135 sampling points.A picture frame of NTSC (frame) has 525 horizontal lines, so 910*525=477750 sampling point arranged; And PAL is more special, and a picture frame has 625 horizontal lines, but total 1135*625+4=709379 sampling point.Because the number of sampling of whole picture frame is not horizontal integral multiple, so in various degree phase difference value (phaseerror) can occur in different sample position.
Generally speaking, the most difficult part is exactly that brightness separates with chroma in the technology of video decoded device (TV decoder).The effect quality that brightness/chroma separates influences the decoding quality of video decoded device.So in the application for high-quality image demand, adopt three-dimensional comb filter (3D combfilter) technology to reach brightness/chroma mostly and separate at present.
In the time will doing three-dimensional comb type filtering to the composite color television signal, at first must be with phase angle once every 90 degree samplings with the composite color television signal.With NTSC, sampling phase (sample phase) can obtain Y+V, Y+U, Y-V Y-U respectively when 0,0.5 π, π and 1.5 π.Seeing also shown in Figure 1ly, is sampling result (part) schematic diagram of picture frame in the explanation NTSC system.The longitudinal axis is represented the position x of horizontal line line in picture frame among the figure, and transverse axis is then represented the position y of picture element in horizontal line.Two sampled datas are if belong to respectively in the adjacent picture frame but during for identical correspondence position, because differ 477750 sampling points (4 multiple surpluss 2), so the two phase place can just differ from 180 degree.The sampling relation of aforementioned adjacent picture frame can also describe by Fig. 1, gets final product (this moment, the longitudinal axis was time shaft) but ordinate of orthogonal axes among the figure must be changed the sequence number m that is considered as picture frame frame.
The situation of PAL is special than NTSC, and a picture frame has 709379 sampling points (4 multiple surpluss 3), so though at same correspondence position, if the data Y+U that previous picture frame is sampled to, then next picture frame may sampling result be Y+V, next is Y-U again.Seeing also shown in Fig. 2 A, is to illustrate that picture frame is with sampling result (part) schematic diagram of sampling phase 0,0.5 π, π and 1.5 π in the PAL system.The longitudinal axis is represented the position x of horizontal line line in picture frame among the figure, and transverse axis is then represented the position y (wherein the longitudinal axis also can be considered front and back adjacent picture frame frame) of picture element in horizontal line.So arrange to be inconvenient to implement the filtering of comb type, so generally all be that promptly sampling phase is taken a sample it respectively when 0.25 π, 0.75 π, 1.25 π and 1.75 π with sampling phase displacement (shift) 45 degree.Seeing also shown in Fig. 2 B, is to illustrate that picture frame is with sampling result (part) schematic diagram of sampling phase 0.25 π, 0.75 π, 1.25 π and 1.75 π in the PAL system.The longitudinal axis is represented the position x of horizontal line line in picture frame among the figure, and transverse axis is then represented the position y of picture element in horizontal line (wherein the longitudinal axis before and after also can be considered adjacent picture frame frame), A=0.707 (U+V) wherein, B=0.707 (U-V).
When handling the signal of PAL, because the picture frame of PAL has 1135*625+4 point, neither 1135 integral multiple, integral multiple that neither 625.So error to some extent when reaching sample with 1135 of every row can reach 4 picture elements behind these error accumulations 625 row horizontal lines.Usually the error of these 4 picture elements is to be shared out equally by 625 horizontal lines, and therefore every horizontal line can 4/625 picture element of displacement.Therefore, the phase place of each sampling point can just not be 0.25 π, 0.75 π, 1.25 π and 1.75 π usually, and has a little phase angle difference.The modulation system of PAL system is Y+U*sin (ω t)+V*cos (ω t) or Y+U*sin (ω t)-V*cos (ω t), considers that ω t be (0.25 π+5), (0.75 π+δ), (1.25 π+δ) reach (situation (δ is a phase angle difference): sin (0.25 π, ten δ)=sin (0.25 π) cos (δ)+cos (0.25 π) sin (δ)=0.707 (cos δ+sin δ)=0.707 (1+e0) of 1.75 π+δ); Cos (0.25 π+δ)=cos (0.25 π) cos (δ)-sin (0.25 π) sin (δ)=0.707 (cos δ-sin δ)=0.707 (1-e0); So Y+U*sin (ω t)+V*cos (ω t)=Y+0.707 (U+V+e0 (U-V))=Y+A+eB.All the other angles can the rest may be inferred, can obtain actual sampling value at last shown in Fig. 2 C, phase difference value eA=e0A wherein, phase difference value eB=e0B.Seeing also shown in Fig. 2 C, is to illustrate that picture frame is with actual sampling result (part) schematic diagram of sampling phase 0.25 π+δ, 0.75 π+δ, 1.25 π+δ and 1.75 π+δ in the PAL system.The longitudinal axis is represented the position x of horizontal line in picture frame among Fig. 2 C, and transverse axis is then represented the position y (wherein the longitudinal axis also can be expressed as front and back adjacent picture frame frame relation) of picture element in horizontal line line.
Seeing also shown in Fig. 3 A, is the calcspar that has known three-dimensional comb filter now.General existing three-dimensional comb filter comprises many picture frames brightness/chroma separator (inter-frame Y/C separator) 310, two-dimentional brightness/chroma separator (intra-field Y/C separator, the two-dimentional comb filter that promptly generally is commonly called as) 320, mobile detection device (motion detector) 330, memory body 340 and blender (mixer) 350.Composite color television signal (composite video signal) the 301st is through the signal after the sampling, F M+1Representing this composite color television signal 301 is the composite color television signal of m+1 picture frame.Memory body 340 temporary composite color television signals 301 also provide composite color television signal 302 and composite color television signal 305 (F mRepresent the composite color television signal of m picture frame).Two dimension brightness/chroma separator 320 receives composite color television signal 305, and utilizes picture frame F mIn spatial correlation between each picture element carry out that brightness/chroma is separated and output separates video signal (separated videosignal) 321.
Common dynamic video signal (motion video signal) promptly adopts two-dimentional brightness/chroma separator 320 to finish brightness and chroma mask work, but two-dimentional brightness/chroma separator 320 has shortcomings such as edge blurry when handling static video signal (still video signal).In order to promote image quality, handle so generally all static video signal can be given many picture frames brightness/chroma separator 310.Existing known many picture frames brightness/chroma separator 310 receives picture frame F simultaneously M+1With picture frame F mThe composite color television signal, and utilize adjacent picture frame F M+1With picture frame F mIn property association in time between each corresponding picture element carry out that brightness/chroma is separated and output separates video signal 311.Judge that composite color television signal 301 is that dynamically the work of (motion) or static (still) then is responsible for by moving detector (motion detector) 330.Composite color television signal 301 and brightness data 321a (providing by separating video signal 321) are provided existing known moving detector 330, luminance difference and the chroma of utilizing brightness data 321a and composite color television signal 301 to calculate between two picture frames are poor, utilize this luminance difference and chroma difference to judge the moving/quiet state and the output selection signal 331 of picture element.Blender 350 is promptly selected to separate video signals 321, is separated video signal 311 or the two is mixed according to predetermined ratio according to selection signal 331, and exports and separate video signal 351.
Moving detector 330 is three-dimensional comb filter most important parts.Static state will be dynamically be judged as mistakenly, and the manifest error picture can be synthesized; But if too conservatively most of situation is judged as dynamically, then the effect of 3D can be had a greatly reduced quality again.The method of known mobile detection is brightness/chroma value of obtaining previous picture frame and present this picture frame respectively, relatively its difference.Seeing also shown in Fig. 3 B, is the moving detector calcspar that has known three-dimensional comb filter now.。For NTSC, composite color television signal 301 is through low pass filter (low pass filter, LPF) can obtain the value of approximate brightness data 332 after 360, postpone (delay) picture frame times through picture frame buffer 391 again and obtain the brightness data 333 of previous picture frame.The brightness data 332 of present picture frame is compared with the brightness data 333 of previous picture frame, obtained luminance difference (luma difference) 334.Composite color television signal 301 is through band pass filter (band pass filter in addition, BPF) cut brightness data 321a (institute provides in the separation video signal 321 that is calculated by two-dimentional brightness/chroma separator 320) after 370 again, can obtain chroma data 336, postpone two chroma data 338 of interrogating frames and obtaining the first two picture frame through picture frame buffer 392,393 again.The chroma data 336 of present picture frame is subtracted each other with the chroma data 338 of the first two picture frame, obtain chroma difference (chroma difference) 339.Testing circuit 380 has had after luminance difference 334 and the chroma difference 339, gets its large one and is moving characteristic value (motion factor).
For PAL, the method that has known mobile detection now is similar to NTSC.Its difference is that picture frame buffer 392,393 postpones four news frame times with chroma data 336, and all the other are all identical, so do not repeat them here.
Generally judge composite color television signal 301 moving/during quiet state, often moving characteristic value and default critical (threshold) value are done one relatively, if the moving characteristic value is obviously greater than critical value, then be judged as dynamically, this moment, testing circuit 380 outputs selected signal 331 to use two-dimentional brightness/chroma separator 320.If the moving characteristic value is significantly less than critical value, can assert then to be static state at that time that testing circuit 380 outputs this moment select signals 331 to use many picture frames brightness/chroma separator 310 to promote image quality.If the moving characteristic value is positioned near the critical value, rashly be judged to be dynamically or static state all is not too appropriate behavior, general all is that brightness/chroma data that two-dimentional brightness/chroma separator 320 and many picture frames brightness/chroma separator 310 are calculated separately is mixed with proper proportion, handles the situation of this gray zone.Therefore, moving characteristic value calculation mode does not more restrain, and then the scope of gray zone must heal greatly, and is just fewer from the resulting benefit of three-dimensional comb filter.
Having the method for known mobile detection now, is that the method for separating with two-dimentional brightness/chroma earlier calculates brightness/chroma data, and the brightness/chroma data with previous picture frame compares again, then brightness/chroma the data that will export at last according to the comparative result decision.Here just produced the problem of " chicken raw egg, egg live chickens ".If at the very start can two-dimentional brightness/method that chroma is separated correctly isolates brightness/chroma data, just do not needed three-dimensional comb filter, also just needn't go certainly to have calculated the moving characteristic value., if the brightness of calculating at the beginning/chroma data has error, use brightness/chroma data that error is arranged to go the worthwhile error of calculating that so also has of moving characteristic so.Then with there being the moving characteristic value of error to go to determine final brightness/chroma data that its correctness will be given a discount naturally.
This shows that the method for mobile detection still has many defectives in the video decoded device of above-mentioned existing three-dimensional comb type filtering, and demands urgently further being improved.In order to solve the defective of the method for mobile detection in the video decoded device of existing three-dimensional comb type filtering, relevant manufacturer there's no one who doesn't or isn't seeks solution painstakingly, but do not see always that for a long time suitable design finished by development, this obviously is the problem that the anxious desire of relevant dealer solves.
Because the defective that the method for mobile detection exists in the video decoded device of above-mentioned existing three-dimensional comb type filtering, the inventor is based on being engaged in this type of product design manufacturing abundant for many years practical experience and professional knowledge, actively studied innovation, in the hope of founding the method for mobile detection in a kind of new video decoded device of three-dimensional comb type filtering, can improve the method for mobile detection in the video decoded device of general existing three-dimensional comb type filtering, make it have more practicality.Through constantly research, design, and after studying repeatedly and improving, create the present invention who has practical value finally.
Summary of the invention
The objective of the invention is to, overcome the defective of the method existence of mobile detection in the video decoded device of existing three-dimensional comb type filtering, and provide the method for mobile detection in a kind of new video decoded device of three-dimensional comb type filtering, technical problem to be solved is to make it adopt the foundation of original (separating without brightness/chroma) composite color television signal (composite video signal) as mobile detection, thereby be suitable for practicality more, and have the value on the industry.
The object of the invention to solve the technical problems is to adopt following technical scheme to realize.The method of mobile detection in the video decoded device of a kind of three-dimensional comb type filtering that proposes according to the present invention, this method composite color television signal that comprises the following steps: to take a sample is to obtain and temporary most sampling data F mP X, y, F wherein mP X, yRepresent the sampling data of y capable picture element of the x of m picture frame in this composite color television signal, and m, x, y are the positive integer more than or equal to 0; And utilize F M+1P X, y, F mP X, y, F M-1P X, yAnd F M-2P X, yJudge the moving/quiet state of this composite color television signal.
The object of the invention to solve the technical problems also can be applied to the following technical measures to achieve further.
The method of mobile detection in the video decoded device of aforesaid three-dimensional comb type filtering, the step of the moving/quiet state of this composite color television signal of wherein said judgement is to comprise following step: utilize F M+1P X, y, F mP X, y, F M-1P X, yAnd F M-2P X, yCalculate and obtain most maximum difference MD X, y 'MD wherein X, yRepresent the maximum difference of y capable picture element of x; The maximum difference of optional 4 adjacent picture elements also calculates its mean value, and obtain a moving characteristic value MF X, y, MF wherein X, yRepresent the moving characteristic value of y capable picture element of x; And detection MF X, y, to judge the moving/quiet state of y the picture element that x is capable in this composite color television signal.
The method of mobile detection in the video decoded device of aforesaid three-dimensional comb type filtering, wherein when judging that this composite color television signal is the signal of a NTSC system, the step of this composite color television signal of then taking a sample is to take a sample with 4 overtones bands of the subcarrier signal in this composite color television signal, and is to do sampling when this subcarrier signal phase place is 0,0.5 π, π and 1.5 π.
The method of mobile detection is wherein calculated MD in the video decoded device of aforesaid three-dimensional comb type filtering X, yBe according to formula: MD X, y=Max{|F mP X, y-F m-2P X, y|, | F M+1P X, y-F M-1P X, y|.
The method of mobile detection in the video decoded device of aforesaid three-dimensional comb type filtering, wherein said wherein when judging that this composite color television signal is the signal of a PAL system, the step of this composite color television signal of taking a sample is to take a sample with 4 overtones bands of the subcarrier signal in this composite color television signal, and is to do sampling when this subcarrier signal phase place is 0.25 π, 0.75 π, 1.25 π and 1.75 π.
The method of mobile detection in the video decoded device of aforesaid three-dimensional comb type filtering, wherein said calculating also obtains MD X, yStep, comprise the following steps: to calculate and obtain most luminance difference LD X, y, LD wherein X, yRepresent the luminance difference of y capable picture element of x, its calculating is according to formula: LD X, y=| F mP X, y+ F M-2P X, y-F M+1P X, y-F M-1P X, y|; Calculate and obtain most temporary transient difference IMD X, y, IMD wherein X, yRepresent the temporary transient difference of y capable picture element of x, its calculating is according to formula: IMD I, 2j-1=Max{|F M+1P I, 2j-1-F M-2P I, 2j-1|, | F mP I, 2j-1-F M-1P I, 2j-1|; IMD I, 2j=Max{|F M+1P I, 2j-F mP I, 2j|, | F M-1P I, 2j-F M-2P I, 2j|; And calculate and acquisition MD X, y, its calculating is according to formula: MD X, y=a*IMD X, y+ (1-a) * LD X, yWherein, a is greater than 0 and less than 1 real number, i, j are positive integer.
The method of mobile detection in the video decoded device of aforesaid three-dimensional comb type filtering, wherein said acquisition MF X, yStep, comprise the following steps: the optional MD that comprises X, y4 adjacent picture elements maximum difference and calculate its mean value, obtain most average maximum difference AMD X, h, AMD wherein X, hRepresent the average maximum difference of h capable picture element of x, h is a positive integer, and its calculating is according to following formula: AMD X, h=(MD X, h+ MD X, h+1+ MD X, h+2+ MD X, h+3)/4; And in those average maximum differences, get its minimum value, and obtain a moving characteristic value MF X, y, MF wherein X, yRepresent the moving characteristic value of y capable picture element of x.
The method of mobile detection in the video decoded device of aforesaid three-dimensional comb type filtering is wherein saidly got its minimum value and is obtained MF in those average maximum differences X, yStep, be according to following formula: MF X, y=Min (AMD X, y, AMD X, y-1, AMD X, y-2, AMD X, y-3).
The method of mobile detection in the video decoded device of aforesaid three-dimensional comb type filtering is wherein saidly got its minimum value and is obtained MF in those average maximum differences X, yStep, be the formula of foundation: MF X, y=Min (AMD X, y, AMD X, y-3).
The method of mobile detection in the video decoded device of aforesaid three-dimensional comb type filtering, wherein said detection MF X, yStep with moving/quiet state of judging x is capable in this composite color television signal y picture element comprises the following steps: to provide a critical value; And comparison MF X, yAnd this critical value, work as MF X, yJudge during greater than this critical value that y the picture element that x is capable in this composite color television signal is dynamically, otherwise then be static.
The method of mobile detection in the video decoded device of aforesaid three-dimensional comb type filtering, wherein said those moving characteristic values MF X, yIt is the moving characteristic value of m picture frame.
The present invention compared with prior art has tangible advantage and beneficial effect.By above technical scheme as can be known, in order to reach aforementioned goal of the invention, major technique of the present invention thes contents are as follows:
The present invention proposes the method for mobile detection in the video decoded device of a kind of three-dimensional comb type filtering.The method composite color television signal of at first taking a sample is to obtain and temporary a plurality of sampling data F mP X, y, F wherein mP X, yRepresent the sampling data of y capable picture element of the x of m picture frame in the composite color television signal, and m, x, y are the positive integer more than or equal to 0.Utilize F then M+1P X, y, F mP X, y, F M-1P X, yAnd F M-2P X, yJudge the moving/quiet state of composite color television signal.
Comply with, according to the method for mobile detection in the video decoded device of preferred embodiment of the present invention described three-dimensional comb type filtering, the step of the moving/quiet state of this composite color television signal of above-mentioned judgement comprises following each step.At first utilize F M+1P X, y, F mP X, y, F M-1P X, yAnd F M-2P X, yCalculate and obtain a plurality of maximum difference MD X, y, MD wherein X, yRepresent the maximum difference of y capable picture element of x.Choose the maximum difference of 4 adjacent picture elements then wantonly and calculate its mean value, to obtain a plurality of moving characteristic value MF X, y, MF wherein X, yRepresent the moving characteristic value of y capable picture element of x.Detect MF at last X, y, to judge the moving/quiet state of y the picture element that x is capable in the composite color television signal.
Method according to mobile detection in the video decoded device of the described three-dimensional comb type of preferred embodiment of the present invention filtering, wherein when judging that the composite color television signal is the signal of NTSC system, the step of composite color television signal of then taking a sample is to take a sample with 4 overtones bands of the subcarrier signal in the composite color television signal, and is to do sampling when subcarrier signal phase place is 0,0.5 π, π and 1.5 π.Calculate MD this moment X, yBe according to formula: MD X, y=Max{|F mP X, y-F M-2P X, y|, | F M+1P X, y-F M-1P X, y|.
Method according to mobile detection in the video decoded device of the described three-dimensional comb type of preferred embodiment of the present invention filtering, wherein when judging that the composite color television signal is the signal of PAL system, the step of sampling composite color television signal is to take a sample with 4 overtones bands of the subcarrier signal in the composite color television signal, and is to do sampling when subcarrier signal phase place is 0.25 π, 0.75 π, 1.25 π and 1.75 π.Calculate and obtain MD this moment X, yStep, comprise following each step.At first calculate and obtain most luminance difference LD X, y, wherein, LD X, yRepresent the luminance difference of y capable picture element of x, its calculating is according to formula: LD X, y=| F mP X, y+ F M-2P X, y-F M+1P X, y-F M-1P X, y|.Then calculate and obtain a plurality of temporary transient difference IMD X, y, IMD wherein X, yRepresent the temporary transient difference of y capable picture element of x, its calculating is according to formula: IMD I, 2j-1=Max{|F M+1P I, 2j-1-F M-2P I, 2j-1|, | F mP I, 2j-1-F M-1P I, 2j-1|; IMD I, 2j=Max{|F M+1P I, 2j-F mP I, 2j|, | F M-1P I, 2j-F M-2P I, 2j|.Calculate and obtain MD then X, y, its calculating is according to formula: MD X, y=a*IMD X, y+ (1-a) * LD X, y, wherein, a is greater than 0 and less than 1 real number, i, j are positive integer.
According to the method for mobile detection in the video decoded device of the described three-dimensional comb type of preferred embodiment of the present invention filtering, above-mentioned acquisition MF X, yStep, comprise following each step.The at first optional MD that comprises X, y4 adjacent picture elements maximum difference and calculate its mean value, obtain most average maximum difference AMD X, h, AMD wherein X, hRepresent the average maximum difference of h capable picture element of x, h is a positive integer.Its calculating is according to formula: AMD X, h=(MD X, h+ MD X, h+1+ MD X, h+2+ MD X, h+3)/4.In those average maximum differences, get its minimum value then, and obtain a moving characteristic value MF X, y, MF wherein X, yRepresent the moving characteristic value of y capable picture element of x.Represent with formula: MF for example X, y=Min (AMD X, y, AMD X, y-3, AMD X, y-6, AMD X, y+3), perhaps MF for example X, y=Min (AMD X, y, AMD X, y-3) etc., spirit all according to the invention.
According to the method for mobile detection in the video decoded device of the described three-dimensional comb type of preferred embodiment of the present invention filtering, above-mentioned detection MF X, yTo judge the step of the moving of x is capable in the composite color television signal y picture element/quiet state, comprise following each step.One critical value at first is provided.Compare MF then X, yAnd critical value, work as MF X, yJudge during greater than critical value that y the picture element that x is capable in the composite color television signal is dynamically, otherwise then be static.Moving characteristic value MF wherein X, yIt for example is the moving characteristic value of m picture frame.
By technique scheme, therefore the present invention can judge mobile degree very accurately, and can make the advantage of the video decoded device of three-dimensional comb type filtering perform to ultimate attainment because directly do mobile detection according to the composite color television signal of not doing brightness/chroma separation.
In sum, the method of mobile detection in the video decoded device of three-dimensional comb type filtering of special construction of the present invention, it adopts the foundation of original (separating without brightness/chroma) composite color television signal (compositevideo signal) as mobile detection, thereby is suitable for practicality more.It has above-mentioned many advantages and practical value, and in class methods, do not see have similar design to publish or use and really genus innovation, no matter it is all having bigger improvement on method or on the function, have large improvement technically, and produced handy and practical effect, and the method for mobile detection has the multinomial effect of enhancement in the video decoded device of more existing three-dimensional comb type filtering, thereby be suitable for practicality more, and have the extensive value of industry, really be a new and innovative, progressive, practical new design.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, below with preferred embodiment of the present invention and conjunction with figs. describe in detail as after.
Description of drawings
Fig. 1 is sampling result (part) schematic diagram of picture frame in the explanation NTSC system.
Fig. 2 A illustrates that picture frame is with sampling result (part) schematic diagram of sampling phase 0,0.5 π, π and 1.5 π in the PAL system.
Fig. 2 B illustrates that picture frame is with sampling result (part) schematic diagram of sampling phase 0.25 π, 0.75 π, 1.25 π and 1.75 π in the PAL system.
Fig. 2 C illustrates that picture frame is with actual sampling result (part) schematic diagram of sampling phase 0.25 π+δ, 0.75 π+δ, 1.25 π+δ and 1.75 π+δ in the PAL system.
Fig. 3 A is the calcspar that has known three-dimensional comb filter now.
Fig. 3 B is the calcspar that has the moving detector of known three-dimensional comb filter now.
Fig. 4 is the flow chart of mobile detection method in the video decoded device of a kind of three-dimensional comb type filtering that illustrates according to a preferred embodiment of the present invention.
Fig. 5 is the application system calcspar of mobile detection method in the video decoded device of a kind of three-dimensional comb type filtering that illustrates according to a preferred embodiment of the present invention.
301,302,305,501,502,503,504,505: the composite color television signal
310,510: many picture frames brightness/chroma separator (inter-frame Y/C separator)
311,321,351,511,521,551: separate video signal (separated video signal)
320,520: two-dimentional brightness/chroma separator (intra-field Y/C separator)
321a: separate the brightness data in the video signal 321
330,530: moving detector (motion detector)
331,531: select signal
332,333: the brightness data
334: luminance difference
336,338: the chroma data
339: the chroma difference
340,540: memory body (internal memory)
350,550: blender (mixer)
360: low pass filter
370: high pass filter
380: testing circuit
391,392,393: the picture frame buffer
S401: sampling composite color television signal obtains sampling data F mP X, y
S402: decision NTSC system or PAL system
S403: calculate maximum difference MD X, y
S404: calculate luminance difference LD X, y
S405: calculate temporary transient difference IMD X, y
S406: calculate maximum difference MD X, y
S407: calculate left mean maximum difference AMDL X, y
S408: calculate right average maximum difference AMDR X, y
S409: calculate moving characteristic value MF X, y
S410: critical value is provided
S411: compare MF X, yWith the critical value size
S412: judge that picture element is dynamic
S413: judge that picture element is static
Embodiment
Below in conjunction with accompanying drawing and preferred embodiment, its concrete grammar of method, step, feature and the effect thereof of mobile detection in the video decoded device of three-dimensional comb type filtering that foundation the present invention is proposed, describe in detail as after.
Fig. 4 is the flow chart of mobile detection method in the video decoded device of a kind of three-dimensional comb type filtering that illustrates according to a preferred embodiment of the present invention.Please consult Fig. 1, Fig. 2 C and shown in Figure 4 simultaneously, mobile detection method in the video decoded device of three-dimensional comb type filtering of preferred embodiment of the present invention, step S401 are sampling composite color television signals and obtain sampling data F mP X, y, F wherein mP X, yRepresent the sampling data of y capable picture element of the x of m picture frame in this composite color television signal, and m, x, y are the positive integer more than or equal to 0.In the present embodiment, step S401 takes a sample with 4 overtones bands of the subcarrier signal in the composite color television signal if operate then under the NTSC system, and is to do sampling when subcarrier signal phase place is 0,0.5 π, π and 1.5 π.If also take a sample at step S401, but when being 0.25 π, 0.75 π, 1.25 π and 1.75 π, subcarrier signal phase place does sampling with 4 overtones bands of the subcarrier signal in this composite color television signal at the next present embodiment of PAL system.
Select NTSC system or PAL system (step S402),, otherwise carry out step S404 if the NTSC system then carries out step S403.
Calculate maximum difference (max difference) MD among the step S403 X, y(MD X, yThe maximum difference of representing y the picture element that x is capable), its calculating is according to formula: MD X, y=Max{|F mP X, y-F M-2P X, y|, | F M+1P X, y-F M-1P X, y|.In the present embodiment, MD X, yIt for example is the maximum difference of m picture frame.With NTSC system shown in Figure 1 (longitudinal axis is represented picture frame frame, and transverse axis is represented picture element pixel) is example, and y picture element all is Y+U in the value of picture frame m and the first two picture frame m-2 among the figure, and last picture frame m-1 is Y-U with back one picture frame m+1.Take Y+U and Y+U to subtract each other and take absolute value, take Y-U and Y-U to subtract each other again and take absolute value, get the greater in these two absolute values and can obtain MD X, y
Be example with the PAL system shown in Fig. 2 C (longitudinal axis represent picture frame frame, and transverse axis represent picture element pixel) in addition, some picture element need go than that (m+1 is m) with (m-1, m-2) individual picture frame, some picture element will go than that (m is m-1) with (m+1, m-2) individual picture frame.Will take the identical picture element of attribute to go to compare in principle exactly, (difference) is more little for its difference, and expression more is static.This difference after relatively is temporary transient difference IMD X, y(step S405).Yet because wherein there is phase difference value, so even tableaux, IMD X, yCan not obtain one yet and be tending towards result's (obtaining the twice phase difference value) of 0.When therefore running into the PAL signal, need do some special processing.In Fig. 2 C, with the value addition of m and m-2 picture frame, just can the cancellation chroma and phase difference value and obtain the brightness of twice; With m+1 value addition also be with m-1 picture frame.These two brightness values are subtracted each other take absolute value, obtain luminance difference (luma difference) LD X, y(step S404).Because the algorithm of luminance difference is that the cancellation phase difference value is just arranged, so if input really is static, bright variation value should be tending towards 0.So calculate the MD of PAL X, yThe time, must be with the IMD that originally calculates X, yAnd LD X, yMixed with proper proportion to get MD to the end X, y(step S406).
Yet, only take the maximum difference MD of each picture element X, yBe used as the moving characteristic value and do not work as, because the attribute of each sampling point (sample point) representative is different.Each picture element of supposing m+1 picture frame all is red, and each picture element of all the other each picture frames all is white.The brightness Y of white more than the brightness Y of redness come big, and red chroma V more than the chroma V of white come big, chroma U then is that both are slightly variant, but difference is not very big.So when the Y+V that takes white compared with red Y+V, its difference was very little; But take the Y-V of white to remove ratio with red Y-V, difference will be special big.And when going respectively, can obtain different differences again than Y+U and Y-U.That is to say, even be that color A and color B go to compare equally, if the project difference of ratio, could be than going out different differences.If the moving characteristic value of each picture element is decided in its sole discretion by each picture element, then the phenomenon as sine wave will appear in the moving characteristic value.Therefore must be one group with four picture elements decides final moving characteristic value (NTSC and PAL are all right).
Therefore, obtaining the maximum difference MD of each picture element X, yAfterwards, appoint and get the maximum difference (maximum difference that wherein comprises the target picture element) of four adjacent picture elements and calculate its mean value, in each mean value, select minimum value as the moving characteristic value.Represent with formula: AMD X, h=(MD X, h+ MD X, h+1+ MD X, h+2+ MD X, h+3)/4; MF X, y=Min (AMD X, y, AMD X, y-1, AMD X, y-2, AMD X, y-3).AMD wherein X, hThe average maximum difference (average ofmax difference) of representing h the picture element that x is capable, MF X, yThe moving characteristic value of representing y the picture element that x is capable.In the present embodiment only with left mean maximum difference AMDL X, y(be AMD X, y-3) and right average maximum difference AMDR X, y(be AMD X, y) be example, calculate AMDL respectively X, y(step S407) and AMDR X, y(step S408).Again from AMDL X, yAnd AMDR X, yIn the middle of get the smaller as moving characteristic value (step S409), represent with formula: MF X, y=Min (AMDL X, y, AMDR X, y).Why will get smaller's reason, be because picture element P X, y(representing y the picture element that x is capable) may be to be positioned on the edge of dynamic and static thing, and picture element P X, yThe moving characteristic value can be subjected to again about the influence of totally 7 picture elements.If picture element P X, yItself be static, do not wish that certainly it is disturbed and judge by accident to dynamically by left and right sides adjoint point.Therefore, in each average maximum difference, select minimum value to be only correct as the moving characteristic value.
Before judging the moving/quiet state of composite color television signal, need provide a critical value (threshold) (step S410) earlier.The moving characteristic value is compared (step S411) with default critical value,,, then can assert to be static (step S413) at that time if the moving characteristic value is significantly less than critical value if the moving characteristic value, then is judged as dynamically (step S412) obviously greater than critical value.
The method of mobile detection more clearly demonstrates of the present invention application examples according to preferred embodiment of the present invention with system block diagrams at this in the video decoded device of comprehensive above-mentioned three-dimensional comb type filtering.Fig. 5 is the application system calcspar that illustrates mobile detection method in the video decoded device of a kind of three-dimensional comb type filtering according to a preferred embodiment of the present invention.See also Fig. 5, use three-dimensional comb filter example of the present invention and comprise many picture frames brightness/chroma separator (inter-frame Y/C separator) 510, two-dimentional brightness/chroma separator (intra-field Y/C separator, the two-dimentional comb filter that promptly generally is commonly called as) 520, moving detector (motion detector) 530, memory body 540 and blender (mixer) 550, wherein moving detector 530 promptly has function of the present invention.Composite color television signal (composite video signal) the 501st is through the composite color television signal after the sampling, F M+1Representing this composite color television signal 501 is the composite color television signal of m+1 picture frame.Memory body 540 temporary composite color television signals 501 also provide composite color television signal 502 (m picture frame F m), composite color television signal 503 (m-1 picture frame F M-1) and composite color television signal 504 (m-2 picture frame F M-2).Memory body 540 provides composite color television signal 505 (m picture frame E in addition m).Two dimension brightness/chroma separator 520 receives composite color television signal 505, and utilizes picture frame F mIn spatial correlation between each picture element carry out that brightness/chroma is separated and output separates video signal (separated video signal) 521.
Dynamically video signal (motion video signal) adopts two-dimentional brightness/chroma separator 520 to finish the mask work of brightness and chroma.In order to promote image quality, handle so give many picture frames brightness/chroma separator 510 with static video signal (still videosignal).Many picture frames brightness/chroma separator 510 receives picture frame F in the composite color television signal simultaneously M+1, F m, F M-1And F M-2The sampling data, and utilize in the adjacent picture frame property association in time between each corresponding picture element to carry out that brightness/chroma is separated and output separates video signal 511.Judge that composite color television signal 501 is that dynamically the work of (motion) or static (still) then is responsible for by moving detector 530.Moving detector 530 receives picture frame F in the composite color television signal M+1, F m, F M-1And F M-2The sampling data, judge that according to this moving/quiet state of picture element and output selects signal 531, its decision method such as above-mentioned does not repeat them here.Blender 550 is promptly selected to separate video signals 521, is separated video signal 511 or the two is mixed according to predetermined ratio according to selection signal 531, and exports and separate video signal 551.
The above, it only is preferred embodiment of the present invention, be not that the present invention is done any pro forma restriction, though the present invention discloses as above with preferred embodiment, yet be not in order to limit the present invention, any those skilled in the art, in not breaking away from the technical solution of the present invention scope, when the method that can utilize above-mentioned announcement and technology contents are made a little change or be modified to the equivalent embodiment of equivalent variations, but every content that does not break away from technical solution of the present invention, according to technical spirit of the present invention to any simple modification that above embodiment did, equivalent variations and modification all still belong in the scope of technical solution of the present invention.

Claims (6)

1, the method for mobile detection in the video decoded device of a kind of three-dimensional comb type filtering, the NTSC system that is applicable to is characterized in that this method comprises the following steps:
With 4 overtones bands of a subcarrier signal in the composite color television signal, this composite color television signal of taking a sample, and be when this subcarrier signal phase place is 0,0.5 π, π and 1.5 π, to do sampling;
Obtain and temporary most sampling data F according to sampling result mP X, y, F wherein mP X, yRepresent the sampling data of y capable picture element of the x of m picture frame in this composite color television signal, and m, x, y are the positive integer more than or equal to 0;
Utilize F M+1P X, y, F mP X, y, F M-1P X, yAnd F M-2P X, yCalculate and obtain most maximum difference MD X, y, MD wherein X, yRepresent the maximum difference of y the picture element that x is capable in m the picture frame, its calculating is according to formula:
MD x,y=Max{|F mP x,y-F m-2P x,y|,|F m+1P x,y-F m-1P x,y|};
The optional MD that comprises X, y4 adjacent picture elements maximum difference and calculate its mean value, obtain most average maximum difference AMD X, h, AMD wherein X, hRepresent the average maximum difference of h capable picture element of x, h is a positive integer, and its calculating is according to formula:
AMD x,h=(MD x,h+MD x,h+1+MD x,h+2+MD x,h+3)/4;
In those average maximum differences, get its minimum value, and obtain a moving characteristic value MF X, y, MF wherein X, yRepresent the moving characteristic value of y the picture element that x is capable in m the picture frame; One critical value is provided; And
Compare MF X, yAnd this critical value, work as MF X, yDuring greater than this critical value, judge that promptly y the picture element that x is capable in this composite color television signal is dynamically, otherwise, then be judged to be static state.
2, the method for mobile detection in the video decoded device of three-dimensional comb type according to claim 1 filtering is characterized in that wherein saidly getting its minimum value and obtain MF in those average maximum differences X, yStep, be according to formula:
MF x,y=Min(AMD x,y,AMD x,y-1,AMD x,y-2,AMD x,y-3)。
3, the method for mobile detection in the video decoded device of three-dimensional comb type according to claim 1 filtering is characterized in that wherein saidly getting its minimum value and obtain MF in those average maximum differences X, y, be according to formula:
MF x,y=Min(AMD x,y,AMD x,y-3)。
4, the method for mobile detection in the video decoded device of a kind of three-dimensional comb type filtering is applicable to a PAL system, it is characterized in that this method comprises the following steps:
With 4 overtones bands of a subcarrier signal in the composite color television signal, this composite color television signal of taking a sample, and be when this subcarrier signal phase place is 0.25 π, 0.75 π, 1.25 π and 1.75 π, to do sampling;
Obtain and temporary most sampling data F according to sampling result mP X, y, F wherein mP X, yRepresent the sampling data of y capable picture element of the x of m picture frame in this composite color television signal, and m, x, y are the positive integer more than or equal to 0;
Calculate and obtain most luminance difference LD X, y, LD wherein X, yRepresent the luminance difference of y capable picture element of x, its calculating is according to formula:
LD x,y=|F mP x,y+F m-2P x,y-F m+1P x,y-F m-1P x,y|;
Calculate and obtain most temporary transient difference IMD X, y, IMD wherein X, yRepresent the temporary transient difference of y capable picture element of x, its calculating is according to formula:
IMD i,2j-1=Max{|F m+1P i,2j-1-F m-2P i,2j-1|,|F mP i,2j-1-F m-1P i,2j-1|};IMD i,2j=Max{|F m+1P i,2j-F mP i,2j|,|F m-1P i,2j-F m-2P i,2j|};
Calculate and obtain most MD X, y, MD wherein X, yRepresent the maximum difference of y the picture element that x is capable in m the picture frame, its calculating is according to formula:
MD x,y=a*IMD x,y+(1-a)*LD x,y
Wherein, a is greater than 0 and less than 1 real number, i, j are positive integer;
The optional MD that comprises X, y4 adjacent picture elements maximum difference and calculate its mean value, obtain most average maximum difference AMD X, h, AMD wherein X, hRepresent the average maximum difference of h capable picture element of x, h is a positive integer, and the calculating of aforementioned maximum difference is according to formula:
AMD x,h=(MD x,h+MD x,h+1+MD x,h+2+MD x,h+3)/4;
In those average maximum differences, get its minimum value, and obtain a moving characteristic value MF X, y, MF wherein X, yRepresent the moving characteristic value of y capable picture element of m picture frame x;
One critical value is provided; And
Compare MF X, yAnd this critical value, work as MF X, yDuring greater than this critical value, judge that promptly y the picture element that x is capable in this composite color television signal is dynamically, otherwise, then be judged to be static state.
5, the method for mobile detection in the video decoded device of three-dimensional comb type according to claim 4 filtering is characterized in that wherein saidly getting its minimum value and obtain MF in those average maximum differences X, y, be according to formula:
MF x,y=Min(AMD x,y,AMD x,y-1,AMD x,y-2,AMD x,y-3)。
6, the method for mobile detection in the video decoded device of three-dimensional comb type according to claim 4 filtering is characterized in that wherein saidly getting its minimum value and obtain MF in those average maximum differences X, y, be according to formula:
MF x,y=Min(AMD x,y,AMD x,y-3)。
CNB2003101160828A 2003-12-30 2003-12-30 Mobile sensing method for three-dimensional comb type filtering video signal decoder Expired - Fee Related CN100356798C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101160828A CN100356798C (en) 2003-12-30 2003-12-30 Mobile sensing method for three-dimensional comb type filtering video signal decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101160828A CN100356798C (en) 2003-12-30 2003-12-30 Mobile sensing method for three-dimensional comb type filtering video signal decoder

Publications (2)

Publication Number Publication Date
CN1635800A CN1635800A (en) 2005-07-06
CN100356798C true CN100356798C (en) 2007-12-19

Family

ID=34843560

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101160828A Expired - Fee Related CN100356798C (en) 2003-12-30 2003-12-30 Mobile sensing method for three-dimensional comb type filtering video signal decoder

Country Status (1)

Country Link
CN (1) CN100356798C (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1102927A (en) * 1993-05-14 1995-05-24 索尼公司 Three-dimensional motion detector
JP2001008228A (en) * 1999-06-21 2001-01-12 Matsushita Electric Ind Co Ltd Motion detection circuit and noise reduction device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1102927A (en) * 1993-05-14 1995-05-24 索尼公司 Three-dimensional motion detector
JP2001008228A (en) * 1999-06-21 2001-01-12 Matsushita Electric Ind Co Ltd Motion detection circuit and noise reduction device

Also Published As

Publication number Publication date
CN1635800A (en) 2005-07-06

Similar Documents

Publication Publication Date Title
US7274408B2 (en) [Method of motion detection for 3D comb filter video decoder]
CN106027886A (en) Method and system for implementing synchronous frames of panoramic video
JP4488791B2 (en) Motion detection method for 3D comb filter video decoder
US7453525B2 (en) Motion detector for a video display system
CN115100989A (en) Image color processing device, method and system
CN103686171A (en) Adaptive filtering separation video decoding device
TWI472232B (en) Video transmission by decoupling color components and apparatus thereof and processor readable tangible medium encoded with instructions
CN100356798C (en) Mobile sensing method for three-dimensional comb type filtering video signal decoder
CN113542864B (en) Video splash screen area detection method, device and equipment and readable storage medium
TWI325125B (en) Method and apparatus for detecting motion in an image display device
US8107011B2 (en) Method and system for video evaluation in the presence of cross-chroma interference
EP1585346B1 (en) Method of motion detection for 3D comb filter video decoder
US20040179141A1 (en) Method, apparatus, and system for reducing cross-color distortion in a composite video signal decoder
US8072546B2 (en) Method and apparatus for reducing cross-luminance in an image display device
TWI227630B (en) A method of inter-frame Y/C separation
EP1585314B1 (en) Method of motion detection for 3d comb filter video decoder
CN1635798A (en) Mobile sensing method for three-dimensional comb type filtering video signal decoder
CN100340120C (en) Multi-frame brightness/chroma separation method
TW201012231A (en) Color reconstruction system and method for SECAM television signal
US7236211B2 (en) Method of inter-frame Y/C separation
US8350962B2 (en) Method and system for video format conversion
EP1585347A1 (en) Method of inter-frame Y/C seperation of NTSC
CN1635799A (en) Multi-frame brightness/chroma separation method
KR20060026556A (en) Method for format conversion of image signal
TW200425750A (en) System and method for 2D Y/C adaptive separation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20071219

Termination date: 20151230

EXPY Termination of patent right or utility model