Method of motion detection for 3D comb filter video decoder
First Claim
1. A method of motion detection for a 3D comb filter video decoder, comprising:
- sampling a composite video signal for obtaining a plurality of temporarily stored sampled data FmPx,y, wherein FmPx,y represents a sampled data of a yth pixel on an xth line of an mth frame in the composite video signal, and m, x, y are positive integers greater than or equal to 0, wherein the composite video signal is a signal for a PAL system, a frequency which is 4 times the subcarrier frequency in the composite video signal is used to sample the composite video signal, and the composite video signal is sampled when the subcarrier phase is equal to 0.25π
, 0.75π
, 1.25π
, and 1.75π
; and
using Fm+1Px,y, FmPx,y, Fm−
1Px,y, and Fm−
2Px,y to determine a motion/still status of the composite video signal, comprising;
using Fm+1Px,y, FmPx,y, Fm−
1Px,y, and Fm−
2Px,y to calculate and obtain a plurality of max differences MDx,y, wherein MDx,y represents a max difference of the yth pixel on the xth line;
averaging 4 max differences of the contiguous pixels selected to obtain a motion factor MFx,y, wherein MFx,y represents a motion factor of the yth pixel on the xth line; and
detecting MFx,y to determine the motion/still status of the yth pixel on the xth line in the composite video signal,wherein the step of calculating and obtaining MDx,y further comprises;
calculating and obtaining a plurality of luma differences LDx,y, wherein LDx,y represents a luma difference of the yth pixel on the xth line, and is calculated based on an equation;
LDx,y=|FmPx,y+Fm−
2Px,y−
Fm+1Px,y−
Fm−
1Px,y|;
calculating and obtaining a plurality of intermediate differences IMDx,y, wherein IMDx,y represents an intermediate difference of the yth pixel on the xth line, and is calculated based on an equation;
IMDi,2j−
1=Max{|Fm+1Pi,2j−
1−
Fm−
2Pi,2j−
1|, |FmPi,2j−
1−
Fm−
1Pi,2j−
1|};
IMDi,2j=Max{|Fm+1Pi,2j−
FmPi,2j|, |Fm−
1Pi,2j−
Fm−
2Pi,2j|}; and
calculating and obtaining MDx,y, which is calculated based on an equation;
MDx,y=a*IMDx,y+(1−
a)*LDx,y;
wherein, a is a real number greater than 0 and less than 1, and i, j are positive integers.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of motion detection for a 3D comb filter video decoder is disclosed. In this method, a plurality of sampled data FmPx,y is obtained and temporarily stored after a composite video signal is sampled, wherein FmPx,y represents a sampled data of the yth pixel on the xth line of the mth frame inside the composite video signal, and m, x, y are positive integers greater than or equal to 0. Then, Fm+1Px,y, FmPx,y, Fm−1Px,y, and Fm−2Px,y are used to determine a motion/still status of the composite video signal. Since the present invention performs the motion detection according to the composite video signal whose Y/C has not been separated yet, the present invention can accurately determine the motion level.
50 Citations
10 Claims
-
1. A method of motion detection for a 3D comb filter video decoder, comprising:
-
sampling a composite video signal for obtaining a plurality of temporarily stored sampled data FmPx,y, wherein FmPx,y represents a sampled data of a yth pixel on an xth line of an mth frame in the composite video signal, and m, x, y are positive integers greater than or equal to 0, wherein the composite video signal is a signal for a PAL system, a frequency which is 4 times the subcarrier frequency in the composite video signal is used to sample the composite video signal, and the composite video signal is sampled when the subcarrier phase is equal to 0.25π
, 0.75π
, 1.25π
, and 1.75π
; andusing Fm+1Px,y, FmPx,y, Fm−
1Px,y, and Fm−
2Px,y to determine a motion/still status of the composite video signal, comprising;using Fm+1Px,y, FmPx,y, Fm−
1Px,y, and Fm−
2Px,y to calculate and obtain a plurality of max differences MDx,y, wherein MDx,y represents a max difference of the yth pixel on the xth line;averaging 4 max differences of the contiguous pixels selected to obtain a motion factor MFx,y, wherein MFx,y represents a motion factor of the yth pixel on the xth line; and detecting MFx,y to determine the motion/still status of the yth pixel on the xth line in the composite video signal, wherein the step of calculating and obtaining MDx,y further comprises; calculating and obtaining a plurality of luma differences LDx,y, wherein LDx,y represents a luma difference of the yth pixel on the xth line, and is calculated based on an equation;
LDx,y=|FmPx,y+Fm−
2Px,y−
Fm+1Px,y−
Fm−
1Px,y|;calculating and obtaining a plurality of intermediate differences IMDx,y, wherein IMDx,y represents an intermediate difference of the yth pixel on the xth line, and is calculated based on an equation;
IMDi,2j−
1=Max{|Fm+1Pi,2j−
1−
Fm−
2Pi,2j−
1|, |FmPi,2j−
1−
Fm−
1Pi,2j−
1|};
IMDi,2j=Max{|Fm+1Pi,2j−
FmPi,2j|, |Fm−
1Pi,2j−
Fm−
2Pi,2j|}; andcalculating and obtaining MDx,y, which is calculated based on an equation;
MDx,y=a*IMDx,y+(1−
a)*LDx,y;wherein, a is a real number greater than 0 and less than 1, and i, j are positive integers.
-
-
2. A method of motion detection for a 3D comb filter video decoder, comprising:
-
sampling a composite video signal for obtaining a plurality of temporarily stored sampled data FmPx,y, wherein FmPx,y represents a sampled data of a yth pixel on an xth line of an mth frame in the composite video signal, and m, x, y are positive integers greater than or equal to 0; and using Fm+1Px,y, FmPx,y, Fm−
1Px,y, and Fm−
2Px,y to determine a motion/still status of the composite video signal, comprising;using Fm+1Px,y, FmPx,y, Fm−
1Px,y, and Fm−
2Px,y to calculate and obtain a plurality of max differences MDx,y, wherein MDx,y represents a max difference of the yth pixel on the xth line;averaging 4 max differences of the contiguous pixels selected to obtain a motion factor MFx,y, wherein MFx,y represents a motion factor of the yth pixel on the xth line; and detecting MFx,y to determine the motion/still status of the yth pixel on the xth line in the composite video signal, wherein the step of obtaining MFx,y further comprises; averaging 4 max differences of the contiguous pixels selected to obtain a plurality of max differences AMDx,h, wherein AMDx,h represents an average of max difference of a hth pixel on the xth line, h is a positive integer, and AMDx,h is calculated based on an equation;
AMDx,h=(MDx,h+MDx,h+1+MDx,h+2+MDx,h+3)/4; andselecting a minimum from the averages of max difference to obtain a motion factor MFx,y, wherein MFx,y represents a motion factor of the yth pixel on the xth line, wherein the step of selecting a minimum from the averages of max difference to obtain MFx,y is based on an equation;
MFx,y=Min(AMDx,y, AMDx,y−
1, AMDx,y−
2, AMDx,y−
3), andwherein the step of selecting a minimum from the averages of max difference to obtain MFx,y is based on an equation;
MFx,y=Min(AMDx,y, AMDx,y−
3).
-
-
3. A method of motion detection for a 3D comb filter video decoder, comprising:
-
sampling a composite video signal to obtain a sampled data Fm+1Px,y, wherein Fm+1Px,y represents a sampled data of a yth pixel on an xth line of an (m+1)th frame in the composite video signal, and m, x, y are positive integers greater than or equal to 0, wherein the composite video signal is a signal for an NTSC system, and sampling the composite video signal uses a frequency which is 4 times the subcarrier frequency in the composite video signal to sample; and obtaining three stored sampled data FmPx,y, Fm−
1Px,y, Fm−
2Px,y, previously sequentially sampled directly from the composite video signal and stored in a storing means, wherein the sampled data Fm+1Px,y and the three previously sequentially sampled data FmPx,y, Fm−
1Px,y, Fm−
2Px,y are obtained by directly sampling the composite video signal when the subcarrier phase is equal to 0, 0.5π
, π
, and 1.5π
, sequentially;using the sampled data Fm+1Px,y and the three stored sampled data FmPx,y, Fm−
1Px,y, Fm−
2Px,y to determine a motion/still status of the composite video signal, comprising;using Fm+1Px,y, FmPx,y, Fm−
1Px,y, and Fm−
2Px,y to calculate and obtain a plurality of max differences MDx,y, wherein MDx,y represents a max difference of the yth pixel on the xth line;averaging 4 max differences of the contiguous pixels selected to obtain a motion factor MFx,y, wherein MFx,y represents a motion factor of the yth pixel on the xth line; and detecting MFx,y to determine the motion/still status of the yth pixel on the xth line in the composite video signal. - View Dependent Claims (4, 5, 6)
-
-
7. A method of motion detection for a 3D comb filter video decoder, comprising:
-
sampling a composite video signal to obtain a sampled data Fm+1Px,y, wherein Fm+1Px,y represents a sampled data of a yth pixel on an xth line of an (m+1)th frame in the composite video signal, and m, x, y are positive integers greater than or equal to 0, wherein the composite video signal is a signal for a PAL system, and sampling the composite video signal uses a frequency which is 4 times the subcarrier frequency in the composite video signal to sample; and obtaining three stored sampled data FmPx,y, Fm−
1Px,y, Fm−
2Px,y, previously sequentially sampled directly from the composite video signal and stored in a storing means, wherein the sampled data Fm+1Px,y and the three previously sequentially sampled data FmPx,y, Fm−
1Px,y, Fm−
2Px,y are obtained by directly sampling the composite video signal when the subcarrier phase is equal to 0.25π
, 0.75π
, 1.25π
, and 1.75π
, sequentially;using the sampled data Fm+1Px,y and the three stored sampled data FmPx,y, Fm−
1Px,y, Fm−
2Px,y to determine a motion/still status of the composite video signal, comprising;using Fm+1Px,y, FmPx,y, Fm−
1Px,y, and Fm−
2Px,y to calculate and obtain a plurality of max differences MDx,y, wherein MDx,y represents a max difference of the yth pixel on the xth line;averaging 4 max differences of the contiguous pixels selected to obtain a motion factor MFx,y, wherein MFx,y represents a motion factor of the yth pixel on the xth line; and detecting MFx,y to determine the motion/still status of the yth pixel on the xth line in the composite video signal. - View Dependent Claims (8, 9, 10)
-
Specification