TWI392336B - Apparatus and method for motion adaptive de-interlacing with chroma up-sampling error remover - Google Patents

Apparatus and method for motion adaptive de-interlacing with chroma up-sampling error remover Download PDF

Info

Publication number
TWI392336B
TWI392336B TW98105999A TW98105999A TWI392336B TW I392336 B TWI392336 B TW I392336B TW 98105999 A TW98105999 A TW 98105999A TW 98105999 A TW98105999 A TW 98105999A TW I392336 B TWI392336 B TW I392336B
Authority
TW
Taiwan
Prior art keywords
scan line
field
sampling error
chrominance
chroma
Prior art date
Application number
TW98105999A
Other languages
Chinese (zh)
Other versions
TW201032581A (en
Inventor
Ying Ru Chen
Ling Hsiu Huang
Original Assignee
Himax Tech Ltd
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 Himax Tech Ltd filed Critical Himax Tech Ltd
Priority to TW98105999A priority Critical patent/TWI392336B/en
Publication of TW201032581A publication Critical patent/TW201032581A/en
Application granted granted Critical
Publication of TWI392336B publication Critical patent/TWI392336B/en

Links

Description

具有CUE移除器的動態適應性去交錯裝置與方法Dynamic adaptive deinterlacing device and method with CUE remover

本發明是有關於一種偵測移動的裝置與方法,且特別是有關於一種具有色度提升取樣誤差(chroma up-sampling error,CUE)移除器的動態適應性去交錯裝置與方法。The present invention relates to a device and method for detecting motion, and more particularly to a dynamic adaptive deinterlacing device and method having a chroma up-sampling error (CUE) remover.

一般來說,移動偵測利用目標像素在同一奇偶場(The Same Parity Field)中的差值來判定這些目標像素是否在移動。當差值大於一個預先所設定好的閥值(Threshold)時,表示有影片中的內容有變異量(Variation)產生,於是可判定所對應的像素為移動像素;而當差值小於閥值時,表示沒有變異量的產生,因此則判定所對應的像素為靜止像素。In general, motion detection uses the difference of the target pixels in the same parity field (The Same Parity Field) to determine whether the target pixels are moving. When the difference is greater than a pre-set threshold (Threshold), it means that there is a variation in the content of the movie, so that the corresponding pixel is determined to be a moving pixel; and when the difference is less than the threshold , indicating that there is no generation of variation, and therefore, it is determined that the corresponding pixel is a still pixel.

透過上述的移動偵測法,可獲得移動物體中的移動資訊以提供參考,看是否使用空間內插法(Spatial Interpolation)或是時間內插法(Temporal Interpolation)來求得所需的圖場資料。其中所不同的是時間內插法是用來計算沒有移動物體區域的像素值;而空間內插法則是用來計算有移動物體區域的像素值。Through the above motion detection method, the mobile information in the moving object can be obtained to provide a reference to see whether spatial interpolation or temporal interpolation (Temporal Interpolation) is used to obtain the required field data. . The difference is that the time interpolation method is used to calculate the pixel value of the area without moving objects; and the spatial interpolation method is used to calculate the pixel value of the moving object area.

另一方面,為了降低視訊的影像大小,視訊中的顏色分量通常會被壓縮成4:2:0取樣格式。具體而言,基於人眼對於顏色分量不敏感的特性,視訊資料中的顏色分量通常被降低取樣,只保留部分的顏色資訊。常見的降低取樣格式包括了4:2:2取樣格式、4:1:1取樣格式以及4:2:0取樣格式。On the other hand, in order to reduce the video image size, the color components in the video are usually compressed into a 4:2:0 sampling format. In particular, based on the characteristics of the human eye that are insensitive to color components, the color components in the video material are typically downsampled, leaving only part of the color information. Common downsampling formats include the 4:2:2 sampling format, the 4:1:1 sampling format, and the 4:2:0 sampling format.

以包含R、G和B顏色分量的像素為例,在以4:2:2降低取樣的處理過程中,像素的R、G和B顏色分量會被等效轉換成亮度Y以及顏色分量U和V,而像素顏色分量的取樣間隔為兩倍。也就是說,只有一個像素的顏色分量會被取樣並共用於每兩個像素之中。Taking a pixel containing R, G, and B color components as an example, in the process of reducing the sampling by 4:2:2, the R, G, and B color components of the pixel are equivalently converted into the luminance Y and the color component U and V, and the sampling interval of the pixel color component is twice. That is, only one pixel of the color component will be sampled and used in every two pixels.

然而,當對被壓縮為4:2:0取樣格式的視訊進行三維去交錯處理時,若合併前圖場以及後圖場之靜止區域中之所對應的像素的顏色分量來進行顯示,則會產生一色度提升取樣誤差(chroma up-sampling error,CUE)。However, when the video that is compressed into the 4:2:0 sampling format is subjected to three-dimensional deinterleaving, if the color components of the corresponding pixels in the front field and the still field of the subsequent field are combined for display, A chroma up-sampling error (CUE) is generated.

圖1繪示一種進行去交錯處理時所產生色度提升取樣誤差。請參照圖1,當對影像大小為8x8的漸進圖場進行去交錯處理時,掃描線被分為一奇圖場以及一偶圖場,其中奇圖場包含漸進圖場的多條奇數掃描線,而偶圖場包含漸進圖場的多條偶數掃描線,且這些像素以陰影部份的區塊來表示多個彩色像素。然後,在同時對奇圖場以及偶圖場進行4:2:0降低取樣時,每兩條掃描線之其中之一的資料會被保留下來進行取樣並用來作為這兩條掃描線的資料,以進一步降低原始圖場的影像大小。然而,當對上述兩個已進行降低取樣的奇圖場以及偶圖場進行去交錯處理時,會交替地對奇圖場的掃描線以及偶圖場的掃描線進行提升取樣以回復圖場。如圖1所繪示的第三部份,彩色像素被錯置以致於回復後的圖場之彩色區域的邊緣呈現鋸齒狀。FIG. 1 illustrates a chroma lifting sampling error generated when performing deinterleaving processing. Referring to FIG. 1 , when de-interlacing a progressive image having an image size of 8×8, the scan line is divided into an odd field and an even field, wherein the odd field includes a plurality of odd scan lines of the progressive field. And the even field contains a plurality of even scan lines of the progressive field, and the pixels represent a plurality of color pixels in shaded blocks. Then, when 4:2:0 downsampling is simultaneously performed on the odd field and the even field, the data of one of each of the two scanning lines is retained and sampled and used as the data of the two scanning lines. To further reduce the image size of the original field. However, when the two odd-field and even-map fields that have been downsampled are deinterleaved, the scan lines of the odd field and the scan lines of the even field are alternately sampled to restore the field. As shown in the third portion of FIG. 1, the color pixels are misplaced such that the edges of the colored regions of the restored image appear jagged.

為了解決上述之色度提升取樣誤差的問題,傳統技術利用一低通濾波器來進行提升取樣,但這種方法會使圖場中具有明顯色彩差異的輪廓變得模糊。為了徹底解決這樣的問題,則需將前圖場以及後圖場之彩色區域中之像素的分量進行置換,如圖1中第四部份所示。更詳細地說,奇圖場中之像素的分量會與下一個圖場中之像素的分量進行置換,而偶圖場中之像素的分量會與前一個圖場中之像素的分量進行置換。In order to solve the above problem of chromaticity-increasing sampling error, the conventional technique utilizes a low-pass filter for lifting sampling, but this method blurs the contour of the field with significant color differences. In order to completely solve such a problem, it is necessary to replace the components of the pixels in the color field of the front field and the back field, as shown in the fourth part of FIG. In more detail, the components of the pixels in the odd field will be replaced with the components of the pixels in the next field, and the components of the pixels in the even field will be replaced with the components of the pixels in the previous field.

然而,由於移動偵測器必需採用同一奇偶場,因而動態適應性去交錯技術處理需要至少三個圖場的資料以精確偵測靜止區域以及移動區域。倘若欲移除輸入之三個圖場中的色度提升取樣誤差以利進行移動偵測,則需至少五個圖場的資料,而此舉會耗費大量的緩衝區。However, since the motion detector must use the same parity field, the dynamic adaptive deinterleaving technique processes data requiring at least three fields to accurately detect the still region and the moving region. If you want to remove the chrominance upsampling error in the input fields to facilitate motion detection, you need at least five fields of data, which will consume a lot of buffers.

本發明提供一種具有色度提升取樣誤差(chroma up-sampling error,CUE)移除器的動態適應性去交錯裝置,其可使緩衝區的使用相對降低。The present invention provides a dynamic adaptive de-interlacing device with a chroma up-sampling error (CUE) remover that can relatively reduce the use of buffers.

本發明提供一種具有色度提升取樣誤差移除器的動態適應性去交錯方法,其僅依據三個相鄰的圖場即可獲得正確的去交錯圖場資料。The invention provides a dynamic adaptive deinterlacing method with a chroma lifting sampling error remover, which can obtain correct deinterlaced field data only based on three adjacent fields.

本發明提出一種具有色度提升取樣誤差移除器的動態適應性去交錯裝置,其包括一移動偵測器、一第一色度提升取樣誤差移除器、一第二色度提升取樣誤差移除器、一去交錯單元、一選擇器以及一合併單元。移動偵測器用以接收一目前圖場、一前圖場以及一後圖場的資料,並判定目前圖場中之一第一掃描線以及一第三掃描線之間的像素是否為移動像素或靜止像素。第一色度提升取樣誤差移除器用以接收目前圖場以及前圖場的資料,並移除前圖場中之一第二掃描線的色度提升取樣誤差,其中第二掃描線位於第一掃描線以及第三掃描線之間。第二色度提升取樣誤差移除器用以接收前圖場、目前圖場以及後圖場的資料,並移除目前圖場中之第一掃描線以及第三掃描線的色度提升取樣誤差。去交錯單元耦接第二色度提升取樣誤差移除器,並用以接收已進行處理的第一掃描線以及第三掃描線的資料,且利用第一掃描線以及第三掃描線進行內插處理以獲得一去交錯第二掃描線。選擇器耦接移動偵測器、第一色度提升取樣誤差移除器以及去交錯單元,其中選擇器依據移動偵測器的一移動偵測結果,並據以選擇第一色度提升取樣誤差移除器的輸出資料或去交錯單元的輸出資料以作為第二掃描線的資料。合併單元耦接第二色度提升取樣誤差移除器以及選擇器,用以合併第二色度提升取樣誤差移除器所輸出的第一掃描線以及選擇器所輸出的第二掃描線,以輸出一輸出圖場的兩條掃描線。The invention provides a dynamic adaptive deinterlacing device with a chroma lifting sampling error remover, which comprises a motion detector, a first chroma lifting sampling error remover, and a second chroma lifting sampling error shift. A divider, a deinterlacing unit, a selector, and a merging unit. The motion detector is configured to receive data of a current field, a front field, and a back field, and determine whether a pixel between the first scan line and the third scan line in the current field is a moving pixel or Still pixels. The first chrominance up sampling error remover is configured to receive data of the current field and the front field, and remove chrominance up sampling error of one of the second scan lines in the front field, wherein the second scan line is located at the first Between the scan line and the third scan line. The second chrominance upsampling error remover is configured to receive data of the front field, the current field, and the back field, and remove chrominance up sampling errors of the first scan line and the third scan line in the current field. The deinterleaving unit is coupled to the second chrominance up sampling error remover, and configured to receive the data of the processed first scan line and the third scan line, and perform interpolation processing by using the first scan line and the third scan line A de-interlaced second scan line is obtained. The selector is coupled to the motion detector, the first chrominance upsampling error remover, and the deinterlacing unit, wherein the selector selects the first chrominance to increase the sampling error according to a motion detection result of the motion detector. The output data of the remover or the output data of the deinterleaving unit is used as the data of the second scan line. The merging unit is coupled to the second chrominance upsampling error remover and the selector for combining the first scan line output by the second chrominance up sampling error remover and the second scan line output by the selector to Output two scan lines of an output field.

在本發明之一實施例中,移動偵測器依據兩相鄰圖場間的多個差值來判定目前圖場中之第一掃描線以及第三掃描線之間的像素是否為移動像素或靜止像素。In an embodiment of the present invention, the motion detector determines whether the pixel between the first scan line and the third scan line in the current field is a moving pixel or according to multiple differences between two adjacent fields. Still pixels.

在本發明之一實施例中,移動偵測器依據兩相鄰圖場間的差值來判定移動像素或靜止像素。In an embodiment of the invention, the motion detector determines the moving pixel or the still pixel based on the difference between the two adjacent fields.

在本發明之一實施例中,若移動偵測器偵測目前圖場中之第一掃描線以及第三掃描線之間的像素為靜止像素,選擇器選擇第一色度提升取樣誤差移除器的輸出資料作為第二掃描線的資料。In an embodiment of the invention, if the motion detector detects that the pixel between the first scan line and the third scan line in the current field is a still pixel, the selector selects the first chrominance to increase the sampling error removal. The output data of the device is used as the data of the second scan line.

在本發明之一實施例中,若移動偵測器偵測目前圖場中之第一掃描線以及第三掃描線之間的像素為移動像素,選擇器選擇去交錯單元的輸出資料作為第二掃描線的資料。In an embodiment of the invention, if the motion detector detects that the pixel between the first scan line and the third scan line in the current field is a moving pixel, the selector selects the output data of the deinterlacing unit as the second Scan line information.

在本發明之一實施例中,若第二掃描線的色度提升取樣誤差被偵測,第一色度提升取樣誤差移除器偵測前圖場中之第二掃描線的色度提升取樣誤差,並對前圖場中之第二掃描線的顏色分量以及目前圖場中之第一掃描線或第三掃描線的顏色分量進行置換。In an embodiment of the invention, if the chrominance up sampling error of the second scan line is detected, the first chrominance up sampling error remover detects the chrominance boost sampling of the second scan line in the front field. The error is substituted for the color component of the second scan line in the front field and the color component of the first scan line or the third scan line in the current field.

在本發明之一實施例中,若第一掃描線的色度提升取樣誤差被偵測,第二色度提升取樣誤差移除器偵測目前圖場中之第一掃描線的色度提升取樣誤差,並對目前圖場中之第一掃描線的顏色分量以及後圖場中之第一掃描線的前一條掃描線或第二掃描線的顏色分量進行置換。In an embodiment of the invention, if the chrominance up sampling error of the first scan line is detected, the second chrominance up sample error remover detects the chrominance upsampling of the first scan line in the current field. The error is substituted for the color component of the first scan line in the current field and the color component of the previous scan line or the second scan line of the first scan line in the back image field.

在本發明之一實施例中,若第三掃描線的色度提升取樣誤差被偵測,第二色度提升取樣誤差移除器偵測目前圖場中之第三掃描線的色度提升取樣誤差,並對目前圖場中之第三掃描線的顏色分量以及後圖場中之第二掃描線或第三掃描線的下一條掃描線的顏色分量進行置換。In an embodiment of the invention, if the chrominance up sampling error of the third scan line is detected, the second chrominance up sample error remover detects the chrominance upsampling of the third scan line in the current field. The error is substituted for the color component of the third scan line in the current field and the color component of the next scan line of the second scan line or the third scan line in the subsequent field.

本發明提出一種具有色度提升取樣誤差移除器的動態適應性去交錯方法,其包括下列步驟。首先,判定一目前圖場中之一第一掃描線以及一第三掃描線之間的像素是否為移動像素或靜止像素。移除一前圖場中之一第二掃描線的色度提升取樣誤差,並移除目前圖場中之第一掃描線以及第三掃描線的色度提升取樣誤差,其中第二掃描線位於第一掃描線以及第三掃描線之間。然後,利用第一掃描線以及第三掃描線進行內插處理以獲得一去交錯的第二掃描線。依據目前圖場中之第一掃描線以及第三掃描線之間的像素是否為移動像素或靜止像素的一判定結果,以選擇具有被移除之色度提升取樣誤差的第二掃描線的資料或去交錯的第二掃描線的資料作為第二掃描線的資料。而後,合併具有被移除之色度提升取樣誤差的第一掃描線以及被選擇的第二掃描線,以輸出一輸出圖場的兩條掃描線。The present invention provides a dynamic adaptive deinterlacing method with a chrominance upsampling error remover that includes the following steps. First, it is determined whether a pixel between one of the first scan line and the third scan line in the current field is a moving pixel or a still pixel. Removing a chrominance up sampling error of one of the second scan lines in a previous field, and removing chrominance up sampling errors of the first scan line and the third scan line in the current field, wherein the second scan line is located Between the first scan line and the third scan line. Then, interpolation processing is performed using the first scan line and the third scan line to obtain a deinterleaved second scan line. Determining, according to a determination result of whether the pixel between the first scan line and the third scan line in the current field is a moving pixel or a still pixel, to select a second scan line having the removed chroma to increase the sampling error Or deinterlacing the data of the second scan line as the data of the second scan line. Then, the first scan line having the removed chroma upsampling error and the selected second scan line are combined to output two scan lines of an output field.

在本發明之一實施例中,目前圖場中之第一掃描線以及第三掃描線之間的像素是否為移動像素或靜止像素的判定結果是依據兩相鄰圖場間的多個差值。In an embodiment of the present invention, the determination result of whether the pixel between the first scan line and the third scan line in the field is a moving pixel or a still pixel is based on a plurality of differences between two adjacent fields. .

在本發明之一實施例中,依據目前圖場中之第一掃描線以及第三掃描線之間的像素是否為移動像素或靜止像素的判定結果,以選擇具有被移除之色度提升取樣誤差的第二掃描線的資料或去交錯的第二掃描線的資料作為第二掃描線的資料的步驟包括以下步驟:若目前圖場中之第一掃描線以及第三掃描線的像素判定為靜止像素,則選擇具有被移除之色度提升取樣誤差的第二掃描線的資料作為第二掃描線的資料;另一方面,若目前圖場中之第一掃描線以及第三掃描線的像素判定為移動像素,則選擇去交錯的第二掃描線的資料作為第二掃描線的資料。In an embodiment of the present invention, according to the determination result of whether the pixel between the first scan line and the third scan line in the current field is a moving pixel or a still pixel, the chromaticity lifting sampling with the removed color is selected. The step of the error of the second scan line or the data of the deinterlaced second scan line as the data of the second scan line includes the following steps: if the pixels of the first scan line and the third scan line in the current field are determined as For the still pixel, the data of the second scan line having the removed chroma up sampling error is selected as the data of the second scan line; on the other hand, if the first scan line and the third scan line in the current field are When the pixel is determined to be a moving pixel, the data of the second scan line that is deinterleaved is selected as the data of the second scan line.

在本發明之一實施例中,移除前圖場中之第二掃描線的色度提升取樣誤差的步驟為:偵測前圖場中之第二掃描線的色度提升取樣誤差,若第二掃描線的色度提升取樣誤差被偵測時,對前圖場中之第二掃描線的顏色分量以及目前圖場中之第一掃描線或第三掃描線的顏色分量進行置換。In an embodiment of the present invention, the step of removing the chrominance up sampling error of the second scan line in the front field is: detecting the chrominance up sampling error of the second scan line in the front field, if When the chrominance up sampling error of the two scan lines is detected, the color component of the second scan line in the front field and the color component of the first scan line or the third scan line in the current picture field are replaced.

在本發明之一實施例中,移除目前圖場中之第一掃描線的色度提升取樣誤差的步驟為:偵測目前圖場中之第一掃描線的色度提升取樣誤差,若第一掃描線的色度提升取樣誤差被偵測時,對目前圖場中之第一掃描線的顏色分量以及後圖場中之第一掃描線的前一條掃描線或第二掃描線的顏色分量進行置換。In an embodiment of the present invention, the step of removing the chrominance up sampling error of the first scan line in the current field is: detecting a chrominance up sampling error of the first scan line in the current field, if When the chroma error of a scan line is detected, the color component of the first scan line in the current field and the color component of the previous scan line or the second scan line of the first scan line in the back field are detected. Perform the replacement.

在本發明之一實施例中,移除目前圖場中之第三掃描線的色度提升取樣誤差的步驟為:偵測目前圖場中之第三掃描線的色度提升取樣誤差,若第三掃描線的色度提升取樣誤差被偵測時,對目前圖場中之第三掃描線的顏色分量以及後圖場中之第二掃描線或第三掃描線的下一條掃描線的顏色分量進行置換。In an embodiment of the present invention, the step of removing the chrominance up sampling error of the third scan line in the current field is: detecting the chrominance up sampling error of the third scan line in the current field, if When the chrominance of the three scan lines is detected, the color component of the third scan line in the current field and the color component of the next scan line of the second scan line or the third scan line in the subsequent field are detected. Perform the replacement.

在本發明中,兩個色度提升取樣誤差(CUE)移除器用以分別移除目前圖場以及前圖場中的移除色度提升取樣誤差,而依據對目標掃描線進行移動偵測所獲得的一移動偵測結果則並透過時間內插法或空間內插法則可獲得目標掃描線的資料。如此,本發明可僅依據三個相鄰的圖場來獲得正確的去交錯圖場資料,並降低緩衝區的使用量。In the present invention, two chrominance up-sampling error (CUE) removers are used to remove the current gamut and the chrominance-increasing sampling error in the front field, respectively, and perform motion detection on the target scan line. The obtained motion detection result is obtained by the time interpolation method or the spatial interpolation method. Thus, the present invention can obtain correct deinterlaced field data based on only three adjacent fields and reduce the amount of buffer used.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

一般來說,動態適應性去交錯技術(motion adaptive de-interlacing)所使用的資料可透過空間內插法(spatial interpolation)或時間內插法(temporal interpolation)來獲得。為了利用最少的緩衝區來解決去交錯的過程中所產生的色度提升取樣誤差(chroma up-sampling error),本發明僅利用時間內插法而使前圖場的資料取代前圖場資料以及後圖場資料的平均值,如此緩衝區的使用便可相對降低。此外,為了使本發明更明顯易懂,下文特舉實施例作詳細說明。In general, the data used by motion adaptive de-interlacing can be obtained by spatial interpolation or temporal interpolation. In order to solve the chroma up-sampling error generated in the process of deinterlacing with a minimum of buffers, the present invention only uses the time interpolation method to replace the data of the former field with the data of the previous field and The average value of the back field data, so the use of the buffer can be relatively reduced. Further, in order to make the invention more apparent, the specific embodiments are described in detail below.

圖2繪示本發明之一實施例之一種動態適應性去交錯裝置的方塊圖。請參照圖2,本實施例之動態適應性去交錯裝置200包括一移動偵測器202、一第一色度提升取樣誤差移除器204、一第二色度提升取樣誤差移除器206、一去交錯單元208、一選擇器210以及一合併單元212。接下來,將於下述實施例中針對上述各個構件的功能進行說明。2 is a block diagram of a dynamic adaptive deinterlacing apparatus according to an embodiment of the present invention. Referring to FIG. 2, the dynamic adaptive deinterlacing apparatus 200 of the present embodiment includes a motion detector 202, a first chrominance lifting sampling error remover 204, and a second chrominance lifting sampling error remover 206. A deinterleaving unit 208, a selector 210, and a merging unit 212 are provided. Next, the functions of the respective members described above will be described in the following embodiments.

移動偵測器202接收一目前圖場、一前圖場以及一後圖場的資料,並據以判定目前圖場中之第一掃描線以及第三掃描線的像素是否為移動像素或靜止像素。具體地說,第一掃描線以及第三掃描線為目前圖場中之相鄰兩掃描線,且這兩條掃描線之間的第二掃描線為透過空間內插法或時間內插法所獲得的一目標掃描線。詳言之,倘若第二掃描線中的像素被判定為移動像素,則其資料可透過對目前圖場中之第一掃描線以及第三掃描線進行空間內插處理來獲得。反之,倘若第二掃描線中的像素被判定為靜止像素,則其資料可透過對相對應的前圖場或後圖場中之第二掃描線進行時間內插處理來獲得。The motion detector 202 receives data of a current picture field, a front picture field, and a back picture field, and determines whether the pixels of the first scan line and the third scan line in the current picture field are moving pixels or still pixels. . Specifically, the first scan line and the third scan line are adjacent scan lines in the current field, and the second scan line between the two scan lines is transmitted through spatial interpolation or time interpolation. A target scan line is obtained. In detail, if the pixels in the second scan line are determined to be moving pixels, the data can be obtained by spatially interpolating the first scan line and the third scan line in the current picture field. On the other hand, if the pixels in the second scan line are determined to be still pixels, the data can be obtained by time-interpolating the corresponding second or scan lines in the previous or subsequent fields.

舉例來說,圖3繪示本發明之一實施例之一種利用三相鄰圖場的資料來進行空間內插處理以及時間內插處理之方法的示意圖。請參照圖3,假設一目前圖場F_current中之一掃描線B的一像素P為透過空間內插法或時間內插法所計算出的指定像素。倘若像素P被判定為一移動像素,則可採用空間內插法來對目前圖場F_current中之掃描線A的像素P1以及目前圖場F_current中之掃描線C的像素P2進行內插處理以獲得像素P。相反地,倘若像素P被判定為一靜止像素,則可採用時間內插法來對一前圖場F_previous中之掃描線B的像素P1’以及一後圖場F_next中之掃描線B的像素P2’進行內插處理以獲得像素P。For example, FIG. 3 is a schematic diagram of a method for spatial interpolation processing and time interpolation processing using data of three adjacent fields according to an embodiment of the present invention. Referring to FIG. 3, it is assumed that a pixel P of one of the scanning lines B in the current field F_current is a designated pixel calculated by spatial interpolation or temporal interpolation. If the pixel P is determined to be a moving pixel, spatial interpolation may be employed to interpolate the pixel P1 of the scanning line A in the current field F_current and the pixel P2 of the scanning line C in the current field F_current to obtain Pixel P. Conversely, if the pixel P is determined to be a still pixel, time interpolation may be employed to compare the pixel P1 of the scanning line B in a front field F_previous and the pixel P2 of the scanning line B in a subsequent field F_next. 'Interpolation processing is performed to obtain the pixel P.

於是,依據兩相鄰圖場之間的多個差值,移動偵測器202可判定目前圖場中之第一掃描線以及第三掃描線的像素是否為移動像素或靜止像素,其中移動偵測器202可依據兩相鄰圖場之間的多個差值來判定移動像素或靜止像素。Then, according to the plurality of differences between the two adjacent fields, the motion detector 202 can determine whether the pixels of the first scan line and the third scan line in the current field are moving pixels or still pixels, wherein the motion detector The detector 202 can determine a moving pixel or a still pixel based on a plurality of differences between two adjacent fields.

在本實施例中,是利用相鄰三圖場的資料去進行移動偵測。然而,因為動態適應性去交錯技術需要由一二維圖場之空間內插處理而來的資料或於前圖場中之對應位置中的像素資料(時間內插法),所以利用空間內插結果所求得之亮度以及顏色分量的資料或前圖場的資料應該完全正確,以使移動偵測器可正確地執行動作。如此一來,在進行去交錯動作之前,色度提升取樣誤差移除器需先移除前圖場、目前圖場以及後圖場中之色度提升取樣誤差。In this embodiment, the data of the adjacent three fields is used to perform motion detection. However, since the dynamic adaptive deinterlacing technique requires data interpolated from a two-dimensional field or pixel data in a corresponding position in the front field (time interpolation), spatial interpolation is used. As a result, the brightness and color component data or the data of the front field should be completely correct so that the motion detector can perform the action correctly. In this way, before performing the deinterlacing operation, the chroma lifting sampling error remover needs to remove the chroma lifting sampling error in the front field, the current field, and the back field first.

為了進行時間內插處理,前圖場F_previous的資料理應正確且其間存在的色度提升取樣誤差應被移除。因此,第一色度提升取樣誤差移除器204接收目前圖場F_current以及前圖場F_previous中的資料,並進一步移除前圖場F_previous中之第二掃描線的色度提升取樣誤差。一般來說,需透過前圖場以及後圖場中的資料來移除前圖場F_previous中的色度提升取樣誤差。然而,動態適應性去交錯處理僅利用前圖場中之一靜止區域的資料,若前圖場F_previous的內容為靜止狀態,則其前圖場以及後圖場的資料便全然相同。如此,前圖場F_previous的下一個圖場(即目前圖場F_current)需與前圖場F_previous相互置換,以獲得前圖場F_previous’中之正確的顏色分量。In order to perform time interpolation processing, the data of the front field F_previous should be correct and the chrominance sampling error existing between them should be removed. Therefore, the first chrominance upsampling error remover 204 receives the data in the current field F_current and the front field F_previous, and further removes the chrominance up sampling error of the second scan line in the previous field F_previous. In general, the chroma lifting error in the front field F_previous is removed from the data in the previous and subsequent fields. However, the dynamic adaptive deinterlacing process only uses the data of one of the static fields in the front field. If the content of the front field F_previous is static, the data of the front field and the back field are completely the same. Thus, the next field of the previous field F_previous (ie, the current field F_current) needs to be replaced with the previous field F_previous to obtain the correct color component in the front field F_previous'.

舉例來說,圖4繪示本發明之一實施例之一種移除前圖場中之掃描線的色度提升取樣誤差之方法的示意圖。請參照圖4,假設前圖場F_previous中的掃描線B為一靜止區域。當對色度提升取樣誤差進行移除時,前圖場F_previous中的掃描線B會與目前圖場F_current中的掃描線A或掃描線C相互置換。For example, FIG. 4 is a schematic diagram of a method for removing a chrominance upsampling error of a scan line in a front field in accordance with an embodiment of the present invention. Referring to FIG. 4, it is assumed that the scanning line B in the front field F_previous is a still area. When the chroma up sampling error is removed, the scan line B in the front field F_previous is replaced with the scan line A or the scan line C in the current picture field F_current.

為了進行一二維去交錯(2DDI)處理,亦即空間內插處理,目前圖場F_current中的資料應需正確且其間存在的色度提升取樣誤差也該被移除。在本實施例中,第二色度提升取樣誤差移除器206接收目前圖場F_current以及後圖場F_next中的資料,並移除目前圖場F_current中之第一掃描線以及第三掃描線的色度提升取樣誤差。詳細而言,在進行二維去交錯處理之前,目前圖場F_current中之錯誤的顏色分量應與前圖場F_previous或後圖場F_next中的顏色分量相互置換,以獲得目前圖場F_current’中之正確的顏色分量。In order to perform a two-dimensional deinterlacing (2DDI) process, that is, spatial interpolation processing, the data in the current field F_current should be correct and the chrominance up sampling error existing therebetween should also be removed. In this embodiment, the second chrominance upsampling error remover 206 receives the data in the current field F_current and the back field F_next, and removes the first scan line and the third scan line in the current field F_current. Chromaticity increases sampling error. In detail, before the two-dimensional deinterlacing process, the erroneous color component in the current field F_current should be replaced with the color component in the front field F_previous or the back field F_next to obtain the current field F_current'. The correct color component.

更詳細地說,第二色度提升取樣誤差移除器206偵測目前圖場F_current中之第一掃描線的色度提升取樣誤差,若偵測到第一掃描線的色度提升取樣誤差,目前圖場F_current中之第一掃描線的顏色分量進行置換會透過第二色度提升取樣誤差移除器206而與前圖場F_previous或後圖場F_next中之第一掃描線的前一條掃描線或第二掃描線的顏色分量進行置換。此外,第二色度提升取樣誤差移除器206還會偵測目前圖場F_current中之第三掃描線的色度提升取樣誤差,若偵測到第三掃描線的色度提升取樣誤差,目前圖場F_current中之第三掃描線的顏色分量會透過第二色度提升取樣誤差移除器206而與前圖場F_previous或後圖場F_next中之第二掃描線或第三掃描線的下一條掃描線之顏色分量進行置換。In more detail, the second chrominance up sampling error remover 206 detects the chrominance up sampling error of the first scan line in the current field F_current, and if the chrominance up sampling error of the first scan line is detected, At present, the color component of the first scan line in the field F_current is replaced by the second chrominance up sample error remover 206 and the previous scan line of the first scan line in the front field F_previous or the back field F_next. Or the color component of the second scan line is replaced. In addition, the second chrominance up sampling error remover 206 also detects the chrominance up sampling error of the third scan line in the current field F_current, and if the chrominance up sampling error of the third scan line is detected, currently The color component of the third scan line in the field F_current will pass through the second chrominance up sample error remover 206 and the next line of the second scan line or the third scan line in the front field F_previous or the back field F_next The color component of the scan line is replaced.

舉例來說,圖5繪示本發明之一實施例之一種移除目前圖場中之掃描線的色度提升取樣誤差之方法的示意圖。請參照圖5,假設目前圖場F_current中的掃描線A以及掃描線C為一靜止區域。當對色度提升取樣誤差進行移除時,目前圖場F_current中的掃描線A可與前圖場F_previous中的掃描線D或掃描線B相互置換;或者,與後圖場F_next中的掃描線D或掃描線B相互置換。此外,目前圖場F_current中的掃描線C可與前圖場F_previous中的掃描線B或掃描線E相互置換;或者,與後圖場F_next中的掃描線B或掃描線E相互置換。For example, FIG. 5 is a schematic diagram of a method for removing chrominance upsampling errors of scan lines in a current field according to an embodiment of the invention. Referring to FIG. 5, it is assumed that the scanning line A and the scanning line C in the current field F_current are a still area. When the chrominance up sampling error is removed, the scan line A in the current field F_current may be replaced with the scan line D or the scan line B in the front field F_previous; or, the scan line in the back field F_next D or scan line B is replaced with each other. Further, the scanning line C in the current field F_current may be mutually replaced with the scanning line B or the scanning line E in the front field F_previous; or, the scanning line B or the scanning line E in the rear image field F_next may be replaced with each other.

在本實施例中,目前圖場F_current’中的資料自第二色度提升取樣誤差移除器206輸出並進一步輸入至去交錯單元208以進行去交錯處理。更具體地說,去交錯單元208接收目前圖場F_current’中之已進行處理的第一掃描線以及第三掃描線的資料,並利用第一掃描線以及第三掃描線進行內插處理而求得目前圖場F_current’中之去交錯的第二掃描線。In the present embodiment, the data in the current field F_current' is output from the second chrominance upsampling error remover 206 and further input to the deinterleaving unit 208 for deinterleaving. More specifically, the deinterleaving unit 208 receives the data of the processed first scan line and the third scan line in the current field F_current', and performs interpolation processing using the first scan line and the third scan line. The second scan line deinterlaced in the current field F_current' is obtained.

選擇器210接收移動偵測器202所輸出的移動資訊、正確之前圖場F_previous’的資料以及已進行二維去交錯處理F_2DDI之後的目前圖場的資料,並依據移動偵測器202的一移動偵測結果而適應性地選擇第一色度提升取樣誤差移除器204或去交錯單元208的輸出資料作為目前圖場中之第二掃描線的資料。更詳細地說,若移動偵測器202偵測目前圖場F_current中之第一掃描線以及第三掃描線之間的像素為靜止像素,則選擇器210會選擇第一色度提升取樣誤差移除器204的輸出資料作為第二掃描線的資料。另一方面,若移動偵測器202偵測目前圖場F_current中之第一掃描線以及第三掃描線之間的像素為移動像素,則選擇器210會選擇去交錯單元208的輸出資料作為第二掃描線的資料。The selector 210 receives the movement information output by the motion detector 202, the data of the correct previous field F_previous', and the data of the current field after the two-dimensional deinterleaving process F_2DDI, and according to a movement of the motion detector 202 The result of the detection is used to adaptively select the output data of the first chrominance upsampling error remover 204 or the deinterleaving unit 208 as the data of the second scan line in the current field. In more detail, if the motion detector 202 detects that the pixel between the first scan line and the third scan line in the current field F_current is a still pixel, the selector 210 selects the first chrominance to increase the sampling error shift. The output data of the divider 204 is used as the data of the second scan line. On the other hand, if the motion detector 202 detects that the pixel between the first scan line and the third scan line in the current field F_current is a moving pixel, the selector 210 selects the output data of the deinterleaving unit 208 as the first Two scan line data.

在本實施例中,合併單元212合併第二色度提升取樣誤差移除器206所輸出的第一掃描線以及選擇器210所輸出的第二掃描線以輸出一輸出圖場的兩條掃描線。上述去交錯處理將重覆執行直到目前圖場F_current中的所有掃描線進行處理與輸出,而最終可獲得實質上完整的去交錯輸出圖場。In this embodiment, the merging unit 212 combines the first scan line output by the second chrominance up-sampling error remover 206 and the second scan line output by the selector 210 to output two scan lines of an output field. . The above deinterleaving process will be repeated until all the scan lines in the current field F_current are processed and output, and finally a substantially complete deinterlaced output field can be obtained.

值得注意的是,基於上述之動態適應性去交錯裝置的結構,本發明提供一種對應的方法來進行動態適應性去交錯。接著,將於下述實施例中進一步說明。It should be noted that based on the above structure of the dynamic adaptive deinterlacing device, the present invention provides a corresponding method for dynamic adaptive deinterlacing. Next, it will be further explained in the following examples.

圖6繪示本發明之一實施例之一種利用色度提升取樣誤差移除器來進行動態適應性去交錯處理之方法的示意圖。請參照圖6,當對每三條相鄰掃描線為一組的掃描線(例如第一掃描線、第二掃描線以及第三掃描線)進行去交錯處理時,本實施例首先移除前圖場中之第二掃描線的色度提升取樣誤差(S602)。具體而言,在步驟S602中,前圖場中之第二掃描線的色度提升取樣誤差會被偵測,若偵測出色度提升取樣誤差,則前圖場中之第二掃描線的顏色分量會與目前圖場中之第一掃描線或第三掃描線的顏色分量相互置換。6 is a schematic diagram of a method for performing dynamic adaptive deinterlacing processing using a chroma lifting sampling error remover according to an embodiment of the present invention. Referring to FIG. 6, when de-interlacing processing is performed on a scan line (for example, a first scan line, a second scan line, and a third scan line) of a group of three adjacent scan lines, the embodiment first removes the previous figure. The chromaticity of the second scan line in the field increases the sampling error (S602). Specifically, in step S602, the chrominance up sampling error of the second scan line in the previous field is detected, and if the detection is improved, the sampling error is increased, and the color of the second scan line in the front field is detected. The component is replaced with the color component of the first scan line or the third scan line in the current field.

接著,移除目前圖場中之第一掃描線以及第三掃描線的色度提升取樣誤差(S604)。同理可知,在步驟S604中,目前圖場中之第一掃描線的色度提升取樣誤差會被偵測,若偵測出色度提升取樣誤差,則目前圖場中之第一掃描線的顏色分量會與後圖場中之第一掃描線的前一條掃描線或第二掃描線的顏色分量相互置換。此外,目前圖場中之第三掃描線的色度提升取樣誤差也會被偵測,若偵測出色度提升取樣誤差,則目前圖場中之第三掃描線的顏色分量會與後圖場中之第二掃描線或第三掃描線的下一條掃描線的顏色分量相互置換。Next, the chrominance up sampling error of the first scan line and the third scan line in the current field is removed (S604). Similarly, in step S604, the chrominance up sampling error of the first scan line in the current field will be detected. If the detection accuracy improves the sampling error, the color of the first scan line in the current field is detected. The component is replaced with the color component of the previous scan line or the second scan line of the first scan line in the subsequent field. In addition, the chrominance up sampling error of the third scan line in the current field will also be detected. If the detection accuracy improves the sampling error, the color component of the third scan line in the current field will be compared with the latter field. The color components of the second scan line or the next scan line of the third scan line are replaced with each other.

在移除上述之色度提升取樣誤差之後,對目前圖場中之第一掃描線以及第三掃描線進行去交錯處理以獲得一去交錯的第二掃描線(S606)。然後,判定目前圖場中之第一掃描線以及第三掃描線之間的多個像素是否為移動像素或靜止像素(S608)。詳言之,依據兩相鄰圖場之間的多個差值則可獲得目前圖場中之第一掃描線以及第三掃描線之間的像素是否為移動像素或靜止像素的判定結果,其中上述差值意謂兩相鄰圖場之間的亮度差異。After removing the chromaticity increase sampling error described above, the first scan line and the third scan line in the current field are deinterleaved to obtain a deinterleaved second scan line (S606). Then, it is determined whether a plurality of pixels between the first scan line and the third scan line in the current field are moving pixels or still pixels (S608). In detail, according to the plurality of differences between the two adjacent fields, the determination result of whether the pixel between the first scan line and the third scan line in the current field is a moving pixel or a still pixel is obtained, wherein The above difference means the difference in brightness between two adjacent fields.

之後,上述之判定結果用以選擇具有被移除之色度提升取樣誤差的第二掃描線或去交錯第二掃描線的資料作為第二掃描線的資料以進行輸出(S610)。更詳細地說,若目前圖場中之第一掃描線以及第三掃描線之間的像素被判定為靜止像素,則具有被移除之色度提升取樣誤差的第二掃描線的資料會被選為第二掃描線的資料。然而,若目前圖場中之第一掃描線以及第三掃描線之間的像素被判定為移動像素,則去交錯第二掃描線的資料會被選為第二掃描線的資料。Thereafter, the above determination result is used to select the second scan line having the removed chrominance up sampling error or the data of the deinterleaved second scan line as the data of the second scan line for output (S610). In more detail, if the pixel between the first scan line and the third scan line in the current field is determined to be a still pixel, the data of the second scan line having the removed chrominance up sampling error is Selected as the data of the second scan line. However, if the pixel between the first scan line and the third scan line in the current field is determined to be a moving pixel, the data of the deinterleaved second scan line is selected as the data of the second scan line.

而後,合併具有被移除之色度提升取樣誤差的第一掃描線以及被選擇的第二掃描線,以輸出一輸出圖場的兩條掃描線(S612)。重複執行上述之去交錯處理直到目前圖場中的所有掃描線皆進行處理與輸出,因而最終獲得一完整的去交錯輸出圖場。Then, the first scan line having the removed chroma up sampling error and the selected second scan line are merged to output two scan lines of an output field (S612). The deinterlacing process described above is repeated until all the scan lines in the current field are processed and output, thus finally obtaining a complete deinterlaced output field.

綜上所述,本發明提供一種具有色度提升取樣誤差移除器的動態適應性去交錯裝置及其方法,其中相鄰圖場中之像素的亮度被用來判定移動區域以及靜止區域,而相鄰圖場中之掃描線的顏色分量可進行置換以移除其間存在的色度提升取樣誤差。如此,僅依據三個相鄰圖場即可獲得正確的去交錯圖場資料,進而使緩衝區的使用相對降低。In summary, the present invention provides a dynamic adaptive deinterlacing device having a chroma lifting sampling error remover and a method thereof, wherein brightness of pixels in adjacent fields is used to determine a moving region and a still region, and The color components of the scan lines in adjacent fields can be replaced to remove the chrominance upsampling errors that exist between them. In this way, the correct deinterlaced field data can be obtained only by three adjacent fields, thereby reducing the use of the buffer.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. The scope of the invention is defined by the scope of the appended claims.

200...動態適應性去交錯裝置200. . . Dynamic adaptive deinterlacing device

202...移動偵測器202. . . Motion detector

204...第一色度提升取樣誤差移除器204. . . First chrominance boost sampling error remover

206...第二色度提升取樣誤差移除器206. . . Second chrominance boost sampling error remover

208...去交錯單元208. . . Deinterlacing unit

210...選擇器210. . . Selector

212...合併單元212. . . Merging unit

A、B、C、D、E...掃描線A, B, C, D, E. . . Scanning line

F_2DDI...二維去交錯處理F_2DDI. . . Two-dimensional deinterlacing

F_current、F_current’、F_next、F_previous、F_previous’...圖場F_current, F_current', F_next, F_previous, F_previous’. . . Field

P、P1、P1’、P2、P2’...像素P, P1, P1', P2, P2'. . . Pixel

S602、S604、S606、S608、S610、S612...步驟S602, S604, S606, S608, S610, S612. . . step

圖1繪示一種進行去交錯處理時所產生色度提升取樣誤差。FIG. 1 illustrates a chroma lifting sampling error generated when performing deinterleaving processing.

圖2繪示本發明之一實施例之一種動態適應性去交錯裝置的方塊圖。2 is a block diagram of a dynamic adaptive deinterlacing apparatus according to an embodiment of the present invention.

圖3繪示本發明之一實施例之一種利用三相鄰圖場的資料來進行空間內插處理以及時間內插處理之方法的示意圖。3 is a schematic diagram of a method for spatial interpolation processing and time interpolation processing using data of three adjacent fields according to an embodiment of the present invention.

圖4繪示本發明之一實施例之一種移除前圖場中之掃描線的色度提升取樣誤差之方法的示意圖。4 is a schematic diagram of a method for removing a chrominance upsampling error of a scan line in a front field in accordance with an embodiment of the present invention.

圖5繪示本發明之一實施例之一種移除目前圖場中之掃描線的色度提升取樣誤差之方法的示意圖。FIG. 5 is a schematic diagram of a method for removing a chrominance upsampling error of a scan line in a current field according to an embodiment of the invention.

圖6繪示本發明之一實施例之一種利用色度提升取樣誤差移除器來進行動態適應性去交錯處理之方法的示意圖。6 is a schematic diagram of a method for performing dynamic adaptive deinterlacing processing using a chroma lifting sampling error remover according to an embodiment of the present invention.

200...動態適應性去交錯裝置200. . . Dynamic adaptive deinterlacing device

202...移動偵測器202. . . Motion detector

204...第一色度提升取樣誤差移除器204. . . First chrominance boost sampling error remover

206...第二色度提升取樣誤差移除器206. . . Second chrominance boost sampling error remover

208...去交錯單元208. . . Deinterlacing unit

210...選擇器210. . . Selector

212...合併單元212. . . Merging unit

F_2DDI...二維去交錯處理F_2DDI. . . Two-dimensional deinterlacing

F_current、F_current’、F_next、F_previous、F_previous’...圖場F_current, F_current', F_next, F_previous, F_previous’. . . Field

Claims (16)

一種具有色度提升取樣誤差移除器的動態適應性去交錯裝置,包括:一移動偵測器,用以接收一目前圖場、一前圖場以及一後圖場的資料,並判定該目前圖場中之一第一掃描線以及一第三掃描線之間的像素是否為移動像素或靜止像素;一第一色度提升取樣誤差移除器,用以接收該目前圖場以及該前圖場的資料,並移除該前圖場中之一第二掃描線的色度提升取樣誤差,其中該第二掃描線位於該第一掃描線以及該第三掃描線之間;一第二色度提升取樣誤差移除器,用以接收該前圖場、該目前圖場以及該後圖場的資料,並移除該目前圖場中之該第一掃描線以及該第三掃描線的色度提升取樣誤差;一去交錯單元,耦接該第二色度提升取樣誤差移除器,並用以接收已進行處理的第一掃描線以及第三掃描線的資料,且利用該第一掃描線以及該第三掃描線進行內插處理以獲得一去交錯第二掃描線;一選擇器,耦接該移動偵測器、該第一色度提升取樣誤差移除器以及該去交錯單元,其中該選擇器依據該移動偵測器的一移動偵測結果,並據以選擇該第一色度提升取樣誤差移除器的輸出資料或該去交錯單元的輸出資料以作為該第二掃描線的資料;以及 一合併單元,耦接該第二色度提升取樣誤差移除器以及該選擇器,用以合併該第二色度提升取樣誤差移除器所輸出的該第一掃描線以及該選擇器所輸出的該第二掃描線該,以輸出一輸出圖場的兩條掃描線。 A dynamic adaptive deinterlacing device with a chroma lifting sampling error remover, comprising: a motion detector for receiving data of a current field, a front field and a back field, and determining the current Whether the pixel between the first scan line and the third scan line in the field is a moving pixel or a still pixel; a first chrominance up sampling error remover for receiving the current picture field and the previous picture Field data, and removing a chrominance up sampling error of one of the second scan lines in the front field, wherein the second scan line is between the first scan line and the third scan line; a second color And increasing the sampling error remover for receiving the data of the front field, the current field, and the subsequent field, and removing the color of the first scan line and the third scan line in the current field The sampling error is increased; a de-interlacing unit is coupled to the second chrominance-up sampling error remover, and configured to receive the processed data of the first scan line and the third scan line, and utilize the first scan line And the third scan line is carried out Processing to obtain a deinterlaced second scan line; a selector coupled to the motion detector, the first chroma upsampling error remover, and the deinterlacing unit, wherein the selector is based on the motion detector a motion detection result, and selecting the output data of the first chrominance up sampling error remover or the output data of the deinterleaving unit as data of the second scan line; a merging unit coupled to the second chrominance upsampling error remover and the selector for combining the first scan line output by the second chrominance upsampling error remover and the output of the selector The second scan line is to output two scan lines of an output field. 如申請專利範圍第1項所述之具有色度提升取樣誤差移除器的動態適應性去交錯裝置,其中依據兩相鄰圖場間的多個差值,該移動偵測器判定該目前圖場中之該第一掃描線以及該第三掃描線之間的像素是否為移動像素或靜止像素。 The dynamic adaptive deinterlacing device with a chroma lifting sampling error remover according to claim 1, wherein the motion detector determines the current picture according to a plurality of differences between two adjacent fields. Whether the pixel between the first scan line and the third scan line in the field is a moving pixel or a still pixel. 如申請專利範圍第2項所述之具有色度提升取樣誤差移除器的動態適應性去交錯裝置,其中該移動偵測器依據兩相鄰圖場間的亮度差異來判定移動像素或靜止像素。 The dynamic adaptive deinterlacing device with a chroma lifting sampling error remover according to claim 2, wherein the motion detector determines a moving pixel or a still pixel according to a difference in brightness between two adjacent fields. . 如申請專利範圍第1項所述之具有色度提升取樣誤差移除器的動態適應性去交錯裝置,其中若該移動偵測器偵測該目前圖場中之該第一掃描線以及該第三掃描線之間的像素為靜止像素,該選擇器選擇該第一色度提升取樣誤差移除器的輸出資料作為該第二掃描線的資料。 The dynamic adaptive deinterlacing device with a chroma lifting sampling error remover according to claim 1, wherein the motion detector detects the first scanning line in the current field and the first The pixel between the three scan lines is a still pixel, and the selector selects the output data of the first chroma up sample error remover as the data of the second scan line. 如申請專利範圍第1項所述之具有色度提升取樣誤差移除器的動態適應性去交錯裝置,其中若該移動偵測器偵測該目前圖場中之該第一掃描線以及該第三掃描線之間的像素為移動像素,該選擇器選擇該去交錯單元的輸出資料作為該第二掃描線的資料。 The dynamic adaptive deinterlacing device with a chroma lifting sampling error remover according to claim 1, wherein the motion detector detects the first scanning line in the current field and the first The pixel between the three scan lines is a moving pixel, and the selector selects the output data of the deinterleaving unit as the data of the second scan line. 如申請專利範圍第1項所述之具有色度提升取樣誤差移除器的動態適應性去交錯裝置,其中若該第二掃描線 的色度提升取樣誤差被偵測,該第一色度提升取樣誤差移除器偵測該前圖場中之該第二掃描線的色度提升取樣誤差,並對該前圖場中之該第二掃描線的顏色分量以及該目前圖場中之該第一掃描線或該第三掃描線的顏色分量進行置換。 A dynamic adaptive deinterlacing device having a chroma lifting sampling error remover according to claim 1, wherein the second scanning line The chrominance up sampling error is detected, and the first chrominance up sampling error remover detects a chrominance up sampling error of the second scan line in the previous field, and the The color component of the second scan line and the color component of the first scan line or the third scan line in the current field are replaced. 如申請專利範圍第1項所述之具有色度提升取樣誤差移除器的動態適應性去交錯裝置,其中若該第一掃描線的色度提升取樣誤差被偵測,該第二色度提升取樣誤差移除器偵測該目前圖場中之該第一掃描線的色度提升取樣誤差,並對該目前圖場中之該第一掃描線的顏色分量以及該前圖場或該後圖場中之該第一掃描線的前一條掃描線或該第二掃描線的顏色分量進行置換。 The dynamic adaptive deinterlacing device with a chroma lifting sampling error remover according to claim 1, wherein the second chroma is improved if the chroma detection error of the first scanning line is detected. The sampling error remover detects a chrominance up sampling error of the first scan line in the current field, and a color component of the first scan line in the current field and the front or the back image The color component of the previous scan line or the second scan line of the first scan line in the field is replaced. 如申請專利範圍第1項所述之具有色度提升取樣誤差移除器的動態適應性去交錯裝置,其中若該第三掃描線的色度提升取樣誤差被偵測,該第二色度提升取樣誤差移除器偵測該目前圖場中之該第三掃描線的色度提升取樣誤差,並對該目前圖場中之該第三掃描線的顏色分量以及該前圖場或該後圖場中之該第二掃描線或該第三掃描線的下一條掃描線的顏色分量進行置換。 The dynamic adaptive deinterlacing device with a chroma lifting sampling error remover according to claim 1, wherein the second chroma is improved if the chroma error of the third scan line is detected. a sampling error remover detects a chrominance up sampling error of the third scan line in the current field, and a color component of the third scan line in the current field and the front or the back image The color component of the second scan line in the field or the next scan line of the third scan line is replaced. 一種具有色度提升取樣誤差移除器的動態適應性去交錯方法,包括:判定一目前圖場中之一第一掃描線以及一第三掃描線之間的像素是否為移動像素或靜止像素;移除一前圖場中之一第二掃描線的色度提升取樣誤 差,其中該第二掃描線位於該第一掃描線以及該第三掃描線之間;移除該目前圖場中之該第一掃描線以及該第三掃描線的色度提升取樣誤差;利用第一掃描線以及第三掃描線進行內插處理以獲得一去交錯的第二掃描線;依據該目前圖場中之該第一掃描線以及該第三掃描線之間的像素是否為移動像素或靜止像素的一判定結果,以選擇具有被移除之色度提升取樣誤差的該第二掃描線的資料或該去交錯的第二掃描線的資料作為該第二掃描線的資料;以及合併具有被移除之色度提升取樣誤差的該第一掃描線以及被選擇的該第二掃描線,以輸出一輸出圖場的兩條掃描線。 A dynamic adaptive deinterlacing method with a chroma lifting sampling error remover, comprising: determining whether a pixel between a first scan line and a third scan line in a current field is a moving pixel or a still pixel; Remove the chrominance sampling error of one of the second scan lines in a previous field Poor, wherein the second scan line is located between the first scan line and the third scan line; removing the chrominance up sampling error of the first scan line and the third scan line in the current picture field; The first scan line and the third scan line are interpolated to obtain a deinterleaved second scan line; according to whether the pixel between the first scan line and the third scan line in the current field is a moving pixel Or a result of the determination of the still pixel to select the data of the second scan line having the removed chroma up sample error or the data of the deinterleaved second scan line as the data of the second scan line; and merge The first scan line having the removed chroma up sampling error and the selected second scan line are output to output two scan lines of an output field. 如申請專利範圍第9項所述之具有色度提升取樣誤差移除器的動態適應性去交錯方法,其中該目前圖場中之該第一掃描線以及該第三掃描線之間的像素是否為移動像素或靜止像素的該判定結果是依據兩相鄰圖場間的多個差值。 The dynamic adaptive deinterleaving method with a chroma lifting sampling error remover according to claim 9, wherein the pixel between the first scanning line and the third scanning line in the current field is The result of the determination for moving pixels or still pixels is based on a plurality of differences between two adjacent fields. 如申請專利範圍第10項所述之具有色度提升取樣誤差移除器的動態適應性去交錯方法,其中該目前圖場中之該第一掃描線以及該第三掃描線之間的像素是否為移動像素或靜止像素的該判定結果是依據兩相鄰圖場間的亮度差異。 The dynamic adaptive deinterleaving method with a chroma lifting sampling error remover according to claim 10, wherein the pixel between the first scanning line and the third scanning line in the current field is The result of the determination for moving pixels or still pixels is based on the difference in brightness between two adjacent fields. 如申請專利範圍第9項所述之具有色度提升取樣誤差移除器的動態適應性去交錯方法,其中依據該目前圖場中之該第一掃描線以及該第三掃描線之間的像素是否為移動像素或靜止像素的該判定結果,以選擇具有被移除之色度提升取樣誤差的該第二掃描線的資料或該去交錯的第二掃描線的資料作為該第二掃描線的資料的步驟包括:若該目前圖場中之該第一掃描線以及該第三掃描線的像素判定為靜止像素,選擇具有被移除之色度提升取樣誤差的該第二掃描線的資料作為該第二掃描線的資料。 The dynamic adaptive deinterleaving method with a chroma lifting sampling error remover according to claim 9 , wherein the pixel between the first scanning line and the third scanning line in the current field is used. Whether the result of the determination of the moving pixel or the still pixel is to select the data of the second scan line having the removed chrominance up sampling error or the data of the deinterleaved second scan line as the second scan line The step of data includes: if the pixels of the first scan line and the third scan line in the current field are determined to be still pixels, selecting the data of the second scan line having the removed chroma up sampling error as The data of the second scan line. 如申請專利範圍第9項所述之具有色度提升取樣誤差移除器的動態適應性去交錯方法,其中依據該目前圖場中之該第一掃描線以及該第三掃描線之間的像素是否為移動像素或靜止像素的該判定結果,以選擇具有被移除之色度提升取樣誤差的該第二掃描線的資料或該去交錯的第二掃描線的資料作為該第二掃描線的資料的步驟包括:若該目前圖場中之該第一掃描線以及該第三掃描線的像素判定為移動像素,選擇該去交錯的第二掃描線的資料作為該第二掃描線的資料。 The dynamic adaptive deinterleaving method with a chroma lifting sampling error remover according to claim 9 , wherein the pixel between the first scanning line and the third scanning line in the current field is used. Whether the result of the determination of the moving pixel or the still pixel is to select the data of the second scan line having the removed chrominance up sampling error or the data of the deinterleaved second scan line as the second scan line The step of data includes: if the pixels of the first scan line and the third scan line in the current field are determined to be moving pixels, selecting the data of the deinterleaved second scan line as the data of the second scan line. 如申請專利範圍第9項所述之具有色度提升取樣誤差移除器的動態適應性去交錯方法,其中移除該前圖場中之該第二掃描線的色度提升取樣誤差的步驟包括:偵測該前圖場中之該第二掃描線的色度提升取樣誤差;以及若該第二掃描線的色度提升取樣誤差被偵測,對該前 圖場中之該第二掃描線的顏色分量以及該目前圖場中之該第一掃描線或該第三掃描線的顏色分量進行置換。 The dynamic adaptive deinterlacing method with a chroma lifting sampling error remover according to claim 9, wherein the step of removing the chroma lifting sampling error of the second scanning line in the front field includes : detecting a chrominance up sampling error of the second scan line in the previous field; and if the chrominance up sampling error of the second scan line is detected, the front The color component of the second scan line in the field and the color component of the first scan line or the third scan line in the current field are replaced. 如申請專利範圍第9項所述之具有色度提升取樣誤差移除器的動態適應性去交錯方法,其中移除該目前圖場中之該第一掃描線的色度提升取樣誤差的步驟包括:偵測該目前圖場中之該第一掃描線的色度提升取樣誤差;以及若該第一掃描線的色度提升取樣誤差被偵測,對該目前圖場中之該第一掃描線的顏色分量以及該後圖場中之該第一掃描線的前一條掃描線或該第二掃描線的顏色分量進行置換。 A dynamic adaptive deinterlacing method with a chroma lifting sampling error remover according to claim 9 wherein the step of removing the chrominance up sampling error of the first scan line in the current field comprises : detecting a chrominance up sampling error of the first scan line in the current field; and if the chrominance up sampling error of the first scan line is detected, the first scan line in the current field The color component and the color component of the previous scan line or the second scan line of the first scan line in the subsequent field are replaced. 如申請專利範圍第9項所述之具有色度提升取樣誤差移除器的動態適應性去交錯方法,其中移除該目前圖場中之該第三掃描線的色度提升取樣誤差的步驟包括:偵測該目前圖場中之該第三掃描線的色度提升取樣誤差;以及若該第三掃描線的色度提升取樣誤差被偵測,對該目前圖場中之該第三掃描線的顏色分量以及該後圖場中之該第二掃描線或該第三掃描線的下一條掃描線的顏色分量進行置換。The dynamic adaptive deinterlacing method with a chroma lifting sampling error remover according to claim 9, wherein the step of removing the chrominance lifting sampling error of the third scanning line in the current field includes : detecting a chrominance up sampling error of the third scan line in the current field; and if the chrominance up sampling error of the third scan line is detected, the third scan line in the current field The color component and the color component of the second scan line or the next scan line of the third scan line in the subsequent field are replaced.
TW98105999A 2009-02-25 2009-02-25 Apparatus and method for motion adaptive de-interlacing with chroma up-sampling error remover TWI392336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW98105999A TWI392336B (en) 2009-02-25 2009-02-25 Apparatus and method for motion adaptive de-interlacing with chroma up-sampling error remover

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW98105999A TWI392336B (en) 2009-02-25 2009-02-25 Apparatus and method for motion adaptive de-interlacing with chroma up-sampling error remover

Publications (2)

Publication Number Publication Date
TW201032581A TW201032581A (en) 2010-09-01
TWI392336B true TWI392336B (en) 2013-04-01

Family

ID=44854934

Family Applications (1)

Application Number Title Priority Date Filing Date
TW98105999A TWI392336B (en) 2009-02-25 2009-02-25 Apparatus and method for motion adaptive de-interlacing with chroma up-sampling error remover

Country Status (1)

Country Link
TW (1) TWI392336B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050030422A1 (en) * 2003-08-06 2005-02-10 Pasquale Leone Chroma upsampling method and apparatus therefor
EP1560432A2 (en) * 2004-01-30 2005-08-03 Broadcom Corporation Method and system for control of a multi-field deinterlacer including providing visually pleasing start-up and shut-down
TW200746796A (en) * 2005-10-17 2007-12-16 Qualcomm Inc Method and apparatus for spatio-temporal deinterlacing aided by motion compensation for field-based video
TW200845749A (en) * 2007-05-09 2008-11-16 Himax Tech Ltd Adaptive de-interlacer and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050030422A1 (en) * 2003-08-06 2005-02-10 Pasquale Leone Chroma upsampling method and apparatus therefor
EP1560432A2 (en) * 2004-01-30 2005-08-03 Broadcom Corporation Method and system for control of a multi-field deinterlacer including providing visually pleasing start-up and shut-down
TW200746796A (en) * 2005-10-17 2007-12-16 Qualcomm Inc Method and apparatus for spatio-temporal deinterlacing aided by motion compensation for field-based video
TW200845749A (en) * 2007-05-09 2008-11-16 Himax Tech Ltd Adaptive de-interlacer and method thereof

Also Published As

Publication number Publication date
TW201032581A (en) 2010-09-01

Similar Documents

Publication Publication Date Title
US7477319B2 (en) Systems and methods for deinterlacing video signals
EP1480166A1 (en) An edge enhancement process and system
US8749703B2 (en) Method and system for selecting interpolation as a means of trading off judder against interpolation artifacts
CN101442649B (en) Processing method and apparatus for removing alternate line and FPGA chip
US8355442B2 (en) Method and system for automatically turning off motion compensation when motion vectors are inaccurate
EP1708492A2 (en) Noise reducing apparatus and noise reducing method
US8274605B2 (en) System and method for adjacent field comparison in video processing
US8345148B2 (en) Method and system for inverse telecine and scene change detection of progressive video
US8059198B2 (en) Apparatus and method for motion adaptive de-interlacing with chroma up-sampling error remover
US9215353B2 (en) Image processing device, image processing method, image display device, and image display method
US9659353B2 (en) Object speed weighted motion compensated interpolation
CN103826082A (en) Video processing method and device
US8704945B1 (en) Motion adaptive deinterlacer
TWI392336B (en) Apparatus and method for motion adaptive de-interlacing with chroma up-sampling error remover
JP2005318588A (en) Auxiliary data processing of video sequence
JP4189645B2 (en) Image processing method and image processing apparatus
US7636129B2 (en) Method and device for detecting sawtooth artifact and/or field motion
EP1494469A2 (en) Television receiver and control method thereof
CN101827206B (en) Dynamic adaptable deinterlacing device with CUE remover and method thereof
JP4551343B2 (en) Video processing apparatus and video processing method
US20120082394A1 (en) Image processing apparatus and image processing method
KR100252943B1 (en) scan converter
US8373798B2 (en) Text protection device and related motion adaptive de-interlacing device
CN101729882B (en) Low-angle interpolation device and method thereof
KR100628190B1 (en) Converting Method of Image Data's Color Format

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees