JP5164716B2 - Video processing device and video display device - Google Patents

Video processing device and video display device Download PDF

Info

Publication number
JP5164716B2
JP5164716B2 JP2008193006A JP2008193006A JP5164716B2 JP 5164716 B2 JP5164716 B2 JP 5164716B2 JP 2008193006 A JP2008193006 A JP 2008193006A JP 2008193006 A JP2008193006 A JP 2008193006A JP 5164716 B2 JP5164716 B2 JP 5164716B2
Authority
JP
Japan
Prior art keywords
telop
character
signal
value
amount
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2008193006A
Other languages
Japanese (ja)
Other versions
JP2010034724A (en
Inventor
伸宏 福田
満雄 中嶋
清志 ▲高▼田
英春 服部
豊 千秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2008193006A priority Critical patent/JP5164716B2/en
Publication of JP2010034724A publication Critical patent/JP2010034724A/en
Application granted granted Critical
Publication of JP5164716B2 publication Critical patent/JP5164716B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Systems (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

本発明は、映像処理装置に関し、特に文字テロップを含む映像信号に補間フレームを加えて当該映像信号のフレームレートを変換するためのフレームレート変換処理における高画質化に好適な技術に関する。   The present invention relates to a video processing apparatus, and more particularly to a technique suitable for improving image quality in a frame rate conversion process for converting a frame rate of a video signal by adding an interpolation frame to a video signal including a character telop.

入力された映像信号のフレーム列に、映像の動きベクトルを用いた補間処理により作成された補間フレームを加えることにより、入力映像信号のフレームレート(フレーム周波数)を変換するフレームレート変換処理が知られている。   A frame rate conversion process for converting the frame rate (frame frequency) of an input video signal by adding an interpolation frame created by an interpolation process using a video motion vector to the frame sequence of the input video signal is known. ing.

かかるフレームレート変換処理を文字テロップやテキストを含む映像信号に対して施す場合は、当該文字テロップやテキスト(以下、これらを纏めて文字テロップと呼ぶこととする)が所定方向において周期構造(同一もしくは類似する形状が所定方向に繰り返し出現するパターン)を有していることから、上記動きベクトルが良好に検出できない場合がある。このような場合、誤った補間処理が為され、フレームレート変換後の映像、特に文字テロップの領域において映像が乱れ画質劣化が生じる。   When such frame rate conversion processing is performed on a video signal including character telop and text, the character telop and text (hereinafter collectively referred to as character telop) have a periodic structure (identical or identical). In some cases, the motion vector cannot be detected satisfactorily because it has a pattern in which a similar shape repeatedly appears in a predetermined direction. In such a case, erroneous interpolation processing is performed, and the image after frame rate conversion, particularly the image in the character telop area, is disturbed and image quality deterioration occurs.

文字テロップを含む映像に対して良好に補間処理を行うための従来技術としては、例えば特許文献1、2に記載のものが知られている。   For example, those disclosed in Patent Documents 1 and 2 are known as conventional techniques for satisfactorily interpolating an image including character telops.

特開2003−189264号公報JP 2003-189264 A 特開2004−312680号公報JP 2004-31680 A

ところで、文字テロップには、所定方向に移動する(すなわちスクロールする)ものと静止するものが存在する。動きのある背景映像に静止する文字テロップが重畳されている映像においては、当該静止文字テロップが重畳される領域において上記動きベクトルの誤検出が生じやすく、従って当該領域においては誤った補間処理が行われる場合が多い。   By the way, there are character telops that move in a predetermined direction (that is, scroll) and those that stop. In a video in which a stationary text telop is superimposed on a moving background video, erroneous detection of the motion vector is likely to occur in the area where the stationary text telop is superimposed, and therefore erroneous interpolation processing is performed in that area. Often.

上記特許文献1及び2には、上記静止文字テロップが存在する場合でも良好に補間処理を行うことについての考慮は為されていない。   In Patent Documents 1 and 2, no consideration is given to a good interpolation process even when the static character telop is present.

本発明は、文字テロップが静止文字テロップを含む場合でも良好に補間処理を行うことで画質劣化を低減するのに好適な技術を提供する。また、文字テロップ部分とそれ以外の部分とを良好に区分して補間処理が可能な技術を提供する。   The present invention provides a technique suitable for reducing image quality deterioration by performing good interpolation processing even when a character telop includes a stationary character telop. In addition, a technique is provided in which interpolation processing can be performed by satisfactorily dividing a character telop portion and other portions.

本発明は、映像の動きベクトルを検出する動きベクトル検出部とは別に文字テロップの動きを検出するテロップ検出部を備え、この文字テロップ検出部は、ライン単位の文字テロップの動き量とフレーム単位の文字テロップの動き量とを検出し、これらのいずれか文字テロップの動き量を用いて当該文字テロップの領域について補間処理を行うことを特徴とする。例えば、静止文字テロップの領域に対しては、フレーム単位の動き量を優先的に用いて補間処理ようにし、スクロールする文字テロップ領域に対しては、ライン単位の動き量を優先的に用いるようにする。   The present invention includes a telop detection unit that detects the motion of a character telop separately from the motion vector detection unit that detects a motion vector of a video. The character telop detection unit includes a motion amount of a character telop in line units and a frame unit. A character telop motion amount is detected, and any one of these character telop motion amounts is used to perform interpolation processing on the character telop region. For example, for static character telop areas, the frame-unit motion amount is preferentially used for interpolation processing, and for scrolling character telop regions, the line-unit motion amount is preferentially used. To do.

また本発明は、文字テロップの部分を他の部分と区分して処理する際に用いられるイネーブル信号をフィルタ処理することを特徴とする。このイネーブル信号は各画素に対応して与えられ、文字テロップ領域に対応する画素を第1の値(例えば「1」)、その以外の領域を第2の値(例えば「0」)としたとき、上記フィルタ処理は、まず、ある画素が第2の値を持つ場合は、当該ある画素の周辺画素の値を第2の値に置き換えることにより当該第2の値を持つ画素の範囲を拡張し、続いて、第1の値を持つ画素の周辺画素の値を第1の値に置き換えることにより前記第1の値を持つ画素の範囲を拡張する処理を含む。   Further, the present invention is characterized by filtering an enable signal used when processing a character telop part separately from other parts. This enable signal is given to each pixel, and when the pixel corresponding to the character telop area is set to the first value (for example, “1”) and the other area is set to the second value (for example, “0”). First, when a certain pixel has a second value, the filtering process extends the range of the pixel having the second value by replacing the value of the peripheral pixel of the certain pixel with the second value. Subsequently, the processing includes expanding the range of the pixel having the first value by replacing the value of the peripheral pixel of the pixel having the first value with the first value.

上記本発明の構成によれば、文字テロップが静止文字テロップを含む場合でも良好に補間処理を行うことで可能となり、フレームレート変換後の映像の画質劣化を低減することが可能となる。また、文字テロップ部分とそれ以外の部分とを良好に区分して補間処理をすることが可能となる。   According to the configuration of the present invention described above, even when the character telop includes a static character telop, it is possible to perform the interpolation process satisfactorily, and it is possible to reduce the image quality deterioration of the video after the frame rate conversion. In addition, it is possible to perform the interpolation processing by properly dividing the character telop portion and the other portions.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。なお、各図において同一の符号が付された要素は同一の構成、機能を持つものとし、その重複した説明は省略するものとする。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In addition, the element to which the same code | symbol was attached | subjected in each figure shall have the same structure and function, and the duplicate description shall be abbreviate | omitted.

図1は、本発明の一実施形態に係る映像処理装置の一例を示す構成図である。   FIG. 1 is a configuration diagram showing an example of a video processing apparatus according to an embodiment of the present invention.

図1において、信号処理部1には、例えば受信した符号化デジタルテレビジョン放送信号が入力され、これを復号及び復調してデジタル形式の映像信号2を出力する。この映像信号2は、分岐されて1V遅延処理部3に入力され、ここで映像信号2の1垂直期間(1フレームもしくは1フィールド分)遅延される。これにより、映像信号2と、これに対し1垂直期間遅延された1V遅延信号4とを得ることができる。以下では、映像信号2と1V遅延信号4との時間的な前後関係から、映像信号2を「後フレーム信号」、1V遅延信号4「前フレーム信号」と呼ぶこととする。   In FIG. 1, for example, a received encoded digital television broadcast signal is input to the signal processing unit 1, which is decoded and demodulated to output a digital video signal 2. The video signal 2 is branched and input to the 1V delay processing unit 3 where the video signal 2 is delayed by one vertical period (one frame or one field). As a result, the video signal 2 and the 1V delay signal 4 delayed by one vertical period can be obtained. Hereinafter, the video signal 2 is referred to as a “rear frame signal” and a 1 V delay signal 4 “previous frame signal” because of the temporal relationship between the video signal 2 and the 1V delay signal 4.

後フレーム信号2と前フレーム信号4は、それぞれ、本実施例の特徴的要素であるテロップ検出部2、及び動きベクトル検出部6とフレーム補間部12に供給される。テロップ検出部2では、入力映像信号に文字テロップが含まれる場合には、後フレーム信号2と前フレーム信号4との差分に基づき文字テロップの領域及び当該文字テロップの動き量を検出し、上記文字テロップ領域に対応するマスク信号7と文字テロップの動き量8(以下、文字動き量と呼ぶ場合もある)とを生成してベクトル合成部10へ出力する。ここで、マスク信号7は、1フレームを構成する映像の各画素に対してそれぞれ与えられるものであり、文字テロップを含む領域に対応する画素については「1」、すなわち有効とし、それ以外の領域に対応する画素については「0」、すなわち無効とされる。テロップ検出部2の詳細については後述するものとする。   The rear frame signal 2 and the previous frame signal 4 are respectively supplied to the telop detection unit 2, the motion vector detection unit 6, and the frame interpolation unit 12, which are characteristic elements of the present embodiment. When the input video signal includes a character telop, the telop detection unit 2 detects the character telop area and the amount of movement of the character telop based on the difference between the subsequent frame signal 2 and the previous frame signal 4, and the character A mask signal 7 corresponding to the telop area and a character telop motion amount 8 (hereinafter also referred to as a character motion amount) are generated and output to the vector composition unit 10. Here, the mask signal 7 is given to each pixel of the image constituting one frame, and “1” is set for the pixel corresponding to the region including the character telop, that is, the other region. The pixel corresponding to is set to “0”, that is, invalid. Details of the telop detection unit 2 will be described later.

一方、動きベクトル検出部6では、後フレーム信号2と前フレーム信号4との差分に基づき文字テロップを含む映像(例えば人物や車等の物体)の動きベクトル9を検出してベクトル合成部10へ出力する。ここで、動きベクトル検出部6は、例えば映像信号の輝度信号を用いて文字テロップを含んだ映像全体の動きベクトル8の検出を行う。この動きベクトル8は、例えば時間的に連続する2つのフレーム、すなわち後フレーム2と前フレーム4との中間に補間フレームを挿入する場合では、まず補間フレーム中のある注目画素(補間画素)を通る直線を複数設定する。その直線は、補間フレームの前後にある2フレーム(後フレーム及び前フレーム)のそれぞれに設けられた所定の矩形状領域内に設定される。その領域内に設定された複数の直線それぞれについて、当該直線が通過する上記2フレームの画素同士の差分を演算する。そして、その差分が最も小さい直線を、当該注目画素(補間画素)に対応する動きベクトルとして設定する。そのような演算処理を1フレームの全が疎に渡って行うことにより、1フレームの各画素について動きベクトルを設定する。ここでは、動きベクトル検出部6における動きベクトルの検出方法の詳細に関しては、例えば特開2006-165602号公報や特開2007-082030号公報等において公知であるのでその説明を省略する。本実施形態は、映像の動き検出の方法として、これらの文献に示された方法以外にもブロックマッチング法、勾配法、位相相関法等を適用することができる。   On the other hand, the motion vector detection unit 6 detects a motion vector 9 of a video (for example, an object such as a person or a car) including a character telop based on the difference between the rear frame signal 2 and the previous frame signal 4, and sends the motion vector 9 to the vector synthesis unit 10. Output. Here, the motion vector detection unit 6 detects the motion vector 8 of the entire video including character telops using, for example, a luminance signal of the video signal. For example, when an interpolation frame is inserted between two temporally continuous frames, that is, between the subsequent frame 2 and the previous frame 4, this motion vector 8 first passes through a certain pixel of interest (interpolation pixel) in the interpolation frame. Set multiple straight lines. The straight line is set in a predetermined rectangular area provided in each of two frames (back frame and front frame) before and after the interpolation frame. For each of a plurality of straight lines set in the area, the difference between the pixels of the two frames through which the straight line passes is calculated. Then, a straight line having the smallest difference is set as a motion vector corresponding to the target pixel (interpolation pixel). By performing such arithmetic processing over the entire sparse frame, a motion vector is set for each pixel of the single frame. Here, the details of the motion vector detection method in the motion vector detection unit 6 are known in, for example, Japanese Patent Application Laid-Open No. 2006-165602 and Japanese Patent Application Laid-Open No. 2007-082030, and the description thereof is omitted. In the present embodiment, a block matching method, a gradient method, a phase correlation method, and the like can be applied as a method for detecting motion of an image in addition to the methods described in these documents.

動き情報切換部10は、テロップ検出部2から出力されたマスク信号7及び文字動き量8と、動きベクトル検出部6から出力された動きベクトル9が入力され、これらに基づき映像の領域に応じた補間処理用動き情報7を切り換えて出力する。すなわち、マスク信号7が「0」を示す画素は文字テロップ以外の映像が存在する領域なので、動きベクトル9を補間処理用動き情報7として出力し、マスク信号7が「0」を示す画素は文字テロップを含む領域なので、文字動き量8を補間処理用動き情報7として出力する。   The motion information switching unit 10 receives the mask signal 7 and the character motion amount 8 output from the telop detection unit 2, and the motion vector 9 output from the motion vector detection unit 6, and based on these, the motion information switching unit 10 corresponds to the video region. The interpolation processing motion information 7 is switched and output. That is, since a pixel whose mask signal 7 indicates “0” is an area where a video other than a character telop exists, the motion vector 9 is output as motion information 7 for interpolation processing, and a pixel whose mask signal 7 indicates “0” Since the region includes a telop, the character motion amount 8 is output as interpolation processing motion information 7.

フレーム補間部12は、後フレーム信号2と前フレーム信号4、及び動き情報切換部10からの補間処理用動き情報11を用いて文字テロップの領域とそれ以外との領域を夫々個別に補間処理を行い、補間フレームを作成する。すなわち、文字テロップの領域については補間処理用動き情報7としての文字動き量8を用い、それ以外の領域については補間処理用動き情報7としての動きベクトル9を用いて補間処理を行う。   The frame interpolating unit 12 individually interpolates the character telop region and the other region using the subsequent frame signal 2 and the previous frame signal 4 and the motion information 11 for interpolation processing from the motion information switching unit 10. To create an interpolation frame. That is, interpolation processing is performed using the character motion amount 8 as the interpolation processing motion information 7 for the character telop region, and the motion vector 9 as the interpolation processing motion information 7 for the other regions.

上記補間処理は、例えば時間的に連続する後フレーム2と前フレーム4との中間に補間フレームを挿入する場合では、補間フレーム中のある注目画素を通る動きベクトルによって指し示された上記2フレームの画素同士の平均値(もしくは補間フレームと後フレームまたは前フレームとの時間的距離に応じた加重平均)を求める補間画素を生成する処理である。この補間画素の生成を、1フレームにおけるすべての画素について行うことで、1枚の補間フレームが生成される。かかる補間処理の詳細についても、上記文献に記載されており公知であるので、ここでは省略することとする。   For example, when the interpolation frame is inserted between the subsequent frame 2 and the previous frame 4 that are temporally continuous, the interpolation processing of the two frames indicated by the motion vector passing through a certain pixel of interest in the interpolation frame is performed. This is a process for generating an interpolation pixel for obtaining an average value between pixels (or a weighted average corresponding to a temporal distance between the interpolation frame and the subsequent frame or the previous frame). By generating this interpolation pixel for all the pixels in one frame, one interpolation frame is generated. The details of such interpolation processing are also described in the above-mentioned document and are well-known, and will be omitted here.

上記のようにして作成された補間フレームは、フレーム補間部12において、入力映像信号中のフレーム列に挿入される。例えば、入力映像信号のフレームレート(フレーム周波数)が60Hzであり、それを2倍の120Hzにフレームレート変換する場合は、入力映像信号中の1つフレームおきに1つの補間フレームが挿入される。例えば、後フレーム2と前フレーム4との間に1枚の補間フレームが挿入される。このようにして、フレーム補間部12によって入力映像信号のフレームレートが変換される。   The interpolation frame created as described above is inserted into the frame sequence in the input video signal by the frame interpolation unit 12. For example, when the frame rate (frame frequency) of the input video signal is 60 Hz and the frame rate is converted to 120 Hz, which is twice as high, one interpolation frame is inserted every other frame in the input video signal. For example, one interpolation frame is inserted between the rear frame 2 and the previous frame 4. In this way, the frame rate of the input video signal is converted by the frame interpolation unit 12.

上記変換処理の詳細についても、上記特開2006-165602号公報や特開2007-082030号公報に記載されているのでここでは省略する。当然、映像信号のフレームレートを60Hzから180や240Hzに変換する場合も同様な処理が行われ、この場合は、2フレーム間に2枚または3枚の補間フレームが挿入される。また、フレームレートをフィルム信号の24Hzから60Hzにする場合も同様な処理が行われる。   Details of the conversion processing are also described in the above Japanese Patent Laid-Open Nos. 2006-165602 and 2007-082030, and are omitted here. Of course, the same processing is performed when the frame rate of the video signal is converted from 60 Hz to 180 or 240 Hz. In this case, two or three interpolation frames are inserted between the two frames. Similar processing is performed when the frame rate is changed from 24 Hz to 60 Hz of the film signal.

フレーム補間部12でフレームレート変換された映像信号13は、タイミング制御部14に入力される。タイミング制御部14は、映像信号13に基づき表示パネル15に映像を表示させるのに最適なタイミング信号(水平、垂直同期信号及びドットクロック信号)
を生成して、映像信号13とともに表示パネル15に供給する。
The video signal 13 whose frame rate has been converted by the frame interpolation unit 12 is input to the timing control unit 14. The timing controller 14 is an optimal timing signal (horizontal, vertical synchronization signal, and dot clock signal) for displaying a video on the display panel 15 based on the video signal 13.
Is supplied to the display panel 15 together with the video signal 13.

表示パネルは、例えば液晶パネルやPDPパネルなどで構成されており、タイミング制御部14からのタイミング信号とフレームレート変換された映像信号とを用いて、映像の表示を行う。   The display panel is composed of, for example, a liquid crystal panel or a PDP panel, and displays video using the timing signal from the timing control unit 14 and the video signal subjected to frame rate conversion.

次に、図2を参照して本実施例に係るテロップ検出部5の一具体例について説明する。図2において、後フレーム2と前フレーム4の信号が領域判定部104に入力され、領域判定部104は、後フレーム2と前フレーム4の信号が所定の領域内の信号か否かを判定し、所定領域内の信号のみを選択的に出力する。ここで所定領域とは、文字テロップが表示され得る領域である。文字テロップは、ほとんどの場合、映像の下部や上部または左部または右部において所定幅の範囲内に表示される。領域判定部104は、例えば入力映像信号が1920×1080の精細度を持つ場合、前記所定幅を垂直方向300ライン、水平方向300ドットとして、映像の最上端または最下端のラインから300ライン分の幅及び/または最右端または最左端の画素から300ドット分の幅を上記所定領域として設定する。そして、後フレーム2及び前フレーム4の各画素の位置と設定された所定領域の範囲情報とを比較し、後フレーム2及び前フレーム4が所定領域の範囲内にあればそれを出力し、範囲外であれば例えば「0」の信号を出力する。このようにすれば、文字テロップが実質的に表示されない領域の信号については、後段の要素において処理する必要が無く、また文字テロップの位置や動き量の検出における誤りを低減することができる。   Next, a specific example of the telop detection unit 5 according to the present embodiment will be described with reference to FIG. In FIG. 2, the signals of the subsequent frame 2 and the previous frame 4 are input to the region determination unit 104, and the region determination unit 104 determines whether the signals of the subsequent frame 2 and the previous frame 4 are signals within a predetermined region. , Selectively output only signals within a predetermined area. Here, the predetermined area is an area where a character telop can be displayed. In most cases, the character telop is displayed within a predetermined width in the lower part, upper part, left part or right part of the video. For example, when the input video signal has a definition of 1920 × 1080, the area determination unit 104 sets the predetermined width to 300 lines in the vertical direction and 300 dots in the horizontal direction, and 300 lines from the top or bottom line of the video. The width and / or the width of 300 dots from the rightmost or leftmost pixel is set as the predetermined area. Then, the position of each pixel in the rear frame 2 and the previous frame 4 is compared with the set range information of the predetermined area, and if the rear frame 2 and the previous frame 4 are within the range of the predetermined area, they are output, If it is outside, for example, a signal of “0” is output. In this way, it is not necessary to process the signal in the area where the character telop is not substantially displayed in the subsequent elements, and errors in detecting the position and the amount of movement of the character telop can be reduced.

領域判定部104からの信号は文字検出部105に入力され、ここで、文字テロップの領域とその動き量が検出される。この文字テロップ領域と文字動き量の検出について、図3及び図4を用いて説明する。   A signal from the region determination unit 104 is input to the character detection unit 105, where a character telop region and its amount of motion are detected. The detection of the character telop area and the amount of character movement will be described with reference to FIGS.

図3は、文字検出部105の動作の概念を示す図である。同図において、前フレーム4(k−1番目のフレーム)の画素191が、後フレーム2(k番目のフレーム)において画素192の位置に移動するものとする。文字検出部105は、この画素191から画素192への動き量を求めるために、前フレーム4の画面において探索範囲194を設定する。この探索範囲194は、前フレーム4の画面において、後フレーム2の画素192(x、y)と空間的に同一位置にある画素195を基準にして、例えば左右10ピクセルずつ、つまり水平方向に21ピクセルの幅を有している。この探索範囲194を定めるピクセル数は、文字テロップのスクロール速度、すなわち文字が1フレーム当たり何ピクセル動くか(pixel/frame:p/f)に応じて設定される。通常の文字テロップの速度は10p/f未満なので、探索範囲194は基準画素から左右10ピクセルずつ設ければよい。もちろん、これよりも多くしてもよい。   FIG. 3 is a diagram illustrating a concept of operation of the character detection unit 105. In the figure, it is assumed that the pixel 191 of the previous frame 4 (k−1th frame) moves to the position of the pixel 192 in the subsequent frame 2 (kth frame). The character detection unit 105 sets a search range 194 on the screen of the previous frame 4 in order to obtain the amount of movement from the pixel 191 to the pixel 192. The search range 194 is, for example, 10 pixels left and right, that is, 21 in the horizontal direction with reference to the pixel 195 that is spatially identical to the pixel 192 (x, y) of the rear frame 2 on the screen of the previous frame 4. It has a pixel width. The number of pixels defining the search range 194 is set according to the scroll speed of the character telop, that is, how many pixels the character moves per frame (pixel / frame: p / f). Since the speed of a normal character telop is less than 10 p / f, the search range 194 may be provided 10 pixels left and right from the reference pixel. Of course, it may be more than this.

上記探索範囲194を設定した後、その探索範囲194に属する画素群を後フレーム2に対して、基準画素を基準にして水平方向(左及び右方向)に1ピクセルずつずらしていく(シフトさせる)。そして、1ピクセルシフトする度に、後フレーム2の画素192(x,y)と空間的に同一位置にある画素(以下、「対応画素」と呼ぶ)との例えば輝度値の差分を演算する。ここで、図3に示されるように、前フレーム4の画素191が、後フレーム2において左の方向に7ピクセル移動する場合、探索範囲194の画素群を左方向に7ピクセルシフトすると、画素191が画素192と空間的に同一の位置となる。よって、探索範囲194の画素群を左方向に7ピクセルシフトしたとき、画素192と対応画素とが同一の値となり、その両者の差分は0もしくは所定値以下となる。つまり、後フレーム2の画素192と対応画素との差分が所定値以下のときのシフト量が、図中の矢印196で示される画素191の動き量となる。本例では、探索範囲194に属する画素群を左方向に7ピクセルシフトしたときに画素192と対応画素との差分が所定値以下になるので画素191が左方向に7ピクセルの動き量で移動したと検出される。以下、後フレーム2の画素192との差分が所定値以下の対応画素を一致画素と呼び、その一致画素については、「1」不一致の画素については「0」の判定信号を与えるようにする。   After the search range 194 is set, the pixel group belonging to the search range 194 is shifted (shifted) by one pixel in the horizontal direction (left and right directions) with respect to the rear frame 2 with reference to the reference pixel. . Each time one pixel is shifted, for example, a difference in luminance value between the pixel 192 (x, y) in the subsequent frame 2 and a pixel spatially located at the same position (hereinafter referred to as “corresponding pixel”) is calculated. Here, as shown in FIG. 3, when the pixel 191 of the previous frame 4 moves 7 pixels in the left direction in the subsequent frame 2, if the pixel group of the search range 194 is shifted 7 pixels in the left direction, the pixel 191 Is in the same spatial position as the pixel 192. Therefore, when the pixel group of the search range 194 is shifted to the left by 7 pixels, the pixel 192 and the corresponding pixel have the same value, and the difference between the two becomes 0 or a predetermined value or less. That is, the shift amount when the difference between the pixel 192 of the rear frame 2 and the corresponding pixel is equal to or smaller than the predetermined value is the amount of movement of the pixel 191 indicated by the arrow 196 in the drawing. In this example, when the pixel group belonging to the search range 194 is shifted by 7 pixels in the left direction, the difference between the pixel 192 and the corresponding pixel is equal to or less than a predetermined value, so the pixel 191 has moved in the left direction by a movement amount of 7 pixels. Is detected. Hereinafter, a corresponding pixel whose difference from the pixel 192 in the subsequent frame 2 is equal to or less than a predetermined value is referred to as a matching pixel, and for the matching pixel, a determination signal of “0” is given to a pixel that does not match “1”.

上記の処理を、領域判定部194により抽出された所定領域内の全画素について行うことで、文字テロップの動き量を検出することができる。このとき、所定領域における文字テロップの信号についてのみ上記処理を行うことで、文字テロップ以外の映像による誤検出を防止できる。通常、文字は、その表示色が白色で輝度が非常に高く、他の映像との境界である輪郭がくっきり、すなわち文字の境界部とその他の部分との輝度差が大きいという特徴がある。そこで本実施例では、所定領域内の画素のうち、文字の特徴である所定値以上の輪郭成分を持ちかつ所定輝度以上の画素について上記処理を行うようにしている。   By performing the above processing for all the pixels in the predetermined area extracted by the area determination unit 194, the amount of motion of the character telop can be detected. At this time, by performing the above-described processing only on the character telop signal in the predetermined area, it is possible to prevent erroneous detection by an image other than the character telop. In general, characters are characterized in that the display color is white and the luminance is very high, and the outline that is a boundary with another image is clear, that is, the luminance difference between the boundary portion of the character and other portions is large. Therefore, in the present embodiment, among the pixels in the predetermined area, the above processing is performed for pixels having a contour component equal to or higher than a predetermined value, which is a character feature, and having a predetermined luminance or higher.

上記の処理を数式により表すと次にようになる。図3において、今、i番フレームの位置(x,y)での階調(または輝度)をSi(x,y)する。k−1番フレームで(x,y)にあった画素191が、k番フレームで画素192(x+dx、y+dy)へ動いたとすると、これらの二つの階調差は、下記数1で表すことができる。
(数1)dS=Sk(x+dx,y+dy)−Sk-1(x,y)
ここで、dSを最小にする変位ベクトル(dx,dy)が求める動きベクトルである。本実施例では、次式に示すように、所定の輝度範囲[S0,S1]の画素と、その近傍の閾値E0以上の輪郭成分を持つ画素とが、それぞれ後フレーム2(k)と前フレーム4(k−1)間で一致するか否かを判定して動き量を求める。
(数2)dE=Ek(x+dx,y+dy)−Ek-1(x,y)
(数3)Ei(x,y)=Pi(x,y) grad Si(x,y)
(数4)Pi(x,y)=
H(Si(x,y)−S0) H(S1−Si(x,y)) H(grad |Si(x,y)|−E0)
上記数4において、Piは位置(x,y)の画素に対する判定信号を示し、Hはヘヴィサイド関数で、H(x)がx≧0(ここで、xは差表ではなく変数としてのxを示すものとする)の範囲にある場合は1、その他は0である。すなわち、Piは数4の左辺に示された条件を満たす場合、すなわち一致画素については「1」の値となり、それ以外の不一致画素は「0」の値となる。またEiは所定領域の輪郭を現す関数(これ以降、この関数を輪郭関数と呼ぶ)で、dEを最小にする変位ベクトル(dx,dy)が、所定領域の輪郭を構成する画素の動きベクトルである。このようにして、文字動き量が検出される。
The above processing is expressed by mathematical formulas as follows. In FIG. 3, the gradation (or luminance) at the position (x, y) of the i-th frame is now Si (x, y). If the pixel 191 located at (x, y) in the k-1 frame moves to the pixel 192 (x + dx, y + dy) in the kth frame, these two gradation differences can be expressed by the following formula 1. it can.
(Expression 1) dS = S k (x + dx, y + dy) −S k−1 (x, y)
Here, a displacement vector (dx, dy) that minimizes dS is a motion vector to be obtained. In this embodiment, as shown in the following equation, a pixel in a predetermined luminance range [S 0 , S 1 ] and a pixel having a contour component equal to or greater than the threshold value E 0 in the vicinity thereof are each a rear frame 2 (k). And the previous frame 4 (k−1) are determined to be coincident with each other to determine the amount of motion.
(Equation 2) dE = E k (x + dx, y + dy) −E k−1 (x, y)
(Equation 3) E i (x, y) = P i (x, y) grad S i (x, y)
(Expression 4) P i (x, y) =
H (S i (x, y) −S 0 ) H (S 1 −S i (x, y)) H (grad | S i (x, y) | −E 0 )
In Equation 4, P i represents a determination signal for the pixel at the position (x, y), H is a heavy side function, and H (x) is x ≧ 0 (where x is not a difference table but a variable) 1 in the range of x), and 0 otherwise. That is, if P i satisfies the conditions shown in the left side of Equation 4, namely, the value set in "1" for matching pixels, the other mismatched pixels is a value of "0". E i is a function that represents the contour of the predetermined region (hereinafter, this function is referred to as a contour function), and a displacement vector (dx, dy) that minimizes dE is a motion vector of a pixel that forms the contour of the predetermined region. It is. In this way, the amount of character movement is detected.

上記の処理を実現するため一構成例を図4に示す。領域判定部104からの所定領域に属する前フレーム4の信号は、複数のピクセル遅延部301に入力される。この複数のピクセル遅延部301は、それぞれ、上述したように探索範囲194内の画素群を1ピクセルずつシフトさせる動作を行うものであり、探索範囲194の幅に対応した数が設けられている。例えば、探索範囲194が上述したように対応画素を基準にして±10ピクセルの幅を持つ場合には、図示されるように、−10ピクセル遅延部、−9ピクセル遅延部…10ピクセル遅延部の計21個のピクセル遅延部301が設けられる。尚、図4では図示の簡単化のために−10ピクセル遅延部、−9ピクセル遅延部、10ピクセル遅延部のみを図示している。これらのピクセル遅延部301は、それぞれ、それ自身が有するピクセルの遅延量に従い前フレーム4を遅延する。例えば、−10ピクセル遅延部は前フレーム4を−10ピクセル遅延し、−9ピクセル遅延部は前フレーム4を−9ピクセル遅延する。ここで、−の遅延部は前フレーム4の信号を左方向に、+の遅延部は前フレーム4の信号を右方向にシフトすることを意味している。   One configuration example for realizing the above processing is shown in FIG. The signal of the previous frame 4 belonging to the predetermined area from the area determination unit 104 is input to the plurality of pixel delay units 301. Each of the plurality of pixel delay units 301 performs an operation of shifting the pixel group in the search range 194 one pixel at a time as described above, and a number corresponding to the width of the search range 194 is provided. For example, when the search range 194 has a width of ± 10 pixels with reference to the corresponding pixel as described above, as shown in the figure, a −10 pixel delay unit, a −9 pixel delay unit,... A total of 21 pixel delay units 301 are provided. In FIG. 4, only the −10 pixel delay unit, the −9 pixel delay unit, and the 10 pixel delay unit are illustrated for simplification of illustration. Each of these pixel delay units 301 delays the previous frame 4 in accordance with the delay amount of the pixel that it has. For example, the -10 pixel delay unit delays the previous frame 4 by -10 pixels, and the -9 pixel delay unit delays the previous frame 4 by -9 pixels. Here, the negative delay unit means that the signal of the previous frame 4 is shifted in the left direction, and the positive delay unit means that the signal of the previous frame 4 is shifted in the right direction.

各ピクセル遅延部301には、それそれ輪郭差分検出部303と輝度差分検出部304が対応して設けられており、各輪郭差分検出部303と輝度差分検出部304には、それぞれ、各ピクセル遅延部301により遅延された信号302と後フレーム2とが入力される。輪郭差分検出部303は、遅延信号302と後フレーム2の信号の夫々について例えばハイパスフィルタ処理や微分処理、または隣接する画素間の差分検出等、周知の手段によって輪郭成分を抽出し、更に閾値(E0)以上の輪郭成分を求める。そして、遅延信号302から得られた閾値(E0)以上の輪郭成分と、後フレーム2の信号のから得られた閾値(E0)以上の輪郭成分との差分を演算し、輪郭差分信号305を出力する。輝度差分検出部304は、所定輝度範囲、すなわち輝度S0以上で輝度S1以下の遅延信号302と後フレーム2の信号との差分を演算し、輝度差分信号306を出力する。 Each pixel delay unit 301 is provided with a contour difference detection unit 303 and a luminance difference detection unit 304, respectively. Each contour difference detection unit 303 and the luminance difference detection unit 304 each have a pixel delay. The signal 302 delayed by the unit 301 and the subsequent frame 2 are input. The contour difference detection unit 303 extracts a contour component for each of the delayed signal 302 and the signal of the subsequent frame 2 by a known means such as high-pass filter processing or differentiation processing, or difference detection between adjacent pixels, and further extracts a threshold value ( E 0 ) The above contour components are obtained. Then, the difference between the contour component equal to or greater than the threshold value (E 0 ) obtained from the delay signal 302 and the contour component equal to or greater than the threshold value (E 0 ) obtained from the signal of the subsequent frame 2 is calculated, and the contour difference signal 305 is calculated. Is output. The luminance difference detection unit 304 calculates a difference between a predetermined luminance range, that is, a delayed signal 302 that is equal to or higher than the luminance S 0 and equal to or lower than the luminance S 1, and outputs a luminance difference signal 306.

更に、各ピクセル遅延部301のそれぞれに対応して一致判定部307が設けられており、一致判定部307には、上記輪郭差分検出部303からの輪郭差分信号305と輝度差分検出部304からの輝度差分信号306が入力される。−10ピクセル遅延部に対応して設けられた一致判定部は、−10ピクセル分遅延された遅延信号302と後フレーム信号2との輪郭の差分を示す輪郭差分信号305と輝度の差分を示す輝度差分検出部304のレベルが、それぞれ所定値以上であるか否かを判定する。輪郭差分信号305と輝度差分検出部304のレベルがいずれも所定値以下であれば「有効」を示す「1」、両方またはいずれかが所定値よりも大きいならば「無効」を示す「0」となる1ビットの一致判定信号308を出力する。本例では、ピクセル遅延部301が21個設けられるので、これらからの一致判定信号308が集められて21ビットの判定信号106として出力される。上記の処理は、1フレームにおける全画素について行われるようにする。   Further, a coincidence determination unit 307 is provided corresponding to each pixel delay unit 301, and the coincidence determination unit 307 includes the contour difference signal 305 from the contour difference detection unit 303 and the luminance difference detection unit 304. A luminance difference signal 306 is input. The coincidence determination unit provided corresponding to the −10 pixel delay unit is a luminance indicating the difference between the contour difference signal 305 indicating the difference between the delay signal 302 delayed by −10 pixels and the rear frame signal 2 and the luminance. It is determined whether or not the level of the difference detection unit 304 is equal to or greater than a predetermined value. “1” indicating “valid” if the levels of the contour difference signal 305 and the luminance difference detection unit 304 are both equal to or less than a predetermined value, and “0” indicating “invalid” if either or both are greater than the predetermined value. A 1-bit coincidence determination signal 308 is output. In this example, since 21 pixel delay units 301 are provided, the coincidence determination signals 308 are collected and output as the 21-bit determination signal 106. The above processing is performed for all pixels in one frame.

尚、本例では、輪郭差分検出部303、輝度差分検出部304、及び一致判定部307について、実装を単純にするために、(数1)の変位dEをx成分のみとし、更に輪郭関数(数2)をEi(x,y)=Pi(x,y)とし、H(Si(x,y)−Si) H(|Si(x+1)−Si(x)|−E0)とする。 In this example, in order to simplify the implementation of the contour difference detection unit 303, the luminance difference detection unit 304, and the coincidence determination unit 307, the displacement dE of (Equation 1) is set to only the x component, and the contour function ( Equation 2) is set to E i (x, y) = P i (x, y), and H (S i (x, y) −S i ) H (| S i (x + 1) −S i (x) | − E 0 ).

再び図2に戻り、文字検出部105から出力された判定信号106は、第1ヒストグラム生成部107に出力される。第1ヒストグラム生成部107では、映像信号とともに入力される水平同期信号の検出に応答して、1ライン毎に、判定信号106の「1」の値をピクセル遅延量(画素ずらし量)毎にカウントし、例えば図5に示されるような水平ヒストグラムを作成する。この水平ヒストグラムは、水平同期信号の検出の度にリセットされるものとする。かかる水平ヒストグラムは、そのラインにおけるピクセル遅延量の出現度数を示すものであり、最も出現度数が大きい遅延がそのラインにおいて支配的な動き量となる。図5に示す例では、+7ピクセルの遅延量の度数が最も大きいため、当該ラインの映像は7p/fで動く文字が多く占められることとなる。   Returning to FIG. 2 again, the determination signal 106 output from the character detection unit 105 is output to the first histogram generation unit 107. In response to detection of the horizontal synchronization signal input together with the video signal, the first histogram generation unit 107 counts the value “1” of the determination signal 106 for each pixel delay amount (pixel shift amount) for each line. For example, a horizontal histogram as shown in FIG. 5 is created. This horizontal histogram is reset every time a horizontal synchronization signal is detected. The horizontal histogram indicates the frequency of appearance of the pixel delay amount in the line, and the delay having the highest appearance frequency is the dominant motion amount in the line. In the example shown in FIG. 5, since the frequency of the delay amount of +7 pixels is the largest, the image of the line is occupied with many characters moving at 7p / f.

第1ヒストグラム生成部107で生成された水平ヒストグラムは、各ピクセル遅延量の1H(水平期間)カウント値108として第1最大値検出部109に出力される。この第1最大値検出部109の処理の内容について、図6を参照しつつ説明する。   The horizontal histogram generated by the first histogram generation unit 107 is output to the first maximum value detection unit 109 as a 1H (horizontal period) count value 108 of each pixel delay amount. The processing contents of the first maximum value detection unit 109 will be described with reference to FIG.

図6において、上記水平ヒストグラムとしての各ピクセル遅延量の1Hカウント値108は、水平期間加重平均部402に供給される。水平期間加重平均部402は、各ピクセル遅延量のカウント値を平均化するものであり、例えばある遅延量(例えば+7ピクセル)のカウント値と、該ある遅延量と隣接する遅延量(例えば+6と+8ピクセル)のカウント値との加重平均を求めて出力する。この加重平均は、例えば、ある遅延量のa、それに隣接する遅延量をb及びcとしたとき、b:a:cの比を1:1:1として求めてもよく、また1:2:1としても求めてもよい。また、加重平均をしない(すなわちb:a:cが0:1:0)ようにしてもよい。   In FIG. 6, the 1H count value 108 of each pixel delay amount as the horizontal histogram is supplied to the horizontal period weighted average unit 402. The horizontal period weighted average unit 402 averages the count value of each pixel delay amount. For example, a count value of a certain delay amount (for example, +7 pixels) and a delay amount adjacent to the certain delay amount (for example, +6). A weighted average with a count value of (+8 pixels) is obtained and output. This weighted average may be obtained, for example, where a ratio of b: a: c is 1: 1: 1, where a is a delay amount and b and c are adjacent delay amounts, and 1: 2: It may be obtained as 1. Further, the weighted average may not be performed (that is, b: a: c is 0: 1: 0).

水平期間加重平均部402で演算された各ピクセル遅延量のカウント平均値403は、0ピクセルのカウント平均値407を除き水平期間最大値検出部404に供給される。水平期間最大値検出部404は、0ピクセルのカウント平均値407を除く入力された各ピクセル遅延量のカウント平均値403のうち、最大のカウント値を検出し、その値をカウント最大値406として切換信号発生部408及び有効性判定部410に出力する。更に水平期間最大値検出部404は、上記カウントの最大値に対応するピクセル遅延量を検出し、これをプリライン動き量405として選択器409に出力する。   The count average value 403 of each pixel delay amount calculated by the horizontal period weighted average unit 402 is supplied to the horizontal period maximum value detection unit 404 except for the count average value 407 of 0 pixels. The horizontal period maximum value detection unit 404 detects the maximum count value from the input count average value 403 of each pixel delay amount excluding the count average value 407 of 0 pixels, and switches the value as the maximum count value 406. The data is output to the signal generation unit 408 and the validity determination unit 410. Further, the horizontal period maximum value detection unit 404 detects a pixel delay amount corresponding to the maximum value of the count, and outputs this to the selector 409 as a preline motion amount 405.

切換信号発生部408は、更に0ピクセルのカウント平均値407が入力され、0ピクセルのカウント平均値407−カウント最大値406の演算を行い、その演算結果に応じた切換信号を選択器412に出力する。ここで、上記演算の結果、すなわち0ピクセルのカウント平均値407からカウント最大値406を減算した値が予め定められた閾値より大きい場合は、その文字テロップが静止文字テロップであるとして上記切換信号を「0」、閾値以下の場合は、その文字テロップが動きのある(スクロールする)ものとして上記切換信号を「1」とする。ここで、上記減算値を所定値と比較するのは、上述した一致判定処理において、遅延量が0ピクセル(すなわち遅延量0)のときに一致判定がされる頻度が多いためである。換言すれば、切換信号発生部408は、0ピクセルのカウント値に所定値を減算した上で、カウント最大値406との減算を行うものである。これにより、文字テロップが動いていても動きが0と誤って判定されることを抑制する。   The switching signal generator 408 further receives the 0-pixel count average value 407, calculates the 0-pixel count average value 407-the maximum count value 406, and outputs a switching signal corresponding to the calculation result to the selector 412. To do. Here, if the result of the above calculation, that is, the value obtained by subtracting the maximum count value 406 from the count average value 407 of 0 pixels is larger than a predetermined threshold value, it is determined that the character telop is a static character telop and the switching signal is set. If “0” is less than or equal to the threshold, the character telop is moving (scrolling) and the switching signal is set to “1”. Here, the reason why the subtraction value is compared with a predetermined value is that, in the above-described coincidence determination process, the coincidence determination is frequently performed when the delay amount is 0 pixel (that is, the delay amount is 0). In other words, the switching signal generator 408 subtracts a predetermined value from the count value of 0 pixel and then subtracts it from the maximum count value 406. Thereby, even if the character telop is moving, it is suppressed that the movement is erroneously determined as 0.

選択器409は、切換信号発生部408からの切換信号に従いプリライン動き量405と「0」のいずれかを選択し、最終的なライン単位での動き(静止も含む)を示すライン動き量412として制御部413に出力する。ここで、選択器409は、切換信号が0の場合は「0」を選択し、切換信号が1の場合はプリライン動き信号405を選択する。   The selector 409 selects either the pre-line motion amount 405 or “0” in accordance with the switching signal from the switching signal generator 408, and as a line motion amount 412 indicating the final motion in units of lines (including stillness). The data is output to the control unit 413. Here, the selector 409 selects “0” when the switching signal is 0, and selects the pre-line motion signal 405 when the switching signal is 1.

有効性判定部410は、カウント最大値406の他に0ピクセルのカウント平均値407も入力され、カウント最大値406及び0ピクセルのカウント平均値407を、それぞれ所定の閾値と比較する。いずれの値が閾値以上の場合は「1」を、いずれか一方が閾値よりも小さい場合は「0」を有効性判定信号411として出力する。すなわち有効性判定部410は、入力されたカウント値が有効であるか否かを判定しており、カウント値が閾値未満の場合は、当該カウント値が文字テロップの動きと無関係な一致判定により得られた値として無効を示す「0」とし、カウント値が閾値以上の場合は、当該カウント値が文字テロップの動きに基づく一致判定により得られた値として有効を示す「1」とする。   The validity determination unit 410 receives a count average value 407 of 0 pixels in addition to the count maximum value 406, and compares the count maximum value 406 and the count average value 407 of 0 pixel with respective predetermined threshold values. When any value is greater than or equal to the threshold, “1” is output as the validity determination signal 411, and when either one is smaller than the threshold, “0” is output. That is, the validity determination unit 410 determines whether or not the input count value is valid. If the count value is less than the threshold value, the count value is obtained by matching determination that is not related to the movement of the character telop. If the count value is equal to or greater than the threshold, the count value is set to “1” indicating validity as a value obtained by matching determination based on the motion of the character telop.

制御部413は、選択器412で選択されたライン単位の動き量を示すライン動き量412と、後述するフレーム動き量119とが入力され、上述した文字動き量8、スクロール判定信号110、及び第1イネーブル信号415の3つの信号を出力するように構成されている。文字動き量8は、ライン動き量412、フレーム動き量119及び0のいずれか選択された値であり、記憶部416にて1水平期間格納された後に出力される。またスクロール判定信号110及び第1イネーブル信号415は、それぞれ「1」または「0」の値を持つ1ビットの信号である。ここで、スクロール判定信号110が「1」のときは文字テロップが動きのある(つまりスクロールしている)ことを示し、「0」のときは文字テロップが静止であることを示す。また、第1イネーブル信号415は上記マスク信号7の生成のために用いられる。   The control unit 413 receives a line motion amount 412 indicating the motion amount in units of lines selected by the selector 412 and a frame motion amount 119 described later. The character motion amount 8, the scroll determination signal 110, and the Three enable signals 415 are output. The character motion amount 8 is a value selected from either the line motion amount 412 or the frame motion amount 119 or 0, and is output after being stored in the storage unit 416 for one horizontal period. The scroll determination signal 110 and the first enable signal 415 are 1-bit signals each having a value of “1” or “0”. Here, when the scroll determination signal 110 is “1”, it indicates that the character telop is moving (that is, scrolling), and when it is “0”, it indicates that the character telop is stationary. The first enable signal 415 is used for generating the mask signal 7.

上記3つの出力信号の出力形態としては、例えば次の3通りとすることができる。   For example, the following three output signals can be output.

第1の出力形態は、文字動き量8としてライン動き量412を優先的に選択出力し、更に、スクロール切換信号110を「1」に、第1イネーブル信号415を「1」とする。ここで、スクロール判定信号110及び第1イネーブル415の値は固定されるものとする。この第1の形態は、1ライン毎に文字動き量を設定する際に用いられ、例えば水平方向へのスクロール速度がそれぞれ異なる2種類以上の文字テロップが、複数の領域に存在する場合に有効である。   The first output form preferentially selects and outputs the line motion amount 412 as the character motion amount 8, further sets the scroll switching signal 110 to “1”, and the first enable signal 415 to “1”. Here, it is assumed that the values of the scroll determination signal 110 and the first enable 415 are fixed. This first form is used when setting the amount of character movement for each line, and is effective when, for example, two or more types of character telops having different scroll speeds in the horizontal direction exist in a plurality of areas. is there.

第2の出力形態は、文字動き量8として「0」(静止)を選択出力し、更に、スクロール切換判定信号110を「0」、ライン動き量412の絶対値が所定の閾値以下の(例えばライン動き量412が0または+1や−1を示す)場合は第1イネーブル信号415を「1」とする。ここで、スクロール判定信号110及び第1イネーブル415の値は固定されるものとする。この第2の出力形態は、文字動き量を強制的に0にするものであり、静止文字テロップに対する補間処理の精度向上を優先させる場合に有効である。但し、この出力形態はスクロールする文字テロップに対しては補間処理の精度が低下するため、スクロールする文字テロップに対する補間処理の精度向上を優先させる場合はこの出力形態を設定しないほうが好ましい。   In the second output form, “0” (still) is selected and output as the character motion amount 8, the scroll switching determination signal 110 is “0”, and the absolute value of the line motion amount 412 is equal to or smaller than a predetermined threshold (for example, When the line motion amount 412 indicates 0, +1, or −1), the first enable signal 415 is set to “1”. Here, it is assumed that the values of the scroll determination signal 110 and the first enable 415 are fixed. This second output form forcibly sets the character motion amount to 0, and is effective when priority is given to improving the accuracy of interpolation processing for still character telops. However, since this output form reduces the accuracy of interpolation processing for scrolling character telops, it is preferable not to set this output form when priority is given to improving the accuracy of interpolation processing for scrolling character telops.

第3の出力形態は、文字動き量8としてフレーム動き量119を優先的に選択出力し、更にスクロール切換信号110を、フレーム動き量119と第2ライン動き量412との差分の絶対値が閾値以内の場合は「1」、閾値よりも大きい場合は「0」とする。また第1イネーブル信号415は「1」とされる。これにより、1フレーム(1垂直期間)毎に動き量8を変更することができる。この第3の出力形態は、後述するようにフレーム動き量119は静止文字テロップの場合は0とされるので、静止文字テロップに対する補間処理の精度向上を優先させる場合に有効である。また、スクロールする文字テロップに対しても適切に文字動き量を与えることができ、第2出力形態に比べ、動く文字テロップに対する補間処理の精度を向上させることができる。   In the third output mode, the frame motion amount 119 is preferentially selected and output as the character motion amount 8, and the scroll switching signal 110 is further set to the threshold value with the absolute value of the difference between the frame motion amount 119 and the second line motion amount 412. If it is within the range, it is “1”. The first enable signal 415 is set to “1”. Thereby, the motion amount 8 can be changed for each frame (one vertical period). As will be described later, the third output mode is effective when priority is given to improving the accuracy of interpolation processing for still character telops because the frame motion amount 119 is set to 0 in the case of still character telops. Also, the amount of character movement can be appropriately given to the scrolling character telop, and the accuracy of the interpolation processing for the moving character telop can be improved as compared with the second output form.

上記3つの出力形態は、いずれかを制御部413によって設定することができる。例えば、スクロールする文字テロップに対する補間処理の精度向上を優先させる場合は、第1の出力形態が設定され、静止文字テロップに対する補間処理の精度向上を優先させる場合は、第2または第3の出力形態が設定される。   Any of the above three output modes can be set by the control unit 413. For example, when priority is given to improving the accuracy of interpolation processing for scrolling character telops, the first output mode is set. When priority is given to improving accuracy of interpolation processing for static character telops, the second or third output mode is set. Is set.

AND回路417は、制御部413からの第1イネーブル信号415と前述の有効性判定部410からの有効性判定信号411との論理積を演算して第2イネーブル信号111を出力する。有効性判定信号411が0、すなわちカウント最大値406及び0ピクセルのカウント平均値407が無効の場合は、第2イネーブル信号111も0となり無効化される。   The AND circuit 417 calculates the logical product of the first enable signal 415 from the control unit 413 and the validity determination signal 411 from the validity determination unit 410 and outputs the second enable signal 111. When the validity determination signal 411 is 0, that is, when the count maximum value 406 and the count average value 407 of 0 pixels are invalid, the second enable signal 111 is also 0 and is invalidated.

上記水平期間加重平均部402からの0ピクセルのカウント平均値407を含むカウント平均値113は、図2の第2ヒストグラム生成部115に供給される。第2ヒストグラム生成部115では、映像信号とともに入力される垂直同期信号の検出に応答して、カウント平均値113を用いて、ピクセル遅延量毎のカウント平均値を1フレーム(垂直期間)にわたって積算し、図5に示された水平ヒストグラムと同様な垂直ヒストグラムを作成する。例えば映像信号の有効垂直ライン数1080本であれば、1080個分の水平ヒストグラムにおける各カウント値を積算する。この垂直ヒストグラムは、水平同期信号の検出の度にリセットされるものとする。かかる垂直ヒストグラムにおいて最大のカウント値に対応するピクセル遅延量が、そのフレームにおいて支配的な動き量となる。第2ヒストグラム生成部115で生成された垂直ヒストグラムは、各ピクセル遅延量の1V(水平期間)カウント値116として第2最大値検出部117に出力される。この第2最大値検出部117の動作について図7を参照しつつ説明する。   The count average value 113 including the count average value 407 of 0 pixels from the horizontal period weighted average unit 402 is supplied to the second histogram generation unit 115 of FIG. In response to detection of the vertical synchronizing signal input together with the video signal, the second histogram generation unit 115 uses the count average value 113 to integrate the count average value for each pixel delay amount over one frame (vertical period). A vertical histogram similar to the horizontal histogram shown in FIG. 5 is created. For example, if the number of effective vertical lines of the video signal is 1080, the count values in the horizontal histogram for 1080 are integrated. This vertical histogram is reset every time a horizontal synchronization signal is detected. The pixel delay amount corresponding to the maximum count value in such a vertical histogram becomes the dominant motion amount in the frame. The vertical histogram generated by the second histogram generation unit 115 is output to the second maximum value detection unit 117 as a 1V (horizontal period) count value 116 of each pixel delay amount. The operation of the second maximum value detector 117 will be described with reference to FIG.

図7において、1Vカウント値116は、垂直期間加重平均部502に供給される。垂直期間加重平均部502は、上述した水平期間加重平均部402と同様に、各ピクセル遅延量のカウント値について加重平均処理を行い、0ピクセルのカウント平均値507を除き垂直期間最大値検出部504に供給する。垂直期間最大値検出部504は、0ピクセルのフレームカウント平均値507を除く入力された各ピクセル遅延量のフレームカウント平均値503のうち、最大のカウント値を検出し、その値をカウント最大値506として切換信号発生部508及び有効性判定部510に出力する。更に垂直期間最大値検出部504は、上記カウントの最大値に対応するピクセル遅延量を検出し、これをプリフレーム動き量505として選択器509に出力する。   In FIG. 7, the 1V count value 116 is supplied to the vertical period weighted average unit 502. Similarly to the horizontal period weighted average unit 402 described above, the vertical period weighted average unit 502 performs weighted average processing on the count values of the respective pixel delay amounts, and except for the 0 pixel count average value 507, the vertical period maximum value detection unit 504. To supply. The vertical period maximum value detection unit 504 detects the maximum count value from the frame count average values 503 of the input pixel delay amounts excluding the frame count average value 507 of 0 pixels, and calculates the value as the count maximum value 506. To the switching signal generation unit 508 and the validity determination unit 510. Further, the vertical period maximum value detection unit 504 detects a pixel delay amount corresponding to the maximum value of the count, and outputs this to the selector 509 as a preframe motion amount 505.

切換信号発生部508には、更に0ピクセルのフレームカウント平均値507が入力され、0ピクセルのカウント平均値507−カウント最大値506の演算を行い、その演算結果に応じた切換信号を選択器512に出力する。ここで、上記演算の結果、すなわち0ピクセルのフレームカウント平均値507からフレームカウント最大値506を減算した値が予め定められた閾値より大きい場合は、その文字テロップが静止文字テロップであるとして上記切換信号を「0」、閾値以下の場合は、その文字テロップが動きのある(スクロールする)ものとして上記切換信号を「1」とする。ここで、上記減算値を所定値と比較するのは、先に説明した図6の切換信号発生部408における理由と同様である。   Further, the frame count average value 507 of 0 pixels is further input to the switching signal generation unit 508, the calculation of the average count value 507 of 0 pixels−the maximum count value 506 is performed, and a switching signal corresponding to the calculation result is selected by the selector 512. Output to. If the result of the above operation, that is, the value obtained by subtracting the frame count maximum value 506 from the frame count average value 507 of 0 pixels is larger than a predetermined threshold value, the character telop is assumed to be a static character telop and the switching is performed. When the signal is “0” or less than the threshold, the character telop is moving (scrolling), and the switching signal is set to “1”. Here, the reason why the subtraction value is compared with the predetermined value is the same as the reason in the switching signal generator 408 of FIG. 6 described above.

選択器509は、切換信号発生部508からの切換信号に従いプリフレーム動き信号505と「0」のいずれかを選択し、フレーム単位の動き(静止も含む)を示すフレーム動き量119として出力する。フレーム動き量119は、記憶部516にて少なくと1垂直期間格納された後に、前述した制御部413に出力される。   The selector 509 selects either the pre-frame motion signal 505 or “0” in accordance with the switching signal from the switching signal generation unit 508, and outputs it as a frame motion amount 119 that indicates frame-by-frame motion (including stillness). The frame motion amount 119 is stored in the storage unit 516 for at least one vertical period, and then output to the control unit 413 described above.

有効性判定部510は、フレームカウント最大値506の他に0ピクセルのフレームカウント平均値507も入力され、カウント最大値506及び0ピクセルのカウント平均値507を、それぞれ所定の閾値と比較する。いずれの値が閾値以上の場合は「1」を、いずれか一方が閾値よりも小さい場合は「0」を有効性判定信号118として出力する。カウント値と閾値を比較する理由は、有効性判定部410において説明した理由と同様である。   The validity determination unit 510 receives a frame count average value 507 of 0 pixels in addition to the frame count maximum value 506, and compares the count maximum value 506 and the count average value 507 of 0 pixel with a predetermined threshold value. When any value is greater than or equal to the threshold, “1” is output as the validity determination signal 118, and when either one is smaller than the threshold, “0” is output as the validity determination signal 118. The reason for comparing the count value with the threshold value is the same as the reason described in the validity determination unit 410.

続いて、図2のイネーブル出力部112の動作について図8を参照しつつ説明する。図8において、イネーブル信号発生部602は、文字検出部105からの判定信号106と第1最大値検出部109からの文字動き量8が入力され、上記第1イネーブル信号415及び第2イネーブル信号111とは異なる2種類のイネーブル信号を生成する。この2種類のイネーブル信号は、スクロールする文字テロップに適用されるスクロールイネーブル信号603と、静止文字テロップに適用される静止イネーブル信号604である。   Next, the operation of the enable output unit 112 in FIG. 2 will be described with reference to FIG. In FIG. 8, the enable signal generator 602 receives the determination signal 106 from the character detector 105 and the character motion amount 8 from the first maximum value detector 109, and receives the first enable signal 415 and the second enable signal 111. Two types of enable signals different from the above are generated. These two types of enable signals are a scroll enable signal 603 applied to a scrolling character telop and a static enable signal 604 applied to a static character telop.

スクロールイネーブル信号603は、例えば、文字動き量8が7ピクセルの動き量を示すとき、21ビットの判定信号106のうち7ピクセル遅延量に対応する基準ビット(すなわち18ビット目)の値と、その基準ビットの前後のビット(すなわち17ビット目と19ビット目)の値との論理輪を演算することにより生成される。例えば、判定信号106の18ビット目の値が「1」、17ビット目の値が「1」、19ビット目の値が「0」のときは、「110」のスクロールイネーブル信号603が生成される。   For example, when the character motion amount 8 indicates a motion amount of 7 pixels, the scroll enable signal 603 includes a value of a reference bit (that is, the 18th bit) corresponding to the 7-pixel delay amount in the 21-bit determination signal 106, and its It is generated by calculating a logical ring with the values of the bits before and after the reference bit (that is, the 17th and 19th bits). For example, when the value of the 18th bit of the determination signal 106 is “1”, the value of the 17th bit is “1”, and the value of the 19th bit is “0”, a scroll enable signal 603 of “110” is generated. The

また静止イネーブル信号604は、21ビットの判定信号106のうち0ピクセル遅延量に対応する基準ビット(すなわち11ビット目)の値と、その基準ビットの前後のビット(すなわち10ビット目と12ビット目)の値との論理輪を演算することにより生成される。例えば、判定信号106の11ビット目の値が「1」、10ビット目の値が「1」、12ビット目の値が「1」のときは、「111」のスクロールイネーブル信号603が生成される。   The static enable signal 604 includes a value of the reference bit (that is, the 11th bit) corresponding to the 0 pixel delay amount in the 21-bit determination signal 106 and the bits before and after the reference bit (that is, the 10th and 12th bits). ) And a logical ring with the value of). For example, when the value of the 11th bit of the determination signal 106 is “1”, the value of the 10th bit is “1”, and the value of the 12th bit is “1”, the scroll enable signal 603 of “111” is generated. The

このように判定信号106の動き量に対応する値とその前後の値の論理和を演算することで、動きの揺らぎを考慮したイネーブル信号を生成することができる。上記の例では、基準ビットの値と、その基準ビットの1ビット前後の値との論理和を演算したが、基準ビットの2ビット前後の値との論理和を演算してもよい。また、上述の論理和演算によるイネーブル信号の生成処理は、必要に応じ行えばよく、本実施例においては必ずしも必要な処理ではない。   In this way, by calculating the logical sum of the value corresponding to the amount of motion of the determination signal 106 and the values before and after the value, an enable signal can be generated in consideration of the fluctuation of motion. In the above example, the logical sum of the value of the reference bit and the value around 1 bit of the reference bit is calculated, but the logical sum of the value around 2 bits of the reference bit may be calculated. In addition, the above-described generation process of the enable signal by the logical sum operation may be performed as necessary, and is not necessarily a necessary process in the present embodiment.

上記の処理は、複数の文字間に生じる特異点のみならず、文字テロップにおける文字群の集まりが占める大きな領域から離れた小さな領域に生じる特異点についても適用することができる。   The above processing can be applied not only to singular points that occur between a plurality of characters but also to singular points that occur in a small region that is separated from a large region occupied by a group of character groups in a character telop.

イネーブル信号発生部602によって生成されたスクロールイネーブル信号603と静止イネーブル信号604は、それぞれ1H(1水平期間)遅延器605によって1水平期間分遅延されて選択器606に入力さる。そして、選択器606は、図6の制御部413からのスクロール判定信号110に応答していずれかのイネーブル信号を選択し、第3イネーブル信号114として出力する。スクロール判定信号110が「1」のときは、前述のように文字テロップがスクロールしているので選択器606はスクロールイネーブル信号603を選択し、一方「0」のときは、前述のように文字テロップが静止しているので選択器606は静止イネーブル信号604を選択する。   The scroll enable signal 603 and the static enable signal 604 generated by the enable signal generator 602 are delayed by one horizontal period by a 1H (one horizontal period) delay unit 605 and input to the selector 606. The selector 606 selects one of the enable signals in response to the scroll determination signal 110 from the control unit 413 in FIG. 6 and outputs the selected enable signal as the third enable signal 114. When the scroll determination signal 110 is “1”, the character telop is scrolling as described above, so the selector 606 selects the scroll enable signal 603, while when it is “0”, the character telop as described above. Is stationary, the selector 606 selects the stationary enable signal 604.

再び図2に戻り、AND回路130は、第1最大値検出部109からの第2イネーブル信号111、イネーブル出力部112からの第3イネーブル信号114、及び第2最大値検出部117からの有効性判定信号118の論理積演算をし、マスク信号7を出力する。このマスク信号7は、フィルタ処理部120によってフィルタリング処理をしてもよい。このフィルタリング処理の概念について図8を参照して説明する。   Returning to FIG. 2 again, the AND circuit 130 determines whether the second enable signal 111 from the first maximum value detector 109, the third enable signal 114 from the enable output unit 112, and the validity from the second maximum value detector 117. The logical product operation of the determination signal 118 is performed, and the mask signal 7 is output. The mask signal 7 may be filtered by the filter processing unit 120. The concept of this filtering process will be described with reference to FIG.

図8(a)は、1フレームにおけるある領域のマスク信号7の様子を示しており、斜線部分はマスク信号の値が「1」の画素を、白色の部分はマスク信号の値が「0」の画素を示している。このマスク信号は、例えば誤った一致処理等により、文字テロップ領域に対応しない画素についても「1」の値にされており、ノイズのような特異点を有しているものとする。   FIG. 8A shows the state of the mask signal 7 in a certain area in one frame. The shaded portion indicates a pixel having a mask signal value of “1”, and the white portion indicates a mask signal value of “0”. These pixels are shown. This mask signal is assumed to have a value of “1” even for pixels that do not correspond to the character telop area due to, for example, erroneous matching processing, and has a singular point such as noise.

かかるマスク信号に対し、先ず、マスク信号の値が「0」の画素に隣接する周辺1画素のマスク信号の値を全て「0」に置き換える第1処理を行う。これにより、マスク信号が「0」の領域を拡張する。その第1処理の結果、当該領域のマスク信号は図8(b)に示されるように、2×2ピクセル以下の大きさの特異点が削除される。一方、特異点以外の文字テロップ領域に対応するマスク信号の一部も削除される。   For such a mask signal, first, a first process is performed to replace all mask signal values of one peripheral pixel adjacent to a pixel having a mask signal value of “0” with “0”. Thereby, the region where the mask signal is “0” is expanded. As a result of the first processing, as shown in FIG. 8B, a singular point having a size of 2 × 2 pixels or less is deleted from the mask signal in the region. On the other hand, a part of the mask signal corresponding to the character telop area other than the singular point is also deleted.

続いて、マスク信号の値が「1」の画素に隣接する周辺1画素のマスク信号の値を全て「1」に置き換える第2処理を行い、マスク信号が「1」の領域を拡張する。その第2処理の結果、1部分が削除された文字テロップ領域のマスク信号が、図8(a)に示される文字テロップ領域のマスク信号の形状に復元される。   Subsequently, the second process of replacing all the mask signal values of the neighboring pixels adjacent to the pixel having the mask signal value “1” with “1” is performed, and the region having the mask signal “1” is expanded. As a result of the second process, the mask signal of the character telop area from which one portion has been deleted is restored to the shape of the mask signal of the character telop area shown in FIG.

上記のようなフィルタリング処理によれば、文字テロップ領域に対応するマスク信号への影響を防ぎながら、ノイズなどの特異点を除去することができる。よって、文字テロップ部分に対する補間処理の精度をより高めることができる。上記処理では、ある画素の周辺1画素についてマスク信号の拡張処理をしたが、周辺2画素または3画素についてマスク信号の拡張処理をしてもよい。   According to the filtering processing as described above, it is possible to remove singular points such as noise while preventing the influence on the mask signal corresponding to the character telop area. Therefore, the accuracy of the interpolation process for the character telop portion can be further increased. In the above processing, the mask signal expansion process is performed on one peripheral pixel of a certain pixel, but the mask signal expansion process may be performed on two or three peripheral pixels.

次に、本実施の形態の特徴となる文字テロップの動き量生成の流れについて、図10のフローチャートを参照しつつ説明する。   Next, the flow of character telop motion amount generation, which is a feature of the present embodiment, will be described with reference to the flowchart of FIG.

まずステップ(以下Sと略す)101で、テロップ検出部5に入力される映像信号に対しテロップ検出処理は適用対象となる所定領域を適用領域判定部104により判定する。次にS102で、文字検出部105により所定領域について後フレームと前フレームとの一致判定処理を行う。続いてS103で、第1ヒストグラム生成部107により水平同期信号が検出されたか否かを判定し、検出された場合はS104で水平ヒストグラムを初期化(リセット)してS105に進む。検出されなければ直接S105に進み、S105では、第1ヒストグラム生成部107によって、上記一致判定処理により生成された判定信号106を用いて、ピクセル遅延量毎の一致画素の出現度数を表す水平ヒストグラムを作成する。そしてS106で、第1最大値検出部109により、上記水平ヒストグラムから最大の出現度数と、その最大度数に対応するピクセル遅延量を検出し、ライン単位の動き量とする。   First, in step (hereinafter abbreviated as “S”) 101, the application region determination unit 104 determines a predetermined region to be applied to the telop detection processing for the video signal input to the telop detection unit 5. In step S102, the character detection unit 105 performs a matching determination process between the subsequent frame and the previous frame for a predetermined area. Subsequently, in S103, it is determined whether or not a horizontal synchronization signal is detected by the first histogram generation unit 107. If detected, the horizontal histogram is initialized (reset) in S104, and the process proceeds to S105. If not detected, the process proceeds directly to S105. In S105, the first histogram generation unit 107 uses the determination signal 106 generated by the match determination process to generate a horizontal histogram representing the appearance frequency of matching pixels for each pixel delay amount. create. In S106, the first maximum value detection unit 109 detects the maximum appearance frequency and the pixel delay amount corresponding to the maximum frequency from the horizontal histogram, and sets it as the motion amount in units of lines.

次に、S107で第2ヒストグラム生成部115により垂直同期信号が検出されたか否かを判定し、検出された場合はS108で垂直ヒストグラムを初期化(リセット)してS109に進む。検出されなければ直接S109に進み、S109では、第2ヒストグラム生成部115によって、水平ヒストグラムを用いて、ピクセル遅延量毎の一致画素の出現度数を表す垂直ヒストグラムを作成する。そしてS116で、第2最大値検出部117により、上記垂直ヒストグラムから最大の出現度数と、その最大度数に対応するピクセル遅延量を検出し、フレーム単位の動き量とする。最後に、ライン単位の動き量、フレーム単位の動き量、水平ヒストグラムにおける最大の出現度数、及び垂直ヒストグラムにおける最大の出現度数を用いて、文字動き量8を生成する。   Next, in S107, it is determined whether or not a vertical synchronization signal is detected by the second histogram generation unit 115. If detected, the vertical histogram is initialized (reset) in S108, and the process proceeds to S109. If not detected, the process proceeds directly to S109. In S109, the second histogram generation unit 115 creates a vertical histogram representing the frequency of appearance of matching pixels for each pixel delay amount using the horizontal histogram. In S116, the second maximum value detection unit 117 detects the maximum appearance frequency and the pixel delay amount corresponding to the maximum frequency from the vertical histogram, and sets it as the motion amount in units of frames. Finally, the character motion amount 8 is generated using the motion amount in line units, the motion amount in frame units, the maximum appearance frequency in the horizontal histogram, and the maximum appearance frequency in the vertical histogram.

また、文字動き量8の生成処理の後、S112で、イネーブル出力部112、AND回路130、及びフィルタ処理部120において、文字テロップ領域に対する補間処理に文字動き量8を敵称するためのマスク信号7の生成処理が行われる。   Further, after the generation process of the character motion amount 8, in S112, the enable output unit 112, the AND circuit 130, and the filter processing unit 120 use the mask signal 7 for hosting the character motion amount 8 in the interpolation processing for the character telop area. Is generated.

以上のように、本実施例によれば、静止文字テロップに対しても精度良く文字動き量を検出でき、静止文字テロップに対する補間処理の精度を向上することができる。また静止文字テロップとスクロールする文字テロップのいずれに対しても補間処理の精度を向上させることができる。   As described above, according to the present embodiment, it is possible to accurately detect the amount of character movement even for a static character telop, and to improve the accuracy of interpolation processing for a static character telop. In addition, the accuracy of interpolation processing can be improved for both stationary character telops and scrolling character telops.

また、本実施例によって検出された文字動き量を用いて、補間処理のみならず、PDPの映像表示のために映像信号から生成される複数のサブフィールドを移動させるようにしてもよい。このようにすれば、文字テロップ領域の擬似輪郭の発生を抑制することができる。更にまた、映像の領域に対応させてテロップ検出部5を複数設けてもよい。例えば、映像の上部、下部、左部、右部のそれぞれに対応してテロップ検出部5を設けることで文字テロップの動き量の検出精度を向上させるようにしてもよい。また、複数の文字検出部からの文字動き量やマスク信号を互いに比較し、文字動き量やマスク信号の誤検出や誤生成を判定して、これらの誤りを抑制するようにしてもよい。   Further, by using the character motion amount detected by the present embodiment, a plurality of subfields generated from a video signal may be moved for video display of PDP as well as interpolation processing. In this way, the generation of pseudo contours in the character telop area can be suppressed. Furthermore, a plurality of telop detection units 5 may be provided in correspondence with video areas. For example, the detection accuracy of the motion amount of the character telop may be improved by providing the telop detection unit 5 corresponding to each of the upper part, the lower part, the left part, and the right part of the video. Also, the character motion amounts and mask signals from a plurality of character detection units may be compared with each other to determine erroneous detection and generation of the character motion amounts and mask signals, thereby suppressing these errors.

また、上記実施例では、文字テロップに対する補間処理の動き情報の設定について説明したが、所定方向に類似する形状が周期的に繰り返されるパターン、すなわち金網や柵、格子状の映像に対しても適用することができることは言うまでもない。   In the above embodiment, the setting of the motion information for the interpolation processing for the character telop has been described. However, the present invention is also applicable to a pattern in which a shape similar to a predetermined direction is periodically repeated, that is, a wire mesh, a fence, or a lattice-like image. It goes without saying that you can do it.

本発明の映像処理技術は、スクロールもしくは静止する文字テロップが含まれる映像に対する補間処理に利用して好適である。また、PDP等のサブフィールドを制御する場合にも利用可能である。   The video processing technique of the present invention is suitable for use in interpolation processing for video that includes scrolling or stationary character telops. It can also be used when controlling a subfield such as a PDP.

本発明の一実施形態に係る映像処理装置の一構成例を示す図。The figure which shows the example of 1 structure of the video processing apparatus which concerns on one Embodiment of this invention. テロップ検出部5の一具体例を示す図。The figure which shows one specific example of the telop detection part. 文字動き量の検出の概念を示す図。The figure which shows the concept of the detection of a character motion amount. 文字検出部105の一具体例を示す図。FIG. 5 is a diagram illustrating a specific example of a character detection unit 105. 水平ヒストグラムの一例を示す図。The figure which shows an example of a horizontal histogram. 第1最大値検出部109の一具体例を示す図。FIG. 5 is a diagram illustrating a specific example of a first maximum value detection unit 109. 第2最大値検出部117の一具体例を示す図。The figure which shows the specific example of the 2nd maximum value detection part 117. FIG. フィルタ処理部120によるフィルタリング処理の概念を示す図。The figure which shows the concept of the filtering process by the filter process part. 文字動き検出処理の流れを示すフローチャート。The flowchart which shows the flow of a character motion detection process.

符号の説明Explanation of symbols

1…信号処理部、2…後フレーム、3…1V遅延処理部、4…前フレーム、5…テロップ検出部、6…動きベクトル検出部、7…マスク信号、8…文字動き量、9…動きベクトル信号、10…動き情報切換部、11…フレーム補間部、14…タイミング制御部、15…表示パネル、104…適用領域判定部、105…文字検出部、107…第1ヒストグラム生成部、109…第1最大値検出部、112…イネーブル出力部、115…第2ヒストグラム生成部、107…第2最大値検出部、120…フィルタ処理部。 DESCRIPTION OF SYMBOLS 1 ... Signal processing part, 2 ... Back frame, 3 ... 1V delay processing part, 4 ... Previous frame, 5 ... Telop detection part, 6 ... Motion vector detection part, 7 ... Mask signal, 8 ... Character motion amount, 9 ... Motion Vector signal, 10 ... motion information switching unit, 11 ... frame interpolation unit, 14 ... timing control unit, 15 ... display panel, 104 ... application area determination unit, 105 ... character detection unit, 107 ... first histogram generation unit, 109 ... 1st maximum value detection part, 112 ... enable output part, 115 ... 2nd histogram generation part, 107 ... 2nd maximum value detection part, 120 ... filter processing part.

Claims (10)

入力された映像信号から映像の動きベクトルを検出する動きベクトル検出部と、
前記入力映信号において文字テロップの領域か否かを判定し、文字テロップの領域か否かを示すマスク信号を生成し、また文字テロップ動き量を検出するテロップ検出部と、
前記マスク信号が文字テロップの領域を示す部分では前記文字テロップの動き量を用いて補間フレームを生成し、前記マスク信号が文字テロップの領域を示さない部分では前記動きベクトルを用いて補間フレームを生成するフレーム補間部と、を備え、
前記テロップ検出部は、ライン毎に前記動き量の第1ヒストグラムを作成する第1ヒストグラム生成部と、該第1ヒストグラム生成部で作成された第1ヒストグラムに基づいて、1フレーム毎に前記動き量の第2ヒストグラムを作成する第2ヒストグラム生成部と、を含み、前記第1ヒストグラムにおいて度数が最大となる動き量と、前記第2のヒストグラムにおいて度数が最大となる動き量との少なくともいずれかを、前記文字テロップの動き量として算出するものであり、
前記テロップ検出部の前記文字テロップの動き量の算出制御状態には、前記入力映像信号において前記文字テロップが静止している場合に前記第2のヒストグラムにおいて度数が最大となる動き量を前記文字テロップの動き量として用いる状態と、前記入力映像信号において前記文字テロップが所定方向にスクロールしている場合に前記第1ヒストグラムにおいて度数が最大となる動き量を前記文字テロップの動き量として用いる状態とがあることを特徴とする映像処理装置。
A motion vector detector that detects a motion vector of the video from the input video signal;
Said determining whether the character telop area in the input movies image signal, and generates a mask signal indicating whether the character ticker area, also telop detection unit for detecting a movement amount of the character telop,
When the mask signal indicates a character telop area, an interpolation frame is generated using the amount of movement of the character telop, and when the mask signal does not indicate a character telop area, an interpolation frame is generated using the motion vector. A frame interpolation unit that performs
The telop detection unit generates a first histogram of the motion amount for each line, and the motion amount for each frame based on the first histogram created by the first histogram generation unit. A second histogram generation unit that creates a second histogram of at least one of a motion amount having a maximum frequency in the first histogram and a motion amount having a maximum frequency in the second histogram. , Which is calculated as the amount of movement of the character telop ,
In the control state of the amount of movement of the character telop of the telop detection unit, the amount of movement having the maximum frequency in the second histogram when the character telop is stationary in the input video signal is the character telop. A state in which the character telop is scrolled in a predetermined direction in the input video signal, and a state in which the frequency having the highest frequency in the first histogram is used as the motion amount of the character telop. image processing apparatus characterized by some.
請求項1に記載の映像処理装置において、前記テロップ検出部は、画素間の輝度差が所定値以上の輪郭成分を有し、かつ所定輝度以上の部分を前記文字テロップと判定することを特徴とする映像処理装置。 The video processing apparatus according to claim 1, wherein the telop detection unit, and wherein the luminance difference between the pixels has a predetermined value or more contour component, and a predetermined luminance or more parts determines that the character telop Video processing device. 請求項に記載の映像処理装置において、前記マスク信号は画素単位で与えられ、かつ前記文字テロップの領域は第1の値とされ、前記文字テロップ以外の領域は第2の値とされることを特徴とする映像処理装置。 2. The video processing apparatus according to claim 1 , wherein the mask signal is given in units of pixels, the area of the character telop is set to a first value, and the area other than the character telop is set to a second value. A video processing apparatus characterized by the above. 請求項に記載の映像処理装置において、前記マスク信号をフィルタリング処理するフィルタ処理部を更に備え、
前記フィルタ処理部は、記第2の値を持つ画素の周辺画素の値を前記第2の値に置き換えることにより前記第2の値を持つ画素の範囲を拡張した後に、前記第1の値を持つ画素の周辺画素の値を前記第1の値に置き換えることにより前記第1の値を持つ画素の範囲を拡張するフィルタリング処理を行うことを特徴とする映像処理装置。
The video processing apparatus according to claim 3 , further comprising a filter processing unit that performs filtering processing on the mask signal,
The filtering process unit, after extending the range of the pixel having the second value by replacing the previous SL value of the surrounding pixels of the pixel having the second value to said second value, said first An image processing apparatus, wherein a filtering process for expanding a range of pixels having the first value is performed by replacing a value of a peripheral pixel of the pixel having a value with the first value.
請求項1に記載の映像処理装置において、
前記第1ヒストグラム生成部は、入力映像信号の時間的に連続する2つのフレームを一画素ずつ相対的にずらしながら前記2つのフレームの時間的に前のフレームと後のフレームとの空間的に同一位置にある画素同士の差分を求め、
該差分が所定値以下の画素の個数を前記度数として、前記画素ずらし量毎に対応してカウントすることにより前記第1ヒストグラムを作成し、
前記第2ヒストグラム生成部は、該第1ヒストグラムを1フレーム分積算することにより前記第2ヒストグラムを作成することを特徴とする映像処理装置。
The video processing apparatus according to claim 1,
The first histogram generation unit spatially identicals a temporally previous frame and a subsequent frame of the two frames while relatively shifting two temporally consecutive frames of the input video signal one pixel at a time. Find the difference between the pixels at the position,
The first histogram is created by counting the number of pixels having the difference equal to or less than a predetermined value as the frequency and correspondingly for each pixel shift amount,
The second histogram generation unit, a video processing apparatus characterized by creating said second histogram by accumulating one frame of the first histogram.
請求項に記載の映像処理装置において、
前記テロップ検出部において、
前記マスク信号は、前記度数が最大となる前記画素ずらし量を基準に、前記差分が所定値以下の画素については第1の値となり、前記差分が所定値より大きい画素については第2の値となる判定信号に基づき生成されることを特徴とする映像処理装置。
The video processing apparatus according to claim 5 , wherein
In the telop detection unit ,
Said mask signal, based on the shifting amount of the pixel that the maximal frequency, the first value next for the pixels the difference is less than a predetermined value for a pixel the difference is greater than a predetermined value and a second value A video processing apparatus generated based on the determination signal.
請求項6に記載の映像処理装置において、
前記マスク信号は、前記度数が最大となる画素ずらし量に対応する前記判定信号と、当該画素ずらし量に隣接する画素ずらし量に対応する前記判定信号との論理和により生成されることを特徴とする映像処理装置。
The video processing apparatus according to claim 6.
The mask signal is generated by a logical sum of the determination signal corresponding to the pixel shift amount that maximizes the frequency and the determination signal corresponding to the pixel shift amount adjacent to the pixel shift amount. Video processing device.
請求項1乃至7に記載の映像処理装置を有し、さらに生成された前記補間フレームを表示可能な表示部を備えることを特徴とする映像表示装置。  8. A video display device comprising the video processing device according to claim 1, further comprising a display unit capable of displaying the generated interpolation frame. 入力された映像信号から映像の動きベクトルを検出する動きベクトル検出部と、
前記入力映信号において文字テロップの領域か否かを判定し、文字テロップの領域か否かを示すマスク信号を生成し、また文字テロップ動き量を検出するテロップ検出部と、
前記マスク信号が文字テロップの領域を示す部分では前記文字テロップの動き量を用いて補間フレームを生成し、前記マスク信号が文字テロップの領域を示さない部分では前記動きベクトルを用いて補間フレームを生成するフレーム補間部と、を備え、
前記テロップ動き検出部は、ライン単位で前記文字テロップの動き量を検出する検出処理と、フレーム単位で前記文字テロップの動き量を検出する検出処理とを行うものであり、
前記テロップ検出部の前記文字テロップの動き量の算出制御状態には、前記入力映像信号において前記文字テロップが静止している場合に前記フレーム単位の検出処理で検出された動き量を前記文字テロップの動き量として用いる状態と、前記入力映像信号において前記文字テロップが所定方向にスクロールしている場合に前記ライン単位の検出処理で検出された動き量を前記文字テロップの動き量として用いる状態とがあることを特徴とする映像処理装置。
A motion vector detector that detects a motion vector of the video from the input video signal;
Said determining whether the character telop area in the input movies image signal, and generates a mask signal indicating whether the character ticker area, also telop detection unit for detecting a movement amount of the character telop,
When the mask signal indicates a character telop area, an interpolation frame is generated using the amount of movement of the character telop, and when the mask signal does not indicate a character telop area, an interpolation frame is generated using the motion vector. A frame interpolation unit that performs
The telop motion detection unit performs detection processing for detecting the amount of motion of the character telop in units of lines and detection processing for detecting the amount of motion of the character telop in units of frames .
The text telop motion amount calculation control state of the telop detection unit includes the motion amount detected in the frame-by-frame detection process when the character telop is stationary in the input video signal. There are a state used as a motion amount and a state where the motion amount detected by the detection processing in units of lines is used as the motion amount of the character telop when the character telop is scrolled in a predetermined direction in the input video signal. A video processing apparatus characterized by that.
請求項9に記載の映像処理装置を有し、さらに、生成された前記補間フレームを表示可能な表示部を備えることを特徴とする映像表示装置。  An image display device comprising the image processing device according to claim 9, further comprising a display unit capable of displaying the generated interpolation frame.
JP2008193006A 2008-07-28 2008-07-28 Video processing device and video display device Active JP5164716B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008193006A JP5164716B2 (en) 2008-07-28 2008-07-28 Video processing device and video display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008193006A JP5164716B2 (en) 2008-07-28 2008-07-28 Video processing device and video display device

Publications (2)

Publication Number Publication Date
JP2010034724A JP2010034724A (en) 2010-02-12
JP5164716B2 true JP5164716B2 (en) 2013-03-21

Family

ID=41738735

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008193006A Active JP5164716B2 (en) 2008-07-28 2008-07-28 Video processing device and video display device

Country Status (1)

Country Link
JP (1) JP5164716B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101721261B1 (en) * 2010-08-20 2017-03-30 엘지디스플레이 주식회사 Liquid crystal display and data transmission method thereof
JP5660573B2 (en) * 2011-01-18 2015-01-28 国立大学法人 鹿児島大学 Display control apparatus, display control method, program, and recording medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4200681B2 (en) * 2002-03-14 2008-12-24 ソニー株式会社 Image signal processing circuit
JP2008109628A (en) * 2006-09-28 2008-05-08 Sharp Corp Image display apparatus and method, image processor and method
JP4940024B2 (en) * 2007-06-06 2012-05-30 株式会社東芝 Information processing apparatus, motion vector generation program, and interpolated image generation program

Also Published As

Publication number Publication date
JP2010034724A (en) 2010-02-12

Similar Documents

Publication Publication Date Title
US8175121B2 (en) Image processor and image display apparatus comprising the same
JP4157579B2 (en) Image display apparatus and method, image processing apparatus and method
JP4122279B2 (en) Motion estimation apparatus and method capable of detecting scrolled text or graphic data
JP3898606B2 (en) Motion vector detection method and apparatus, and frame interpolation image creation method and apparatus
JP2004201308A (en) Method and system for advanced edge-adaptive interpolation for interlace-to-progressive conversion
CN103369208A (en) Self-adaptive de-interlacing method and device
JP4991360B2 (en) Frame rate conversion device and video display device
US20070053013A1 (en) Image signal processing apparatus and interlace-to-progressive conversion method
JP5490236B2 (en) Image processing apparatus and method, image display apparatus and method
JP5005260B2 (en) Image display device
JP4951487B2 (en) Video processing apparatus and video display apparatus using the same
JP5164716B2 (en) Video processing device and video display device
JP2007195062A (en) Image still area determining device and interlace-progressive image converting device
JP4355347B2 (en) Image display apparatus and method, image processing apparatus and method
JP2009181067A (en) Image display device and method, and image processing device and method
JP2009290828A (en) Image processor, and image processing method
JP2008193730A (en) Image display device and method, and image processing device and method
US9008463B2 (en) Image expansion apparatus for performing interpolation processing on input image data, and image expansion method thereof
JP2009182865A (en) Image display device and method, image processor, and image processing method
JPWO2011027422A1 (en) Image processing apparatus and video reproduction apparatus
JP2009296284A (en) Video processing device and video display device using the video processing device
JP2008109628A (en) Image display apparatus and method, image processor and method
JP4157587B2 (en) Image display apparatus and method, image processing apparatus and method
KR101577703B1 (en) Video picture display method to reduce the effects of blurring and double contours and device implementing this method
JP5018198B2 (en) Interpolation signal generation circuit, interpolation signal generation method, program, and video signal processing apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120802

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120807

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121003

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121120

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121218

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151228

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 5164716

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20151228

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250