Background technology
In today that the use of computer video system is quite popularized, how data being presented at the user has accurately become a very important problem in front.The normal at present display unit of using generally can roughly be divided into two kinds according to input signal, a kind of is the analog video input display that receives analog video, another kind of then be the digital video input display of receiving digital video, but because the consideration on price and the application, the digital video input display still fails to be used in routine duties widely as the analog video input display.Therefore, the display that is most commonly used on the market in the computer video system at present is exactly the analog video input display.
The analog video input display can be further divided into two kinds according to the mode of its show image, wherein a kind of employing simulation display mode, and another kind then adopts digital display mode.In order to improve the analytic ability of colors of image, there has been increasing display to give up and simulated display mode and change the digital display mode of employing.Yet, in the analog video input display of a digital display mode of employing,, just must after analog video transfers to display interior, this analog video be converted to corresponding digital video in order to meet the display mode that it adopts.
Yet, analog video being converted in the process of digital video, the selection of phase place has decisive influence for the effect that shows.Existing technology be attempt according to one independently picture (frame) image signal content in addition computing obtain the phase property function, employed phase place when obtaining the analog digital conversion according to this phase property function again.Yet, the phase property function obtained according to the picture signal content of same picture, theoretical foundation is not proved that it can effectively assess the quality of selected phase value.In other words, in the present technology of taking, do not have the selection problem that a good method solves phase place.
Summary of the invention
Therefore, purpose of the present invention is exactly that this phase adjusting method can effectively be judged the quality of selected phase value at the phase adjusting method that a kind of vision signal analog digital conversion is provided.
A further object of the present invention provides a kind of phase adjusting method of vision signal analog digital conversion, and this phase adjusting method is with the decision phase value according to the dependency relation between adjacent picture.
Another purpose of the present invention provides a kind of phase adjusting method of vision signal analog digital conversion, and this phase adjusting method can provide static display frame a stable quality.
The present invention proposes a kind of phase adjusting method of vision signal analog digital conversion, it is the shown a plurality of pictures of parameter that this phase adjusting method is at first obtained with wherein same one of a plurality of phase values, then calculate the show value antipode value of these pictures on same position and.After repeating to carry out above-mentioned steps with different phase values, used phase place when being the analog digital conversion with phase value again corresponding to show value antipode value sum minimum.
In a preferred embodiment of the present invention, selected same position lays respectively at four corners and the core of viewing area.In addition, also a plurality of antipode value summations corresponding to employed a plurality of phase values can be calculated corresponding a plurality of moving average with the rolling average method, and with moving average used phase place when hour pairing phase place is the analog digital conversion.
The present invention also proposes a kind of phase adjusting method of vision signal analog digital conversion, this phase adjusting method is at first set a phase value, and obtain the data of carrying out being positioned on first picture of analog digital conversion gained a plurality of first display dot on a plurality of precalculated positions with this phase value, obtain the data of carrying out a plurality of second display dot on the aforementioned precalculated position on second picture of analog digital conversion with this phase value afterwards again.Next then calculate first display dot on the same position be positioned at first and second picture and the antipode value between second display dot, and will obtain an antipode value summation corresponding to a plurality of antipode value addition in these precalculated positions.At the change phase value and after repeating above-mentioned steps, obtain wherein antipode value summation and be hour the most suitable pairing phase place, and be analog digital used phase place when changing with this most suitable phase place.
The present invention utilize two between picture correlation and try to achieve phase property function and curve, try to achieve whereby again difference is minimized, just, the phase value that the picture change degree is minimum.Thus, be that the computer picture or the projected picture of main displaying contents can have the few stabilizing quality of variable quantity with tableaux.
Description of drawings
Fig. 1 be general in display the circuit block diagram of employed analog/digital DTU (Data Transfer unit);
Fig. 2 is an administration step flow chart according to a preferred embodiment of the present invention;
Fig. 3 is for carrying out sampling point position view in two pictures of analog-converted gained according to the present invention with same phase value;
Fig. 4 A and Fig. 4 B are made according to a preferred embodiment of the present invention phase place-antipode value summation curve figure; And
Fig. 5 is the administration step flow chart according to another preferred embodiment of the present invention.
10: the analog/digital DTU (Data Transfer unit)
30,35: picture
12: digital display floater
102: the analog/digital conversion element
104: amplifier element
106: microcontroller
108: memory
110: buffer element
302~360: display dot
V-sync: vertical synchronizing signal
H-sync: horizontal-drive signal
R, G, B: tricolor signal
S200~S210: the administration step of a preferred embodiment of the present invention
S500~S510: the administration step of another preferred embodiment of the present invention
Embodiment
In order to make those of ordinary skills can understand technology contents of the present invention easily, before explaining the method applied in the present invention, earlier its hardware structure that is suitable for is done simple an introduction.Please refer to Fig. 1, its be general in display the circuit block diagram of employed analog/digital DTU (Data Transfer unit).Wherein, analog/digital DTU (Data Transfer unit) 10 receives the analog video signal that comprises vertical synchronizing signal (V-sync), horizontal-drive signal (H-sync), danger signal (R), green (G) and blue signal (B) etc. from main frame (not illustrating), and the digital picture of gained exports digital display floater 12 to after will changing.
Analog/digital DTU (Data Transfer unit) 10 has comprised 106, one memories 108 of 104, one microcontrollers of 102, one amplifier elements of an analog/digital conversion element and a buffer element 110.By the analog video signal that analog/digital DTU (Data Transfer unit) 10 is received, just can export amplifier element 104 to after process analog/digital conversion element 102 convert digital video signal to earlier.Amplifier element 104 is temporary in vision signal among the buffer element 110, and according to the inner setting value of display the picture of script is amplified/dwindles into the image of the size of suitable digital display floater 12.108 of microcontroller 106 and memories in order to control with store program required when carrying out aforesaid operations.
Wherein, when with analog/digital converter 102 analog video signal being converted to digital video signal, in order to obtain clear and stable picture, the setting of phase place is just extremely important.In other words, inappropriate phase settings will produce fuzzy picture, otherwise best phase settings then can make system produce clear sharp keen picture.How part that the present invention focuses on finds a suitable phase value to come optimization display frame with regard to being.
Please refer to Fig. 2, it is an administration step flow chart according to a preferred embodiment of the present invention.
In this embodiment, at first must set a phase value (step S200), carry out analog-converted with this phase value more afterwards, and in two pictures of conversion gained (back claims first picture and second picture), acquisition is positioned at the video data (step S202) of the display dot on a plurality of precalculated positions.
As shown in Figure 3, picture 30 and 35 is respectively two pictures that carry out the analog-converted gained with same phase value, and the display dot 352 in display dot in the picture 30 302 and the picture 35 corresponds to the same position on the viewing area.Similarly, the display dot in the picture 30 304,306,308 and 310 also respectively with picture 35 in display dot 354,356,358 and 360 correspond to same position on the viewing area.Though and must be noted that be in the present embodiment with four corners of viewing area and core 5 be sample position and number of samples, so this is not in order to restriction the present invention.Those of ordinary skills are when knowing that sample position and number of samples determine all to be decided by requirement institute emphasis effect, there is no certain standard.
After capturing the video data of each display dot, this method just can begin to calculate in the different pictures antipode value (step S204) corresponding to the video data between the display dot of same position.Wherein, so-called antipode value is meant the absolute value of two differences between video data.With Fig. 3 is example, takes absolute value after the video data between display dot 302 and the display dot 352 is subtracted each other again, and just can obtain one group of antipode value.And on obtaining first and second picture that carries out the analog-converted gained with same phase place, after the antipode value between all corresponding display dot, just can further these antipode values be obtained an antipode value summation (step S206) mutually.In other words, obtaining display dot 302 and 352, display dot 304 and 354, display dot 306 and 356, display dot 308 and 358, and after the display dot 310 and 360 antipode value separately, these antipode value additions just can be obtained antipode value summation.
And after obtaining antipode value summation, must judge whether earlier calculative phase value all to be calculated (step S208).Do not finish if calculate fully as yet, then repeat above-mentioned step S200~S206 till the calculative phase value of all previous settings was all calculated; If finish as calculated, then in the obtained a plurality of antipode value summations of abovementioned steps, selecting a minimum value, and with the next usefulness (step S210) as analog/digital conversion of this minimum pairing phase value of antipode value summation.
In a preferred embodiment of the present invention, aforesaid step S210 can utilize and a plurality of antipode value summations are calculated its moving average with the rolling average method and be depicted as corresponding curve chart and reach.Please refer to Fig. 4 A, its person of illustrating one of is according to the present invention the made phase place-antipode value summation curve figure of preferred embodiment, and wherein, the phase value that is calculated has 32 (0~31).
In Fig. 4 A, what the curve Fc that is made up of Diamond spot represented is the curve of directly being made up of each antipode value summation, and the curve Fc_la that is made up of square dot then is the curve of antipode value summation through gained after the rolling average.As can be seen from Figure, as if the minimum value of seeking antipode value summation with curve Fc, then can obtain the next usefulness of the 20th phase place as analog/digital conversion; If the minimum value so that curve Fc_ma seeks antipode value summation then can obtain the next usefulness as analog/digital conversion of the 19th phase place.Though both are slightly variant, the right effect that shows is almost consistent, so those of ordinary skills are when adopting wherein any one mode to select phase place according to circumstances.
And, be to reach in one embodiment of the invention to reduce the required phase place sum of choosing in order to reduce the employed time when choosing phase place.Shown in Fig. 4 B, it only calculates antipode value summation with the odd number phase value, and the required time only is about half of the situation shown in Fig. 4 A when therefore choosing phase place.Certainly, can find in this embodiment, because selected phase place sum is less, so the most suitable phase value of may having no idea to find.In other words, in only with curve Fc, be the 17th phase place corresponding to the phase value of the different value summation of minimum absolute difference; And with curve Fc_ma the time, corresponding to the different value summation of minimum absolute difference then is the 19th phase place.In practical application, those of ordinary skills are when adopting the usefulness of wherein a kind of phase place of gained as a result as analog/digital conversion arbitrarily, because under the little situation of selected phase value spacing, it is too many that its actual display effect can not differ yet.
In addition, because before obtaining each picture, all must there be one period time of delay, and changes picture corresponding to each selected phase value and also need the time so that picture is written into earlier in as shown in Figure 1 the buffer element 110.Therefore, used time when choosing phase place, general all to adopt continuous pictures and to reduce that required frame numbers is good when calculating the antipode value summation of each phase value in order to save.According to above-mentioned condition, please refer to Fig. 5, it is the administration step flow chart according to another preferred embodiment of the present invention.Wherein, this embodiment at first obtains (step S500) in one group of phase value, and is that parameter obtains a plurality of pictures (step S502) with this phase value.Afterwards, obtain in these pictures video data (step S504), and calculate in these pictures summation (step S506) corresponding to the absolute value of the difference between the video data of same display dot corresponding to the display dot on some precalculated position.Next whether judge the phase value that comprised in aforesaid one group of phase value more all through choosing (step S508), if do not choose fully as yet, repeating step S500~S502 then; If chosen and finished, then with in the summation of gained among the step S506 a hour pairing phase value be used in (step S510) in the analog/digital conversion.
Same, aforesaid step S510 can utilize the corresponding curve chart that is depicted as with the rolling average method and reach.Relevant solution no longer repeats at this as previously mentioned.
In sum, the present invention is to be that benchmark is obtained the demonstration difference on the same position with a plurality of pictures of same phase transition, and chooses wherein difference summation reckling after the computing through a plurality of phase places.Therefore computer display frame or the digital projection picture that remains static for most time can produce picture very clearly.