CN101783916B - Frequency multiplier de-interlacing method and controller thereof - Google Patents
Frequency multiplier de-interlacing method and controller thereof Download PDFInfo
- Publication number
- CN101783916B CN101783916B CN 200910005569 CN200910005569A CN101783916B CN 101783916 B CN101783916 B CN 101783916B CN 200910005569 CN200910005569 CN 200910005569 CN 200910005569 A CN200910005569 A CN 200910005569A CN 101783916 B CN101783916 B CN 101783916B
- Authority
- CN
- China
- Prior art keywords
- picture element
- element columns
- bar
- columns certificate
- number preface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Television Systems (AREA)
Abstract
本发明公开了一种倍频解交错方法及其控制器,可以改善残影现象。倍频解交错方法包括下列步骤:根据奇图场及偶图场的第i条奇数序及第i条偶数序输入画素列数据来经由跨图场边缘定向解交错运算产生插补图框中第i条奇数序输出画素列数据,i为自然数。根据第i条偶数序输入画素列资料及奇图场的第i+1条奇数序输入画素列数据来经由跨图场边缘定向解交错运算产生插补图框中的第i条偶数序输出画素列数据,据此产生整个插补图框。
The invention discloses a frequency doubling deinterlacing method and a controller thereof, which can improve the afterimage phenomenon. The double frequency de-interlacing method includes the following steps: according to the i-th odd-numbered sequence and the i-th even-numbered sequence of the odd image field and the even image field, the input pixel column data is used to generate the i-th in the interpolated frame through directional de-interlacing operation across the edge of the image field Output pixel column data in i odd sequence, i is a natural number. According to the i-th even-numbered input pixel column data and the i+1 odd-numbered input pixel column data of the odd field, the i-th even-numbered output pixel in the interpolation frame is generated through the directional de-interlacing operation across the edge of the field Column data from which to generate the entire imputation frame.
Description
技术领域 technical field
本发明涉及一种解交错(De-interlacing)装置及方法,尤指一种倍频(Double Frame Rate)解交错装置及方法。The present invention relates to a de-interlacing device and method, in particular to a double frame rate de-interlacing device and method.
背景技术 Background technique
图框更新频率为120赫兹(Hz)的倍频液晶电视已经问世,其可有效地改善图框更新频率为60Hz的传统液晶电视容易产生的画面闪烁问题。在现有技术中,当接收到60Hz的输入影像时,传统倍频解交错电视系复制输入影像的各个图框(Frame),将其插入各图框与其下一图框之间,达到120Hz的图框更新频率。Frequency-doubled LCD TVs with a frame update frequency of 120 Hz have been released, which can effectively improve the flickering problem of traditional LCD TVs with a frame update frequency of 60 Hz. In the prior art, when a 60Hz input image is received, the conventional frequency doubling de-interlacing TV system copies each frame of the input image and inserts it between each frame and the next frame to achieve a 120Hz frequency. The frame update frequency.
然而,当输入影像中包含高速运动的物体时,传统倍频解交错系统会因连续播放两张相同的图框而于显示画面中出现物体的残影。如此,如何改善传统倍频液晶电视显示画面的残影又可兼顾生产成本为业界不断致力的方向之一。However, when the input image contains a high-speed moving object, the conventional frequency doubling de-interlacing system will cause afterimages of the object to appear on the display screen due to continuous playback of two identical frames. In this way, how to improve the afterimage of the display screen of the traditional frequency-multiplier LCD TV while taking into account the production cost is one of the directions that the industry is constantly working on.
发明内容 Contents of the invention
本发明所要解决的技术问题是提供一种倍频解交错方法及其控制器,可以改善残影现象。The technical problem to be solved by the present invention is to provide a frequency doubling deinterlacing method and its controller, which can improve the afterimage phenomenon.
为了解决以上技术问题,本发明提供了如下技术方案:In order to solve the above technical problems, the present invention provides the following technical solutions:
本发明提供了一种倍频解交错方法,用以响应输入影像产生输出影像,输入影像包括奇图场(Field)及偶图场,输出影像包括插补图框。解交错方法包括下列步骤。首先,根据奇图场的第i条奇数序输入画素列数据及偶图场的第i条偶数序输入画素列数据来经由跨图场边缘定向解交错运算(Edge OrientedDe-interlacing,EODI)产生插补图框中第i条奇数序输出画素列数据,i为自然数。接着,根据第i条偶数序输入画素列及奇图场的第i+1条奇数序输入画素列数据来经由跨图场边缘定向解交错运算产生插补图框中的第i条偶数序输出画素列数据。The present invention provides a frequency doubling deinterlacing method for generating an output image in response to an input image. The input image includes an odd field and an even field, and the output image includes an interpolation frame. The deinterleaving method includes the following steps. First, according to the i-th odd-sequence input pixel column data of the odd field and the i-th even-sequence input pixel column data of the even field, an interleaving operation (Edge OrientedDe-interlacing, EODI) across the field edge is generated. The i-th odd sequence in the supplementary frame outputs pixel column data, and i is a natural number. Next, according to the i-th even-numbered input pixel column and the i+1-th odd-numbered input pixel column data of the odd field, the i-th even-numbered output in the interpolation frame is generated through a directional de-interlacing operation across the edge of the field Pixel column data.
本发明还提供了一种倍频解交错控制器,用以响应输入影像产生输出影像,输入影像包括奇图场及偶图场,输出影像包括插补图框。解交错控制器包括内存、内存控制电路及边缘定向解交错运算器。内存接收并储存奇图场及偶图场。内存控制电路用以读取并输出奇图场的第i条奇数序输入画素列数据、奇图场的第i+1条奇数序输入画素列数据及偶图场的第i条偶数序输入画素列数据,i为自然数。边缘定向解交错运算器根据第i条奇数序输入画素列数据及第i条偶数序输入画素列数据执行边缘定向解交错运算来产生第一运算画素列数据,并根据第i+1条奇数序输入画素列数据及第i条偶数序输入画素列数据执行边缘定向解交错运算来产生一第二运算画素列数据。其中,第一及第二运算画素列数据分别用以做为插补图框中第i条奇数序输出画素列数据及该插补图框中第i条偶数序输出画素列数据。The present invention also provides a multiplier frequency deinterlacing controller for generating output images in response to input images. The input images include odd and even image fields, and the output images include interpolation frames. The de-interleave controller includes memory, memory control circuit and edge-oriented de-interleave operator. The memory receives and stores odd and even fields. The memory control circuit is used to read and output the i-th odd-sequence input pixel column data of the odd-field, the i+1-th odd-sequence input pixel column data of the odd-field, and the i-th even-sequence input pixel of the even-field Column data, i is a natural number. The edge-oriented de-interlacing operator executes the edge-oriented de-interleaving operation according to the i-th odd-numbered sequence input pixel column data and the i-th even-numbered sequence input pixel column data to generate the first operation pixel column data, and according to the i+1-th odd-numbered sequence The input pixel row data and the i-th even-sequence input pixel row data perform an edge-directed de-interlacing operation to generate a second operation pixel row data. Wherein, the first and second operation pixel row data are respectively used as the i-th odd-order output pixel row data in the interpolation frame and the i-th even-number-order output pixel row data in the interpolation frame.
本发明采用的倍频解交错方法及其控制器,透过边缘定向解交错运算器来根据对应的奇图场与图场插补产生四个图框,相较于传统直接显示两个第一图框来达到倍频显示的解交错系统,可以改善画面之的残影情况。另外,本发明透过跨图场边缘定向解交错运算器来根据对应的原始图场插补产生倍频图框,相较于传统直接显示两个第一图框来达到倍频显示的解交错系统容易产生画面残影的情形,具有低成本且可以改善画面残影情况的优点。更进一步,本发明的解交错控制器更利用混合器参考输入影像的影像运动程度来插补得到对应的输出影像,考虑输入影像的运动程度来插补产生输出影像中的各图框,以更进一步提升画面的显示效果优点。The multiplier de-interlacing method and its controller used in the present invention generate four frames according to the corresponding odd image field and image field interpolation through the edge-oriented de-interlacing operator. Compared with the traditional method of directly displaying two first The image frame is used to achieve the de-interlacing system of the multiplier display, which can improve the afterimage of the picture. In addition, the present invention interpolates and generates multiplied frame frames according to the corresponding original field by directional de-interlacing operators across the edge of the field, compared to the traditional way of directly displaying two first frames to achieve de-interlacing of multiplied display The system is prone to picture sticking, and has the advantages of low cost and can improve picture sticking. Furthermore, the de-interlacing controller of the present invention further uses the mixer to interpolate to obtain the corresponding output image by referring to the image motion degree of the input image, and interpolates each frame in the output image by considering the motion degree of the input image, so as to further Further enhance the advantages of the display effect of the picture.
附图说明 Description of drawings
图1为本实施例的解交错控制器的输入影像及输出影像的示意图。FIG. 1 is a schematic diagram of an input image and an output image of the de-interlacing controller of the present embodiment.
图2(a)到图2(e)为依照第一实施例的倍频解交错控制器的方块图。2( a ) to 2 ( e ) are block diagrams of the multiplier de-interleaving controller according to the first embodiment.
图3(a)为依照第一实施例的倍频解交错运算方法的部分流程图。FIG. 3( a ) is a partial flow chart of the multiplier de-interleaving operation method according to the first embodiment.
图3(b)为依照第一实施例的倍频解交错运算方法的部分流程图。FIG. 3( b ) is a partial flow chart of the multiplier de-interleaving operation method according to the first embodiment.
图3(c)为依照第一实施例的倍频解交错运算方法的部分流程图。FIG. 3( c ) is a partial flow chart of the multiplier de-interleaving operation method according to the first embodiment.
图3(d)为依照第一实施例的倍频解交错运算方法的部分流程图。FIG. 3( d ) is a partial flow chart of the multiplier de-interleaving operation method according to the first embodiment.
图4为本实施例的边缘定向解交错运算器16进行的操作的示意图。FIG. 4 is a schematic diagram of operations performed by the edge-oriented de-interleaving
图5(a)到图5(e)为依照第二实施例的倍频解交错控制器的方块图。5(a) to 5(e) are block diagrams of a multiplier de-interleaving controller according to a second embodiment.
图6为依照本实施例的混合器28的方块图。FIG. 6 is a block diagram of the
图7(a)为依照第二实施例的倍频解交错运算方法的部分流程图。FIG. 7( a ) is a partial flow chart of the multiplication frequency deinterleaving operation method according to the second embodiment.
图7(b)为依照第二实施例的倍频解交错运算方法的部分流程图。FIG. 7( b ) is a partial flow chart of the multiplier de-interleaving operation method according to the second embodiment.
图7(c)为依照第二实施例的倍频解交错运算方法的部分流程图。FIG. 7( c ) is a partial flow chart of the multiplier de-interleaving operation method according to the second embodiment.
图7(d)为依照第二实施例的倍频解交错运算方法的部分流程图。FIG. 7( d ) is a partial flow chart of the multiplier de-interleaving operation method according to the second embodiment.
图7(e)为依照第二实施例的倍频解交错运算方法的部分流程图。FIG. 7( e ) is a partial flow chart of the multiplier de-interleaving operation method according to the second embodiment.
图7(f)为依照第二实施例的倍频解交错运算方法的部分流程图。FIG. 7( f ) is a partial flow chart of the multiplier de-interleaving operation method according to the second embodiment.
图8(a)为本实施例的插补图框Frame的示意图。FIG. 8( a ) is a schematic diagram of an interpolation frame Frame in this embodiment.
图8(b)为本实施例的插补图框Pre-Frame的示意图。FIG. 8( b ) is a schematic diagram of the interpolation frame Pre-Frame in this embodiment.
图9为根据本发明较佳实施例的倍频解交错方法。FIG. 9 is a diagram of a frequency multiplication deinterleaving method according to a preferred embodiment of the present invention.
【主要组件符号说明】[Description of main component symbols]
Ii:输入影像Ii: input image
Io:输出影像Io: output image
Fd[s]:奇图场Fd[s]: Odd field
Fd[s+1]:偶图场Fd[s+1]: even field
Li[s]o(1)到Li[s]o(y)、Li[s+1]e(1)到Li[s+1]e(y):输入画素列数据Li[s]o(1) to Li[s]o(y), Li[s+1]e(1) to Li[s+1]e(y): input pixel column data
Lo[t-1]o(1)到Lo[t-1]o(y)、Lo[t-1]e(1)到Lo[t-1]e(y)、Lo[t]o(1)到Lo[t]o(y)、Lo[t]e(1)到Lo[t]e(y)、Lo[t+1]o(1)到Lo[t+1]o(y)、Lo[t+1]e(1)到Lo[t+1]e(y)、Lo[t+2]o(1)到Lo[t+2]o(y)、Lo[t+2]e(1)到Lo[t+2]e(y):输出画素列数据Lo[t-1]o(1) to Lo[t-1]o(y), Lo[t-1]e(1) to Lo[t-1]e(y), Lo[t]o( 1) to Lo[t]o(y), Lo[t]e(1) to Lo[t]e(y), Lo[t+1]o(1) to Lo[t+1]o(y ), Lo[t+1]e(1) to Lo[t+1]e(y), Lo[t+2]o(1) to Lo[t+2]o(y), Lo[t+ 2]e(1) to Lo[t+2]e(y): output pixel column data
10、20:解交错控制器10, 20: De-interleaving controller
12、22:内存12, 22: Memory
14、24:控制电路14, 24: Control circuit
16、26:边缘定向解交错运算器16, 26: Edge-oriented de-interlacing operator
28:混合器28: Mixer
LP1、LP2:运算画素列数据LP1, LP2: Operation pixel column data
LP3:插补画素列资料LP3: Interpolate pixel row data
Ma(-2)到Ma(2)、Mb(-2)到Mb(2):大区块Ma(-2) to Ma(2), Mb(-2) to Mb(2): large blocks
具体实施方式 Detailed ways
本实施例的解交错方法用以响应输入影像产生输出影像,输入影像包括奇图场(Field)及偶图场,输出影像包括插补图框。解交错方法包括下列步骤,首先,根据奇图场的第i条奇数序输入画素列及偶图场的第i条偶数序输入画素列来经由跨图场边缘定向解交错运算(Edge Oriented De-interlacing,EODI)找出插补图框中第i条奇数序输出画素列,i为自然数。然后,根据第i条偶数序输入画素列及奇图场的第i+1条奇数序输入画素列来经由跨图场边缘定向解交错运算产生插补图框中的第i条偶数序输出画素列。之后,改变i值并重复前述步骤以得到插补图框的所有奇数及偶数序输出画素列的画素数据。The de-interlacing method of this embodiment is used to generate an output image in response to an input image, the input image includes an odd field (Field) and an even field, and the output image includes an interpolation frame. The de-interlacing method includes the following steps. First, according to the i-th odd-order input pixel column of the odd image field and the i-th even-numbered sequence input pixel column of the even image field, the edge-oriented de-interlacing operation (Edge Oriented De- interlacing, EODI) to find the i-th odd-order output pixel column in the interpolation frame, where i is a natural number. Then, according to the ith even-numbered input pixel column and the i+1 odd-numbered input pixel column of the odd field, the i-th even-numbered output pixel in the interpolation frame is generated through directional de-interlacing operation across the edge of the field List. Afterwards, change the value of i and repeat the above steps to obtain pixel data of all odd-numbered and even-numbered output pixel columns of the interpolation frame.
请参照图1,其为本实施例的解交错控制器的输入影像及输出影像的示意图。输入影像Ii例如为交错式(interlace)影像,其中奇图场包括与奇数条扫描线对应的画素数据,偶图场包括与偶数条扫描线对应的画素数据。本实施例提出的解交错控制器对交错式输入影像Ii进行两倍频(Doubled Frame Rate)解交错(De-interlace)操作,以产生渐进式(Progressive)输出影像Io。接下来,以本实施例的解交错控制器根据输入影像Ii中对应的图场来产生图框画面Fm[t-1]到Fm[t+2]的操作为例作说明,t为大于1的自然数。Please refer to FIG. 1 , which is a schematic diagram of an input image and an output image of the de-interlacing controller of this embodiment. The input image Ii is, for example, an interlace image, wherein odd fields include pixel data corresponding to odd scan lines, and even fields include pixel data corresponding to even scan lines. The de-interlacing controller proposed in this embodiment performs double-frequency (Doubled Frame Rate) de-interlacing (De-interlace) operation on the interlaced input image Ii to generate a progressive (Progressive) output image Io. Next, take the operation of the de-interlacing controller in this embodiment to generate frame frames Fm[t-1] to Fm[t+2] according to the corresponding fields in the input image Ii as an example, where t is greater than 1 of natural numbers.
第一实施例first embodiment
本实施例的解交错控制器应用边缘定向解交错运算器来根据奇图场Fd[s]及偶图场Fd[s+1]的画素数据插补得到图框Fm[t-1]到Fm[t+2]的画素资料。请参照图2(e),其为依照第一实施例的解交错控制器的方块图。解交错控制器10包括内存12、控制电路14及边缘定向解交错运算器16。控制电路14系与内存12耦接,边缘定向解交错运算器16系与控制电路14耦接。The de-interlacing controller of this embodiment uses an edge-oriented de-interlacing operator to interpolate the pixel data of the odd field Fd[s] and the even field Fd[s+1] to obtain frames Fm[t-1] to Fm Pixel data of [t+2]. Please refer to FIG. 2(e), which is a block diagram of the de-interleaving controller according to the first embodiment. The
内存12例如为动态随取内存(Dynamic Random Access Memory,DRAM),用以储存多张奇图场及偶图场中的画素列资料。例如在执行产生图框Fm[t-1]到Fm[t+1]的操作时,内存12中至少储存奇图场Fd[s]及偶图场Fd[s+1]中画素列资料。在执行产生图框Fm[t+2]的操作时,内存12中至少储存偶图场Fd[s+1]及奇图场Fd[s+2]中画素列资料。The
控制电路14读取内存12中储存的奇图场及偶图场中的各画素列数据,并将其提供至边缘定向解交错运算器16以插补产生对应的图框。接下来,分别对解交错控制器10插补产生图框Fm[t-1]到Fm[t+2]的操作做进一步说明。在接下来的段落中,分别以各图框Fm[t-1]到Fm[t+2]的第i奇数序画素列资料Lo[t-1]o(i)、Lo[t]o(i)、Lo[t+1]o(i)及Lo[t+2]o(i)的操作为例,对各图框Fm[t-1]到Fm[t+2]中各奇数序画素列数据的操作进行说明;并分别以各图框Fm[t-1]到Fm[t+2]中第i偶数序画素列资料Lo[t-1]e(i)、Lo[t]e(i)、Lo[t+1]e(i)及Lo[t+2]e(i)的操作为例,对各图框Fm[t-1]到Fm[t+2]中各偶数序画素列数据的操作进行说明,i为小于或等于N的自然数。The
请参照图3(a)、图2(a)及图1,在插补产生图框Fm[t-1]的操作中,控制电路14系存取内存12,以得到奇图场Fd[s]中的输入画素列数据Li[s]o(1)到Li[s]o(N),N为大于1的自然数。图3(a)为本实施例的解交错方法的部分流程图,图2(a)仅画出输入画素列数据Li[s]o(i)及Li[s]o(i+1)为例做说明。首先如步骤(d),控制电路14系以输入画素列数据Li[s]o(i)做为输出画素列数据Lo[t-1]o(i)。接着如步骤(e),控制电路14提供输入画素列数据Li[s]o(i)及Li[s]o(i+1)至边缘定向解交错运算器16,以运算得到图框Fm[t-1]中的输出画素列数据Lo[t-1]e(i)。之后如步骤(f),解交错控制器10改变i以插补得到图框Fm[t-1]中的所有画素列数据。Please refer to Fig. 3(a), Fig. 2(a) and Fig. 1, in the operation of generating frame Fm[t-1] by interpolation, the
请参照图3(b)、图2(b)及图1,在插补产生图框Fm[t]的操作中,控制电路14系存取内存12,以得到奇图场Fd[s]中的输入画素列数据Li[s]o(1)到Li[s]o(N)及偶图场Fd[s+1]的输入画素列数据Li[s+1]e(1)到Li[s+1]e(N)。图3(b)为本实施例的解交错方法的部分流程图,图2(b)仅画出输入画素列数据Li[s]o(i)、Li[s]o(i+1)、Li[s+1]e(i)为例做说明。首先如步骤(a),控制电路14系提供输入画素列数据Li[s]o(i)及Li[s+1]e(i)至边缘定向解交错运算器16,以运算得到图框Fm[t]中的输出画素列数据Lo[t]o(i)。接着如步骤(b),控制电路14更提供输入画素列数据Li[s+1]e(i)及Li[s]o(i+1)至边缘定向解交错运算器16,以运算得到图框Fm[t]中的输出画素列数据Lo[t]e(i)。之后如步骤(c),解交错控制器10改变i以插补得到图框Fm[t]中的所有画素列数据。Please refer to Fig. 3(b), Fig. 2(b) and Fig. 1, in the operation of generating frame Fm[t] by interpolation, the
请参照图3(c)、图2(c)及图1,在插补产生图框Fm[t+1]的操作中,控制电路14存取内存12,以得到偶图场Fd[s+1]中的画素列资料Li[s+1]e(1)到Li[s+1]e(N)。图3(c)为本实施例的解交错方法的部分流程图,图2(c)仅画出输入画素列数据Li[s+1]e(i)及Li[s+1]e(i+1)为例做说明。首先如步骤(g),控制电路14提供输入画素列数据Li[s+1]e(i)及Li[s+1]e(i+1)至边缘定向解交错运算器16,以运算得到图框Fm[t+1]中的输出画素列数据Lo[t+1]o(i)。接着如步骤(h),控制电路14以输入画素列数据Li[s+1]e(i)做为输出画素列数据Lo[t+1]e(i)。之后如步骤(i),解交错控制器10改变i以插补产生图框Fm[t+1]中的所有画素列数据。Please refer to Fig. 3(c), Fig. 2(c) and Fig. 1, in the operation of generating frame Fm[t+1] by interpolation,
请参照图3(d)、图2(d)及图1,在插补产生图框Fm[t+2]的操作中,控制电路14存取内存12,以得到偶图场Fd[s+1]中的输入画素列数据Li[s+1]e(1)到Li[s+1]e(N)及奇图场Fd[s+2](未绘示于图1中)中的输入画素列数据Li[s+2]o(1)到Li[s+2]o(N)。图3(d)为本实施例的解交错方法的部分流程图,图2(d)仅画出输入画素列数据Li[s+2]o(i)、Li[s+2]o(i+1)及Li[s+2]e(i)为例做说明。首先如步骤(j),控制电路14系提供输入画素列数据Li[s+2]o(i)及Li[s+1]e(i)至边缘定向解交错运算器16,以运算得到图框Fm[t+2]中的输出画素列数据Lo[t+2]o(i)。接着如步骤(k),控制电路14提供输入画素列数据Li[s+2]o(i+1)及Li[s+1]e(i)至边缘定向解交错运算器16,以运算得到图框Fm[t+2]中的输出画素列数据Lo[t+2]e(i)。之后如步骤(1),解交错控制器10改变i以插补得到图框Fm[t+2]中的所有画素列数据。Please refer to Fig. 3(d), Fig. 2(d) and Fig. 1, in the operation of generating frame Fm[t+2] by interpolation, the
图4为根据本发明较佳实施例的边缘定向解交错运算器16的操作示意图。令边缘定向解交错运算器16接收到运算画素列数据LP1及LP2,并据以插补产生插补画素列数据LP3。插补画素列数据LP3中包括画素数据P3(1)到P3(y),由于边缘定向解交错运算器16插补产生各画素数据P3(1)到P3(y)的操作系实质相同,接下来,以边缘定向解交错运算器16插补产生画素数据P3(x)的操作为例作说明,y为大于1的自然数,x为小于或等于y的自然数。FIG. 4 is a schematic diagram of the operation of the edge-oriented
边缘定向解交错运算包括下列步骤。首先根据多个方向索引映像运算画素列资料LP1中的多个画素数据至运算画素列数据LP2中的多个画素资料。举例来说,方向索引D包括数值{-2,-1,0,1,2},运算画素列数据LP1中的画素资料P1(x+2)到P1(x-2)分别经由具有数值-2、-1、0、1及2的方向索引D映像至运算画素列数据LP2中的画素资料P2(x-2)到P2(x+2)。Edge-directed deinterleaving includes the following steps. First, a plurality of pixel data in the pixel row data LP1 is calculated to a plurality of pixel data in the pixel row data LP2 according to a plurality of direction index maps. For example, the direction index D includes the values {-2, -1, 0, 1, 2}, and the pixel data P1(x+2) to P1(x-2) in the operation pixel column data LP1 respectively pass 2. The direction indices D of -1, 0, 1 and 2 are mapped to the pixel data P2(x-2) to P2(x+2) in the operation pixel row data LP2.
接着以前述被具有数值-2到2的方向索引D映像到的画素数据P1(x-2)到P1(x+2)为中心划分出对应的大区块Ma(-2)到Ma(2);并以前述被具有数值-2到2之方向索引D映像到之画素数据P2(x+2)到P2(x-2)为中心划分出对应的大区块Mb(-2)到Mb(2)。举例而言,各个大区块Ma(-2)到Ma(2)及Mb(-2)到Mb(2)包括水平方向3个画素。然后,对相互对应的大区块Ma(D)及MB(D)进行区块比对,以找到对应的区块差值Diff(D),D等于-2到2。举例而言,区块差值Diff(-2)可以经由方程式运算得到:Then, the pixel data P1(x-2) to P1(x+2) mapped to the aforementioned direction index D having a value of -2 to 2 are divided into corresponding large blocks Ma(-2) to Ma(2) ); and the pixel data P2(x+2) to P2(x-2) mapped to the aforementioned direction index D having values -2 to 2 are centered to divide the corresponding large blocks Mb(-2) to Mb (2). For example, each of the large blocks Ma(−2) to Ma(2) and Mb(−2) to Mb(2) includes 3 pixels in the horizontal direction. Then, block comparison is performed on the corresponding large blocks Ma(D) and MB(D) to find the corresponding block difference Diff(D), where D is equal to -2 to 2. For example, the block difference value Diff(-2) can be obtained through the equation operation:
Diff(-2)=|P1(x-1)-P2(x+1)|+|P1(x-2)-P2(x+2)|+|P1(x-3)-P2(x+3)|Diff(-2)=|P1(x-1)-P2(x+1)|+|P1(x-2)-P2(x+2)|+|P1(x-3)-P2(x+ 3)|
接着,以最小的区块差值对应的方向索引D做为侦测方向;例如区块差值Diff(-2)为区块差值Diff(-2)到Diff(2)中具有最小的区块差值者,如此将以方向索引-2做为侦测方向。之后,根据与侦测方向对应的画素资料P1(x-2)及P2(x+2)内插得到画素数据P3(x)。Next, use the direction index D corresponding to the smallest block difference as the detection direction; for example, the block difference Diff(-2) is the smallest block among the block difference Diff(-2) to Diff(2). For block differences, the direction index -2 will be used as the detection direction. Afterwards, the pixel data P3(x) is obtained by interpolation according to the pixel data P1(x-2) and P2(x+2) corresponding to the detection direction.
在上述实施例中虽仅以解交错控制器10根据奇图场Fd[s]及偶图场Fd[s+1]来产生图框Fm[t-1]到Fm[t+1],并根据奇图场Fd[s+2]及偶图场Fd[s+1]来产生图框Fm[t+2]的操作为例做说明,熟知此技艺的人士当可以思及所有图框的产生方式。In the above embodiment, only the
本实施例的解交错控制器透过边缘定向解交错运算器来根据对应的奇图场与图场插补产生四个图框。这样一来,相较于传统直接显示两个第一图框来达到倍频显示的解交错系统,本实施例的解交错控制器可以改善画面的残影情况。The de-interlacing controller of this embodiment generates four frames according to the corresponding odd field and field interpolation through the edge-oriented de-interlacing operator. In this way, compared with the conventional de-interlacing system that directly displays the two first frame frames to achieve double-frequency display, the de-interlacing controller of this embodiment can improve image afterimages.
第二实施例second embodiment
第二实施例的解交错控制器施用边缘定向解交错运算器与混合器来参考输入画面Ii中影像运动程度倍频插补得到图框Fm[t-1]到Fm[t+2]的影像数据。请参照图5(e),其为依照第二实施例的解交错控制器的方块图。The de-interlacing controller of the second embodiment employs an edge-oriented de-interlacing operator and a mixer to obtain the images of frames Fm[t-1] to Fm[t+2] through frequency-doubling interpolation with reference to the motion degree of the image in the input frame Ii data. Please refer to FIG. 5(e), which is a block diagram of the de-interleaving controller according to the second embodiment.
本实施例的解交错控制器20与第一实施例的解交错控制器10不同之处在于本实施例的内存控制电路24更包括混合器28,其耦接至边缘定向解交错运算器26及控制电路24,混合器28用以参考输入影像Ii的影像运动参数M,并根据边缘定向解交错运算器26运算产生的画素列数据Lx1及控制器电路24提供的输入画素列数据Lx2插补产生输出画素列数据Lout。The difference between the
请参照图6,其为依照本实施例的混合器28的方块图。混合器28用以根据运动参数M来决定画素列资料Lx1及Lx2的权重,以混合产生输出画素列数据Lout。举例而言,混合器28可以根据以下方程序混合产生输出画素列数据Lout:Please refer to FIG. 6 , which is a block diagram of the
Lout=Lx1×M+Lx2×(1-M)Lout=Lx1×M+Lx2×(1-M)
接着,分别对解交错控制器20插补产生图框Fm[t-1]到Fm[t+2]的操作做进一步说明。在接下来的叙述中,分别以各图框Fm[t-1]到Fm[t+2]中的第i’奇数序输出画素列数据Lo[t-1]o(i’)、Lo[t]o(i’)、Lo[t+1]o(i’)及Lo[t+2]o(i’)的操作为例,对各图框Fm[t-1]到Fm[t+2]中各奇数序画素列数据的操作进行说明;并分别以各图框Fm[t-1]到Fm[t+2]中第i’偶数序输出画素列数据Lo[t-1]e(i’)、Lo[t]e(i’)、Lo[t+1]e(i’)及Lo[t+2]e(i’)的操作为例,对各图框Fm[t-1]到Fm[t+2]中各偶数序画素列数据的操作进行说明,i’为小于或等于N的自然数。Next, the operations of the
请参照图7(a)、图5(a)及图1,本实施例的解交错方法与图3(a)所绘示的解交错方法不同之处在于其中的步骤(e)系包括步骤(e1)到(e3)。首先如步骤(e1),边缘定向解交错运算器26根据输入画素列资料Li[s]o(i’+1)及Li[s]o(i’)运算产生画素列数据Lx1。边缘定向解交错运算器26如何根据所输入的资料进行处理系与边缘定向解交错运算器16的动作相同,于此不予重述。于步骤(e2),控制电路24提供输入画素列数据Li[s+1]e(i’)做为画素列数据Lx2提供至混合器28。Please refer to FIG. 7(a), FIG. 5(a) and FIG. 1, the difference between the de-interleaving method of this embodiment and the de-interleaving method shown in FIG. 3(a) is that step (e) includes the step (e1) to (e3). First, as in step (e1), the edge-oriented
于步骤(e3),混合器28根据运动参数M及(1-M)分别决定画素列数据Lx1及Lx2的权重,以混合产生画素列数据Lout。所产生的输出画素列数据Lout被做为图框画面Fm[t-1]中的输出画素列数据Lo[t-1]e(i’)输出。In step (e3), the
请参照图7(b)、图7(c)、图5(b)及图1,本实施例的解交错方法与图3(b)所绘示的解交错方法不同之处在于其中的步骤(a)系包括步骤(a1)到(a3),其中的步骤(b)系包括步骤(b1)到(b3)。如步骤(a1),边缘定向解交错运算器26根据输入画素列资料Li[s]o(i’)及Li[s+1]e(i’)运算产生画素列数据Lx1(t1)。于步骤(a2),控制电路24提供输入画素列数据Li[s]o(i’)做为画素列数据Lx2(t1)提供至混合器28。于步骤(a3),根据权重参数M及(1-M)分别决定画素列资料Lx1(t1)及Lx2(t2)的权重,以混合产生画素列数据Lout,并将其做为输出画素列数据Lo[t]o(i’)输出。Please refer to FIG. 7(b), FIG. 7(c), FIG. 5(b) and FIG. 1, the difference between the de-interleaving method of this embodiment and the de-interleaving method shown in FIG. 3(b) lies in the steps (a) comprises steps (a1) to (a3), wherein step (b) comprises steps (b1) to (b3). In step (a1), the edge-oriented
于步骤(b1),边缘定向解交错运算器26根据输入画素列资料Li[s+1]e(i’)与Li[s]o(i’+1)运算产生画素列数据Lx1(t2)。于步骤(b2),控制电路24提供输入画素列数据Li[s+1]e(i’)做为画素列数据Lx2(t2)提供至混合器28。于步骤(b3),根据权重参数M及(1-M)分别决定画素列资料Lx1(t1)及Lx2(t2)的权重,以混合产生画素列数据Lout,并将其做为输出画素列数据Lo[t]e(i’)输出。In step (b1), the edge-oriented
请参照图7(d)、图5(c)及图1,本实施例的解交错方法与图3(c)所示的解交错方法不同之处在于其中的步骤(g)包括步骤(g1)到(g3)。于步骤(g1),边缘定向解交错运算器26根据输入画素列资料Li[s+1]e(i’)与Li[s+1]e(i’+1)运算产生画素列数据Lx1。于步骤(g2),控制电路24提供输入画素列数据Li[s+2]o(i’)做为画素列数据Lx2提供至混合器28。于步骤(g3),根据权重参数M及(1-M)分别决定画素列资料Lx1及Lx2的权重,以混合产生画素列数据Lout,并将其做为输出画素列数据Lo[t+1]o(i’)输出。Please refer to Fig. 7(d), Fig. 5(c) and Fig. 1, the difference between the deinterleaving method of this embodiment and the deinterleaving method shown in Fig. 3(c) is that step (g) includes step (g1 ) to (g3). In step (g1), the edge-oriented
请参照图7(e)、图7(f)、图5(d)及图1,本实施例的解交错方法与图3(d)所绘示的解交错方法不同之处在于其中的步骤(j)包括步骤(j1)到(j3),而步骤(k)包括步骤(k1)到(k3)。于步骤(j1),边缘定向解交错运算器26根据输入画素列资料Li[s+2]o(i’)及Li[s+1]e(i’)运算产生画素列数据Lx1(t3)。于步骤(j2),控制电路24提供输入画素列数据Li[s+2]o(i’)做为画素列数据Lx2(t3)提供至混合器28。于步骤(j3),根据权重参数M及(1-M)分别决定画素列资料Lx1(t3)及Lx2(t3)的权重,以混合产生画素列数据Lout,并将其做为输出画素列数据Lo[t+2]o(i’)输出。Please refer to FIG. 7(e), FIG. 7(f), FIG. 5(d) and FIG. 1, the difference between the de-interleaving method of this embodiment and the de-interleaving method shown in FIG. 3(d) lies in the steps (j) includes steps (j1) to (j3), and step (k) includes steps (k1) to (k3). In step (j1), the edge-oriented
于步骤(k1),边缘定向解交错运算器26根据输入画素列资料Li[s+1]e(i’)与Li[s+2]o(i’+1)运算产生画素列数据Lx1(t4)。于步骤(k2),控制电路24提供输入画素列数据Li[s+1]e(i’)做为画素列数据Lx2(t4)提供至混合器28。于步骤(k3),根据权重参数M及(1-M)分别决定画素列资料Lx1(t4)及Lx2(t4)的权重,以混合产生画素列数据Lout,并将其做为输出画素列数据Lo[t+2]e(i’)输出。In step (k1), the edge-oriented
本实施例的解交错控制器20可利用运动估算电路(未示出)产生运动参数M。对应于输出影像Io中各个由混合器28产生的画素数据,运动估算电路均对应地产生运动参数M。举例而言,运动估算电路设定运动估算区域来估算出对应至图框Fm[t-1]中第x列画素中的第y笔画素资料P[t]o(x,y)对应的运动参数M[t]o(x,y)。x为小于或等于N的自然数。令前述各奇图场与偶图场中各画素列数据包括Z笔画素数据,y为小于或等于Z的自然数。The
请参照图(a)及图8(b),其为本实施例的运动估算电路的运动估算操作的示意图。运动估算电路系将奇图场Fd[s]及偶图场Fd[s+1]合成出图框Frame,并将奇图场Fd[s-2]及偶图场Fd[s-1]合成出图框Pre_Frame。Please refer to FIG. 8( a ) and FIG. 8( b ), which are schematic diagrams of the motion estimation operation of the motion estimation circuit of this embodiment. The motion estimation circuit synthesizes the odd image field Fd[s] and the even image field Fd[s+1] into a frame Frame, and synthesizes the odd image field Fd[s-2] and the even image field Fd[s-1] The picture frame Pre_Frame.
运动估算电路于图框Frame中定义区域A。举例来说,区域A包括画素数据Pr1到Pr9,画素资料Pr1-Pr3分别为偶图场Fd[s+1]中输入画素列数据Li[s+1]e(x)中的画素资料P[s+1]e(x,y-1)、P[s+1]e(x,y)及P[s+1]e(x,y+1),画素资料Pr4到Pr6分别为奇图场Fd[s]中输入画素列数据Li[s]o(x)中的画素资料P[s]o(x,y-1)、P[s]o(x,y)及P[s]o(x,y+1),画素资料Pr7到Pr9分别为偶图场Fd[s+1]中输入画素列数据Li[s+1]e(x+1)中的画素资料P[s+1]e(x+1,y-1)、P[s+1]e(x+1,y)及P[s+1]e(x+1,y+1)。The motion estimation circuit defines an area A in the frame Frame. For example, the area A includes pixel data Pr1 to Pr9, and the pixel data Pr1-Pr3 are respectively the pixel data P[ s+1]e(x, y-1), P[s+1]e(x, y) and P[s+1]e(x, y+1), pixel data Pr4 to Pr6 are odd images respectively Input the pixel data P[s]o(x, y-1), P[s]o(x, y) and P[s] in the pixel column data Li[s]o(x) in the field Fd[s] o(x, y+1), the pixel data Pr7 to Pr9 are respectively the pixel data P[s+ in the input pixel column data Li[s+1]e(x+1) in the even image field Fd[s+1] 1] e(x+1, y-1), P[s+1]e(x+1, y) and P[s+1]e(x+1, y+1).
相似地,运动估算电路于图框Pre_Frame中定义区域B,区域B包括画素数据Pre_Pr1-Pre_Pr9,画素资料Pre_Pr1-Pre_Pr3分别为偶图场Fd[s-1]中输入画素列数据Li[s-1]e(x)中的画素资料P[s-1]e(x,y-1)、P[s-1]e(x,y)及P[s-1]e(x,y+1),画素资料Pre_Pr4-Pre_Pr6分别为奇图场Fd[s-2]中输入画素列数据Li[s-2]o(x)中的画素资料P[s-2]o(x,y-1)、P[s-2]o(x,y)及P[s-2]o(x,y+1),画素资料Pre_Pr7-Pre_Pr9分别为偶图场Fd[s-1]中输入画素列数据Li[s-1]e(x+1)中的画素资料P[s-1]e(x+1,y-1)、P[s-1]e(x+1,y)及P[s-1]e(x+1,y+1)。Similarly, the motion estimation circuit defines a region B in the frame Pre_Frame, the region B includes pixel data Pre_Pr1-Pre_Pr9, and the pixel data Pre_Pr1-Pre_Pr3 are input pixel row data Li[s-1 in the even image field Fd[s-1] respectively Pixel data in ]e(x) P[s-1]e(x, y-1), P[s-1]e(x, y) and P[s-1]e(x, y+1 ), the pixel data Pre_Pr4-Pre_Pr6 are respectively the pixel data P[s-2]o(x, y-1 ), P[s-2]o(x, y) and P[s-2]o(x, y+1), the pixel data Pre_Pr7-Pre_Pr9 are input pixel columns in the even image field Fd[s-1] respectively Pixel data P[s-1]e(x+1, y-1), P[s-1]e(x+1, y) and P in data Li[s-1]e(x+1) [s-1]e(x+1, y+1).
可以根据以下方程序运算产生对应至画素P[t]o(x,y)的运动参数M[t]o(x,y):The motion parameter M[t]o(x,y) corresponding to the pixel P[t]o(x,y) can be generated according to the following equation:
Threshold为临界数值。产生对应至图框Fm[t-1]到Fm[t+2]中其它插补产生的画素数据的运动参数M的操作可根据产生运动参数M[t]o(x,y)的操作类推得到。Threshold is a critical value. The operation of generating the motion parameter M corresponding to the pixel data generated by other interpolation in the frames Fm[t-1] to Fm[t+2] can be analogized according to the operation of generating the motion parameter M[t]o(x, y) get.
习知边缘定向解交错运算器仅应用于同一图场中的边缘定向解交错,而本发明实施例的解交错控制器系透过跨图场边缘定向解交错运算器来根据对应的原始图场插补产生倍频图框。这样一来,相较于传统直接显示两个第一图框来达到倍频显示的解交错系统容易产生画面残影的情形,本实施例的解交错控制器具有低成本且可以改善画面残影情况的优点。The conventional edge-oriented de-interlacing operator is only applied to the edge-oriented de-interlacing in the same field, but the de-interlacing controller of the embodiment of the present invention is based on the corresponding original field through cross-field edge-oriented de-interlacing operator Interpolation produces octave plot frames. In this way, compared to the traditional de-interlacing system that directly displays the two first frames to achieve frequency doubling display, which is prone to image sticking, the de-interlacing controller in this embodiment has low cost and can improve image sticking advantage of the situation.
更进一步,本实施例的解交错控制器更利用混合器参考输入影像的影像运动程度来插补得到对应的输出影像。如此,本实施例的解交错控制器考虑输入影像的运动程度来插补产生输出影像中的各图框,以更进一步提升画面的显示效果优点。Furthermore, the de-interlacing controller of this embodiment further utilizes the mixer to refer to the motion degree of the input image to interpolate to obtain the corresponding output image. In this way, the de-interlacing controller of this embodiment interpolates each frame in the output image by considering the motion degree of the input image, so as to further enhance the display effect of the image.
图9为根据本发明较佳实施例的倍频解交错方法,于步骤910,根据时间相邻的奇图场及偶图场,奇图场可以出现于偶图场的时间点之前或之后,经由跨图场边缘定向解交错运算倍频产生复数个解交错图框;于步骤920,将各解交错图框与该时间相邻的奇图场及该偶图场进行适应性混合以产生影像补偿的解交错图框,举例而言,将各解交错图框与该奇图场及该偶图场利用一影像运动参数混合产生影像补偿的解交错图框,举例而言,影像运动参数系由该影像补偿的解交错图框的一目标画素列数据与复数个时间相邻的图场中位置相邻的复数个画素列数据所决定,例如影像运动参数相关于时间相邻中位置相邻的复数个画素列数据的对应像素差值的絶对值和。FIG. 9 is a frequency doubling de-interleaving method according to a preferred embodiment of the present invention. In
综上所述,虽然本发明已以一较佳实施例揭露如上,然其并非用以限定本发明。本发明所属技术领域中具有通常知识者,在不脱离本发明的精神和范围内,当可作各种的更动与润饰。因此,本发明的保护范围应当以权利要求为准。In summary, although the present invention has been disclosed as above with a preferred embodiment, it is not intended to limit the present invention. Those skilled in the art of the present invention can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be determined by the claims.
Claims (17)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910005569 CN101783916B (en) | 2009-01-20 | 2009-01-20 | Frequency multiplier de-interlacing method and controller thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200910005569 CN101783916B (en) | 2009-01-20 | 2009-01-20 | Frequency multiplier de-interlacing method and controller thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101783916A CN101783916A (en) | 2010-07-21 |
CN101783916B true CN101783916B (en) | 2012-12-12 |
Family
ID=42523706
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200910005569 Expired - Fee Related CN101783916B (en) | 2009-01-20 | 2009-01-20 | Frequency multiplier de-interlacing method and controller thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101783916B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107682583B (en) * | 2017-09-11 | 2019-03-08 | 广西师范大学 | A kind of random interpolation method towards ciphertext image Information hiding |
CN111479083B (en) * | 2019-01-23 | 2021-06-25 | 瑞昱半导体股份有限公司 | Image processing method and image processing system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0586262A1 (en) * | 1992-09-04 | 1994-03-09 | Kabushiki Kaisha Toshiba | Television signal processor |
CN1678041A (en) * | 2004-04-02 | 2005-10-05 | 晨星半导体股份有限公司 | Method for Adaptive Deinterlacing Image Field and Related Deinterlacing Device |
CN101026681A (en) * | 2006-02-17 | 2007-08-29 | 联咏科技股份有限公司 | Interlaced scanning image signal frequency multiplication method and device |
-
2009
- 2009-01-20 CN CN 200910005569 patent/CN101783916B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0586262A1 (en) * | 1992-09-04 | 1994-03-09 | Kabushiki Kaisha Toshiba | Television signal processor |
CN1678041A (en) * | 2004-04-02 | 2005-10-05 | 晨星半导体股份有限公司 | Method for Adaptive Deinterlacing Image Field and Related Deinterlacing Device |
CN101026681A (en) * | 2006-02-17 | 2007-08-29 | 联咏科技股份有限公司 | Interlaced scanning image signal frequency multiplication method and device |
Non-Patent Citations (1)
Title |
---|
JP昭61-242186A 1986.10.28 |
Also Published As
Publication number | Publication date |
---|---|
CN101783916A (en) | 2010-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4626779B2 (en) | Video signal processing device, image display device, and video signal processing method | |
JP5335293B2 (en) | Liquid crystal display device and driving method thereof | |
US8396129B2 (en) | Apparatus and method for single-pass, gradient-based motion compensated image rate conversion | |
CN101523475B (en) | Image display apparatus | |
CN102027489B (en) | Systems and methods of motion and edge adaptive processing including motion compensation features | |
CN101924899B (en) | Image processing apparatus and image processing method | |
TW201036419A (en) | Image processing method and circuit | |
CN101783916B (en) | Frequency multiplier de-interlacing method and controller thereof | |
CN102100066A (en) | Video signal processor and video signal processing method | |
TWI524776B (en) | De-interlacing method and apparatus thereof | |
JP2010283895A (en) | Picture signal processing unit, image display unit, and picture signal processing method | |
JP4257650B2 (en) | Image signal processing circuit | |
US20090167936A1 (en) | Video picture format conversion method and corresponding device | |
JP5880116B2 (en) | Video signal processing apparatus and method | |
CN105872306B (en) | Apparatus and method for image scaling | |
JPH07175451A (en) | Liquid crystal display | |
JP4656546B2 (en) | Video signal processing device | |
CN101335823B (en) | A method of rectifying an image | |
JPWO2009116586A1 (en) | Image processing method, image processing apparatus, and image processing program | |
JP2009063659A (en) | Image display device | |
JP5880117B2 (en) | Video signal processing apparatus and method | |
JP5880118B2 (en) | Video signal processing apparatus and method | |
JPH07261705A (en) | Liquid crystal display device, driving method thereof, and driving circuit | |
JP5880119B2 (en) | Video signal processing apparatus and method | |
CN103763500A (en) | De-interlacing image processing device and method achieving motion compensation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20121212 Termination date: 20210120 |
|
CF01 | Termination of patent right due to non-payment of annual fee |