JPH08181889A - Contour correction device - Google Patents

Contour correction device

Info

Publication number
JPH08181889A
JPH08181889A JP6335909A JP33590994A JPH08181889A JP H08181889 A JPH08181889 A JP H08181889A JP 6335909 A JP6335909 A JP 6335909A JP 33590994 A JP33590994 A JP 33590994A JP H08181889 A JPH08181889 A JP H08181889A
Authority
JP
Japan
Prior art keywords
line
circuit
level
contour
output
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.)
Pending
Application number
JP6335909A
Other languages
Japanese (ja)
Inventor
Toshimi Iwata
利王 岩田
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.)
Kenwood KK
Original Assignee
Kenwood KK
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 Kenwood KK filed Critical Kenwood KK
Priority to JP6335909A priority Critical patent/JPH08181889A/en
Publication of JPH08181889A publication Critical patent/JPH08181889A/en
Pending legal-status Critical Current

Links

Landscapes

  • Picture Signal Circuits (AREA)
  • Processing Of Color Television Signals (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Abstract

PURPOSE: To provide a contour correction device capable of contour-correcting only title superimposition selectively. CONSTITUTION: A contour correction circuit 50 generates delay digital component video signals RD, GD and BD in which digital component video signals Rin , Gin and Bin are delayed by one line in line memory 52, 60 and 68, respectively and generates digital component video signals RE, GE and BE to which contour emphasis is applied by comparators 54, 62 and 70 and encoders 56, 64 and 72. While, it is judged whether or not the present positions of the signals RD, GD and BD are within a title superimposition area by a line position judging circuit 10, then, a judging signal is outputted. The selectors 58, 66 and 74 of the contour correction circuit 50 output by selecting the signals RE, GE and BE when the present line positions of the signals RD, GD and BD are within the title superimposition area and output by selecting the signals RD, GD and BD when they are not within the title superimposition area based on the judging signal.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は輪郭補正装置に係り、特
に映像のフレーム下部に合成された字幕スーパーを見易
くする輪郭補正装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a contour correcting device, and more particularly to a contour correcting device that makes it easy to see a subtitle superimposed on the lower portion of a video frame.

【0002】[0002]

【従来の技術】外国映画、カラオケなどの映像ソフトに
は図10(1),(2)に示す如く、フレーム下部また
は右端部にセリフ、歌詞を表した字幕スーパーが合成さ
れることがある。この字幕スーパーを見易くしたい場
合、映像信号を輪郭補正装置に通して文字の輪郭を強調
すれば良い。
2. Description of the Related Art In video software such as foreign movies and karaoke, as shown in FIGS. 10 (1) and 10 (2), a caption super showing words or lyrics may be combined at the bottom or right end of the frame. To make it easier to see the subtitle supermarket, the contour of the character may be emphasized by passing the video signal through the contour correction device.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
輪郭補正装置はフレーム全域を輪郭補正するものであっ
たため、字幕スーパー以外の通常画部分(図10(1)
のA、図10(2)のA´参照)も輪郭補正されてしま
い、不自然な画像になってしまうという問題があった。
本発明は上記した従来技術の問題に鑑み、字幕スーパー
だけを選択的に輪郭補正することのできる輪郭補正装置
を提供することを目的とする。
However, since the conventional contour correcting device corrects the contour of the entire frame, a normal image portion other than the subtitle supermarket (see FIG. 10 (1)).
There is also a problem that the contour correction is also performed on A of FIG. 10 and A ′ of FIG. 10 (2), resulting in an unnatural image.
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems of the prior art, and an object thereof is to provide a contour correction device capable of selectively performing contour correction only on a subtitle super.

【0004】[0004]

【課題を解決するための手段】本発明に係る輪郭補正装
置では、映像信号の走査位置がフレームの所定エリアに
入っているか判別する判別回路と、判別回路で走査位置
がフレームの所定エリア内に入っていると判別されてい
る間、映像信号の輪郭を強調して出力する輪郭補正回路
と、を備えたことを特徴としている。
In the contour correcting apparatus according to the present invention, a discriminating circuit for discriminating whether or not the scanning position of the video signal is within a predetermined area of the frame, and the discriminating circuit determines that the scanning position is within the predetermined area of the frame. A contour correction circuit that emphasizes and outputs the contour of the video signal while it is determined to be included is provided.

【0005】本発明に係る他の輪郭補正装置では、映像
信号の各ラインにつきラインの色が2種類のみか判別す
るライン色判別回路と、ライン色判別回路でラインの色
が2種類のみと判別されたラインにつき、映像信号の輪
郭を強調して出力する輪郭補正回路と、を備えたことを
特徴としている。
In another contour correcting apparatus according to the present invention, a line color discriminating circuit for discriminating whether or not there are only two types of line colors for each line of a video signal, and a line color discriminating circuit for discriminating only two types of line colors. A contour correction circuit that emphasizes and outputs the contour of the video signal for each of the generated lines is provided.

【0006】本発明に係る更に他の輪郭補正装置では、
映像信号の各ラインにつきラインの位置がフレームの所
定エリア内か判別するライン位置判別回路と、映像信号
の各ラインにつきラインの色が2種類のみか判別するラ
イン色判別回路と、ライン位置判別回路でラインの位置
がフレームの所定エリア内に入っていると判別され、か
つ、ライン色判別回路でラインの色が2種類のみと判別
されたラインにつき、映像信号の輪郭を強調して出力す
る輪郭補正回路と、を備えたことを特徴としている。
According to still another contour correction device of the present invention,
A line position discriminating circuit that discriminates whether each line of the video signal is within a predetermined area of the frame, a line color discriminating circuit that discriminates whether each line of the video signal has only two types of line colors, and a line position discriminating circuit. The contour that is output by emphasizing the contour of the video signal for the line that is determined to be within the predetermined area of the frame by the line and the line color determination circuit determines that there are only two types of line colors And a correction circuit.

【0007】本発明に係る更に他の輪郭補正装置では、
ライン色判別回路は映像信号の各ラインにつきラインの
色が予め定められた特定の2種類の色のみか判別するよ
うにし、この際、特定の2種類の色以外の色の継続する
期間が一定以下のとき、この特定の2種類の色以外の色
の存在を無視するようにしたこと、を特徴としている。
In still another contour correction device according to the present invention,
The line color discriminating circuit discriminates for each line of the video signal whether or not the color of the line is only a predetermined two kinds of colors, and at this time, a period other than the specific two kinds of colors is constant. In the following case, the existence of colors other than these two specific types of colors is ignored.

【0008】[0008]

【作用】本発明に係る輪郭補正装置によれば、映像信号
の走査位置がフレームの所定エリアに入っているか判別
し、走査位置がフレームの所定エリア内に入っていると
判別されている間、映像信号の輪郭を強調して出力す
る。これにより、フレーム内の字幕スーパーが合成され
る所定エリアだけ輪郭補正されるので、字幕スーパーが
合成されないエリアについて画像が不自然になるのを回
避することができる。
According to the contour correcting device of the present invention, it is determined whether the scanning position of the video signal is within the predetermined area of the frame, and while it is determined that the scanning position is within the predetermined area of the frame, The contour of the video signal is emphasized and output. As a result, the contour correction is performed only in a predetermined area in the frame where the subtitle super is synthesized, so that it is possible to prevent the image from becoming unnatural in the area in which the subtitle super is not synthesized.

【0009】本発明に係る他の輪郭補正装置によれば、
映像信号の各ラインにつきラインの色が2種類のみか判
別し、ラインの色が2種類のみと判別されたラインにつ
き、映像信号の輪郭を強調して出力する。字幕スーパー
のエリアは通常、白などの文字色と黒などの背景色の2
種類で形成されることから、フレーム下部などに字幕ス
ーパーが合成されている場合に、字幕スーパーだけ輪郭
補正されるので、字幕スーパーが合成されていないエリ
アについて画像が不自然になるのを回避することがで
き、また、字幕スーパーが合成されていない場合は、フ
レーム全域の画像が不自然になるのを防止することがで
きる。
According to another contour correction device of the present invention,
For each line of the video signal, it is determined whether or not there are only two types of line colors, and for the lines for which only two types of line colors have been determined, the contour of the video signal is emphasized and output. The area of the subtitle supermarket is usually 2 with a character color such as white and a background color such as black.
Since it is formed by types, when subtitles are combined in the lower part of the frame, only the subtitles are contour-corrected, so it is possible to avoid unnatural images in areas where subtitles are not combined. In addition, when the subtitle super is not combined, it is possible to prevent the image in the entire frame from being unnatural.

【0010】本発明に係る更に他の輪郭補正装置によれ
ば、映像信号の各ラインにつきラインの位置がフレーム
の所定エリア内か判別するとともに、映像信号の各ライ
ンにつきラインの色が2種類のみか判別し、ラインの位
置がフレームの所定エリア内に入っていると判別され、
かつ、ラインの色が2種類のみと判別されたラインにつ
き、映像信号の輪郭を強調して出力する。これにより、
字幕スーパーの合成されるエリア以外でたまたまライン
の色が2種類のみとなっても、間違って輪郭補正され不
自然な画像となることはない。
According to still another contour correction device of the present invention, it is determined whether the position of the line for each line of the video signal is within a predetermined area of the frame, and there are only two types of line colors for each line of the video signal. It is determined that the position of the line is within the predetermined area of the frame,
In addition, the contour of the video signal is emphasized and output for the line for which the line color is determined to be only two types. This allows
Even if it happens that there are only two types of line colors in areas other than the subtitle superimposing area, there is no possibility that the contour will be erroneously corrected to give an unnatural image.

【0011】本発明に係る更に他の輪郭補正装置によれ
ば、ライン色判別回路は映像信号の各ラインにつきライ
ンの色が予め定められた特定の2種類の色のみか判別す
るようにし、この際、特定の2種類の色以外の色の継続
する期間が一定以下のとき、この特定の2種類の色以外
の色の存在を無視する。これにより、字幕スーパーが特
定の文字色と特定の背景色で形成されているが、映像信
号のなまりにより文字と背景の境界部分で文字色から背
景色へ、これら文字色や背景色と異なる色となって変化
していても、確実に字幕スーパーのラインを判別し、該
字幕スーパーの輪郭補正を行うことができる。
According to still another contour correction device of the present invention, the line color discrimination circuit discriminates for each line of the video signal whether or not the color of the line is only two predetermined specific colors. At this time, when the duration of the colors other than the specific two types of colors is less than a certain period, the existence of the colors other than the specific two types of colors is ignored. As a result, the subtitle super is formed with a specific character color and a specific background color, but due to the rounding of the video signal, the character color changes from the character color to the background color at the boundary between the character and the background. Even if there is a change, the line of the subtitle super can be surely discriminated and the contour correction of the subtitle super can be performed.

【0012】[0012]

【実施例】図1は本発明の一実施例に係る輪郭補正装置
の回路図である。なお、図1の輪郭補正装置は、1フレ
ームの大きさが525ライン×858画素のノンインタ
レース走査方式で、R,G,Bのディジタルコンポーネ
ント映像信号を対象に輪郭補正するものとする。有効画
像エリアは45ライン分(ライン位置1〜45)の垂直
ブランキング期間と154画素分の水平ブランキング期
間を除く480ライン(ライン位置46〜525)×7
04画素の大きさである。そして、字幕スーパーは有効
画面下部のライン位置が465から525までの61ラ
インのエリアに合成されるものとする。また、R,G,
Bのディジタルコンポーネント映像信号と対で各種同期
クロック(1フレームの垂直ブランキング期間の最終ラ
インの間だけLとなる周波数29.97Hz のフレームクロッ
クFCK、水平ブランキング期間の最後の部分だけLと
なる周波数15.734kHzのラインクロックLCK、水平ブ
ランキング期間の直前の部分だけLとなる周波数15.734
kHzのラインクロックLCK´と、1画素分の周期(デ
ィジタルコンポーネント映像信号の1サンプル周期)を
持つ周波数13.5MHz のピクセルクロックPCK)を入力
するものとする(フレームクロックFCK、ラインクロ
ックLCK,LCK´については図2、図4、図6参
照)。
1 is a circuit diagram of a contour correcting apparatus according to an embodiment of the present invention. It is assumed that the contour correction apparatus of FIG. 1 performs contour correction for R, G, B digital component video signals by a non-interlaced scanning method in which the size of one frame is 525 lines × 858 pixels. The effective image area is 480 lines (line positions 46 to 525) x 7 excluding the vertical blanking period of 45 lines (line positions 1 to 45) and the horizontal blanking period of 154 pixels.
The size is 04 pixels. Then, it is assumed that the subtitle super is composed in an area of 61 lines whose line positions at the bottom of the effective screen are 465 to 525. Also, R, G,
Various sync clocks paired with the B digital component video signal (a frequency which becomes L only during the last line of the vertical blanking period of one frame 29.97 Hz frame clock FCK, a frequency which becomes L only at the last part of the horizontal blanking period) 15.734 kHz line clock LCK, frequency that becomes L only in the portion immediately before the horizontal blanking period 15.734
A line clock LCK 'of kHz and a pixel clock PCK of frequency 13.5 MHz having a period for one pixel (one sample period of a digital component video signal) are to be input (frame clock FCK, line clocks LCK, LCK'). (See FIGS. 2, 4, and 6).

【0013】図1において、Rin,Gin,Binは外部か
ら入力されるディジタルコンポーネント映像信号であ
り、0〜255(シンクチップ先端0、黒レベル=1
6、ピークレベル=235)のスケールで量子化されて
いる。10はディジタルコンポーネント映像信号のライ
ン位置が字幕スーパーのエリアに入っているか判別する
ためのライン位置判別回路であり、後述する輪郭補正回
路内でRin,Gin,Binを1ライン分遅延させた遅延デ
ィジタルコンポーネント映像信号RD ,GD ,BDのラ
イン位置nが465〜525に入っているときHレベ
ル、入っていないときLレベルを出力する。12はフレ
ームクロックFCKをプリセット端子に入力し、ライン
クロックLCKをクロック端子に入力するカウンタであ
り、フレームクロックFCKの立ち下がりで予め定めら
れた44をプリセットし、その後、ラインクロックLC
Kを入力する度に1づつカウントアップし、遅延ディジ
タルコンポーネント映像信号RD ,GD ,BD のライン
位置nを計数する。14はカウンタ12の計数値を46
5及び525と比較し、465≦カウンタ12の計数値
≦525の範囲のときHレベル、それ以外のときLレベ
ルを出力する比較回路である。
In FIG. 1, R in , G in , and B in are digital component video signals input from the outside, and are 0 to 255 (sync tip tip 0, black level = 1).
6, the peak level = 235). Reference numeral 10 is a line position discriminating circuit for discriminating whether or not the line position of the digital component video signal is within the subtitle super area, and delays R in , G in , and B in by one line in the contour correction circuit described later. When the line positions n of the delayed digital component video signals R D , G D , and B D are in the range of 465 to 525, the H level is output, and when they are not, the L level is output. Reference numeral 12 is a counter for inputting the frame clock FCK to the preset terminal and inputting the line clock LCK to the clock terminal, preset 44 at the falling edge of the frame clock FCK, and then the line clock LC
Each time K is input, it is incremented by 1 to count the line position n of the delayed digital component video signals R D , G D , and B D. 14 indicates the count value of the counter 12 by 46
5 and 525, and outputs an H level when 465 ≦ count value of the counter 12 ≦ 525, and outputs an L level otherwise.

【0014】20はライン色判別回路であり、外部から
入力したRin,Gin,Binのディジタルコンポーネント
映像信号の各ラインにつき、白と黒の2種類の色だけか
ら形成されているか判別し、判別結果を、次のラインの
走査期間中に出力する。白と黒の2種類の色だけから形
成されているときHレベル、それ以外のときLレベルを
出力する。22、26、30は各々、Rin,Gin,Bin
のレベルを個別に216及び235と比較し、216か
ら235の間の高レベルのときHレベルを出力する比較
回路、24、28、32は各々、Rin,Gin,Binのレ
ベルを個別に35と比較し、35以下の低レベルのとき
Hレベルを出力する比較回路、34は比較回路22、2
6、30の出力側に設けられて、Rin,Gin,Binのデ
ィジタルコンポーネント映像信号がほぼ白レベルに達し
ているときHレベルを出力するAND回路、36は比較
回路24、28、32の出力側に設けられて、Rin,G
in,Binのディジタルコンポーネント映像信号がほぼ黒
レベルに達しているときHレベルを出力するAND回路
である(ここではシンクチップも黒レベルとして扱う
が、特に問題はない。なお、比較回路24、28、32
を、各々、Rin,Gin,Binのレベルを個別に16〜3
5と比較し、16から35の間の低レベルのときHレベ
ルを出力するようにしても良い)。
A line color discrimination circuit 20 discriminates whether each line of the digital component video signals of R in , G in and B in inputted from the outside is formed by only two kinds of colors, white and black. , The determination result is output during the scanning period of the next line. When it is formed of only two kinds of colors, white and black, it outputs H level, and otherwise outputs L level. 22, 26, and 30 are R in , G in , and B in , respectively.
Of the R in , G in , and B in are individually compared with each other by comparing the levels of R in , G in , and B in individually with each other and outputting an H level at a high level between 216 and 235. And a comparison circuit that outputs an H level when the level is 35 or less, and 34 is a comparison circuit 22 or 2.
An AND circuit which is provided on the output side of 6 and 30 and outputs an H level when the digital component video signals of R in , G in , and B in almost reach the white level, 36 is a comparison circuit 24, 28, 32 R in , G provided on the output side of
This is an AND circuit that outputs an H level when the digital component video signals of in and B in have almost reached the black level (here, the sync chip is also treated as a black level, but there is no particular problem. 28, 32
16 to 3 for the R in , G in , and B in levels, respectively.
It may be configured to output the H level when the low level is between 16 and 35 as compared with 5.

【0015】38はAND回路34と36の出力側に設
けられて、Rin,Gin,Binのディジタルコンポーネン
ト映像信号がほぼ白レベルまたは黒レベルに達してお
り、AND回路34または36のいずれかの出力がHレ
ベルのときLレベルを出力し、Rin,Gin,Binのディ
ジタルコンポーネント映像信号が白または黒とは異なる
色のレベルに有り、AND回路34及び36の出力がい
ずれもLレベルのときHレベルを出力するNOR回路、
40はNOR回路38の出力をクリア端子に入力し、ピ
クセルクロックPCKをクロック端子に入力するカウン
タであり、NOR回路38からLレベルを入力している
間、クリア状態になって計数値を0とし、NOR回路3
8の出力がHレベルになると、ピクセルクロックPCK
を入力する度に1づつカウントアップし、Rin,Gin
inのディジタルコンポーネント映像信号が白と黒のい
ずれでもない色の状態の継続時間を計数する。42は比
較回路であり、カウンタ40の計数値を5(5画素分)
と比較し、5未満の間は白と黒以外の色が存在しないこ
とを示すLレベルを出力し、5以上になったとき初めて
白と黒以外の色の存在を示すHレベルを出力する。
Numeral 38 is provided on the output side of the AND circuits 34 and 36, and the digital component video signals of R in , G in and B in have almost reached the white level or the black level, and either of the AND circuits 34 or 36. When the output is H level, it outputs L level, the digital component video signals of R in , G in and B in are in a color level different from white or black, and the outputs of the AND circuits 34 and 36 are both. NOR circuit that outputs H level when L level,
A counter 40 inputs the output of the NOR circuit 38 to the clear terminal and inputs the pixel clock PCK to the clock terminal. While the L level is being input from the NOR circuit 38, the counter 40 is in the clear state and the count value is 0. , NOR circuit 3
When the output of 8 becomes H level, the pixel clock PCK
Each time you input, the count is incremented by 1 and R in , G in ,
The duration of the state in which the B in digital component video signal is in a color that is neither white nor black is counted. Reference numeral 42 is a comparison circuit, which counts the count value of the counter 40 by 5 (for 5 pixels).
In comparison with, the L level indicating that there is no color other than white and black is output for less than 5, and the H level indicating the presence of colors other than white and black is output for the first time when 5 or more.

【0016】このように、Rin,Gin,Binのディジタ
ルコンポーネント映像信号が白と黒のいずれでもない色
の状態が5未満であれば白と黒以外の色の存在を示すH
レベルを出力しないようにしたのは、ラインの色が白と
黒だけであるが、ディジタルコンポーネント映像信号の
波形が白レベルから黒レベルへ、或いは黒レベルから白
レベルへなまって変化していた場合に、白と黒の間に他
の色が存在すると誤って判別しないようにするためであ
る。
As described above, if the digital component video signals of R in , G in , and B in have a color state that is neither white nor black less than 5, it indicates that there is a color other than white and black H.
The level is not output only when the line colors are white and black, but when the waveform of the digital component video signal changes from white level to black level or from black level to white level. This is to prevent erroneous determination that another color exists between white and black.

【0017】44はR/S−フリップフロップ(以下、
R/S−FFと略す)であり、ラインクロックLCKが
S端子に入力されると、セット状態になってQ端子出力
をHレベルとし、その後、比較回路42からHレベルが
R端子に入力されるとリセットしてQ端子出力をLレベ
ルに落とす。映画等の通常の映像ソフトの場合、字幕ス
ーパーを含めて1ライン中に2色以上存在するのが普通
である。ラインの始まりでQ端子出力がHレベルになっ
たあと、ラインの終わりまでHが継続すれば、今回のラ
インに白と黒の2色以外の色が存在せず、結局、白と黒
の2種類の色だけ存在することが判る。また、ラインの
始まりでQ端子出力がHレベルになったあと、ラインの
途中でLレベルに落ちたとき、今回のラインにつき白と
黒以外の色が存在することが判る。
44 is an R / S-flip-flop (hereinafter,
(Abbreviated as R / S-FF), when the line clock LCK is input to the S terminal, a set state is set and the Q terminal output is set to the H level, and thereafter, the H level is input to the R terminal from the comparison circuit 42. Then, it resets and drops the Q terminal output to L level. In the case of normal video software such as movies, it is usual that two or more colors exist in one line including the subtitle super. If the Q terminal output goes to H level at the beginning of the line and H continues until the end of the line, there is no color other than the two colors of white and black on the line this time, and in the end, there are two colors of white and black. It turns out that there are only kinds of colors. Also, when the Q terminal output goes to H level at the beginning of the line and then drops to L level in the middle of the line, it can be seen that colors other than white and black exist for this line.

【0018】46はR/S−FF44のQ端子出力をD
端子に入力し、ラインクロックLCK´をクロック端子
に入力するD−フリップフロップ(以下、D−FFと略
す)であり、次のラインが始まる直前にR/S−FF4
4のQ端子出力をラッチすることで、今回のラインに白
と黒の2種類の色のみ存在するか否かを示す判別信号を
次のラインの期間中にQ端子から出力する。D−FF4
6のQ端子出力がHレベルのとき2種類の色のみ存在
し、Lレベルのとき白と黒以外の色も存在することを示
す。
Reference numeral 46 designates the Q terminal output of the R / S-FF44 as D
It is a D-flip-flop (hereinafter abbreviated as D-FF) which is input to a terminal and a line clock LCK 'is input to a clock terminal. The R / S-FF4 is provided immediately before the start of the next line.
By latching the Q terminal output of No. 4, the discrimination signal indicating whether or not there are only two kinds of colors of white and black on the current line is output from the Q terminal during the period of the next line. D-FF4
It is shown that when the Q terminal output of No. 6 is at the H level, only two kinds of colors are present, and at the L level, colors other than white and black are also present.

【0019】50は輪郭補正回路であり、Rin,Gin
inのディジタルコンポーネント映像信号の各ラインの
内、ライン位置判別回路10で字幕スーパーエリアに入
っており、かつ、ライン色判別回路20でラインの色が
白と黒の2種類の色のみと判別されたラインにつき、輪
郭を強調する補正を行い、Rout ,Gout ,Bout のデ
ィジタルコンポーネント映像信号として出力する。
Reference numeral 50 denotes a contour correction circuit, which has R in , G in ,
Among the lines of the digital component video signal of B in , the line position determination circuit 10 enters the subtitle super area, and the line color determination circuit 20 determines that the line color is only two types, white and black. A correction for emphasizing the contour is performed on the formed line and output as digital component video signals of R out , G out , and B out .

【0020】52、60、68は各々、Rin,Gin,B
inを1ライン分遅延させRD ,GD,BD の遅延ディジ
タルコンポーネント映像信号として出力するラインメモ
リ、54、62、70は各々、RD ,GD ,BD のレベ
ルを216と比較し、216以上のときHレベルを出力
し、216未満のときLレベルを出力する比較回路、5
6、64、72は各々、個別に比較回路54、62、7
0の出力がHレベルのとき235を出力し、Lレベルの
とき16を出力することでRE ,GE ,BE の輪郭補正
ディジタルコンポーネント映像信号を出力するエンコー
ダである(RD,GD ,BD 、RE ,GE ,BE につい
ては図5、図7参照)。RD ,GD ,BD の遅延ディジ
タルコンポーネント映像信号がほぼ白レベルでいずれも
レベルは216以上であるとき、完全な白レベルである
235に置き換えられる。白と黒の2色の字幕スーパー
であれば、白レベル以外が完全な黒レベルとされること
で、文字の輪郭がくっきりすることになる。
52, 60 and 68 are R in , G in and B, respectively.
in a delayed one line R D, G D, line memory for outputting the delayed digital component video signal of B D, 54,62,70 each, R D, G D, the level of B D compared to 216 A comparator circuit that outputs an H level when 216 or more, and an L level when less than 216, 5
6, 64 and 72 are individually compared circuits 54, 62 and 7 respectively.
It is an encoder ( RD , GD) that outputs 235 when the 0 output is at the H level and outputs 16 when it is at the L level to output the contour-corrected digital component video signals of R E , G E , and B E (R D , G D , B D , R E , G E , and B E, see FIGS. 5 and 7. When the delayed digital component video signals of R D , G D , and B D have almost white levels, and each has a level of 216 or higher, it is replaced with 235 which is a perfect white level. In the case of a subtitle supermarket of two colors of white and black, the contour of the character is sharpened by setting the black level other than the white level to the complete black level.

【0021】58、66、74は各々、RD ,GD ,B
D の遅延ディジタルコンポーネント映像信号とRE ,G
E ,BE の輪郭補正ディジタルコンポーネント映像信号
を択一的に選択して出力するセレクタである。76はラ
イン位置判別回路10の出力とライン色判別回路20の
出力のANDを取り、セレクト信号を出力するAND回
路である。セレクト信号はRD ,GD ,BD の遅延ディ
ジタルコンポーネント映像信号の各ラインにつき、ライ
ン位置nが字幕スーパーエリアに相当する465〜52
5の間にあり、かつ、ライン中に白と黒の2種類の色の
み存在するときHレベルとなり、そのほかはLレベルと
なる。各セレクタ58、66、74はAND回路76か
らLレベルのセレクト信号を入力するとラインメモリ5
2、60、68から入力したRD ,GD ,BD の遅延デ
ィジタルコンポーネント映像信号をRout ,Gout ,B
out として出力し、逆に、Hレベルのセレクト信号を入
力するとエンコーダ56、64、72から入力した輪郭
補正ディジタルコンポーネント映像信号をRout ,G
out ,Bout として出力する。
Reference numerals 58, 66 and 74 denote R D , G D and B, respectively.
Delayed digital component video signal of D and R E , G
A selector for selectively selecting and outputting the contour-corrected digital component video signals of E and B E. Reference numeral 76 is an AND circuit that ANDs the output of the line position determination circuit 10 and the output of the line color determination circuit 20 and outputs a select signal. The select signal is 465 to 52 in which the line position n corresponds to the subtitle super area for each line of the delayed digital component video signals of R D , G D , and B D.
When it is between 5 and there are only two kinds of colors of white and black in the line, it becomes H level, and the other becomes L level. Each of the selectors 58, 66 and 74 receives the L level select signal from the AND circuit 76 and receives the line memory 5
The delayed digital component video signals of R D , G D , and B D input from 2, 60, and 68 are R out , G out , and B.
When the H level select signal is output, the contour correction digital component video signals input from the encoders 56, 64 and 72 are output as R out and G.
Output as out and B out .

【0022】次に上記した実施例の動作を図3〜図8を
参照して説明する。図3はライン位置判別回路の動作を
示すタイムチャート、図4は字幕スーパーにおける色判
別回路の動作を示すタイムチャート、図5は字幕スーパ
ーにおける輪郭補正回路の動作を示すタイムチャート、
図6は字幕スーパー以外における色判別回路の動作を示
すタイムチャート、図7は字幕スーパー以外における輪
郭補正回路の動作を示すタイムチャート、図8は字幕ス
ーパーでの走査動作を示す説明図である。
Next, the operation of the above embodiment will be described with reference to FIGS. 3 is a time chart showing the operation of the line position discriminating circuit, FIG. 4 is a time chart showing the operation of the color discriminating circuit in the caption super, and FIG. 5 is a time chart showing the operation of the contour correction circuit in the caption super.
6 is a time chart showing the operation of the color discrimination circuit other than the subtitle super, FIG. 7 is a time chart showing the operation of the contour correction circuit other than the subtitle super, and FIG. 8 is an explanatory diagram showing the scanning operation in the subtitle super.

【0023】字幕スーパーが存在する場合 ライン位置判別回路10は輪郭補正回路50のラインメ
モリ52、60、68の出力するRD ,GD ,BD のラ
イン位置nをカウンタ12で計数し、字幕スーパーエリ
アに相当する465〜525の間、比較回路14からラ
イン位置が字幕スーパーエリアに入っていることを示す
Hレベルの判別信号を出力し、他はLレベルを出力する
(図3参照)。よって、RD ,GD ,BD のライン位置
nが通常画像エリアである1〜464の間、輪郭補正回
路50のAND回路76はLレベルのセレクト信号を出
力するので、セレクタ58、66、74は各々、ライン
メモリ52、60、68の出力するRD ,GD ,BD
選択し、Rout ,Gout ,Bout として出力する。この
結果、通常画像エリアが不自然に輪郭強調されることは
ない。一方、RD ,GD ,BD のライン位置nが465
〜525の字幕スーパーエリアに入っているとき、比較
回路14はHレベルを出力するので、セレクタ58、6
6、74の選択はライン色判別回路20での判別結果に
委ねられる(図5、図7参照)。
When there is a subtitle super, the line position discrimination circuit 10 counts the line position n of R D , G D , and B D output from the line memories 52, 60, and 68 of the contour correction circuit 50 with the counter 12, Between 465 and 525 corresponding to the super area, the comparison circuit 14 outputs the H level determination signal indicating that the line position is in the subtitle super area, and outputs the other L level (see FIG. 3). Therefore, while the line position n of R D , G D , and B D is 1 to 464 which is the normal image area, the AND circuit 76 of the contour correction circuit 50 outputs the L level select signal, and thus the selectors 58 and 66, 74 selects R D , G D , and B D output from the line memories 52, 60, and 68, and outputs them as R out , G out , and B out . As a result, the normal image area is not unnaturally edge-enhanced. On the other hand, the line position n of R D , G D , and B D is 465.
Since the comparison circuit 14 outputs the H level when it is in the subtitle super area of ~ 525, the selectors 58, 6
The selection of 6 and 74 is left to the discrimination result in the line color discrimination circuit 20 (see FIGS. 5 and 7).

【0024】ライン色判別回路20は、Rin,Gin,B
inの入力ディジタルコンポーネント映像信号に基づいて
各ラインにつき、比較回路22、26、30とAND回
路34とによりほぼ白レベルとなっている期間を検出
し、比較回路24、28、32とAND回路36とでほ
ぼ黒レベルとなっている期間を検出し、AND回路34
と36の出力のNORを取って、白レベルと黒レベルの
いずれでもない期間だけHとなる信号をカウンタ40の
クリア端子に入力して、白レベルと黒レベルのいずれで
もない期間の継続期間を計数する。そして、カウンタ4
0の計数値を比較回路42で5と比較し、計数値が5未
満であれば白と黒以外の色が存在しないことを示すLを
出力させ、1ラインの途中で計数値が5を越えたときは
白と黒以外の色が存在することを示すHを出力させる。
The line color discrimination circuit 20 includes R in , G in and B
Based on the input digital component video signals in per line, detects a period in which almost white level by the comparator circuit 22,26,30 and AND circuit 34, comparator circuit 24,28,32 and AND circuit 36 AND circuit 34 detects the period when the black level is almost
And the outputs of 36 are taken, and a signal which becomes H only during a period which is neither a white level nor a black level is inputted to the clear terminal of the counter 40, and the continuation period of the period which is neither a white level nor a black level is determined. Count. And counter 4
The count value of 0 is compared with 5 by the comparison circuit 42. If the count value is less than 5, L indicating that there is no color other than white and black is output, and the count value exceeds 5 in the middle of one line. When it does, H indicating that there is a color other than white and black is output.

【0025】図8に示す如く、Rin,Gin,Binの現在
のライン位置nが字幕スーパーエリアの字幕文字に掛か
った475のとき、背景から文字に入る境界においてR
in,Gin,Binは通常、35以下から216以上にピク
セルクロックPCKの5周期未満の短時間で立ち上が
り、また、文字から背景に出る境界において216以上
から35以下にピクセルクロックPCKの5周期未満の
短時間で立ち下がる。よって、Rin,Gin,Binのn=
475のラインの走査中、ライン色判別回路20の動作
は図4に示す如くなり、カウンタ40の計数値は5以上
となることはなく、比較回路42の出力はLレベルを維
持する。すると、Rin,Gin,Binのn=475のライ
ンの開始時点でラインクロックLCKの入力によりQ出
力がHにセットされたR/S−FF44は475のライ
ンの走査中、H出力を維持し、同じラインの終了時点で
ラインクロックLCK´を入力したD−FF46はR/
S−FF44のQ出力をラッチしてQ出力をHレベルと
し、Rin,Gin,Binのn=476のラインの走査中に
n=475のラインが白と黒の2種類しか存在しないこ
とを示す判別信号Hを出力する。
As shown in FIG. 8, when the current line position n of R in , G in , and B in is 475 that hangs over the subtitle character in the subtitle super area, R at the boundary from the background to the character.
in , G in , and B in normally rise from 35 or less to 216 or more in a short time less than 5 cycles of the pixel clock PCK, and at the boundary from the character to the background, 5 cycles of the pixel clock PCK from 216 to 35 or less. Get down in less than a short time. Therefore, n in R in , G in , and B in =
During scanning of the line 475, the operation of the line color discrimination circuit 20 becomes as shown in FIG. 4, the count value of the counter 40 never becomes 5 or more, and the output of the comparison circuit 42 maintains the L level. Then, the Q output is set to H by the input of the line clock LCK at the start of the n = 475 line of R in , G in , and B in , and the R / S-FF 44 outputs the H output during scanning of 475 lines. The D-FF 46 which maintains the line clock LCK ′ at the end of the same line receives R /
The Q output of the S-FF 44 is latched to set the Q output to the H level, and during scanning of n = 476 lines of R in , G in , and B in , there are only two types of lines of n = 475, white and black. The determination signal H indicating that is output.

【0026】Rin,Gin,Binのn=476のラインの
走査期間はRD ,GD ,BD のn=475のラインの走
査期間であり、該期間の間、ライン位置判別回路10と
ライン色判別回路20からHレベルを入力した輪郭補正
回路50のAND回路76はセレクト信号としてHレベ
ルを出力する。Hレベルのセレクト信号を入力したセレ
クタ58はエンコーダ56から入力したRE ,GE ,B
E を選択する。エンコーダ56はRD ,GD ,BD のn
=475のラインにつき、216以上を235に置き換
え、216未満を16に置き換えて輪郭補正したRE
E ,BE を出力するので、セレクタ58からは字幕ス
ーパー文字の輪郭が強調されたRout ,Gout ,Bout
が出力される(図5参照)。字幕スーパー文字に掛かっ
ている他のラインについても全く同様にして、輪郭が強
調されたRout ,Gout ,Boutが出力される。
The scanning period of n = 476 lines of R in , G in and B in is the scanning period of n = 475 lines of R D , G D and B D , and the line position discriminating circuit during this period. 10 and the AND circuit 76 of the contour correction circuit 50 which receives the H level from the line color discrimination circuit 20 outputs the H level as a select signal. The selector 58 that receives the H-level select signal inputs the signals R E , G E , and B that are input from the encoder 56.
Select E. The encoder 56 uses n of R D , G D , and B D.
= 475 lines, 216 and 216 are replaced with 235, and less than 216 are replaced with 16 and R E is contour-corrected,
Since G E and B E are output, R out , G out , and B out in which the contour of the subtitle super-character is emphasized from the selector 58.
Is output (see FIG. 5). In the same manner for the other lines hanging on subtitling characters, contours emphasized R out, G out, B out are output.

【0027】このように、RD ,GD ,BD の現在のラ
イン位置が字幕スーパーエリアに入っていること、
D ,GD ,BD の現在のラインに白と黒という特定の
2種類のみ存在することの両者が成立する場合だけ輪郭
補正されたRout ,Gout ,Bou t が出力されるので、
字幕スーパーの白文字だけを確実に輪郭強調して見易く
することができる。そして、ライン色判別回路20はカ
ウンタ40の計数値が5以上とならない限り、白と黒以
外の他の色が存在すると判別しないので、背景の黒と文
字の白の境界でRin,Gin,Binの全てまたはいずれか
がなまって変化しても、確実に輪郭強調することができ
る。また、何らかの事情でRD ,GD ,BD がn=1〜
464の通常画像エリアに入っているときに、ライン色
判別回路20が或るラインにつき誤判別し、Hレベルを
出力したとしても、通常画像エリア内ではライン位置判
別回路10からLレベルの判別信号が出力されるので、
AND回路76からHレベルのセレクト信号が出力され
ることはない。これにより、誤った輪郭補正がされて通
常画像が不自然になるのが回避される。
As described above, the current line positions of R D , G D , and B D are in the subtitle super area,
R D, G D, only contour-corrected R out when both of the presence in the current line only specific two types of black and white B D is satisfied, G out, since B ou t is output ,
Only the white letters in the subtitle supermarket can be emphasized to make it easier to see. The line color discrimination circuit 20 does not discriminate that there is any color other than white and black unless the count value of the counter 40 is 5 or more. Therefore, R in , G in Even if all or one of B in and B in changes, the contour can be surely emphasized. Also, for some reason, R D , G D , and B D are n = 1 to 1
Even if the line color discrimination circuit 20 erroneously discriminates a certain line and outputs the H level when the image is in the normal image area 464, the line position discrimination circuit 10 outputs the L level discrimination signal in the normal image area. Is output,
The AND circuit 76 does not output the H-level select signal. As a result, it is possible to prevent the normal image from being unnatural due to incorrect contour correction.

【0028】字幕スーパーが存在しない場合 字幕スーパーが存在しなかった場合、Rin,Gin,Bin
の現在のライン位置nが字幕スーパーエリア内の475
であっても、1ラインの途中に白と黒以外の色が存在す
るのが普通であり、図6に示す如く、カウンタ40の計
数値が或るタイミングで5以上となり、比較回路42は
Hレベルを出力する。比較回路42の出力は予め、n=
475のラインの走査開始時点でセットされたR/S−
FF44のR端子に入力されるので、比較回路42の出
力がHになると、R/S−FF44がリセットされてQ
端子がLレベルとなり、次のラインの開始直前にD−F
F46にラッチされる。この結果、D−FF46はQ端
子からn=476のラインの走査期間中、すなわち、R
D ,GD ,BD で見た場合のn=475の走査期間中、
D−FFのQ端子からラインに白と黒以外の色も存在す
ることを示すLレベルの判別信号を出力する。
When there is no subtitle super, when there is no subtitle super, R in , G in , and B in
The current line position n is 475 in the subtitle super area
However, it is normal for colors other than white and black to exist in the middle of one line, and as shown in FIG. 6, the count value of the counter 40 becomes 5 or more at a certain timing, and the comparison circuit 42 becomes H level. Output level. The output of the comparison circuit 42 is n =
R / S-set at the start of scanning 475 lines
Since it is input to the R terminal of the FF44, when the output of the comparison circuit 42 becomes H, the R / S-FF44 is reset and Q
The terminal goes to L level, and DF occurs immediately before the start of the next line.
Latch to F46. As a result, the D-FF 46 is in the scanning period from the Q terminal to the line of n = 476, that is, R
During the scanning period of n = 475 when viewed from D , G D , and B D ,
The Q terminal of the D-FF outputs an L level discrimination signal indicating that there are colors other than white and black on the line.

【0029】よって、輪郭補正回路50のAND回路7
6はライン色判別回路20から入力した判別信号に基づ
きLレベルのセレクト信号を出力するので、セレクタ5
8、66、74は各々、ラインメモリ52、60、68
の出力したRD ,GD ,BDを選択し、Rout
out ,Bout として出力する(図7参照)。この結
果、字幕スーパーエリアの通常画が不自然に輪郭強調さ
れることはない。
Therefore, the AND circuit 7 of the contour correction circuit 50
6 outputs an L level select signal based on the discrimination signal input from the line color discrimination circuit 20, so that the selector 5
8, 66 and 74 are line memories 52, 60 and 68, respectively.
R D , G D , and B D output by are selected, and R out ,
Output as G out and B out (see FIG. 7). As a result, the outline of the normal image in the subtitle super area is not artificially emphasized.

【0030】なお、Rin,Gin,Binの現在のライン位
置nが1〜464の通常画像エリア内に入っているとき
も、1ラインの途中に白と黒以外の色が存在するのが普
通であり、ライン色判別回路20は図6の場合と同様に
して、現在のラインに白と黒以外の色が存在することを
示すLレベルの判別信号を次の1ラインの走査期間中に
出力する。若し、何らかの事情でRD ,GD ,BD がn
=1〜464の通常画像エリアに入っているときに、ラ
イン色判別回路20が或るラインにつき誤判別し、Hレ
ベルを出力したとしても、通常画像エリア内ではライン
位置判別回路10からLレベルの判別信号が出力される
ので、AND回路76からHレベルのセレクト信号が出
力されることはない。これにより、誤った輪郭補正がさ
れて通常画像が不自然になるのが回避される。
Even when the current line position n of R in , G in and B in is within the normal image area of 1 to 464, colors other than white and black exist in the middle of one line. In the same manner as in the case of FIG. 6, the line color discrimination circuit 20 outputs an L level discrimination signal indicating that there are colors other than white and black in the current line during the scanning period of the next one line. Output to. If, for some reason, R D , G D , and B D are n
= 1 to 464, when the line color discrimination circuit 20 erroneously discriminates a certain line and outputs H level, the line position discrimination circuit 10 outputs L level in the normal image area. Therefore, the AND circuit 76 does not output the H-level select signal. As a result, it is possible to prevent the normal image from being unnatural due to incorrect contour correction.

【0031】この実施例によれば、フレーム下部に字幕
スーパーが存在しなければ、RD ,BD ,GD の現在の
ライン位置nが1〜464の通常画像エリア内に入って
いるときはライン位置判別回路10がLレベルの判別信
号を出力し、nが465〜525の字幕スーパーエリア
に入っているときはライン色判別回路20がLレベルの
判別信号を出力し、セレクタ58、66、74にRD
D ,GD を選択させるようにしたので1フレーム全て
につき誤った輪郭強調がされるのを回避させることがで
きる。
According to this embodiment, when the subtitle super is not present at the bottom of the frame, when the current line position n of R D , B D , and G D is within the normal image area of 1 to 464. The line position discrimination circuit 10 outputs an L level discrimination signal, and when n is in the subtitle super area of 465 to 525, the line color discrimination circuit 20 outputs an L level discrimination signal, and the selectors 58, 66, 74 with R D ,
Since B D and G D are selected, it is possible to avoid erroneous contour enhancement for one frame.

【0032】一方、フレーム下部に字幕スーパーが存在
する場合、RD ,BD ,GD の現在のライン位置nが字
幕スーパーエリア内の字幕スーパーの文字に掛かってい
るときだけライン位置判別回路10とライン色判別回路
20がともにHレベルの判別信号を出力し、この際、背
景と文字の境界でRin,Gin,Binの全てまたはいずれ
かがなまって変化しても、ライン色判別回路20が背景
と文字の2種類の色だけしか存在しないことを示すHレ
ベルの判別信号を出力するようにし、セレクタ58、6
6、74にRE ,BE ,GE を選択させるようにしたの
で、確実に字幕スーパーの輪郭強調を行わせることがで
きる。
On the other hand, when the subtitle super is present at the bottom of the frame, the line position discriminating circuit 10 is provided only when the current line position n of R D , B D , and G D overlaps the subtitle super in the subtitle super area. And the line color discrimination circuit 20 both output an H level discrimination signal. At this time, the line color discrimination is performed even if all or any of R in , G in , and B in changes at the boundary between the background and the character. The circuit 20 outputs the H-level discrimination signal indicating that there are only two kinds of colors of the background and the character, and the selectors 58 and 6 are provided.
Since 6 and 74 are made to select R E , B E and G E , it is possible to surely carry out the contour emphasis of the subtitle super.

【0033】また、フレーム下部に字幕スーパーが存在
する場合で、RD ,BD ,GD の現在のライン位置nが
字幕スーパーエリア内に入っているが字幕スーパーの文
字に掛かっていないときは、ライン色判別回路20がL
レベルの判別信号を出力し、また、RD ,BD ,GD
現在のライン位置nが通常画像エリア内に入っていると
きはライン位置判別回路10がLレベルの判別信号を出
力し、セレクタ58、66、74にRD ,BD ,GD
選択させるようにしたので誤った輪郭強調がされるのを
回避することができる。
When the subtitle super is present at the bottom of the frame and the current line position n of R D , B D , and G D is within the subtitle super area, but does not overlap the subtitle super characters. , The line color discrimination circuit 20 is L
When the current line position n of R D , B D , and G D is within the normal image area, the line position determination circuit 10 outputs the L level determination signal. Since the selectors 58, 66 and 74 are made to select R D , B D and G D , it is possible to avoid erroneous contour enhancement.

【0034】なお、上記した実施例では、ライン位置判
別回路10とライン色判別回路20の両者の出力のAN
Dを取ってセレクタ58、66、74のセレクト信号を
作成したが、ライン色判別回路20を省略し、ライン位
置判別回路10の判別信号出力をそのままセレクト信号
としたり、逆に、ライン位置判別回路10を省略し、ラ
イン色判別回路20の判別信号出力をそのままセレクト
信号とするようにしても良い。ライン位置判別回路10
の出力をそのままセレクト信号とする場合、字幕スーパ
ーエリアだけ輪郭強調されるので、字幕スーパーが存在
するときは文字が見易くなり、字幕スーパーの存在、不
存在にかかわらず通常画像エリアが不自然になるのを回
避できる。ライン色判別回路20の出力をそのままセレ
クト信号とする場合、字幕スーパーが存在するときに字
幕スーパー文字だけ輪郭強調されるので、字幕スーパー
文字以外の通常画像が不自然に輪郭強調されるのを回避
できる。
In the above embodiment, the output AN of both the line position discriminating circuit 10 and the line color discriminating circuit 20 is AN.
Although D is taken and the select signals of the selectors 58, 66 and 74 are created, the line color discrimination circuit 20 is omitted and the discrimination signal output of the line position discrimination circuit 10 is directly used as the select signal. It is also possible to omit 10 and use the discrimination signal output of the line color discrimination circuit 20 as it is as the select signal. Line position determination circuit 10
When the output of is used as a select signal as it is, the contour is emphasized only in the subtitle super area, so when the subtitle super exists, the characters are easy to see, and the normal image area becomes unnatural regardless of the presence or absence of the subtitle super. Can be avoided. When the output of the line color discrimination circuit 20 is used as it is as the select signal, only the subtitle super characters are contour-emphasized when the subtitle super is present, so that it is possible to prevent the normal image other than the subtitle super characters from being unnaturally emphasized. it can.

【0035】また、ライン色判別回路20は現在のライ
ン位置に白と黒の2種類の色のみ存在するか判別するよ
うにしたが、青の背景に白文字で表した字幕スーパーな
ども有ることから、白と黒の組み合わせ以外の他の2種
類の色のみ存在するか判別するようにしても良い。ま
た、インタレース方式の映像信号に適用したり、1フレ
ームが525ライン×858画素以外の規格の映像信号
に適用することもできる。
Further, the line color discrimination circuit 20 discriminates whether or not there are only two kinds of colors, white and black, at the current line position, but there is also a subtitle supermarket represented by white characters on a blue background. Therefore, it may be determined whether there are only two types of colors other than the combination of white and black. Further, the invention can be applied to an interlaced video signal, or can be applied to a video signal of a standard other than 525 lines × 858 pixels in one frame.

【0036】また、字幕スーパーがフレームのライン位
置n=46〜106のエリアに合成される場合、ライン
位置判別回路10の比較回路14はカウンタ12の計数
値が46〜106の間、Hレベルを出力し、他の期間は
Lレベルを出力するようにすれば良い。
When the subtitle super is synthesized in the area of the line position n = 46 to 106 of the frame, the comparing circuit 14 of the line position discriminating circuit 10 keeps the H level while the count value of the counter 12 is 46 to 106. The output may be performed, and the L level may be output during other periods.

【0037】また、上記した実施例では、映像信号の走
査位置がフレームの所定エリアに入っているか判別する
判別回路の一例としてライン位置判別回路10を例に挙
げて説明したが、字幕スーパーが図10(2)に示す如
く、右端部の例えば1ライン中の778画素〜858画
素の範囲に合成される場合、ライン位置判別回路10を
図9に示す走査位置判別回路80に置き換える。走査位
置判別回路80はラインクロックLCKがプリセット端
子PRSに入力され、ピクセルクロックPCKがクロッ
ク端子に入力されるカウンタ82とカウンタ82の計数
値が778〜858の範囲に入っているか比較する比較
回路84とで構成してある。カウンタ82はラインクロ
ックLCKがLレベルになったとき、154がプリセッ
トされ、以降、ピクセルクロックPCKが入力される度
に1ずつカウントアップする。このカウンタ82の計数
値が778〜858の間に入っているとき比較回路84
からHレベルを出力し、他の期間はLレベルを出力させ
る。そして、比較回路84の出力をそのままセレクト信
号として図1の輪郭補正回路50のセレクタ58、6
6、74に入力させれば、1フレーム中の字幕スーパー
エリアだけ輪郭強調することができ、通常画のエリアは
不自然な強調がされるのを回避できる。
In the above embodiment, the line position discriminating circuit 10 has been described as an example of the discriminating circuit for discriminating whether the scanning position of the video signal is within the predetermined area of the frame. As shown in 10 (2), in the case of combining in the range of 778 to 858 pixels in one line at the right end, the line position determination circuit 10 is replaced with the scanning position determination circuit 80 shown in FIG. The scanning position determination circuit 80 compares the counter 82 to which the line clock LCK is input to the preset terminal PRS and the pixel clock PCK is input to the clock terminal, and a comparison circuit 84 for comparing whether the count value of the counter 82 is within the range of 778 to 858. It consists of and. The counter 82 is preset with 154 when the line clock LCK becomes L level, and thereafter, the counter 82 counts up by 1 each time the pixel clock PCK is input. When the count value of the counter 82 is between 778 and 858, the comparison circuit 84
To H level, and L level at other periods. Then, the output of the comparison circuit 84 is directly used as a select signal for the selectors 58 and 6 of the contour correction circuit 50 of FIG.
By inputting 6 and 74, the outline can be emphasized only in the subtitle super area in one frame, and it is possible to avoid unnatural emphasis in the normal image area.

【0038】[0038]

【発明の効果】本発明に係る輪郭補正装置によれば、映
像信号の走査位置がフレームの所定エリアに入っている
か判別し、走査位置がフレームの所定エリア内に入って
いると判別されている間、映像信号の輪郭を強調して出
力するようにしたことにより、フレーム内の字幕スーパ
ーが合成される所定エリアだけ輪郭補正されるので、字
幕スーパーが合成されないエリアについて画像が不自然
になるのを回避することができる。
According to the contour correcting apparatus of the present invention, it is determined whether the scanning position of the video signal is within the predetermined area of the frame, and it is determined that the scanning position is within the predetermined area of the frame. By emphasizing and outputting the contour of the video signal during this period, the contour is corrected only in a predetermined area in the frame where the subtitle super is synthesized, so that the image becomes unnatural in the area where the subtitle super is not synthesized. Can be avoided.

【0039】本発明に係る他の輪郭補正装置によれば、
映像信号の各ラインにつきラインの色が2種類のみか判
別し、ラインの色が2種類のみと判別されたラインにつ
き、映像信号の輪郭を強調して出力するようにしたこと
により、字幕スーパーのエリアは通常、白などの文字色
と黒などの背景色の2種類で形成されることから、フレ
ーム下部などに字幕スーパーが合成されている場合に、
字幕スーパーだけ輪郭補正されるので、字幕スーパーが
合成されていないエリアについて画像が不自然になるの
を回避することができ、また、字幕スーパーが合成され
ていない場合は、フレーム全域の画像が不自然になるの
を防止することができる。
According to another contour correction device of the present invention,
For each line of the video signal, it is determined whether there are only two types of line colors, and for lines that have been determined to have only two types of line colors, the contour of the video signal is emphasized and output. Since the area is usually formed with two types of character color such as white and background color such as black, when subtitle superimposition is combined at the bottom of the frame,
Since only the subtitle super is contour-corrected, it is possible to prevent the image from becoming unnatural in the area where the subtitle super is not combined. You can prevent it from becoming natural.

【0040】本発明に係る更に他の輪郭補正装置によれ
ば、映像信号の各ラインにつきラインの位置がフレーム
の所定エリア内か判別するとともに、映像信号の各ライ
ンにつきラインの色が2種類のみか判別し、ラインの位
置がフレームの所定エリア内に入っていると判別され、
かつ、ラインの色が2種類のみと判別されたラインにつ
き、映像信号の輪郭を強調して出力するように構成した
ことにより、字幕スーパーの合成されるエリア以外でた
またまラインの色が2種類のみとなっても、間違って輪
郭補正され不自然な画像となることはない。
According to still another contour correction device of the present invention, it is possible to determine whether the position of the line for each line of the video signal is within a predetermined area of the frame, and there are only two types of line colors for each line of the video signal. It is determined that the position of the line is within the predetermined area of the frame,
In addition, since the line of which the line color is determined to be only two types is emphasized and output, the outline of the video signal is output, so that the line color happens to be only two types outside the area where the subtitle superimposition is combined. However, there is no chance that the contour will be erroneously corrected to give an unnatural image.

【0041】本発明に係る更に他の輪郭補正装置によれ
ば、ライン色判別回路は映像信号の各ラインにつきライ
ンの色が予め定められた特定の2種類の色のみか判別す
るようにし、この際、特定の2種類の色以外の色の継続
する期間が一定以下のとき、この特定の2種類の色以外
の色の存在を無視するように構成したことにより、字幕
スーパーが特定の文字色と特定の背景色で形成されてい
るが、映像信号のなまりにより文字と背景の境界部分で
文字色から背景色へ、これら文字色や背景色と異なる色
となって変化していても、確実に字幕スーパーのライン
を判別し、該字幕スーパーの輪郭補正を行うことができ
る。
According to still another contour correction device of the present invention, the line color discrimination circuit discriminates for each line of the video signal whether the color of the line is only two predetermined specific colors. At this time, when the duration of the color other than the specific two types of color is less than a certain period, the subtitle super is configured to ignore the existence of the color other than the specific two types of colors, so that the subtitle super However, even if the character color changes from the character color to the background color at the boundary between the character and the background due to the rounding of the video signal, it is certain that the character color and the background color will change. It is possible to determine the line of the subtitle super and to perform contour correction of the subtitle super.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例に係る輪郭補正装置の回路図
である。
FIG. 1 is a circuit diagram of a contour correction device according to an embodiment of the present invention.

【図2】映像信号の規格の説明図である。FIG. 2 is an explanatory diagram of a video signal standard.

【図3】ライン位置判別回路の動作を示すタイムチャー
トである。
FIG. 3 is a time chart showing the operation of the line position determination circuit.

【図4】字幕スーパーにおけるライン色判別回路の動作
を示すタイムチャートである。
FIG. 4 is a time chart showing an operation of a line color discrimination circuit in a subtitle supermarket.

【図5】字幕スーパーにおける輪郭補正回路の動作を示
すタイムチャートである。
FIG. 5 is a time chart showing the operation of the contour correction circuit in the subtitle supermarket.

【図6】字幕スーパー以外におけるライン色判別回路の
動作を示すタイムチャートである。
FIG. 6 is a time chart showing the operation of the line color discrimination circuit other than the subtitle supermarket.

【図7】字幕スーパー以外における輪郭補正回路の動作
を示すタイムチャートである。
FIG. 7 is a time chart showing the operation of the contour correction circuit other than the subtitle supermarket.

【図8】字幕スーパーにおける走査動作の説明図であ
る。
FIG. 8 is an explanatory diagram of a scanning operation in a subtitle supermarket.

【図9】本発明の変形例に係る走査位置判別回路の回路
図である。
FIG. 9 is a circuit diagram of a scanning position determination circuit according to a modified example of the present invention.

【図10】字幕スーパーを含む映像フレームの説明図で
ある。
FIG. 10 is an explanatory diagram of a video frame including a subtitle super.

【符号の説明】[Explanation of symbols]

10 ライン位置判別回路 20 ライン色判
別回路 50 輪郭補正回路 80 走査位置判
別回路
10 line position discrimination circuit 20 line color discrimination circuit 50 contour correction circuit 80 scanning position discrimination circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 映像信号の走査位置がフレームの所定エ
リアに入っているか判別する判別回路と、 判別回路で走査位置がフレームの所定エリア内に入って
いると判別されている間、映像信号の輪郭を強調して出
力する輪郭補正回路と、 を備えたことを特徴とする輪郭補正装置。
1. A discriminating circuit for discriminating whether a scanning position of a video signal is within a predetermined area of a frame, and a discriminating circuit for discriminating the video signal while the scanning position is discriminated as being within a predetermined area of the frame. A contour correction device comprising: a contour correction circuit for emphasizing and outputting a contour;
【請求項2】 映像信号の各ラインにつきラインの色が
2種類のみか判別するライン色判別回路と、 ライン色判別回路でラインの色が2種類のみと判別され
たラインにつき、映像信号の輪郭を強調して出力する輪
郭補正回路と、 を備えたことを特徴とする輪郭補正装置。
2. A line color discriminating circuit for discriminating only two types of line colors for each line of the video signal, and a contour of the video signal for each line discriminated by the line color discriminating circuit as having only two types of line colors. And a contour correction circuit that emphasizes and outputs the contour correction circuit.
【請求項3】 映像信号の各ラインにつきラインの位置
がフレームの所定エリア内か判別するライン位置判別回
路と、 映像信号の各ラインにつきラインの色が2種類のみか判
別するライン色判別回路と、 ライン位置判別回路でラインの位置がフレームの所定エ
リア内に入っていると判別され、かつ、ライン色判別回
路でラインの色が2種類のみと判別されたラインにつ
き、映像信号の輪郭を強調して出力する輪郭補正回路
と、 を備えたことを特徴とする輪郭補正装置。
3. A line position discriminating circuit for discriminating whether each line of the video signal is within a predetermined area of the frame, and a line color discriminating circuit for discriminating whether each line of the video signal has only two types of line colors. , The line position discriminating circuit discriminates that the position of the line is within a predetermined area of the frame, and the line color discriminating circuit discriminates only two types of line colors. And a contour correction circuit for outputting the contour correction circuit.
【請求項4】 ライン色判別回路は映像信号の各ライン
につきラインの色が予め定められた特定の2種類のみで
形成されているか判別するようにし、この際、特定の2
種類の色以外の色の継続する期間が一定以下のとき、こ
の特定の2種類の色以外の色の存在を無視するようにし
たこと、 を特徴とする請求項2または3記載の輪郭補正装置。
4. The line color discriminating circuit discriminates for each line of the video signal whether or not the line color is formed by only two predetermined types.
The contour correction device according to claim 2 or 3, wherein the presence of a color other than the specific two types of colors is ignored when the duration of the color other than the types of colors is less than a certain period. .
JP6335909A 1994-12-24 1994-12-24 Contour correction device Pending JPH08181889A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6335909A JPH08181889A (en) 1994-12-24 1994-12-24 Contour correction device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6335909A JPH08181889A (en) 1994-12-24 1994-12-24 Contour correction device

Publications (1)

Publication Number Publication Date
JPH08181889A true JPH08181889A (en) 1996-07-12

Family

ID=18293730

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6335909A Pending JPH08181889A (en) 1994-12-24 1994-12-24 Contour correction device

Country Status (1)

Country Link
JP (1) JPH08181889A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007053539A (en) * 2005-08-17 2007-03-01 Pentax Corp Outline highlighting processing unit

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007053539A (en) * 2005-08-17 2007-03-01 Pentax Corp Outline highlighting processing unit
US7860329B2 (en) 2005-08-17 2010-12-28 Hoya Corporation Edge enhancement processing unit, endoscope processor, and computer program product
JP4694306B2 (en) * 2005-08-17 2011-06-08 Hoya株式会社 Outline enhancement processing unit

Similar Documents

Publication Publication Date Title
US6621927B1 (en) Apparatus for detecting position of featuring region of picture, such as subtitle or imageless part
JP3429842B2 (en) Image information detection device for video signal
JP2979497B2 (en) Video display control device and video display control method
JP4001110B2 (en) Scan conversion device
JPH08181889A (en) Contour correction device
JP5188272B2 (en) Video processing apparatus and video display apparatus
JPH0918802A (en) Video signal processor
JP3232950B2 (en) Video type identification device, automatic aspect ratio identification device and television receiver using the same
JPH04347980A (en) Caption addition device
JP3299838B2 (en) Wide aspect television display
JPH0758973A (en) Aspect ratio discrimination device and video display device
JP3279803B2 (en) Video signal processing circuit
JP3925381B2 (en) Video signal processing circuit
JP2902837B2 (en) Image detection circuit
JP4019503B2 (en) Video signal processing apparatus and video signal processing method
JP3241539B2 (en) Video signal processing circuit
JP3144226B2 (en) Screen size adjustment device and aspect detection method
JPH09214846A (en) Video signal processor
JP3469308B2 (en) Letterbox screen detector
JPH07298200A (en) Letter box screen detector
WO1997008889A1 (en) Caption moving
JP3263980B2 (en) Identification signal discriminating apparatus, television receiver and video tape recorder including the same
JPH0440795A (en) Movement adaptive signal processing circuit
JPH08251494A (en) Letter box image detector
EP0541211A1 (en) Video system for superimposing character patterns on a video signal