CN101442680B - Method for detecting image displacement - Google Patents

Method for detecting image displacement Download PDF

Info

Publication number
CN101442680B
CN101442680B CN2007101936409A CN200710193640A CN101442680B CN 101442680 B CN101442680 B CN 101442680B CN 2007101936409 A CN2007101936409 A CN 2007101936409A CN 200710193640 A CN200710193640 A CN 200710193640A CN 101442680 B CN101442680 B CN 101442680B
Authority
CN
China
Prior art keywords
pixel
frame
target frame
auxiliary
reference 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.)
Active
Application number
CN2007101936409A
Other languages
Chinese (zh)
Other versions
CN101442680A (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 CN2007101936409A priority Critical patent/CN101442680B/en
Publication of CN101442680A publication Critical patent/CN101442680A/en
Application granted granted Critical
Publication of CN101442680B publication Critical patent/CN101442680B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses a method for detecting image displacement. The method is to use a scanning line at which a target pixel is positioned and a corresponding scanning line in another reference frame. The method for detecting image displacement comprises: comparing the variation tendency of the pixel values of the scanning line and the corresponding scanning line to obtain a first judgment result; comparing the mean of the pixel values of the scanning line and the corresponding scanning line to obtain a second judgment result; and determining the displacement of the target pixel based on the first judgment result and the second judgment result.

Description

Method for detecting image displacement
Technical field
The present invention relates to a kind of image processing method, especially relate to a kind of method for detecting image displacement.
Background technology
In general, view data is transmitted by a composite signal (composite signal), composite signal then carries monochrome information (luminance information) and chroma information (chrominance information), and chroma information is additional on the high-frequency signal of monochrome information in the mode of modulation.
Therefore, after receiving composite signal, picture decoder (video decoder) just needs monochrome information that composite signal is entrained and chroma information separated to come out, and carrying out subsequent image processing, and such operation just is referred to as the brightness chroma and separates (Y/C separation).
Known as industry, Y/C separates roughly can three kinds of different modes of operation, and its Y/C that is respectively two dimension separates, three-dimensional Y/C separates and marginal Y/C separates.
As its name suggests, two-dimentional Y/C separation is finished with reference to the information of two dimension, and in other words, the Y/C of the two dimension separation same picture of foundation (frame) is gone up the relation of each pixel and neighborhood pixels and handled; Such practice generally is used on the dynamic image, and this is because in dynamic image, each opens picture all can be variant, therefore if carrying out Y/C with reference to the respective pixel of different pictures separates, can cause distortion to image on the contrary.
It then is that the three-dimensional information of reference is finished that the Y/C of three-dimensional separates, and in other words, three-dimensional Y/C separation is handled according to the relation each other of the respective pixel of different pictures (frame); Such practice generally is used on the static image, this is because in the image of static state, each point all can have identical brightness value and chroma value on the different pictures in theory, therefore just can correct brightness and chroma value be restored by simple 3D filtering operation (for example in average mode).
Another mode then is the Y/C lock out operation between two dimension and three-dimensional, such operation is the displacement relation (such as its static degree) according to image, decide two dimension and three-dimensional weight (allocation proportion), and then reach the purpose that Y/C separates in the mode of mixing.
By as can be known aforementioned, the dealer must take different Y/C separate modes to having image of different nature, so just can keep picture quality.In other words, before selecting to carry out the mode of Y/C separation, must first character (being aforesaid picture displacement situation) detect, and after the displacement situation of differentiating image, select a suitable processing mode according to its displacement situation again image.
Yet, the displacement detecting not a duck soup of image.For instance because picture signal is subjected to interference of noise through regular meeting, therefore, when image when carrying out displacement detecting, be difficult to sometimes accurately differentiate detected high-frequency phenomena, be the character that comes from image itself, or the result of noise jamming.By as can be known aforementioned,, so just can directly influence the selection that Y/C separates, and then make picture quality poorer if the displacement situation of image is judged by accident.For instance,, and adopt the Y/C lock out operation of two dimension, so at object boundary or the flicker or the problem of film color just appear in lines intersection easily if static part is mistaken for and has displacement in the image.
Therefore, the displacement detecting of image just becomes one to closing great problem for image processing.
Summary of the invention
Therefore one of main purpose of the present invention is to provide a kind of method for detecting image displacement, to produce more suitable displacement information, and then make brightness chroma separating resulting thereafter can more meet the character of image, and reduce the distortion of image, to solve the problem of known technology.
According to one embodiment of the invention, it discloses a kind of method for detecting image displacement, it includes: receive a composite signal (composite signal), this composite signal carries a target frame and a reference frame at least, and this target frame is identical with the carrier phase of the chroma of this reference frame; For the object pixel in this target frame (target pixel), obtain one first reference pixel and obtain one second reference pixel and one the 3rd reference pixel in this target frame in this reference frame, wherein this first reference pixel and this object pixel are positioned at the target scanning lines on this target frame, and this second reference pixel and the 3rd reference pixel are respectively to should object pixel and this first reference pixel; Detect whether jack per line of difference between this object pixel and this first reference pixel and the difference between this second reference pixel and the 3rd reference pixel, to produce one first judged result; Calculate one first value differences between this object pixel and this first reference pixel and the difference between one second value differences between this second reference pixel and the 3rd reference pixel, and relatively this difference and a predetermined threshold, to produce one second judged result; According to this object pixel, obtain one first many pixels from this target frame, and obtain one second many pixels from this reference frame, wherein this more than second pixel is to should more than first pixel, wherein, with this object pixel is the center, obtains more than first pixel of the line segment on the scan line at this object pixel place in this target frame, and obtains more than second pixel of a corresponding line segment on this reference frame; The result that subtracts each other to the pixel of the pixel of this more than first pixel and this more than second pixel is weighted average calculating operation, and a result and the predetermined threshold that the data after this weighted average computing are carried out signed magnitude arithmetic(al) relatively is to produce one the 3rd judged result; And according to this first, second, third judged result, judge the displacement situation of this object pixel, wherein this second reference pixel be in this reference frame to the pixel of position that should object pixel, and the 3rd reference pixel is to the pixel of position that should first reference pixel in this reference frame.
According to another embodiment of the present invention, also disclose a kind of method for detecting image displacement, it includes: receive a composite signal (composite signal), this composite signal carries a target frame and a reference frame at least, and this target frame is identical with the carrier phase of the chroma of this reference frame; For the object pixel in this target frame (target pixel), obtain a reference zone in this target frame, this reference zone includes a plurality of auxiliary pixels; For each auxiliary pixel in these a plurality of auxiliary pixels, obtain one first reference pixel in this target frame, and obtain one second reference pixel and one the 3rd reference pixel from this reference frame, wherein this first reference pixel and this auxiliary pixel are positioned at the same scan line on this target frame, and this second reference pixel and the 3rd reference pixel are respectively to should object pixel and this first reference pixel; Detect whether jack per line of difference between this auxiliary pixel and this first reference pixel and the difference between this second reference pixel and the 3rd reference pixel, to produce one first judged result; Calculate one first value differences between this auxiliary pixel and this first reference pixel and the difference between one second value differences between this second reference pixel and the 3rd reference pixel, and relatively this difference and a predetermined threshold, to produce one second judged result; According to this auxiliary pixel, obtain one first many pixels from this target frame, and obtain one second many pixels from this reference frame, wherein this more than second pixel is to should more than first pixel, wherein, with this object pixel is the center, obtains more than first pixel of the line segment on the scan line at this object pixel place in this target frame, and obtains more than second pixel of a corresponding line segment on this reference frame; The result that subtracts each other to the pixel of the pixel of this more than first pixel and this more than second pixel is weighted average calculating operation, and a result and the predetermined threshold that the data after this weighted average computing are carried out signed magnitude arithmetic(al) relatively is to produce one the 3rd judged result; According to this first, second, third judged result, obtain the displacement information of this auxiliary pixel; And according to the displacement situation of each auxiliary pixel, judge the displacement situation of this object pixel, wherein this second reference pixel be in this reference frame to the pixel of position that should auxiliary pixel, and the 3rd reference pixel is to the pixel of position that should neighborhood pixels in this reference frame.
According to another embodiment of the present invention, also disclose a kind of method for detecting image displacement, it includes: receive a composite signal (composite signal), this composite signal carries a target frame and a reference frame at least; For the object pixel in this target frame (target pixel), obtain one first subclass of a target scanning lines at this object pixel place in this target frame, and obtain one second subclass in this reference frame, this second subclass is to should first subclass; The fluctuation of pixel values trend of this first subclass and this second subclass relatively is to produce one first judged result; The pixel value mean value of this first subclass and this second subclass relatively is to produce one second judged result; And, determine the displacement situation of this object pixel according to this first judged result and this second judged result.
Method for detecting image displacement of the present invention is the displacement situation of detected image more suitably, therefore can provide better displacement information, can correctly carry out so that Y/C thereafter separates, and then promote the efficient and the picture quality of image processing according to the character of image itself.
Description of drawings
Fig. 1 is the schematic diagram of three continuous pictures (frame) F1, F2, F3 in the NTSC picture system.
Fig. 2 is the simple and easy schematic diagram of two corresponding scan lines in the frame with same phase.
Fig. 3 is the flow chart of the present invention one method embodiment.
Fig. 4 is the schematic diagram of an embodiment of picture displacement checkout gear of the present invention.
Fig. 5 is the flow chart of other method embodiment of the present invention.
The reference numeral explanation
410,420 value differences computing modules
411,421 delay cells
412,422,441,451 subtrators
430 jack per line judge modules
431,432 sign judging units
433,443,454 judge modules
440 residual quantity computing modules
442,453 looks are to the value arithmetic element
450 mean value residual quantity computing modules
452 low pass filters
460 with the door
Embodiment
Among following disclosure, for convenience of explanation, method for detecting image displacement of the present invention is applied to a NTSC picture system, yet the NTSC picture system only is one embodiment of the invention, but not restriction of the present invention.
Known as industry, in the NTSC picture system, when signal transmits, can convert the RGB picture signal to the YUV picture signal earlier, and chroma information and monochrome information are modulated into a composite signal (as previously mentioned, chroma signals is additional to the HFS of luminance signal), and composite signal can be represented by following equation:
Composite?signal=Y+Usin(wt)+Vcos(wt)
Wherein Y is a luminance signal, and U, V are chroma signals.
Please refer to 1 at this, Fig. 1 is the schematic diagram of three continuous pictures (frame) F1, F2, F3 in the NTSC picture system.Because carrier wave is arranged above the chroma signals, and define the carrier wave anti-phase (phase phasic difference 180 degree) of two scan lines up and down in the NTSC picture system, therefore as shown in Figure 1, the chroma carrier phase of adjacent two scan lines is opposite in each frame.In addition, because general every frame has 525 scan lines, therefore between two scan lines of same position, also has the phase difference of 180 degree in adjacent two frames, equally as shown in Figure 1.
According to aforesaid principle, then in Fig. 1, each pixel all is denoted as Y+C or Y-C, and wherein Y is the monochrome information of pixel, and C then is the chroma information (that is aforesaid U and V) of pixel; Also therefore by among the figure as can be known, in the NTSC picture system, first frame has identical chroma carrier phase with the 3rd frame; And in fact, as long as be separated by odd-numbered frame between two frames, the phase place of the chroma carrier wave of this two frame just can be identical so.
Therefore, in theory, in two identical frames of chroma carrier phase, the influence of the suffered chroma carrier phase of the pixel value of its interior pixels is identical; In other words, if image belongs to a rest image, the frame (for example first frame F1 and the 3rd frame F3 among Fig. 1) that has same phase in theory can have identical pixel value.
In addition, even composite signal is subjected to noise jamming, but for a still frame (or stationary part of a picture), the variation of the brightness chroma value of its most of pixel only has a little change, and can be too inviolent.
The present invention utilizes aforesaid character to carry out the displacement detecting of image, and its detailed principle will be stated in disclosure thereafter with operation.
Please refer to Fig. 2 at this, Fig. 2 is the simple and easy schematic diagram of the corresponding scan line of (for example first frame F1 among Fig. 1 and the 3rd frame F3) in two frames with same phase.For simplicity, in Fig. 2 figure, only illustrated 11 pixels (A1-A11, B1-B11) in the scan line, and its corresponding pixel value also is shown in the side.
The principle of displacement detecting of the present invention is as described below:
For the corresponding scan line of two frames that is be positioned at the scan line (for example being all N bar scan line) of same position, if the corresponding rest image of picture, two scan lines can have following characteristic so haply:
The pixel fluctuation tendency of each pixel can be quite close on the first: two scan line.In the present embodiment, fluctuation tendency refers to the increase and decrease direction of pixel value and the value size of its increase and decrease.For instance, in Fig. 2, if compare the fluctuation tendency of A4-A6 and B4-B6, because the sign difference of the difference of its adjacent two pixels, so A4-A6 can be regarded as different with the fluctuation tendency of B4-B6.And for A7-A11 and B7-B11, though the increase and decrease direction of its pixel value is quite similar, the difference between the pixel excessive (such as A10-A9=-4, but B10-B9=-16), so the fluctuation tendency of A7-A11 and B7-B11 also is not quite similar.In Fig. 2, only there are A1-A4 and B1-B4 to meet aforesaid requirement, it has similar fluctuation tendency.
Second: the mean value of signal is close.Its brightness size of the close representative of mean value is similar, so just can meet the characteristic of still frame; Even it is note that at this signal is subjected to noise jamming, also not too large for the influence of mean value, therefore, in Fig. 2, the present invention can be compared the mean value of A1-A11 and the mean value of B1-B11, and detects difference between the mean value whether within permissible scope.
Please refer to Fig. 3 at this, Fig. 3 is the flow chart of the present invention one method embodiment.It includes the following step:
Step 300:, on a reference frame, obtain a corresponding pixel for the object pixel in the target frame.In the present embodiment, this target frame and this reference frame can be example with the 3rd frame F3 and first frame F1 among Fig. 1 respectively, but the present invention is not as limit;
Step 310: detect this object pixel and be located on whether jack per line of the value differences of the neighborhood pixels in this target frame and this respective pixel is located on the neighborhood pixels in this reference frame with it value differences with it, if then be connected to step 320, otherwise be connected to step 360;
Step 320: whether the above-mentioned value differences residual quantity each other that detects the above-mentioned value differences of this object pixel and its neighborhood pixels and this respective pixel and its neighborhood pixels is less than a predetermined threshold Th1, if then be connected to step 330, otherwise be connected to step 360
Step 330: with this object pixel is the center, obtains the line segment on the scan line at this object pixel place in this target frame, and obtain a corresponding line segment on this reference frame, is connected to step 340;
Step 340: the residual quantity of calculating the mean value of each pixel on the corresponding line segment of mean value of each pixel on this line segment in this target frame with this, and whether detect residual quantity between two mean values less than a predetermined threshold Th2, if then be connected to step 350, otherwise be connected to step 360;
Step 350: judge that this object pixel is one static (still) pixel;
Step 360: judge this object pixel non-static (still) pixel.
Note that the operation of displacement detecting operation of the present invention based on pixel (pixel-based) at this, in other words, displacement detecting of the present invention is that pixel of a pixel is carried out in proper order, and non-once determines the displacement property of an image-region.
At first, be arranged in a target frame (for example frame F3) pixel to be processed (object pixel) for one, must obtain a reference pixel that is arranged in a reference frame (for example frame F1) earlier, with the displacement situation (step 300) of auxiliary judgment object pixel in operation thereafter.Continue to be illustrated at this with the example of Fig. 2.
The hypothetical target pixel is A2, must obtain earlier a corresponding pixel B 2 (step 300) so from reference frame.Then, present embodiment just can detect object pixel A2 and respective pixel B2 concerns each other, and for instance, whether the present invention detects this object pixel has identical fluctuation of pixel values trend with this reference pixel.
Therefore, the present invention can calculate the value differences of A2 and A3 (or A1) and the value differences of B2 and B3 (or B1), and detect whether jack per line (step 310) of two value differences, as previously mentioned, if two value differences jack per lines, represent that then two pixels may have identical fluctuation tendency, therefore just continue to calculate two value differences residual quantity (step 320) each other, if this residual quantity is less than a predetermined threshold Th1, the present invention can judge that just object pixel A2 has identical fluctuation tendency with reference pixel B2.
Then, meeting of the present invention is the center with object pixel A2, obtain the line segment (such as A1-A3) on the scan line at this object pixel A2 place, and on this reference frame, obtain a corresponding line segment (B1-B3) (step 330), then, as previously mentioned, the present invention just can calculate the pixel average of each pixel on two line segments, and calculate the residual quantity of two pixel average, and this residual quantity and another predetermined threshold Th2 are compared (step 340).
At this moment, if on behalf of object pixel A2, the residual quantity of two pixel average meet aforesaid principle so also less than predetermined threshold Th2, therefore, the present invention just can be considered as it static pixel (step 350).
On the other hand, in step 310,320,340, if having arbitrary step to occur not meet the situation of predetermined condition, for fear of the dynamic image erroneous judgement is still image, the present invention just can be considered as object pixel one dynamic image so.
For instance, if object pixel is A5, because the difference of the difference of A5 and A4 and B5 and B4 jack per line not, so just do not meet the condition of step 310, therefore, the present invention just can be considered as object pixel A5 dynamic image.
On the other hand, if object pixel is A10, as previously mentioned, because pixel value residual quantity between A10 and the A9 and the pixel value residual quantity between B10 and the B9 differ too big (surpassing this predetermined threshold), therefore just do not meet the condition of step 320, therefore, the present invention also can be considered as object pixel A10 dynamic image.
Note that at this present invention does not limit the position of neighborhood pixels; For instance, if object pixel is A2, the present invention does not limit neighborhood pixels and is necessary for A1 or A3, and but, if neighborhood pixels is A1, the neighborhood pixels of reference pixel B2 then is necessary for corresponding B2 so.
In addition, the present invention does not limit the length of this line segment yet; In the foregoing embodiments, line segment is formed with three pixels (A1-A3), yet such practice is not restriction of the present invention.In practical application, line segment more pixel is formed, such as 5,7 or more pixels, and so corresponding variation also belongs to category of the present invention.
Only be one embodiment of the invention in this order that note that aforementioned each step, but not restriction of the present invention.In practical application, the present invention can carry out a plurality of steps (such as step 310,320,340) simultaneously, or carries out with different orders, and so corresponding variation is also without prejudice to spirit of the present invention.
Judge the displacement situation of object pixel as the present invention after, just can after the Y/C lock out operation, correctly adopt the Y/C of 2D or 3D to separate, so that image is carried out suitable processing, and then promote the quality of general image.
Please refer to Fig. 4 at this, Fig. 4 is the schematic diagram of an embodiment of picture displacement checkout gear 400 of the present invention.Note that at this picture displacement checkout gear 400 is used for carrying out aforesaid step 300-360.
Value differences computing module 410 and 420 is used for calculating the pixel difference value of object pixel (reference pixel) and its neighborhood pixels, and it includes a delay cell 411,421 and a subtrator 412,422 respectively; Wherein, delay cell 411 is used for object pixel is carried out a specific delays (i.e. time difference between this object pixel and the neighborhood pixels thereof), therefore, when receiving its neighborhood pixels, subtrator 412 just can carry out subtraction to it, to calculate the pixel difference value of object pixel and its neighborhood pixels.And delay cell 421 has identical running with the running and the delay cell 411 of subtrator 422 with subtrator 412, so do not give unnecessary details in this in addition.
Then, jack per line judge module 430 just can receive value differences computing module 410 and 420 value differences of being calculated respectively, to judge whether jack per line of two value differences.Wherein, jack per line judge module 430 comprises two sign judging units 431,432, and whether it receives value differences computing module 410 and 420 value differences of being calculated respectively, and export greater than 0 according to its value differences.For instance, sign judging unit 431,432 can be in value differences greater than 0 o'clock, and the output logic value is 1 signal, otherwise output logic 0 then.Thereafter, judge module 433 just can be judged whether jack per line of two value differences, for instance, if when sign judging unit 431,432 is output as 1 (or being 0) simultaneously, judge module 433 just can the output logic value be 1 signal, otherwise output logic 0 (corresponding to step 310) then.
And residual quantity computing module 440 is used for calculating two value differences residual quantity each other.Residual quantity computing module 440 includes a subtrator 441 and a signed magnitude arithmetic(al) unit 442; Subtrator 441 is used for two value differences are carried out subtraction, and its result of calculation is then delivered to signed magnitude arithmetic(al) unit 442, and signed magnitude arithmetic(al) unit 442 carries out signed magnitude arithmetic(al) to it, to calculate two pixel values residual quantity each other.
At last, judge module 443 just can compare aforesaid residual quantity and predetermined threshold Th1, if this residual quantity is greater than predetermined threshold Th1, judge module just can output logic 0 so, otherwise judge module 443 just can output logic 1 (corresponding to step 320).
On the other hand, mean value residual quantity computing module 450 can calculate the mean value residual quantity of aforementioned two line segments.Mean value residual quantity computing module 450 includes a subtrator 451, a low pass filter (low-passfilter) 452, a signed magnitude arithmetic(al) unit 453.
Wherein, subtrator 451 is used for two line segments are carried out subtraction process, and its operation result can be passed to low pass filter 452.In the present embodiment, low pass filter 452 can be considered as a weighted average arithmetic element (certainly, also can only be a simple averaging unit), and it can be weighted average calculating operation to the operation result of subtrator (that is per two pixels subtract each other result); Then, signed magnitude arithmetic(al) module 453 can be carried out signed magnitude arithmetic(al) with the numerical value after the weighted average computing, to calculate the residual quantity of two line segments.
At last, judge module 454 can compare residual quantity and a predetermined threshold TH2 of two line segments, as if this residual quantity less than predetermined threshold TH2, so just can output logic value 1, on the contrary output logic value 0 (corresponding to step 340) then.
Logical value by judge module 433,443,454 outputs all can be passed to and door (AND gate) 460, therefore, when judge module 433,443,454 values of being exported all are logical value 1, with the output of door also be logical value 1, it represents this object pixel is a static pixel (corresponding step 350); Otherwise then the output logic value 0, and it represents this object pixel is a dynamic pixel (corresponding step 360).
Though note that at this among aforementioned, all operations are finished by logical circuit, yet such framework only is one embodiment of the invention, but not restriction of the present invention.On real the work, aforesaid logic can be carried out a program code by processor and realize that so corresponding variation also belongs to category of the present invention.
Please refer to Fig. 5 at this, Fig. 5 is the flow chart of other method embodiment of the present invention.It includes the following step:
Step 500:, on a reference frame, obtain a corresponding pixel for the object pixel in the target frame.In the present embodiment, this target frame and this reference frame can be example with the 3rd frame F3 and first frame F1 among Fig. 1 respectively, but the present invention is not as limit.
Step 510: detect this object pixel and be located on whether jack per line of the value differences of the neighborhood pixels in this target frame and this respective pixel is located on the neighborhood pixels in this reference frame with it value differences with it, be connected to step 520;
Step 520: whether the above-mentioned value differences residual quantity each other that detects the above-mentioned value differences of this object pixel and its neighborhood pixels and this respective pixel and its neighborhood pixels is less than a predetermined threshold, if then be connected to step 530;
Step 530: with this object pixel is the center, obtains the line segment on the scan line at this object pixel place in this target frame, and obtain a corresponding line segment on this reference frame, is connected to step 540;
Step 540: calculate each pixel on this line segment in this target frame mean value and should the correspondence line segment on the mean value of each pixel, and whether detect residual quantity between two mean values less than a predetermined threshold, be connected to step 550;
Step 550:, determine the displacement situation of this object pixel according to step 510,520,540 testing result.
Note that in the present embodiment at this,, for the purpose of simplifying the description, just do not give unnecessary details in this in addition because step 500-540 is identical with each corresponding step 300-340 among the aforesaid embodiment.In addition, in the present embodiment, be with the difference of aforesaid embodiment: present embodiment decides the displacement situation of object pixel according to step 510,520,540 testing result.Therefore, in the present embodiment, when judging the displacement situation of object pixel, might not only limit to object pixel is judged to be a static or dynamic image, but can be judged to be one between static and dynamically between the displacement situation, use with convenient Y/C lock out operation thereafter.In other words, if the Y/C lock out operation adopts aforesaid the third lock out operation (that is with Y/C 3D between separate between 2D), so, just can select the ratio between 2D and the 3D by the displacement situation that present embodiment judged.
Among this note that in front disclosure, the present invention judged the displacement situation of this object pixel by the scan line at this object pixel place and the corresponding scan line of another reference frame.Yet except object pixel, the present invention also can with the displacement situation according to a plurality of pixels, estimate the displacement situation of this object pixel more accurately with identical flow implementation in a plurality of pixels that are adjacent to this object pixel.
For instance, the present invention can get the zone of a 3*3 pixel earlier, and this regional center is this object pixel; Then for each pixel in this 3*3 zone (comprising 8 auxiliary pixels and a central object pixel), all judge the displacement situation of these 9 pixels according to aforesaid method, and displacement situation according to these 9 pixels, estimate the displacement situation of this object pixel, such way may be more accurate.
For example, the present invention can set displacement situation when these 9 pixels and be when static, judges that just this object pixel is a static pixel; Or, adjust thereafter the ratio of 2D and 3DY/C lock out operation (for example in these 9 pixels, 5 corresponding rest images are arranged, 4 corresponding dynamic images, just the ratio with the Y/C lock out operation of 2D and 3D is adjusted into 4: 5) according to the displacement situation of these 9 pixels; So corresponding variation also belongs to category of the present invention.
Also be one embodiment of the invention at this image-region that note that aforementioned 3*3 pixel, but not restriction of the present invention.In actual operation, the present invention also can select bigger zone, or the pixel that other can be for reference, changes so accordingly, also without prejudice to spirit of the present invention.
Though among this note that in front disclosure, all with the NTSC picture system as an illustration, yet the present invention can be applicable to (such as PAL picture system) among other the picture system in fact.For instance, in the PAL picture system, chroma carrier phase between the same scan line of adjacent two frames differs 90 degree, that is four frames are just finished chroma carrier cycle once, therefore, in the PAL picture system, also can utilize two frames (for example frame of two adjacent 3 frames) with identical chroma carrier cycle, carry out aforesaid computing.
Compared to known technology, method for detecting image displacement of the present invention is the displacement situation of detected image more suitably, therefore can provide better displacement information, can correctly carry out so that Y/C thereafter separates, and then promote the efficient and the picture quality of image processing according to the character of image itself.
Though more than with embodiment the present invention is described, therefore do not limit scope of the present invention, only otherwise break away from main idea of the present invention, those skilled in the art can carry out some distortion or change.

Claims (8)

1. method for detecting image displacement, it includes:
Receive a composite signal, this composite signal carries a target frame and a reference frame at least, and this target frame is identical with the carrier phase of the chroma of this reference frame;
For the object pixel in this target frame, obtain one first reference pixel and obtain one second reference pixel and one the 3rd reference pixel in this target frame at this reference frame, wherein this first reference pixel and this object pixel are positioned at the target scanning lines on this target frame, and this second reference pixel and the 3rd reference pixel are respectively to should object pixel and this first reference pixel;
Detect whether jack per line of difference between this object pixel and this first reference pixel and the difference between this second reference pixel and the 3rd reference pixel, to produce one first judged result;
Calculate one first value differences between this object pixel and this first reference pixel and the difference between one second value differences between this second reference pixel and the 3rd reference pixel, and relatively this difference and a predetermined threshold, to produce one second judged result;
According to this object pixel, obtain one first many pixels from this target frame, and obtain one second many pixels from this reference frame, wherein this more than second pixel is to should more than first pixel, wherein, with this object pixel is the center, obtains more than first pixel of the line segment on the scan line at this object pixel place in this target frame, and obtains more than second pixel of a corresponding line segment on this reference frame;
The result that subtracts each other to the pixel of the pixel of this more than first pixel and this more than second pixel is weighted average calculating operation, and a result and the predetermined threshold that the data after this weighted average computing are carried out signed magnitude arithmetic(al) relatively is to produce one the 3rd judged result; And
According to this first, second, third judged result, judge the displacement situation of this object pixel,
Wherein this second reference pixel be in this reference frame to the pixel of position that should object pixel, and the 3rd reference pixel is to the pixel of position that should first reference pixel in this reference frame.
2. method for detecting image displacement as claimed in claim 1, wherein this first reference pixel is a neighborhood pixels of this object pixel.
3. method for detecting image displacement, it includes:
Receive a composite signal, this composite signal carries a target frame and a reference frame at least, and this target frame is identical with the carrier phase of the chroma of this reference frame;
For the object pixel in this target frame, obtain a reference zone in this target frame, this reference zone includes a plurality of auxiliary pixels;
For each auxiliary pixel in these a plurality of auxiliary pixels, obtain one first reference pixel in this target frame, and obtain one second reference pixel and one the 3rd reference pixel from this reference frame, wherein this first reference pixel and this auxiliary pixel are positioned at the same scan line on this target frame, and this second reference pixel and the 3rd reference pixel are respectively to should object pixel and this first reference pixel;
Detect whether jack per line of difference between this auxiliary pixel and this first reference pixel and the difference between this second reference pixel and the 3rd reference pixel, to produce one first judged result;
Calculate one first value differences between this auxiliary pixel and this first reference pixel and the difference between one second value differences between this second reference pixel and the 3rd reference pixel, and relatively this difference and a predetermined threshold, to produce one second judged result;
According to this auxiliary pixel, obtain one first many pixels from this target frame, and obtain one second many pixels from this reference frame, wherein this more than second pixel is to should more than first pixel, wherein, with this object pixel is the center, obtains more than first pixel of the line segment on the scan line at this object pixel place in this target frame, and obtains more than second pixel of a corresponding line segment on this reference frame;
The result that subtracts each other to the pixel of the pixel of this more than first pixel and this more than second pixel is weighted average calculating operation, and a result and the predetermined threshold that the data after this weighted average computing are carried out signed magnitude arithmetic(al) relatively is to produce one the 3rd judged result;
According to this first, second, third judged result, obtain the displacement information of this auxiliary pixel; And
According to the displacement situation of each auxiliary pixel, judge the displacement situation of this object pixel,
Wherein this second reference pixel be in this reference frame to the pixel of position that should auxiliary pixel, and the 3rd reference pixel is to the pixel of position that should neighborhood pixels in this reference frame.
4. method for detecting image displacement as claimed in claim 3, wherein this first reference pixel is a neighborhood pixels of this auxiliary pixel.
5. method for detecting image displacement as claimed in claim 3, wherein this more than first pixel all is positioned at this target scanning lines.
6. method for detecting image displacement as claimed in claim 3, wherein these a plurality of auxiliary pixels are a plurality of neighborhood pixels of this object pixel.
7. method for detecting image displacement as claimed in claim 3, it is applied in the NTSC picture system.
8. method for detecting image displacement as claimed in claim 3, it is applied in the PAL picture system.
CN2007101936409A 2007-11-23 2007-11-23 Method for detecting image displacement Active CN101442680B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101936409A CN101442680B (en) 2007-11-23 2007-11-23 Method for detecting image displacement

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101936409A CN101442680B (en) 2007-11-23 2007-11-23 Method for detecting image displacement

Publications (2)

Publication Number Publication Date
CN101442680A CN101442680A (en) 2009-05-27
CN101442680B true CN101442680B (en) 2011-04-06

Family

ID=40726896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101936409A Active CN101442680B (en) 2007-11-23 2007-11-23 Method for detecting image displacement

Country Status (1)

Country Link
CN (1) CN101442680B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI419082B (en) * 2010-12-20 2013-12-11 Ind Tech Res Inst Moving object detection method and image processing system for moving object detection
CN102595022A (en) * 2011-01-10 2012-07-18 联咏科技股份有限公司 Multimedia device and motion compensation method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1163531A (en) * 1995-08-24 1997-10-29 德克萨斯仪器股份有限公司 Image processing system with improved scaning image processor
CN1406437A (en) * 2000-12-27 2003-03-26 松下电器产业株式会社 Stillness judging device and scanning line interpolating device having it
CN1421098A (en) * 1999-08-27 2003-05-28 三叉微系统公司 Motion and edge adaptive deinterlacing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1163531A (en) * 1995-08-24 1997-10-29 德克萨斯仪器股份有限公司 Image processing system with improved scaning image processor
CN1421098A (en) * 1999-08-27 2003-05-28 三叉微系统公司 Motion and edge adaptive deinterlacing
CN1406437A (en) * 2000-12-27 2003-03-26 松下电器产业株式会社 Stillness judging device and scanning line interpolating device having it

Also Published As

Publication number Publication date
CN101442680A (en) 2009-05-27

Similar Documents

Publication Publication Date Title
US6262773B1 (en) System for conversion of interlaced video to progressive video using edge correlation
US7245326B2 (en) Method of edge based interpolation
US5153719A (en) Method of detecting horizontal movements in the picture contents of a television signal
CN1075314C (en) Picture information detection apparatus for video signal
US8538070B2 (en) Motion detecting method and apparatus thereof
US20080107335A1 (en) Methods for processing image signals and related apparatus
US7822271B2 (en) Method and apparatus of false color suppression
US20070188660A1 (en) Video processing device, video processing method, and video processing program
CN101442680B (en) Method for detecting image displacement
US8189068B2 (en) Apparatus and method for detecting flicker noise and computer readable medium stored thereon computer executable instructions for performing the method
KR20090048596A (en) Method and system for reducing mosquito noise in a digital image
TWI404408B (en) Image processing apparatus and image processing method
CN101094422B (en) Apparatus and method for detecting existence of a motion in a successive image
JP5188272B2 (en) Video processing apparatus and video display apparatus
CN101808190B (en) Image processing device and method
US8059206B2 (en) Motion detection method utilizing 3D Y/C separation
US8126284B2 (en) Method and apparatus for resolution improvement in digital capturing
US8165208B2 (en) Method and apparatus for detecting sawtooth and field motion
CN101378516B (en) Method and apparatus for detecting image displacement
US8330871B2 (en) Method and apparatus for detecting motion in an image display device
US20230245610A1 (en) Method of detecting stain of display panel, method of compensating stain of display panel including the same and display apparatus configured to perform the same
CN104253986B (en) A kind of method of adaptive chroma comb filtering and device
US8712150B2 (en) Device and method for adjusting a chrominance signal based on an edge strength
CN101521737A (en) Video detecting device and related detecting method thereof
JPH04273587A (en) Object detector

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