CN1662035A - Device for detecting film mode through estimation of motion vector and related method - Google Patents

Device for detecting film mode through estimation of motion vector and related method Download PDF

Info

Publication number
CN1662035A
CN1662035A CN 200410006623 CN200410006623A CN1662035A CN 1662035 A CN1662035 A CN 1662035A CN 200410006623 CN200410006623 CN 200410006623 CN 200410006623 A CN200410006623 A CN 200410006623A CN 1662035 A CN1662035 A CN 1662035A
Authority
CN
China
Prior art keywords
field
displacement
judgment value
film mode
pixel
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.)
Granted
Application number
CN 200410006623
Other languages
Chinese (zh)
Other versions
CN100426834C (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.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CNB2004100066236A priority Critical patent/CN100426834C/en
Publication of CN1662035A publication Critical patent/CN1662035A/en
Application granted granted Critical
Publication of CN100426834C publication Critical patent/CN100426834C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Television Systems (AREA)

Abstract

In each image field of video data, the method for predicting displacement estimates state of displacement and change of each target pixel in another image field (previous image or next image) by using each pixel as target pixel. Further, whether there is displacement in the image field is determined. Then, based on determination of whether image displacement is occurred in each image field, it is determined whether the video data is in film mode.

Description

Detection of film mode device and correlation technique that motion vector is estimated
Technical field
The present invention relates to a kind of devices and methods therefor of detection of film mode, particularly a kind ofly utilize displacement to estimate (motion estimation) to judge the devices and methods therefor of a film mode (film mode).
Background technology
In traditional interleaved type scanning (interlaced scanning) technology, when desiring to demonstrate each image frame of a film, be actually two figure of will form this frame and do staggeredly to show that this mode is the persistence of vision effect that uses human eye, therefore can not feel that any different shape is arranged.These two figure, one of them Qi Tuchang that forms by odd-numbered scan lines (oddfield), another bigraph field of then being formed (even field) by the even-line interlace line.And the scanning of formula in proper order recently (progressivescarning) technology, be called noninterlaced scanning (non-interlaced scanning) again, then be earlier two figure field merging earlier that belong to same frame to be become a frame, scan this frame in regular turn with the horizontal frequency that doubles again, thus, the quality of picture and stability all can significantly promote.
Each other relation between correct each figure that detects video signal data, and judge according to this this video signal data whether be a film mode (for instance, it is a 3-2 pull down film mode, an or 2-2 pull down film mode), and impose correct deinterleaveization (for example merging two figure), it is necessary so handling.
Relevant known technology please refer to United States Patent (USP) No. 4982280, No. 6580463.
Summary of the invention
Therefore the object of the present invention is to provide and a kind ofly utilize displacement to estimate devices and methods therefor with the detection of film mode of judging a kind of film mode.
The invention provides and a kind ofly utilize displacement to estimate method and relevant apparatus to judge a kind of film mode, this method includes: carry out at least one displacement and estimate and determining step, so that receive two figure fields respectively as one first Tu Chang and one second figure field in this video signal data; Carrying out an object pixel displacement estimates and determining step, in this first figure field, to mark off at least one object pixel zone, and estimate and judge do displacement at each object pixel zone, provide one first judgment value with the result who estimates according to displacement corresponding to this object pixel zone; Carry out a figure field displacement determining step again,, correspond to one second judgment value of this first figure field with generation with according to each first corresponding judgment value of object pixel zone.Carry out each displacement estimate with determining step after, according to corresponding second judgment value that obtains as the first figure field of importing respectively with the difference figure field in this video signal data, judge whether this video signal data is a film mode, and this first figure field should with what figure occasion also.This detection of film mode device includes: at least one displacement is estimated and judge module, this displacement is estimated with judge module and included: a pixel displacement is estimated the unit, receive one first Tu Chang and one second figure field in this video signal data, and, provide a motion vector corresponding to this object pixel zone with a plurality of pixel regions in this second figure field according to an object pixel zone of this first figure field; One figure field displacement judging unit is coupled in this pixel displacement and estimates the unit, according to the corresponding motion vector in this first figure field, produces one second judgment value that corresponds to this first figure field; And a film mode detector, be coupled in this at least one displacement and estimate and judge module, receive this at least one second judgment value, produce a judged result.
The present invention can more correctly judge the film mode under the video signal data, and can further select the mode of correct deinterleaveization, correctly to handle video signal data.
Description of drawings
Fig. 1 is the functional block diagram of an embodiment of detection of film mode device of the present invention.
Fig. 2, Fig. 3, Fig. 4 and Fig. 5 carry out the flow chart of detection of film mode with technical spirit of the present invention for detection of film mode device among Fig. 1.
The reference numeral explanation
200: detection of film mode device 10,20,30: displacement is estimated and judge module
40: film mode detector 11,21,31: pixel displacement is estimated the unit
12,22,32: figure field displacement judging unit 13,23,33: pixel displacement prediction device
14,16,24,26,34,36: determining device 15,25,35: figure field displacement prediction device
17,27,37: counter 61,62,63,64,65,66: threshold value
Embodiment
See also Fig. 1, Fig. 1 is the functional block diagram of detection of film mode device 200 1 embodiment of the present invention.In general, the video signal data of interleaved type scanning is to be connected in series by each figure field, and detection of film mode device 200 of the present invention be exactly between a kind of utilization figure field displacement estimate (motion estimation) film mode (film mode) with the video signal data of judging input.As shown in Figure 1, detection of film mode device 200 includes three displacements to be estimated and judge module 10,20 and 30, with a film mode detector 40.Wherein, each displacement is estimated identical in fact with the structure of judge module 10,20 and 30.With displacement estimate with judge module 10 be example: this displacement is estimated and is included a pixel displacement with judge module 10 and estimate a unit 11 and a figure field displacement judging unit 12; It is one first Tu Chang and one second figure field that the input that pixel displacement is estimated unit 11 can receive two figure, and in the first figure field, mark off a plurality of object pixels zone, estimate and judge to carry out displacement at each object pixel zone of this first figure field, estimate of displacement and the variation of this object pixel zone, and provide one first judgment value D corresponding to this object pixel zone according to the result that displacement is estimated in this second figure field 1In preferred embodiment of the present invention, can only include a pixel in the object pixel zone, so can abbreviate object pixel as.
For realizing that pixel displacement estimates the function of unit 11, be provided with a pixel displacement prediction device 13 and one first determining device 14 in it.Pixel displacement prediction device 13 is in order to estimate do displacement for each object pixel of this first figure field, estimates this object pixel and can drop on certain position in this second figure field, and obtain a corresponding displacement estimation results.This displacement estimation results can include a motion vector (motion vector) MV_1, and a similarity S 1First determining device 14 is coupled in pixel displacement prediction device 13.First determining device 14 can be with a first threshold (threshold) 61 real works, in order to the motion vector MV_1 and the similarity S of foundation pixel displacement prediction device 13 outputs 1And the magnitude relationship between one first critical value is to produce first a judgment value D who corresponds to this object pixel 1, be used for representing this object pixel that non-displacement is arranged, if the value of this motion vector MV_1 is 0, and this similarity S 1During greater than this first critical value, represent that then this object pixel does not have displacement, at this moment this first judgment value D 1Value be 0; Otherwise represent that promptly this object pixel has displacement, and this first judgment value D 1Value just should be made as 1.
As for figure field displacement judging unit 12, then be coupled in pixel displacement and estimate unit 11, its comprehensively in this first figure field all each object pixels distinguish the first judgment value D of correspondence 1, correspond to one second judgment value D of this first figure field with generation 2For realizing above-mentioned functions, can be provided with individual figure field information (one field information) device 15 and 1 second determining device 16 in the figure field displacement judging unit 12.Figure field displacement prediction device 15 includes one first counter 17, in order to according to the corresponding separately first judgment value D of each object pixel in this first figure field 1, produce the one first count value C that corresponds to this first figure field with accumulative total 1And this first count value C 1Promptly represent the number that the object pixel of displacement is arranged in this first figure field.For example, if the first judgment value D of an object pixel of this first figure field 1Be 1, then with this first count value C 1Add 1; If this first judgment value D 1Be 0, then represent this object pixel non-displacement, so this first count value C 1Value constant.According to this operation principles, can be in regular turn each object pixel in the first figure field being added up this first count value C 1
Second determining device 16 is coupled in figure field displacement prediction device 15, in order to this first count value C of foundation figure field displacement prediction device 15 outputs 1, correspond to the second judgment value D of this first figure field with generation 2Second determining device 16 can be done with one second threshold value 62 is real, in order to this first count value C relatively 1With one second critical value, to produce this second a judgment value D that corresponds to this first figure field 2This second judgment value D 2Represent this first figure field to have or not the figure field displacement, as this second judgment value D 2Value during greater than this second critical value, represent that there is generation figure field displacement this first figure field, so with this second judgment value D 2Value be made as 1, otherwise then represent not generation figure field displacement of this first figure field, so can be with this second judgment value D 2Value be made as 0.
Estimate all devices and the function that includes with judge module 20 and 30 as for displacement, all similar basically in estimating in this displacement and 10 li corresponding all devices of judge module and function.Generally, detection of film mode device 200 promptly be in this video signal data, receive three adjacent figure fields respectively as before, during and after three figure: F N-1, F nAnd F N+1As shown in fig. 1 the meaning, this displacement estimate with judge module 10 be with scheme the field F n, F N-1Respectively as the first figure field and the second figure field imported, at a figure F nIn each object pixel produce the first corresponding judgment value D 1, and according to each first judgment value D 1Produce one second judgment value D 2In like manner, this displacement estimate with judge module 20 be to scheme F n, F N+1Respectively as the first figure field and the second figure field of input, with at a figure F nIn each object pixel produce the 3rd corresponding judgment value D 3, and according to each the 3rd judgment value D 3Produce one the 4th judgment value D 4Estimating and judge module 30 as for this displacement, then is to scheme a F N-1, F N+1Respectively as the first figure field and the second figure field of input, with at a figure F N-1In each object pixel produce the 5th corresponding judgment value D 5, and according to each the 5th judgment value D 5Add up, relatively draw one the 6th judgment value D 6
Film mode detector 40 is coupled in displacement and estimates and judge module 10,20 and 30, in order to according to this second, the 4th and the 6th judgment value D 2, D 4With D 6, to produce one the 7th judgment value D 7With one the 8th judgment value D 8The 7th judgment value D 7Representative graph field F nWhether affiliated video signal data is a film mode, and for instance, it is to be a 3-2 pull down film mode, or a 2-2 pull down film mode.And the 8th judgment value representative graph field F nWhether should with a figure F N-1Or figure is a F N+1Merge.
More than be preferred embodiment of the present invention, in addition, under another enforcement state of the present invention, can only estimate with judge module 10 and cooperate film mode detector 40, and be input as this first figure field F with a displacement nWith this second figure field F N-1, so can also accomplish to judge this first figure field F nWhether affiliated video signal data is a film mode, and this first figure field F nWhether should with this second figure field F N-1Merge.
Fig. 2, Fig. 3, Fig. 4 and Fig. 5 carry out the flow chart of detection of film mode with technical spirit of the present invention for device among Fig. 1.Three programs among Fig. 2 are please respectively with reference to figure 3, Fig. 4 and Fig. 5.This flow and method is to utilize displacement to estimate to judge whether a video signal data meets the method for particular film pattern.This flow and method by receive in this video signal data three adjacent figure fields respectively as before, during and after figure field F N-1, F nAnd F N+1As shown in Figure 2, after step 200, step 202 to step 216, step 302 to step 316 and step 402 to step 416 be used for respectively realizing that a displacement estimates and determining step; Finish after the step 216,316 and 416, can proceed to step 218 and 220, finish the flow process of this method.It is as follows that the step that is comprised with determining step is estimated in one displacement:
Step 200: begin to carry out testing process of the present invention;
Step 202: in this video signal data, receive a figure F nWith a figure F N-1Be its input;
Step 204: a figure F nIn M is arranged 1Individual pixel is with this M 1Individual pixel is numbered in regular turn; And N 1Be the numbering of a selected at present object pixel, represent that present object pixel is a figure F nInterior N 1Individual pixel; Set N 1=1;
Step 206: estimate do displacement at this object pixel, estimate this object pixel and can drop on figure field F N-1Certain interior position, to obtain the displacement estimation results of a correspondence, this displacement estimation results includes corresponding a motion vector MV_1 and a similarity S 1
Step 208: according to this motion vector MV_1 and this similarity S of each object pixel correspondence 1And the magnitude relationship between one first critical value is to produce the first judgment value D that corresponds to this object pixel 1, this first judgment value D 1Represent this object pixel that non-displacement is arranged;
Step 210: carry out individual figure field information step, according to a figure F nIn the corresponding separately first judgment value D of each object pixel 1, correspond to figure field F to add up to produce nThe first count value C 1, with representative graph field F nIn the number of the object pixel of displacement is arranged;
Step 212: judge whether this object pixel is figure field F nLast interior pixel promptly is N 1Whether equal M 1If then proceed to step 216; If not, then proceed to step 214;
Step 214: with N 1Value add 1, become new N 1Value, and present object pixel is a figure F nInterior N 1Individual pixel; Proceed to step 206;
Step 216: according to this first count value C 1And the magnitude relationship between one second critical value corresponds to figure field F to produce nThe second judgment value D 2, this second judgment value D 2Be representative graph field F nHave or not the figure field displacement;
Above step 206 can be used to realize that to step 208 an object pixel displacement estimates and determining step, and step 210 then can realize a figure field displacement determining step to step 216.
All similar in step 202 to step 216 to step 316 as for step 302, step 302 received is input as figure field F nWith a figure F N+1Step 402 is also all similar in step 202 to step 216 to step 416, and step 402 received is input as figure field F N-1With a figure F N+1The subsequent step of the flow process of this detection of film mode is as follows:
Step 218: according to this second judgment value D 2, the 4th judgment value D 4With the 6th judgment value D 6, producing a judged result, this judged result includes one the 7th judgment value D 7With one the 8th judgment value D 8The 7th judgment value D 7Be representative graph field F nWhether affiliated video signal data is a film mode, and for instance, it is to be a 3-2 pull down film mode, or a 2-2 pull down film mode.And the 8th judgment value D 8Representative graph field F nWhether should with a figure F N-1Or figure is a F N+1Merge; And
Step 220: finish.
More than be preferred embodiment of the present invention, however under another kind of enforcement situation of the present invention, also can be as if only using a displacement to estimate and determining step, promptly be step 202 to step 216, matching step 200, step 218 and step 220, and be input as figure field F nWith a figure F N-1So can also accomplish judgement figure field F nWhether affiliated video signal data is a film mode, and a figure F nWhether should with a figure F N-1Merge.
Compared to known technology, the present invention can more correctly judge the film mode under the video signal data, and can further select the mode of correct deinterleaveization, correctly to handle video signal data.
The above only is preferred embodiment of the present invention, and all equalizations of doing according to claim of the present invention change and modify, and all should belong to the covering scope of patent of the present invention.

Claims (10)

1. detection of film mode device in order to the film mode that detects a video signal data, this video signal data are one to be made up of a plurality of figure place, and this detection of film mode device includes:
At least one displacement is estimated and judge module, and this displacement is estimated with judge module and included:
One pixel displacement is estimated the unit, receives one first Tu Chang and one second figure field in this video signal data, and according to an object pixel zone of this first figure field, provides a motion vector corresponding to this object pixel zone with a plurality of pixel regions in this second figure field;
One figure field displacement judging unit is coupled in this pixel displacement and estimates the unit, according to the corresponding motion vector in this first figure field, produces one second judgment value that corresponds to this first figure field; And
One film mode detector is coupled in this at least one displacement and estimates and judge module, receives this at least one second judgment value, produces a judged result.
2. detection of film mode device as claimed in claim 1, wherein this pixel displacement is estimated unit pack and is contained:
One pixel displacement prediction device according to the object pixel zone of this first figure field and a plurality of pixel regions in this second figure field, obtains a motion vector.
3. detection of film mode device as claimed in claim 2, wherein this pixel displacement prediction device is exported a similarity, this pixel displacement is estimated the unit and is comprised one first determining device, be coupled in this pixel displacement prediction device, when this motion vector is represented non-displacement, in order to according to relatively this similarity and one first critical value, to produce this first judgment value.
4. detection of film mode device as claimed in claim 1, wherein this figure field displacement judging unit includes:
One figure field displacement prediction device is in order to described corresponding first judgment value of accumulative total, to produce a count value that corresponds to this first figure field; And
One second determining device is coupled in this figure field displacement prediction device, in order to according to this count value, to produce one second judgment value.
5. method in order to the film mode that detects a video signal data, this video signal data is made up of a plurality of figure place, and this method includes:
Receive one first Tu Chang and one second figure field;
Compare according to the object pixel zone of this first figure field and a plurality of pixel regions of this one second figure field, and obtain a motion vector and a similarity in corresponding this object pixel zone;
According to this motion vector and this similarity, correspond to one first judgment value of this first figure field with generation; And
According to described first judgment value, produce one second judgment value.
6. method as claimed in claim 5, wherein when this motion vector was represented non-displacement, foundation is this similarity and one first critical value relatively, to produce this first judgment value.
7. method as claimed in claim 5, the step that wherein produces this second judgment value comprises:
Described first judgment value of accumulative total is to produce a count value that corresponds to this first figure field; And
According to this count value and one second critical value, correspond to second judgment value of this first figure field with generation.
8. method in order to the film mode that detects a video signal data, this video signal data is made up of a plurality of figure place, and this method includes:
Receive one first Tu Chang and one second figure field;
Compare according to the object pixel zone of this first figure field and a plurality of pixel regions of this one second figure field, and obtain a motion vector in corresponding this object pixel zone;
According to described motion vector, correspond to one second judgment value of this first figure field with generation; And
According to described second judgment value, produce a testing result.
9. method as claimed in claim 8 also includes:
The described motion vector of accumulative total is to produce a count value that corresponds to this first figure field; And
According to this count value and one second critical value, correspond to second judgment value of this first figure field with generation.
10. detection of film mode device in order to the film mode that detects a video signal data, this video signal data are one to be made up of a plurality of figure place, and this device includes:
At least one displacement is estimated and judge module, and this displacement is estimated with judge module and included:
One pixel displacement is estimated the unit, receive one first Tu Chang and one second figure field in this video signal data, and, provide a motion vector and a similarity corresponding to this object pixel zone with a plurality of pixel regions in this second figure field according to an object pixel zone of this first figure field; And
One figure field displacement judging unit is coupled in this pixel displacement and estimates the unit, according to corresponding this motion vector and this similarity in this first figure field, produces one second judgment value that corresponds to this first figure field; And
One film mode detector is coupled in this at least one displacement and estimates and judge module, receives this at least one second judgment value, produces a judged result.
CNB2004100066236A 2004-02-25 2004-02-25 Device for detecting film mode through estimation of motion vector and related method Expired - Fee Related CN100426834C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100066236A CN100426834C (en) 2004-02-25 2004-02-25 Device for detecting film mode through estimation of motion vector and related method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100066236A CN100426834C (en) 2004-02-25 2004-02-25 Device for detecting film mode through estimation of motion vector and related method

Publications (2)

Publication Number Publication Date
CN1662035A true CN1662035A (en) 2005-08-31
CN100426834C CN100426834C (en) 2008-10-15

Family

ID=35011086

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100066236A Expired - Fee Related CN100426834C (en) 2004-02-25 2004-02-25 Device for detecting film mode through estimation of motion vector and related method

Country Status (1)

Country Link
CN (1) CN100426834C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527785A (en) * 2008-03-06 2009-09-09 瑞昱半导体股份有限公司 Method for detecting picture displacement and related device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2648254B2 (en) * 1988-09-23 1991-08-30 Thomson Csf METHOD AND DEVICE FOR ESTIMATING MOTION IN A SEQUENCE OF MOVED IMAGES
US4876596A (en) * 1988-10-25 1989-10-24 Faroudja Y C Film-to-video converter with scan line doubling
US4982280A (en) * 1989-07-18 1991-01-01 Yves C. Faroudja Motion sequence pattern detector for video
US6987866B2 (en) * 2001-06-05 2006-01-17 Micron Technology, Inc. Multi-modal motion estimation for video sequences

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527785A (en) * 2008-03-06 2009-09-09 瑞昱半导体股份有限公司 Method for detecting picture displacement and related device
CN101527785B (en) * 2008-03-06 2011-04-06 瑞昱半导体股份有限公司 Method for detecting picture displacement and related device

Also Published As

Publication number Publication date
CN100426834C (en) 2008-10-15

Similar Documents

Publication Publication Date Title
CN1503564A (en) Motion estimation apparatus, method, and machine-readable medium capable of detecting scrolling text and graphic data
CN1265633C (en) Interlacing-removing device and method
CN101803363B (en) Method and apparatus for line-based motion estimation in video image data
CN1207906C (en) Interlacing-removing device and method
CN1263281C (en) Image signal format detection device and method thereof
US8184703B2 (en) Interpolated frame generating method and interpolated frame generating apparatus
KR100450808B1 (en) Stillness judging device and scanning line interpolating device having it
US20080025403A1 (en) Interpolation frame generating method and interpolation frame forming apparatus
CN1681292A (en) Display apparatus
EP2077663A1 (en) Image display device and method, and image processing device and method
CN1162005C (en) Method and device for test and contour image correction
US20080123743A1 (en) Interpolated frame generating method and interpolated frame generating apparatus
CN103093458B (en) The detection method of key frame and device
CN101663885A (en) Image processing device and method, and image display device and method
CN1317900C (en) Apparatus and method for detecting a 2:2 pull-down sequence
CN101146203B (en) Scan conversion apparatus
CN1941854A (en) Detecting video format information in a sequence of video pictures
CN1258288C (en) Motion tester and testing method
CN101588444A (en) Interlacing removal method, interlacing removal device and video processing system for video data
CN1512773A (en) Image format converting device and method
CN102509311A (en) Motion detection method and device
US7446818B2 (en) Apparatus and related method for film mode detection using motion estimation
CN1293756C (en) Video signal processing apparatus, video signal processing method and video source determining method
CN1294532C (en) Text discrimination method and related apparatus
CN101247472A (en) De-interlacing processing method based on movement compensation

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

Termination date: 20170225

CF01 Termination of patent right due to non-payment of annual fee