CN100426834C - 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
CN100426834C
CN100426834C CNB2004100066236A CN200410006623A CN100426834C CN 100426834 C CN100426834 C CN 100426834C CN B2004100066236 A CNB2004100066236 A CN B2004100066236A CN 200410006623 A CN200410006623 A CN 200410006623A CN 100426834 C CN100426834 C CN 100426834C
Authority
CN
China
Prior art keywords
displacement
field
judgment value
film mode
object 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.)
Expired - Fee Related
Application number
CNB2004100066236A
Other languages
Chinese (zh)
Other versions
CN1662035A (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

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

Abstract

The present invention provides a device for judging a film mode by the estimation of displacement and a method thereof. The present invention mainly uses each pixel as a target pixel and estimates the displacement and the changed state of each target pixel in another image field (a previous image or a next image) in each image field of visual signal data in the mode of the estimation of the displacement, whether the image field has image field displacement is further judged, and whether the visual signal data is the film mode is judged according to whether each image field has the image field displacement.

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 (inter 1aced 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 (odd field), another bigraph field of then being formed (even field) by the even-line interlace line.And the scanning of formula in proper order recently (progressivescanning) 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-2pull down film mode, an or 2-2pull 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 a kind of detection of film mode device in order to the film mode that detects a video signal data, this video signal data is one to be made up of a plurality of figure place, 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 carry out displacement according to an object pixel zone of this first figure field and estimate, to estimate of the displacement of this object pixel zone in this second figure field, and provide a motion vector and a similarity corresponding to this object pixel zone according to the result that displacement is estimated, and according to the magnitude relationship between this motion vector and this similarity and the first threshold, to produce this one first judgment value, wherein, on behalf of this object pixel zone, this first judgment value non-displacement is arranged; One figure field displacement judging unit, be coupled in this pixel displacement and estimate the unit, accumulative total is estimated this first judgment value corresponding to this object pixel zone that the unit provides according to this pixel displacement, generation corresponds to the count value of this first figure field, and relatively this count value and one second threshold value, correspond to one second judgment value of this first figure field with generation; 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 also provides a kind of method in order to the film mode that detects a video signal data, and 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; Carry out displacement according to an object pixel zone of this first figure field and estimate, estimating of the displacement of this object pixel zone, and provide a motion vector and a similarity corresponding to this object pixel zone according to the result that displacement is estimated in this second figure field; According to the magnitude relationship of this motion vector and this similarity and a first threshold, correspond to one first judgment value of this first figure field with generation; And described corresponding first judgment value of accumulative total, to produce a count value that corresponds to this first figure field; Produce one second judgment value that corresponds to this first figure field according to this count value and similarity.
The present invention also provides a kind of method in order to the film mode that detects a video signal data, and 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; Carry out displacement according to an object pixel zone of this first figure field and estimate, estimating of the displacement of this object pixel zone, and provide motion vector corresponding to this object pixel zone according to the result that displacement is estimated in this second figure field; The described motion vector of accumulative total is to produce a count value that corresponds to this first figure field; According to this count value and one second threshold value, correspond to second judgment value of this first figure field with generation; And the magnitude relationship of described second judgment value of foundation and one second threshold value produces a testing 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 the first threshold 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 threshold, 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 threshold 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 threshold 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-2pull down film mode, or a 2-2pu1l 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 a first threshold 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 threshold 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-2pull down film mode, or a 2-2pu1l 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 (6)

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, receive one first Tu Chang and one second figure field in this video signal data, and carry out displacement according to an object pixel zone of this first figure field and estimate, to estimate of the displacement of this object pixel zone in this second figure field, and provide a motion vector and a similarity corresponding to this object pixel zone according to the result that displacement is estimated, and according to the magnitude relationship between this motion vector and this similarity and the first threshold, to produce this one first judgment value, wherein, on behalf of this object pixel zone, this first judgment value non-displacement is arranged;
One figure field displacement judging unit, be coupled in this pixel displacement and estimate the unit, accumulative total is estimated this first judgment value corresponding to this object pixel zone that the unit provides according to this pixel displacement, generation corresponds to the count value of this first figure field, and relatively this count value and one second threshold value, correspond to one second judgment value of this first figure field with generation; 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 is estimated do displacement according to an object pixel of this first figure field, estimates this object pixel and can drop on position in this second figure field, obtains this motion vector.
3. detection of film mode device as claimed in claim 1, wherein this pixel displacement is estimated the unit and is comprised one first determining device, is coupled in this pixel displacement prediction device, when this motion vector is represented non-displacement, in order to according to relatively this similarity and this first threshold, 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;
Carry out displacement according to an object pixel zone of this first figure field and estimate, estimating of the displacement of this object pixel zone, and provide a motion vector and a similarity corresponding to this object pixel zone according to the result that displacement is estimated in this second figure field;
According to the magnitude relationship of this motion vector and this similarity and a first threshold, correspond to one first judgment value of this first figure field with generation; And
Described corresponding first judgment value of accumulative total is to produce a count value that corresponds to this first figure field;
Correspond to second judgment value of this first figure field according to the magnitude relationship generation one of this count value and one second threshold value.
6. method as claimed in claim 5, wherein when this motion vector was represented non-displacement, foundation is this similarity and a first threshold relatively, to produce this first judgment value.
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 CN1662035A (en) 2005-08-31
CN100426834C true 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)

Families Citing this family (1)

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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4876596A (en) * 1988-10-25 1989-10-24 Faroudja Y C Film-to-video converter with scan line doubling
CN1041466A (en) * 1988-09-23 1990-04-18 汤姆森日用电子产品公司 The method and apparatus of motion estimation in the animated image series
US4982280A (en) * 1989-07-18 1991-01-01 Yves C. Faroudja Motion sequence pattern detector for video
US20020181745A1 (en) * 2001-06-05 2002-12-05 Hu Shane Ching-Feng Multi-modal motion estimation for video sequences

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1041466A (en) * 1988-09-23 1990-04-18 汤姆森日用电子产品公司 The method and apparatus of motion estimation in the animated image series
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
US20020181745A1 (en) * 2001-06-05 2002-12-05 Hu Shane Ching-Feng Multi-modal motion estimation for video sequences

Also Published As

Publication number Publication date
CN1662035A (en) 2005-08-31

Similar Documents

Publication Publication Date Title
CN100396087C (en) Motion estimation apparatus, method, and machine-readable medium capable of detecting scrolling text and graphic data
CN101924873B (en) Image processing device and image processing method
CN100394782C (en) Image adaptive deinterlacing method and device based on edge
US20080025403A1 (en) Interpolation frame generating method and interpolation frame forming apparatus
CN101536508B (en) Image display device and image display method, and image processing device and image processing method
CN101444094B (en) Method for interpolating a previous and subsequent image of an input image sequence
US20080170161A1 (en) Image processing apparatus and image display apparatus provided with the same
US8184703B2 (en) Interpolated frame generating method and interpolated frame generating apparatus
CN101815197B (en) Image display system, image display apparatus, and control method for image display apparatus
US7412114B2 (en) Method of generating an interpolation image, an interpolation image generating apparatus, and an image display system using the same
CN101663885A (en) Image processing device and method, and image display device and method
CN101193201A (en) Interpolated frame generating method and interpolated frame generating apparatus
CN101170673A (en) Device for detecting occlusion area and method thereof
KR20070076337A (en) Edge area determining apparatus and edge area determining method
CN101990108B (en) Image detecting apparatus and method thereof
CN103369208A (en) Self-adaptive de-interlacing method and device
EP1158481B1 (en) A video display apparatus and display method
CN103093458A (en) Detecting method and detecting device for key frame
CN101146203A (en) Scan conversion apparatus
CN101819737B (en) Liquid crystal display and driving method thereof
CN101420615B (en) Method and device for detecting video field sequence and video processing system
US20080031338A1 (en) Interpolation frame generating method and interpolation frame generating apparatus
CN103379255B (en) Image processor and its processing method
CN104202555A (en) Method and device for deinterlacing
CN100426834C (en) Device for detecting film mode through estimation of motion vector and related method

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