TWI443605B - Method for adjusting color value of pixel in video signal - Google Patents

Method for adjusting color value of pixel in video signal Download PDF

Info

Publication number
TWI443605B
TWI443605B TW96141242A TW96141242A TWI443605B TW I443605 B TWI443605 B TW I443605B TW 96141242 A TW96141242 A TW 96141242A TW 96141242 A TW96141242 A TW 96141242A TW I443605 B TWI443605 B TW I443605B
Authority
TW
Taiwan
Prior art keywords
pixel
image
value
motion
image signal
Prior art date
Application number
TW96141242A
Other languages
Chinese (zh)
Other versions
TW200921561A (en
Inventor
jian feng Yin
Jian Wang
Original Assignee
Via Tech Inc
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 Via Tech Inc filed Critical Via Tech Inc
Priority to TW96141242A priority Critical patent/TWI443605B/en
Publication of TW200921561A publication Critical patent/TW200921561A/en
Application granted granted Critical
Publication of TWI443605B publication Critical patent/TWI443605B/en

Links

Description

影像信號像素點色彩值調整方法Image signal pixel point color value adjustment method

本案係為一種影像信號像素點色彩值調整方法,尤指應用於一影像信號之各圖像間與一圖像中的像素點色彩值調整方法,以濾除其中可能存在的雜訊而改善影像輸出顯示之品質。The present invention relates to a method for adjusting a color value of a pixel of a video signal, in particular, a method for adjusting a color value of a pixel in an image between an image signal and an image to filter out possible noise and improve the image. Output the quality of the display.

請參閱第一圖,其係為一影像處理程序之方塊示意圖。此種影像處理程序係存在於目前一般電腦系統在進行影像信號(video)之處理時,所會採用的技術特徵,其中此技術之影像處理程序係先將影像信號輸入上述之電腦系統中(方塊B11),也就是由該電腦系統來接受所要進行輸出顯示的影像信號,之後便由該電腦系統或顯示器來對該影像信號進行解碼之程序(方塊B12),使得該電腦系統中的相關處理單元能夠對該影像信號進行所需的影像解碼處理,當處理完成後,便可以透過一顯示器進行後續的顯示輸出之程序(方塊B13)。Please refer to the first figure, which is a block diagram of an image processing program. The image processing program is a technical feature that is used in the processing of a video signal (video) in a current general computer system. The image processing program of the technology first inputs the image signal into the computer system (block). B11), that is, the computer system accepts the image signal to be output and output, and then the computer system or the display decodes the image signal (block B12), so that the relevant processing unit in the computer system The image decoding process can be performed on the image signal, and after the processing is completed, the subsequent display output process can be performed through a display (block B13).

然而,在上述之信號傳輸過程中,雜訊(Noise)係隨時有可能會混入至其影像信號(video)中,進而會影響到最後顯示輸出之影像畫面的品質。因此,如何提高最終輸出影像的信噪比(S/N,也就是信號(Signal)和雜訊(Noise)的比值,其單位為dB),進而能夠提供更佳的影像輸出品質和顯示效果,便是本案發展之主要目的。However, in the above signal transmission process, the noise may be mixed into the video signal at any time, which may affect the quality of the image displayed at the last display. Therefore, how to improve the signal-to-noise ratio (S/N, that is, the ratio of signal (Signal) and noise (Noise) of the final output image, in dB), can provide better image output quality and display effect. This is the main purpose of the development of this case.

本發明之目的在於提供一種影像信號像素點色彩值調整方法,應用於一影像信號之各圖像間與一圖像中的像素點色彩值調整,藉由動態偵測器為每個像素計算出運動程度,再根據像素的不同運動程度來進行不同的雜訊濾除過程,從而能夠改善其影像輸出顯示之品質。The object of the present invention is to provide a method for adjusting the color value of a pixel of a video signal, which is applied to the color value adjustment of pixels in an image between an image signal and an image, and is calculated for each pixel by a dynamic detector. The degree of motion, and then different noise filtering processes according to the different degrees of motion of the pixels, can improve the quality of the image output display.

本案係為一種影像信號像素點色彩值調整方法,應用於一影像信號中之一第一圖像與一第二圖像之間,該調整方法包含下列步驟:利用該影像信號中的該第二圖像中的一第二像素來對該影像信號中的該第一圖像中的一第一像素進行一運動狀態偵測而得到一運動程度值;因應該運動程度值小於一第一門檻值時,對該第一像素進行一第一色彩值調整;因應該運動程度值大於一第二門檻值時,對該第一像素進行一第二色彩值調整;以及因應該運動程度值介於該第一門檻值與該第二門檻值之間時,對該第一像素進行一第三色彩值調整;其中該第一門檻值為靜止門檻值,該第二門檻值為運動門檻值。The present invention relates to a method for adjusting a color value of a pixel of a video signal, which is applied between a first image and a second image in an image signal, the adjustment method comprising the steps of: utilizing the second in the image signal A second pixel in the image performs a motion state detection on a first pixel in the first image of the image signal to obtain a motion level value; the motion level value is less than a first threshold value And performing a first color value adjustment on the first pixel; performing a second color value adjustment on the first pixel when the motion degree value is greater than a second threshold value; and And a third color value adjustment is performed on the first pixel when the first threshold value is between the second threshold value; wherein the first threshold value is a static threshold value, and the second threshold value is a motion threshold value.

根據上述方法,其中該第一圖像係為存在於該影像信號中的一待處理圖像。According to the above method, the first image is a to-be-processed image existing in the image signal.

根據上述方法,其中該運動狀態偵測係包含下列步驟:當該運動程度值小於該靜止門檻值時,判斷該第一像素呈現為一靜止狀態;當該運動程度值大於該運動門檻值時,判斷該第一像素呈現為一運動狀態;以及當該運動程度值介於該靜止門檻值與該運動門檻值之間時,判斷該第一像素呈現為一半運動狀態。According to the above method, the motion state detection system includes the following steps: when the motion degree value is less than the static threshold value, determining that the first pixel appears as a stationary state; when the motion degree value is greater than the motion threshold value, Determining that the first pixel is presented as a motion state; and determining that the first pixel is in a half motion state when the motion level value is between the static threshold value and the motion threshold value.

根據上述方法,其中該靜止門檻值和該運動門檻值可被加以設定,且該靜止門檻值小於該運動門檻值。According to the above method, the stationary threshold value and the motion threshold value can be set, and the static threshold value is smaller than the motion threshold value.

根據上述方法,其中該第二圖像係為存在於該影像信號中的該第一圖像之前所相鄰的第一個圖像。According to the above method, the second image is the first image adjacent to the first image existing in the image signal.

根據上述方法,其中該運動狀態偵測更包含下列步驟:當該運動程度值小於一第一經驗門檻值時,將該運動程度值運算為一第一函數運動程度值;當該運動程度值大於一第二經驗門檻值時,將該運動程度值運算為一第二函數運動程度值;以及當該運動程度值介於該第一經驗門檻值與該第二經驗門檻值之間時,將該運動程度值運算為一第三函數運動程度值;其中,該第一經驗門檻值和該第二經驗門檻值係可被加以設定,且該第一經驗門檻值係小於該第二經驗門檻值,而該第一函數運動程度值、該第二函數運動程度值和該第三函數運動程度值係在一預定範圍中。According to the above method, the motion state detection further includes the following steps: when the motion degree value is less than a first experience threshold, the motion degree value is calculated as a first function motion degree value; when the motion degree value is greater than a second empirical threshold value, the motion degree value is calculated as a second function motion degree value; and when the motion degree value is between the first experience threshold value and the second experience threshold value, The exercise degree value is calculated as a third function exercise degree value; wherein the first experience threshold value and the second experience threshold value may be set, and the first experience threshold value is less than the second experience threshold value, And the first function motion degree value, the second function motion degree value, and the third function motion degree value are in a predetermined range.

根據上述方法,其中該運動狀態偵測更包含下列步驟:將該運動程度值、該第一函數運動程度值、該第二函數運動程度值或該第三函數運動程度值進行低通濾波,而能將其中各自的高頻部份濾除。According to the above method, the motion state detection further includes the following steps: low-pass filtering the motion degree value, the first function motion degree value, the second function motion degree value, or the third function motion degree value, and The high frequency portions of each of them can be filtered out.

根據上述方法,其中該第一色彩值調整係可為一靜止像素雜訊濾除。According to the above method, the first color value adjustment system can filter out a still pixel noise.

根據上述方法,其中該靜止像素雜訊濾除係包含下列步驟:將該第一圖像中的該第一像素和該第二圖像中對應位置之該第二像素進行色彩值之數值平均,且該第二圖像中對應位置之該第二像素係呈現為該運動狀態;以及將該第一圖像中的該第一像素和該第二圖像中對應位置之該第二像素、一第三圖像中對應位置之一第三像素進行色彩值之數值平均,且該第二圖像中對應位置之該第二像素係呈現為該靜止狀態,該第三圖像中對應位置之該第三像素係呈現為該運動狀態。According to the above method, the static pixel noise filtering system comprises the steps of: averaging the color values of the first pixel in the first image and the second pixel in the second image in the first image, And the second pixel of the corresponding position in the second image is presented as the motion state; and the second pixel and the corresponding position in the first pixel and the second image in the first image The third pixel of the corresponding position in the third image performs numerical averaging of the color values, and the second pixel of the corresponding position in the second image is presented as the quiescent state, and the corresponding position in the third image The third pixel system appears as the motion state.

根據上述方法,其中該第二圖像係為存在於該影像信號中的該第一圖像之前所相鄰的第一個圖像,而該第三圖像係為存在於該影像信號中的該第一圖像之前所相鄰的第二個圖像。According to the above method, the second image is a first image adjacent to the first image existing in the image signal, and the third image is present in the image signal. The second image adjacent to the first image.

根據上述方法,其中該第二色彩值調整係可為一運動像素雜訊濾除,而該運動像素雜訊濾除之步驟係包含有:保留該第一圖像中的該第一像素之色彩值。According to the above method, the second color value adjustment system may filter a motion pixel noise, and the moving pixel noise filtering step includes: retaining the color of the first pixel in the first image value.

根據上述方法,其中該第三色彩值調整係可為一半運動像素雜訊濾除。According to the above method, the third color value adjustment system can filter out half of the motion pixel noise.

根據上述方法,其中該半運動像素雜訊濾除係包含下列步驟:對該第一圖像中的該第一像素進行該靜止像素雜訊濾除,而得到一第一靜止像素雜訊濾除值;將該運動程度值和該靜止門檻值、該運動門檻值進行計算而得到一插值係數;以及利用該第一像素之色彩值、該第一靜止像素雜訊濾除值和該插值係數進行數值平均,而得到一第一半運動像素雜訊濾除值。According to the above method, the semi-moving pixel noise filtering system comprises the following steps: performing the still pixel noise filtering on the first pixel in the first image to obtain a first still pixel noise filtering. a value; calculating the motion level value and the static threshold value, the motion threshold value to obtain an interpolation coefficient; and performing, by using the color value of the first pixel, the first still pixel noise filtering value, and the interpolation coefficient The values are averaged to obtain a first half-motion pixel noise filtering value.

根據上述方法,其中該影像信號係包含有複數個圖像,而該等圖像皆各自包含有複數個像素,且該方法係可應用在該等圖像之該等像素上。According to the above method, the image signal system comprises a plurality of images, and each of the images comprises a plurality of pixels, and the method is applicable to the pixels of the images.

本案用來消除雜訊(Noise)的方法主要是運用下列兩種基本的演算處理方法,即為圖像間插補法(inter-field interpolation)以及圖像內插補法(intra-field interpolation)。而由於動態影像或動畫係由一連串的畫面或畫框(Frame)之圖像影像所組成,所以雜訊濾除之處理便是對其中某一圖像或多圖像進行其內部像素之演算處理後再行輸出;其中,圖像間插補法又可稱為時間性插補法(temporal interpolation),由於一般的雜訊大多具有高頻之特性且和圖像中的其他周圍低頻的像素內容係有明顯的不同,同時雜訊在圖像間之時間方向上的關聯性較低,因此該時間性插補法便可以利用此特點於畫框記憶體(Frame Memory)將相鄰之先前的一或多圖像之同一位置的像素進行平均之處理(常用的方式便是作線性平均),而將時間方向上無關聯性的高頻的雜訊部份加以濾除以保留所需的低頻資訊部份。The method used to eliminate noise in this case mainly uses the following two basic arithmetic processing methods, namely inter-field interpolation and intra-field interpolation. . Since the motion picture or the animation is composed of a series of images or image frames of the frame, the processing of the noise filtering is to perform the calculation of the internal pixels of one or more of the images. Then, the inter-image interpolation method can also be called temporal interpolation, because most of the general noises have high frequency characteristics and other surrounding low frequency pixel contents in the image. There are obvious differences, and the correlation of noise in the time direction between images is low, so the temporal interpolation method can use this feature to frame adjacent frames in the frame memory. Pixels at the same position of one or more images are averaged (usually for linear averaging), while high-frequency noise portions that are uncorrelated in the time direction are filtered to preserve the desired low frequencies. Information section.

另外,圖像內插補法又可稱為空間性插補法(spatial interpolation),同樣由於雜訊所具有的高頻特性,同時在某一圖像中會和其他周圍低頻的像素內容有明顯的不同,是故雜訊在圖像內之空間方向上的關聯性較低,利用此特點,該空間性插補法便是將所要處理之圖像利用其中出現之雜訊和周圍的低頻像素進行平均之處理(常用的方式便是作線性平均),而將空間方向上無關聯性的高頻的雜訊部份加以濾除以保留所需的低頻資訊部份。In addition, the intra-image interpolation method can also be called spatial interpolation. Also, due to the high-frequency characteristics of the noise, it is obvious in some images and other surrounding low-frequency pixel contents. The difference is that the noise is less correlated in the spatial direction of the image. With this feature, the spatial interpolation method uses the noise and the surrounding low-frequency pixels in the image to be processed. The averaging process (usually for linear averaging) is performed, while the high-frequency noise portions that are uncorrelated in the spatial direction are filtered to preserve the desired low-frequency information portion.

就各圖像間像素的時間關聯性而言,時間性插補法在靜態影像上的雜訊處理會有比較好的結果,而就圖像內像素的空間關聯性而言,空間性插補法在動態影像上的雜訊處理會有比較好的結果。上述的兩種演算方法係僅各自具有時間域上與空間域上的適應性而已,然而卻仍無法精確地顯示出影像畫面之真實性;因此,為了要能產生更好的演算結果,結合此兩種方法的動態適應性(motion adaptive)的演算法便被提出;此方法係利用一動態偵測器(motion detection)來對一圖像內像素的運動程度進行偵測,而能針對運動或非運動的條件來適當地選擇要使用空間性插補法或時間性插補法的演算結果;如第二圖所示,係為動態適應性演算法之運作示意圖,其中主要是利用一多工器20根據影像信號之輸入情形與一動態偵測器21之偵測結果,來選擇一時間性插補模組22或一空間性插補模組23之時間性插補法或空間性插補法的演算結果,而能濾除影像信號中的高頻的雜訊部份後再進行輸出。As far as the temporal correlation of pixels between images is concerned, the temporal interpolation method will have better results in the noise processing on the static image, and the spatial interpolation in terms of the spatial correlation of the pixels in the image. The method of noise processing on the motion picture will have better results. The above two calculation methods only have adaptability in time domain and space domain, but still can not accurately display the authenticity of the image; therefore, in order to produce better calculation results, combine this A motion adaptive algorithm for both methods is proposed; this method uses a motion detection to detect the degree of motion of pixels within an image, but for motion or Non-motion conditions to properly select the results of the calculation using spatial interpolation or temporal interpolation; as shown in the second figure, it is a schematic diagram of the operation of the dynamic adaptive algorithm, which mainly uses a multiplex The timer 20 selects a temporal interpolation method or spatial interpolation of a temporal interpolation module 22 or a spatial interpolation module 23 according to the input condition of the image signal and the detection result of the motion detector 21. The result of the calculation of the method, and the high-frequency noise portion of the image signal can be filtered out and then output.

然而,上述說明無論是利用各圖像間像素之時間關聯性的時間性插補法,或是一圖像內像素之空間關聯性的空間性插補法,亦或是充分利用了存在於時間域和空間域之關聯性的動態適應性演算法,其中仍存在了演算上的不穩定與最終輸出顯示上的缺陷,這是因為在序列的各圖像間或一圖像內的像素間雖然原本就會具有很強的關聯性,但若各圖像間或各個像素間所呈現的資訊變化程度很大時,如此便可能無法對影像的變化細節或高頻雜訊進行良好的區分;例如:在進行時間性插補法之演算時,係同樣會對呈現為運動狀態之像素進行時間方向的平均或高頻濾除,而在進行空間性插補法與動態適應性演算法之演算時,則可能會忽略原影像資訊中呈現為劇烈運動變化的像素內容,如此都可能會造成所需的影像資訊被一併消去而使得影像畫面呈現模糊、不清晰或漏失影像畫面細節的情形,造成最後所得的整體畫面變得不真實。是故,本案發展之主要目的便是在於改善此一習用技術之問題。However, the above description is not only a temporal interpolation method using temporal correlation of pixels between images, but also a spatial interpolation method for spatial correlation of pixels in an image, or making full use of the existence time. Dynamic adaptive algorithm for the correlation between domain and spatial domain, where there are still calculus instability and defects in the final output display, because between the images of the sequence or between pixels within an image Originally, it will have a strong correlation, but if the information presented between images or between pixels varies greatly, it may not be able to distinguish the details of the image or the high-frequency noise; for example; : In the calculation of the temporal interpolation method, the time-averaged or high-frequency filtering of the pixels appearing as the motion state is also performed, and the calculus of the spatial interpolation method and the dynamic adaptive algorithm is performed. , the pixel content that appears to be strenuous motion change in the original image information may be ignored, which may cause the required image information to be erased together, so that the image is blurred and unclear. The case of loss or image picture detail, resulting in the final of the resulting overall picture becomes untrue. Therefore, the main purpose of the development of this case is to improve the problem of this conventional technology.

在本案之較佳實施例中,我們提出了一種影像信號像素點色彩值調整方法,來解決於上述缺失;此較佳實施例可應用在習用電腦系統中的相關影像處理晶片與影像處理程式對於一影像信號進行影像處理的過程中。In the preferred embodiment of the present invention, we propose a method for adjusting the color value of the pixel of the image signal to solve the above-mentioned defect; the preferred embodiment can be applied to the related image processing chip and image processing program in the conventional computer system. An image signal is processed during image processing.

請參閱第三圖,其係為本案提出之一影像處理程序方塊示意圖。由圖所示可知,該影像處理程序係先將影像信號輸入上述之習用電腦系統(方塊B31),也就是由該電腦系統來接受所要進行輸出顯示的影像信號,之後便由該電腦系統或顯示器來對該影像信號進行解碼之程序(方塊B32),使得該電腦系統或顯示器中的相關處理單元能夠對該影像信號進行所需的影像處理,因此,在其中的一後處理程序(Post-Processing)(方塊B33)中便可用來進行上述之影像處理過程,包括影像偵測(film detection)、影像解交錯(De-interlacing)等,而本案較佳實施例所提出之影像信號像素點色彩值調整方法亦於此過程中完成,當影像處理完成後,便可以進行後續的顯示輸出之程序(方塊B34)。Please refer to the third figure, which is a block diagram of an image processing program proposed in this case. As can be seen from the figure, the image processing program first inputs the image signal into the above-mentioned conventional computer system (block B31), that is, the computer system accepts the image signal to be output and output, and then the computer system or display a program for decoding the image signal (block B32), so that the relevant processing unit in the computer system or display can perform desired image processing on the image signal, and therefore, a post-processing program (Post-Processing) (Block B33) can be used to perform the above image processing process, including image detection, de-interlacing, etc., and the color value of the pixel of the image signal proposed by the preferred embodiment of the present invention The adjustment method is also completed in this process. When the image processing is completed, the subsequent display output process can be performed (block B34).

請參閱第四圖,係為利用本發明方法之影像信號像素點色彩值調整過程之示意圖。在本案較佳實施例中,該影像信號即如前述的動態影像或動畫係由一連串的畫面或畫框之圖像影像所組成,也就是在該影像信號中存在著有複數個圖像,而其中每一個圖像皆各自包含有複數個像素。Please refer to the fourth figure, which is a schematic diagram of a pixel signal color value adjustment process of the image signal using the method of the present invention. In the preferred embodiment of the present invention, the image signal, that is, the motion image or the animation as described above, is composed of a series of image images of a frame or a frame, that is, a plurality of images exist in the image signal, and Each of the images each contains a plurality of pixels.

而本案的特徵在於,我們會先對該影像信號中的一待處理圖像,如第四圖中所示的一圖像F10,將其中的每一個像素進行一運動狀態偵測,以判斷該等像素之運動程度值,其方法便是利用前述的連續圖像在時間方向上所存在的關聯性來進行判斷,也就是將待處理之一圖像(或目前之一圖像)來和一在前一圖像進行比較,在此實施例中的該在前一圖像係為存在於該影像信號中的該圖像F10之前所相鄰的第一個圖像,如圖所示,即為一圖像F11,同時因為該圖像F10和該圖像F11係具有相同的畫框(Frame)範圍(或陣列大小)定義,所以其中所構成之像素亦具有相對應的位置(或座標)關係,因此只要將在該圖像F10上之每個像素和在該圖像F11上之對應像素點位置的每個像素進行兩兩之間(像素點色彩值)差異上的比較時,我們便可得知該圖像F10上的各個像素於該影像信號中之各圖像間的運動程度值。The feature of the present invention is that we will first perform a motion state detection on each of the pixels to be processed in the image signal, such as an image F10 shown in the fourth figure, to determine the The value of the motion level of the pixel is determined by using the correlation of the aforementioned continuous image in the time direction, that is, one image to be processed (or one of the current images) and one In the previous image comparison, the previous image in this embodiment is the first image adjacent to the image F10 existing in the image signal, as shown in the figure, It is an image F11, and since the image F10 and the image F11 have the same frame range (or array size) definition, the pixels formed therein also have corresponding positions (or coordinates). Relationship, so as long as each pixel on the image F10 and each pixel at the corresponding pixel point position on the image F11 are compared between the two (pixel color value) differences, we It can be known that each pixel on the image F10 is in each of the image signals. The value of the degree of motion between images.

該運動狀態偵測,也就是該運動程度值的計算在此實施例中,以該圖像F10中的單一個像素a為例作說明,在前一個圖像之該圖像F11上的對應位置(即彼此座標相同)便為一像素a1,我們將該像素a和該像素a1之色彩值相減後再取其絕對值,使得兩像素的差異能以一正值來表示,而此數值之大小亦代表了該影像信號從該圖像F11至該圖像F10時,對於在某一座標上的像素其所呈現出的運動程度值(定義為m)。而本案之特徵在於,為了清楚劃分所產生出的運動程度值,我們更引入了一飽和度函數,該飽和度函數係針對所產生出的運動程度值m再利用兩經驗門檻值α、β來分成三種方式之函數運算,其函數運算結果如下: The motion state detection, that is, the calculation of the motion degree value. In this embodiment, a single pixel a in the image F10 is taken as an example, and the corresponding position on the image F11 of the previous image is used. (ie, the same coordinates as each other) is a pixel a1, we subtract the color value of the pixel a and the pixel a1 and then take the absolute value, so that the difference between the two pixels can be represented by a positive value, and the value is The size also represents the degree of motion (defined as m) exhibited by the pixel on a certain coordinate when the image signal is from the image F11 to the image F10. The present invention is characterized in that, in order to clearly divide the generated motion degree value, we further introduce a saturation function, which uses the two empirical threshold values α, β for the generated motion degree value m. It is divided into three kinds of function operations, and its function operation results are as follows:

這裡的m為原本的運動程度值,m’則代表經函數運算後之運動程度值,其中,當原本的該運動程度值m小於或等於該經驗門檻值α時,將該運動程度值運算為0,當該運動程度值m大於該經驗門檻值β時,將該運動程度值運算為255,而當該運動程度值大於該經驗門檻值α且小於或等於該經驗門檻值β時,將該運動程度值運算為((m-α)/(β-α))*255;這裡的兩經驗門檻值α、β係可被加以設定,且該經驗門檻值α係小於該經驗門檻值β,在此實施例中,我們係可設定該經驗門檻值α為5,或是在5到10之間,而該經驗門檻值β係可設定為100,或是在60到150之間,而此方式針對8位元(bit)之色彩值顯示時,能使得最後所得到的運動程度值m’會被設定在0到255之間。Here, m is the original motion degree value, and m' represents the motion degree value after the function operation, wherein when the original motion degree value m is less than or equal to the experience threshold value α, the motion degree value is calculated as 0, when the exercise degree value m is greater than the experience threshold value β, the exercise degree value is calculated as 255, and when the exercise degree value is greater than the experience threshold value α and less than or equal to the experience threshold value β, The motion degree value is calculated as ((m-α)/(β-α))*255; the two empirical threshold values α, β can be set here, and the empirical threshold α is less than the empirical threshold β, In this embodiment, we can set the empirical threshold α to be 5, or between 5 and 10, and the empirical threshold β can be set to 100, or between 60 and 150, and this When the color value of the 8-bit (bit) is displayed, the last obtained motion level value m' can be set between 0 and 255.

如此,經由此一飽和度函數之計算運用,我們便可以濾去高頻雜訊對於該運動狀態偵測的影響,從而將所得到的結果以三種函數運算方式進行歸一化,經由此種飽和度函數的使用,我們便可以將運動程度值之大小確定存在於一預定範圍中,而若不使用此種飽和度函數之運算時,便無法確定經該運動狀態偵測後所得之值的大小會在哪種範圍內(即無法確定其極大值和極小值)。In this way, through the calculation and application of this saturation function, we can filter out the influence of high-frequency noise on the motion state detection, and normalize the obtained result in three functional operation modes. With the use of the degree function, we can determine the magnitude of the motion level value in a predetermined range, and if the operation of the saturation function is not used, the magnitude of the value obtained after the motion state detection cannot be determined. In what range (ie, the maximum and minimum values cannot be determined).

再者更進一步,我們還可以再將所得到的該運動程度值m’(或原本的運動程度值m)進行低通濾波,此種低通濾波係可為一矩陣算符,而經此一低通濾波後係可得到更精確之運動程度值m”,該矩陣算符可為: 而該運動程度值m”之獲得也就是將待處理像素之運動程度值m’(或原本的運動程度值m)再和其他周圍的像素之運動程度值作加權平均,從而能將其中的高頻部份濾除,如此便可以得到更精確的像素運動程度值。Furthermore, we can further low-pass filter the obtained motion degree value m' (or the original motion degree value m), and the low-pass filter can be a matrix operator, and After low-pass filtering, a more accurate motion level value m" can be obtained, which can be: The obtained motion degree value m" is obtained by weighting the motion degree value m' (or the original motion degree value m) of the pixel to be processed and the motion degree values of other surrounding pixels, thereby being able to increase the height thereof. The frequency portion is filtered out so that a more accurate pixel motion level value can be obtained.

承上所述,我們便以此一運動狀態偵測來對一圖像中的每一個像素進行檢測,如在第四圖中,我們便能夠知道從該圖像F11至另一圖像F10時,其中的每一個像素的運動程度值;如前所述,或根據目前對於影像顯示輸出之技術,在連續的各圖像間或一圖像內,係存在有一定的時間關聯性或空間關聯性,因此,我們可以根據所得到的像素運動程度值來判斷該像素在各圖像間的時間域上是屬於靜止狀態或是運動狀態。As described above, we use this motion state detection to detect each pixel in an image. As in the fourth figure, we can know from the image F11 to another image F10. The value of the degree of motion of each of the pixels; as described above, or according to the current technique for displaying the output of the image, there is a certain temporal correlation or spatial correlation between consecutive images or within an image. Therefore, we can judge whether the pixel belongs to a stationary state or a motion state in the time domain between images according to the obtained pixel motion degree value.

而本案之特徵在於,我們在判斷其像素為靜止或運動狀態時,增加了一半運動狀態,顧名思義,該半運動狀態便是一種介於該靜止狀態與該運動狀態之間的狀態,而判斷該像素為何種狀態,係藉由將該運動狀態偵測所得到之該運動程度值(可為未經飽和度函數運算的原運動程度值m,或有經飽和度函數運算的運動程度值m’,或者是又經低通濾波運算的運動程度值m”,此例係以運動程度值m’作說明)來和一靜止門檻值S與一運動門檻值M作比較,當該運動程度值m’小於或等於該靜止門檻值S時,判斷該像素呈現為該靜止狀態,當該運動程度值m’大於該運動門檻值M時,判斷該像素呈現為該運動狀態,而當該運動程度值m’大於該靜止門檻值S且小於或等於該運動門檻值M時,判斷該像素呈現為該半運動狀態。The feature of the present invention is that when we judge that the pixel is in a stationary or moving state, half of the motion state is added. As the name implies, the semi-moving state is a state between the stationary state and the motion state, and the judgment is made. The state of the pixel is the motion degree value obtained by detecting the motion state (which may be the original motion degree value m calculated by the unsaturation function, or the motion degree value m' calculated by the saturation function. Or, the motion degree value m", which is calculated by the low-pass filter, is compared with a motion threshold value S and a motion threshold value M, when the motion degree value m is compared. 'When it is less than or equal to the static threshold value S, it is judged that the pixel appears as the stationary state, and when the motion degree value m' is greater than the motion threshold value M, it is determined that the pixel appears as the motion state, and when the motion degree value is When m' is greater than the static threshold value S and less than or equal to the motion threshold value M, it is determined that the pixel appears to be in the semi-motion state.

這裡的該靜止門檻值S與該運動門檻值M係可被加以設定,且該靜止門檻值S係小於該運動門檻值M,在此實施例中,我們係可設定該靜止門檻值S為30,或是在10到40之間,而該運動門檻值M係可設定為80,或是在60到150之間;是故,針對不同的運動程度值,我們便能夠將待處理圖像上的所有像素在各圖像間的時間域上判斷為是屬於靜止狀態、運動狀態或是半運動狀態。Here, the static threshold value S and the motion threshold value M can be set, and the static threshold value S is smaller than the motion threshold value M. In this embodiment, we can set the static threshold value S to 30. , or between 10 and 40, and the motion threshold M can be set to 80, or between 60 and 150; therefore, for different degrees of motion, we can be on the image to be processed All pixels are judged to belong to a stationary state, a motion state, or a semi-motion state in the time domain between the images.

承上所述,在此實施例中經由該運動狀態偵測,而將該等像素之運動程度值進行分類後,本案之特徵在於我們係會對不同狀態的像素採取不同方式的色彩值調整,以期能在動態影像或動畫上呈現出最好的影像顯示輸出。請繼續參考第四圖,該圖像F10中係存在有像素a、b、c,該等像素a、b、c係為待處理之像素,而在該圖像F11中之相對應位置(或座標)上則存在有像素a1、b1、c1,我們假設在此實施例中該等像素a、b、c經過該運動狀態偵測後係分別代表靜止狀態、運動狀態和半運動狀態,並且分別對為靜止狀態之該像素a進行一靜止像素雜訊濾除,對為運動狀態之該像素b進行一運動像素雜訊濾除,以及對為半運動狀態之該像素c進行一半運動像素雜訊濾除等之不同方式的色彩值調整,其調整之方式係詳述如下。As described above, in this embodiment, after the motion state detection is performed, and the motion degree values of the pixels are classified, the present invention is characterized in that we adopt different color value adjustments for pixels of different states. In order to display the best image display output in motion pictures or animations. Please continue to refer to the fourth figure. There are pixels a, b, and c in the image F10, and the pixels a, b, and c are the pixels to be processed, and the corresponding positions in the image F11 (or There are pixels a1, b1, and c1 on the coordinates. We assume that in this embodiment, the pixels a, b, and c represent the stationary state, the motion state, and the half motion state respectively after the motion state detection, and respectively Performing a still pixel noise filtering on the pixel a for the stationary state, performing a motion pixel noise filtering on the pixel b for the motion state, and performing half-motion pixel noise on the pixel c in the semi-motion state. The color value adjustment of different ways, such as filtering, is adjusted as follows.

在此實施例中,該像素a係為靜止狀態,而在第四圖中的該圖像F10中之像素a和該圖像F11中之像素a1係為位置相對應之像素,而本案之該靜止像素雜訊濾除的過程係將為靜止狀態的該像素a依各圖像的顯示順序依次將在前的一或多圖像之像素作色彩值之平均處理,且其中主要概念便是將該像素a之前所有亦為靜止狀態的對應位置之像素作色彩值數值平均,並平均至在前圖像中對應位置上呈現為運動狀態之像素為止。In this embodiment, the pixel a is in a stationary state, and the pixel a in the image F10 in the fourth figure and the pixel a1 in the image F11 are pixels corresponding to the position, and the present case The process of static pixel noise filtering is to sequentially process the pixels of the previous one or more images into the color values according to the display order of the images in the static state, and the main concept is that All pixels of the corresponding position in the state before the pixel a are color-averaged numerically averaged, and averaged to pixels appearing as motion states at corresponding positions in the previous image.

舉例來說,此實施例的該圖像F10中之像素a(其色彩值亦以a表示)呈現為靜止狀態,該圖像F11中之像素a1(其色彩值亦以a1表示)呈現為運動狀態,若假設該像素a經過該靜止像素雜訊濾除後之值為a’時,則a’之色彩值數值平均計算與結果便為(a+a1)/2。同理衍申之,若該圖像F11中之像素a1亦呈現為靜止狀態時,但該圖像F11之前面的一圖像(即存在於該圖像F10之前所相鄰的第二個圖像)中相同對應位置之像素a2(未顯示於圖示,其色彩值亦以a2表示)呈現為運動狀態時,假設該像素a經過該靜止像素雜訊濾除後之值亦為a’,則a’之色彩值數值平均計算與結果便為(a+a1+a2)/3,然而,若該像素a2亦呈現為靜止狀態時,則便需要再納入更多之前的圖像來進行像素點色彩值數值平均,在此實施例中,我們係以8位元(bit)之次數向量方式來計數,因此,我們便能作到總數最多256次的像素點靜止狀態之數值平均,或者也可以使用其他較小之位元或較大之位元來進行次數向量之計數,而能分別使用到總數較少或總數較多的靜止狀態之數值平均。For example, the pixel a (the color value of which is also denoted by a) in the image F10 of this embodiment is presented as a stationary state, and the pixel a1 (the color value thereof is also represented by a1) in the image F11 is presented as a motion. The state, if it is assumed that the value of the pixel a after filtering through the still pixel noise is a', the average value of the color value of a' is calculated and the result is (a+a1)/2. Similarly, if the pixel a1 in the image F11 is also in a stationary state, but an image in front of the image F11 (ie, the second image adjacent to the image F10) When the pixel a2 of the same corresponding position in the image (not shown in the figure, the color value is also represented by a2) is in the motion state, it is assumed that the value of the pixel a after the static pixel noise filtering is also a', Then the average value of the color value of a' is calculated and the result is (a+a1+a2)/3. However, if the pixel a2 is also in a static state, then more previous images need to be included to perform the pixel color value. On average, in this embodiment, we count by 8-bit (bit) number of vectors, so we can make a numerical average of the total number of pixels at a maximum of 256 times, or you can use other comparisons. The small bit or the larger bit is used to count the number of times, and the average of the static states of the total number or the total number can be used separately.

所以承上所述,藉由此色彩值數值平均之計算,我們就有可能要利用到一待處理圖像之前的許多圖像中的像素資訊,然而,習用電腦系統或顯示器中的相關影像處理記憶體之空間有限,無法將所有經過處理的圖像都加以記錄,是故,針對此種狀況,我們便引入了一像素靜止次數向量之計算方式,也就是在利用上述方式進行色彩值數值平均計算後,將每個像素所累積的靜止狀態產生次數記錄下來,例如上述中該像素a為靜止狀態而該像素a1為運動狀態時,其靜止狀態次數便定義為1次,若該像素a、a1為靜止狀態而該像素a2為運動狀態時,其靜止狀態次數便定義為2次,依此類推。是故,只要將一待處理圖像的上一圖像之必要像素資訊加以記錄,並於對該待處理圖像進行色彩值數值平均之處理時,以對應之靜止狀態次數來進行計算即可,如此便能使得上述之平均方式得以在只記錄必要資訊的情形下就可以完成。Therefore, according to the calculation of the numerical average of the color values, it is possible to use the pixel information in many images before the image to be processed, however, the related image processing in the conventional computer system or display The space of the memory is limited, and it is impossible to record all the processed images. Therefore, for this situation, we introduce a calculation method of the vector of the number of still periods of the pixel, that is, the numerical value averaging of the color values by the above method. After the calculation, the number of occurrences of the quiescent state accumulated by each pixel is recorded. For example, when the pixel a is in a stationary state and the pixel a1 is in a motion state, the number of quiescent states is defined as one time, if the pixel a, When a1 is in a stationary state and the pixel a2 is in a motion state, the number of stationary states is defined as 2 times, and so on. Therefore, as long as the necessary pixel information of the previous image of the image to be processed is recorded, and the color value is averaged for the image to be processed, the corresponding static state number can be used for calculation. This allows the above average method to be completed with only the necessary information recorded.

舉例來說,當該像素a、a1為靜止狀態而該像素a2為運動狀態時,其靜止狀態次數為2次,而該像素a經過該靜止像素雜訊濾除後之值a’係為(a+a1+a2)/3,然而其中若假設該像素a1經過該靜止像素雜訊濾除後之值為a1’時,則a1’之色彩值數值平均計算與結果便為(a1+a2)/2,是故,a’便可用(a+2*a1’)/(2+1)來表示,且其中的2便為靜止狀態次數,所以只要將該待處理圖像的上一圖像之必要像素資訊(即經雜訊濾除後之值)加以記錄即可。For example, when the pixel a, a1 is in a stationary state and the pixel a2 is in a motion state, the number of quiescent states is 2, and the value a' of the pixel a after the static pixel noise filtering is ( a+a1+a2)/3, however, if it is assumed that the value of the pixel a1 after the static pixel noise filtering is a1', then the average value of the color value of a1' is calculated and the result is (a1+a2)/2, therefore, a' can be represented by (a+2*a1')/(2+1), and 2 of them are the number of quiescent states, so only the necessary pixel information of the previous image of the image to be processed (ie, noise filtering) In addition to the value of the latter) can be recorded.

其次,在此實施例中,該像素b係為運動狀態,而在第四圖中的該圖像F10中之像素b和另一圖像F11中之像素b1係為位置相對應之像素,也就是該像素b相對於該像素b1係呈現出運動狀態;由於呈現為運動狀態之像素,在影像的輸出顯示前後順序,係有一定的色彩值變化程度,而此種變化對於人類眼睛所能作到的觀察程度係較無法分辨,也就是說這樣的像素變化對於人眼的觀察是較不敏感的,是故,本案之特徵便是在於我們對於呈現為運動狀態之像素b所進行的該運動像素雜訊濾除,其中主要概念便是保留該圖像F10中的該像素b之色彩值,也就是不對該像素b進行任何實際運算或數值平均的調整,以保留其中色彩值變化的細部特徵,從而能夠避免各圖像間或一圖像中之像素呈現為運動狀態時可能的影像模糊或漏失細節之現象產生。Next, in this embodiment, the pixel b is in a motion state, and the pixel b in the image F10 in the fourth figure and the pixel b1 in the other image F11 are pixels corresponding to the position, That is, the pixel b exhibits a motion state with respect to the pixel b1; since the pixels appearing in the motion state are in a sequence before and after the output of the image is displayed, there is a certain degree of change in the color value, and such a change can be made for the human eye. The degree of observation is indistinguishable, that is to say, such pixel changes are less sensitive to the observation of the human eye. Therefore, the feature of the present case is that we perform the motion on the pixel b presented as a motion state. Pixel noise filtering, the main concept is to retain the color value of the pixel b in the image F10, that is, not to perform any actual operation or numerical average adjustment on the pixel b, in order to retain the detailed features of the color value change therein. Therefore, it is possible to avoid a phenomenon in which image blurring or missing details may occur when pixels between images or images are presented in a moving state.

再者,在此實施例中,該像素c係為半運動狀態,而在第四圖中的該圖像F10中之像素c和該圖像F11中之像素c1係為位置相對應之像素,也就是該像素c相對於該像素c1係呈現出介於靜止狀態與運動狀態之間的半運動狀態。而本案特徵之該半運動像素雜訊濾除的過程,首先,是對該圖像F10中的該像素c進行如上所述之該靜止像素雜訊濾除(其方式相同,即向前平均至為運動狀態之像素為止,在此不多贅述),而得到一靜止像素雜訊濾除值c’;接著,將該像素c的運動程度值m(無論是m、m’或m”皆為一種變數,為根據對不同之像素作不同程度之計算或分類而有不同之結果,在此係針對該像素c和該像素c1來作計算)和該靜止門檻值S、該運動門檻值M進行計算而得到一插值係數f,在此實施例中,該插值係數f之計算與結果係可為(m-S)/(M-S);最後,便是利用該像素c之色彩值(同時也視為該像素c經過該運動像素雜訊濾除後之值,其色彩值亦以c表示)、該靜止像素雜訊濾除值c’和該插值係數f進行數值平均,而能夠得到最終之一半運動像素雜訊濾除值,而在此實施例中,該半運動像素雜訊濾除值之計算與結果係可為:c*f+c’*(1-f)。Furthermore, in this embodiment, the pixel c is in a semi-motion state, and the pixel c in the image F10 in the fourth figure and the pixel c1 in the image F11 are pixels corresponding to the position, That is, the pixel c exhibits a semi-motion state between a stationary state and a motion state with respect to the pixel c1. The process of filtering the half-motion pixel noise in the feature of the present invention firstly performs the static pixel noise filtering as described above for the pixel c in the image F10 (in the same manner, that is, forward average to A pixel of the motion state is not described here, and a still pixel noise filtering value c' is obtained; then, the motion value m of the pixel c (whether m, m' or m) is A variable having a different result from different degrees of calculation or classification of different pixels, where the calculation is performed for the pixel c and the pixel c1, and the static threshold value S and the motion threshold value M are performed. Calculating to obtain an interpolation coefficient f, in this embodiment, the calculation and result of the interpolation coefficient f can be (m-S) / (M-S); finally, the color value of the pixel c is utilized (at the same time) The value of the pixel c is filtered by the motion pixel noise, and the color value is also represented by c. The static pixel noise filtering value c′ and the interpolation coefficient f are numerically averaged, and finally Half of the motion pixel noise filtering value, and in this embodiment, the half motion pixel is mixed The calculation and result of the filtering value can be: c*f+c’*(1-f).

是故,針對一待處理之圖像中的每一個像素,我們均可對其進行如上所述之運動狀態偵測與對應的像素點色彩值調整,包括了靜止、運動、半運動等三種層面的狀態,並利用本案較佳實施例所採用之計算方式進行對應的像素雜訊濾除,從而能夠得到適當的像素點色彩值調整結果。進一步來說,在此實施例中要將一待處理圖像之影像中可能存在的雜訊加以濾除時,便須要對該圖像中的每一個像素進行對應之調整,而最終所得到的要用以進行顯示輸出之圖像,便是根據調整後所得到的各個像素之靜止像素雜訊濾除值、運動像素雜訊濾除值(在此例中亦為待處理像素之色彩值)、及/或半運動像素雜訊濾除值之全部結果,加以輸出顯示。Therefore, for each pixel in an image to be processed, we can perform the motion state detection and the corresponding pixel point color value adjustment as described above, including three levels of static, motion, and semi-motion. The state of the pixel noise filtering is performed by using the calculation method adopted in the preferred embodiment of the present invention, so that an appropriate pixel color value adjustment result can be obtained. Further, in this embodiment, when noises that may exist in the image of the image to be processed are filtered out, it is necessary to perform corresponding adjustment on each pixel in the image, and finally obtain the obtained The image to be used for display output is the static pixel noise filter value and the motion pixel noise filter value of each pixel obtained after the adjustment (in this case, the color value of the pixel to be processed) And/or the result of the half-motion pixel noise filtering value is output and displayed.

而總結本案此較佳實施例之流程,係可如第五圖之流程圖所示。首先,係對一待處理圖像(即目前圖像)進行接收(步驟S10),並暫存該待處理圖像的前一個圖像(步驟S11),接著便是對這兩個圖像進行一運動狀態偵測(步驟S12),因而能夠得出相對應該待處理圖像中的每一個像素之運動程度值(步驟S13),並進而根據該運動程度值來判斷該像素係為靜止狀態、運動狀態或半運動狀態(步驟S14);其次,當該像素為靜止狀態時,對其進行一靜止像素雜訊濾除之運算處理(步驟S15),當該像素為運動狀態時,對其進行一運動像素雜訊濾除之運算處理(步驟S16),而當該像素為半運動狀態時,對其進行一半運動像素雜訊濾除之運算處理(步驟S17);最後,根據步驟S15至步驟S17之結果,將經雜訊濾除之圖像加以輸出顯示(步驟S18)。The flow of the preferred embodiment of the present invention can be summarized as shown in the flowchart of FIG. First, the image to be processed (ie, the current image) is received (step S10), and the previous image of the image to be processed is temporarily stored (step S11), and then the two images are performed. a motion state detection (step S12), thereby being able to obtain a motion degree value corresponding to each pixel in the image to be processed (step S13), and further determining that the pixel system is in a stationary state according to the motion degree value, a motion state or a half motion state (step S14); secondly, when the pixel is in a stationary state, performing a still pixel noise filtering operation process (step S15), when the pixel is in a motion state, An operation process of moving pixel noise filtering (step S16), and when the pixel is in a semi-motion state, performing half-motion pixel noise filtering operation processing (step S17); finally, according to step S15 to step As a result of S17, the image filtered by the noise is output and displayed (step S18).

然而,在本實施中所使用的相關門檻值,例如:經驗門檻值α、β、靜止門檻值S、運動門檻值M等,係皆可在一定之範圍內進行調整,其所得到影像之像素點色彩值調整亦能和本實施例有相類似之結果;同時,在本實施中所使用的飽和度函數和低通濾波之處理過程係亦可加以省略,而直接使用經由該運動狀態偵測後所得之運動程度值來進行後續之判斷與計算,或是也可以將該飽和度函數和低通濾波的矩陣算符之運算以其他數值或計算方式來替換,例如將該低通濾波的矩陣算符替代為: 或是將該低通濾波矩陣算符之處理從低階(例如:3×3)增加至高階(例如:5×5)等,都是在本方法之概念下所可以聯想得到之變化方式。再者,在本實施例中所使用的該半運動像素雜訊濾除,其中對於該插值係數f的計算方式係亦可加以變化,例如:將所得到之運動程度值m直接除以255,即f=m/255,或是將該像素本身之亮度值作計算以得出該插值係數,即f=source(x,y)/255,其中的source(x,y)便為該像素之亮度值。However, the relevant threshold values used in the present embodiment, for example, the empirical threshold values α, β, the static threshold value S, the motion threshold value M, etc., can all be adjusted within a certain range, and the pixels of the obtained image are obtained. The point color value adjustment can also be similar to the embodiment; at the same time, the saturation function and the low-pass filtering process used in the present embodiment can also be omitted, and the motion state detection can be directly used. The resulting motion degree value is used for subsequent judgment and calculation, or the operation of the saturation function and the low-pass filtered matrix operator may be replaced by other numerical values or calculation methods, for example, the low-pass filtered matrix. The operator is replaced by: Or the processing of the low-pass filter matrix operator from low-order (for example, 3×3) to high-order (for example, 5×5) and the like are all changes that can be associated under the concept of the method. Furthermore, the half-motion pixel noise filtering used in the embodiment may be changed, wherein the calculation method of the interpolation coefficient f may also be changed, for example, the obtained motion degree value m is directly divided by 255. That is, f=m/255, or calculate the brightness value of the pixel itself to obtain the interpolation coefficient, that is, f=source(x, y)/255, where source(x, y) is the pixel Brightness value.

綜上所述,利用本案之方法便可以有效地濾除影像中的高頻雜訊,同時加入了本發明之半運動像素的處理運用,使得像素點色彩值之調整能產生平滑過渡之作用,從而能夠避免先前技術中所出現的雜訊混入至影像信號中的問題,並且解決習用調整技術下所造成的影像模糊、不清晰或漏失細節等影像失真的問題,是故,成功地達成本案發展之主要目的。In summary, the method of the present invention can effectively filter out high-frequency noise in the image, and at the same time, the processing application of the semi-moving pixel of the present invention is added, so that the adjustment of the color value of the pixel can produce a smooth transition. Therefore, it is possible to avoid the problem that the noise generated in the prior art is mixed into the image signal, and solve the problem of image distortion caused by the image blurring, unclearness or missing details caused by the conventional adjustment technique, so that the development of the case is successfully achieved. The main purpose.

本發明得由熟習此技藝之人士任施匠思而為諸般修飾,然皆不脫如附申請專利範圍所欲保護者。The present invention has been modified by those skilled in the art and is intended to be modified as described in the appended claims.

本案圖式中所包含之各元件列示如下:The components included in the diagram of this case are listed as follows:

多工器...20Multiplexer. . . 20

動態偵測器...21Motion detector. . . twenty one

時間性插補模組...22Temporal interpolation module. . . twenty two

空間性插補模組...23Spatial interpolation module. . . twenty three

方塊...B11~B13、B31~B34Square. . . B11~B13, B31~B34

圖像...F10、F11image. . . F10, F11

像素...a、b、c、a1、b1、c1Pixel. . . a, b, c, a1, b1, c1

步驟...S10~S18step. . . S10~S18

本案得藉由下列圖式及說明,俾得一更深入之了解:第一圖,係為一影像處理程序之方塊示意圖。This case can be obtained through a more detailed understanding of the following figures and descriptions: The first figure is a block diagram of an image processing program.

第二圖,係為動態適應性演算法之運作示意圖。The second picture is a schematic diagram of the operation of the dynamic adaptive algorithm.

第三圖,係為一影像處理程序之方塊示意圖。The third figure is a block diagram of an image processing program.

第四圖,係為利用本發明方法之影像信號像素點色彩值調整過程之示意圖。The fourth figure is a schematic diagram of the process of adjusting the color value of the pixel of the image signal by the method of the present invention.

第五圖,係為本案較佳實施例之流程圖。The fifth figure is a flow chart of a preferred embodiment of the present invention.

步驟...S10~S18step. . . S10~S18

Claims (14)

一種影像信號像素點色彩值調整方法,應用於一影像信號中之一第一圖像與一第二圖像之間,該調整方法包含下列步驟:利用該影像信號中的該第二圖像中的一第二像素來對該影像信號中的該第一圖像中的一第一像素進行一運動狀態偵測而得到一運動程度值;因應該運動程度值小於一第一門檻值時,對該第一像素進行一第一色彩值調整;因應該運動程度值大於一第二門檻值時,對該第一像素進行一第二色彩值調整;以及因應該運動程度值介於該第一門檻值與該第二門檻值之間時,對該第一像素進行一第三色彩值調整;其中,該第一門檻值為一靜止門檻值,該第二門檻值為一運動門檻值。A method for adjusting a color value of a pixel of a video signal is applied between a first image and a second image in an image signal, the method comprising the steps of: utilizing the second image in the image signal a second pixel to perform a motion state detection on a first pixel in the first image of the image signal to obtain a motion level value; when the motion level value is less than a first threshold value, The first pixel performs a first color value adjustment; when the motion level value is greater than a second threshold value, performing a second color value adjustment on the first pixel; and the motion level value is between the first threshold And between the value and the second threshold, performing a third color value adjustment on the first pixel; wherein the first threshold is a static threshold and the second threshold is a motion threshold. 如申請專利範圍第1項所述之影像信號像素點色彩值調整方法,其中該第一圖像係為存在於該影像信號中的一待處理圖像。The image signal pixel color value adjustment method of claim 1, wherein the first image is a to-be-processed image existing in the image signal. 如申請專利範圍第1項所述之影像信號像素點色彩值調整方法,其中更包含下列步驟:當該運動程度值小於該靜止門檻值時,判斷該第一像素呈現為一靜止狀態;當該運動程度值大於該運動門檻值時,判斷該第一像素呈現為一運動狀態;以及當該運動程度值介於該靜止門檻值與該運動門檻值之間時,判斷該第一像素呈現為一半運動狀態。The image signal pixel color value adjustment method of claim 1, further comprising the steps of: determining that the first pixel appears to be a stationary state when the motion degree value is less than the static threshold value; When the motion degree value is greater than the motion threshold value, determining that the first pixel is presented as a motion state; and when the motion degree value is between the static threshold value and the motion threshold value, determining that the first pixel is presented as a half Movement state. 如申請專利範圍第1項所述之影像信號像素點色彩值調整方法,其中該靜止門檻值和該運動門檻值可被加以設定,且該靜止門檻值小於該運動門檻值。The image signal pixel color value adjustment method of claim 1, wherein the static threshold value and the motion threshold value are set, and the static threshold value is smaller than the motion threshold value. 如申請專利範圍第1項所述之影像信號像素點色彩值調整方法,其中該第二圖像係為存在於該影像信號中的該第一圖像之前所相鄰的第一個圖像。The image signal pixel color value adjustment method according to claim 1, wherein the second image is a first image adjacent to the first image existing in the image signal. 如申請專利範圍第1項所述之影像信號像素點色彩值調整方法,其中該運動狀態偵測更包含下列步驟:當該運動程度值小於一第一經驗門檻值時,將該運動程度值運算為一第一函數運動程度值;當該運動程度值大於一第二經驗門檻值時,將該運動程度值運算為一第二函數運動程度值;以及當該運動程度值介於該第一經驗門檻值與該第二經驗門檻值之間時,將該運動程度值運算為一第三函數運動程度值;其中,該第一經驗門檻值和該第二經驗門檻值可被加以設定,且該第一經驗門檻值小於該第二經驗門檻值,而該第一函數運動程度值、該第二函數運動程度值和該第三函數運動程度值在一預定範圍中。The image signal pixel color value adjustment method according to claim 1, wherein the motion state detection further comprises the following steps: when the motion degree value is less than a first experience threshold, the motion degree value is calculated. a first function motion degree value; when the motion degree value is greater than a second experience threshold value, the motion degree value is calculated as a second function motion degree value; and when the motion level value is between the first experience level When the threshold value is between the threshold value and the second empirical threshold value, the motion degree value is calculated as a third function motion degree value; wherein the first experience threshold value and the second experience threshold value may be set, and the The first empirical threshold value is less than the second empirical threshold value, and the first function motion degree value, the second function motion degree value, and the third function motion degree value are in a predetermined range. 如申請專利範圍第6項所述之影像信號像素點色彩值調整方法,其中該運動狀態偵測更包含下列步驟:將該運動程度值、該第一函數運動程度值、該第二函數運動程度值或該第三函數運動程度值進行低通濾波,而能將其中各自的高頻部份濾除。The image signal pixel color value adjustment method of claim 6, wherein the motion state detection further comprises the following steps: the motion degree value, the first function motion degree value, and the second function motion degree. The value or the third function motion level value is low pass filtered, and the respective high frequency portions can be filtered out. 如申請專利範圍第3項所述之影像信號像素點色彩值調整方法,其中該第一色彩值調整係可為一靜止像素雜訊濾除。The image signal pixel color value adjustment method of claim 3, wherein the first color value adjustment system is a static pixel noise filtering. 如申請專利範圍第8項所述之影像信號像素點色彩值調整方法,其中該靜止像素雜訊濾除係包含下列步驟:將該第一圖像中的該第一像素和該第二圖像中對應位置之該第二像素進行色彩值之數值平均,且該第二圖像中對應位置之該第二像素係呈現為該運動狀態;以及將該第一圖像中的該第一像素和該第二圖像中對應位置之該第二像素、一第三圖像中對應位置之一第三像素進行色彩值之數值平均,且該第二圖像中對應位置之該第二像素係呈現為該靜止狀態,該第三圖像中對應位置之該第三像素係呈現為該運動狀態。The image signal pixel color value adjustment method of claim 8, wherein the still pixel noise filtering system comprises the following steps: the first pixel and the second image in the first image. The second pixel of the corresponding position performs a numerical average of the color values, and the second pixel of the corresponding position in the second image is presented as the motion state; and the first pixel and the first pixel in the first image The second pixel of the corresponding position in the second image and the third pixel of the corresponding position in the third image perform numerical average of the color values, and the second pixel of the corresponding position in the second image is presented. For the quiescent state, the third pixel of the corresponding position in the third image appears as the motion state. 如申請專利範圍第9項所述之影像信號像素點色彩值調整方法,其中該第二圖像係為存在於該影像信號中的該第一圖像之前所相鄰的第一個圖像,而該第三圖像係為存在於該影像信號中的該第一圖像之前所相鄰的第二個圖像。The image signal pixel color value adjustment method according to claim 9, wherein the second image is the first image adjacent to the first image existing in the image signal, And the third image is a second image adjacent to the first image existing in the image signal. 如申請專利範圍第1項所述之影像信號像素點色彩值調整方法,其中該第二色彩值調整係可為一運動像素雜訊濾除,而該運動像素雜訊濾除之步驟係包含有:保留該第一圖像中的該第一像素之色彩值。The image signal pixel color value adjustment method of claim 1, wherein the second color value adjustment system can filter a motion pixel noise, and the motion pixel noise filtering step includes : retaining the color value of the first pixel in the first image. 如申請專利範圍第9項所述之影像信號像素點色彩值調整方法,其中該第三色彩值調整係可為一半運動像素雜訊濾除。The image signal pixel color value adjustment method according to claim 9, wherein the third color value adjustment system can filter out half of the motion pixel noise. 如申請專利範圍第12項所述之影像信號像素點色彩值調整方法,其中該半運動像素雜訊濾除係包含下列步驟:對該第一圖像中的該第一像素進行該靜止像素雜訊濾除,而得到一第一靜止像素雜訊濾除值;將該運動程度值和該靜止門檻值、該運動門檻值進行計算而得到一插值係數;以及利用該第一像素之色彩值、該第一靜止像素雜訊濾除值和該插值係數進行數值平均,而得到一第一半運動像素雜訊濾除值。The image signal pixel color value adjustment method according to claim 12, wherein the half-motion pixel noise filtering system comprises the following steps: performing the static pixel impurity on the first pixel in the first image. Filtering to obtain a first still pixel noise filtering value; calculating the motion level value and the static threshold value, the motion threshold value to obtain an interpolation coefficient; and using the color value of the first pixel, The first still pixel noise filtering value and the interpolation coefficient are numerically averaged to obtain a first half-motion pixel noise filtering value. 如申請專利範圍第1項所述之影像信號像素點色彩值調整方法,其中該影像信號係包含有複數個圖像,而該等圖像係皆各自包含有複數個像素,且該方法係可應用在該等圖像之該等像素上。The image signal pixel color value adjustment method of claim 1, wherein the image signal includes a plurality of images, and each of the image systems each includes a plurality of pixels, and the method is Applied to the pixels of the images.
TW96141242A 2007-11-01 2007-11-01 Method for adjusting color value of pixel in video signal TWI443605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW96141242A TWI443605B (en) 2007-11-01 2007-11-01 Method for adjusting color value of pixel in video signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW96141242A TWI443605B (en) 2007-11-01 2007-11-01 Method for adjusting color value of pixel in video signal

Publications (2)

Publication Number Publication Date
TW200921561A TW200921561A (en) 2009-05-16
TWI443605B true TWI443605B (en) 2014-07-01

Family

ID=44727926

Family Applications (1)

Application Number Title Priority Date Filing Date
TW96141242A TWI443605B (en) 2007-11-01 2007-11-01 Method for adjusting color value of pixel in video signal

Country Status (1)

Country Link
TW (1) TWI443605B (en)

Also Published As

Publication number Publication date
TW200921561A (en) 2009-05-16

Similar Documents

Publication Publication Date Title
US8149336B2 (en) Method for digital noise reduction in low light video
US8982232B2 (en) Image processing apparatus and image processing method
US9444977B2 (en) Method and device for adaptive noise measurement of a video signal
US7983501B2 (en) Noise detection and estimation techniques for picture enhancement
US8254454B2 (en) Apparatus and method for reducing temporal noise
US20130242145A1 (en) Video acquisition with integrated gpu processing
JP5039192B2 (en) Spatio-temporal adaptive video deinterlacing
EP1223760A2 (en) Mosquito noise reducing apparatus and method
TWI390467B (en) Dynamic noise filter and sigma filtering method
KR20070116717A (en) Method and device for measuring mpeg noise strength of compressed digital image
US8503814B2 (en) Method and apparatus for spectrum estimation
US7932955B2 (en) Method and system for content adaptive analog video noise detection
US7961972B2 (en) Method and apparatus for short range motion adaptive noise reduction
CN101141655A (en) Video signal picture element point chromatic value regulation means
JP2006270912A (en) Pulldown detection device and pulldown detection method
KR101024731B1 (en) Method and system for reducing mosquito noise in a digital image
JP2005150903A (en) Image processing apparatus, noise elimination method, and noise elimination program
JP5247591B2 (en) Image processing apparatus and control method thereof
US8040437B2 (en) Method and system for analog video noise detection
TWI443605B (en) Method for adjusting color value of pixel in video signal
JP5147655B2 (en) Video signal processing device and video display device
JP5219771B2 (en) Video processing apparatus and video processing apparatus control method
Hsia et al. High-efficiency TV video noise reduction through adaptive spatial–temporal frame filtering
US20080002055A1 (en) Spatio-temporal adaptive video de-interlacing for parallel processing
TWI386868B (en) Method of motion detection using content adaptive penalty