JP3133615B2 - Television receiver - Google Patents

Television receiver

Info

Publication number
JP3133615B2
JP3133615B2 JP06182366A JP18236694A JP3133615B2 JP 3133615 B2 JP3133615 B2 JP 3133615B2 JP 06182366 A JP06182366 A JP 06182366A JP 18236694 A JP18236694 A JP 18236694A JP 3133615 B2 JP3133615 B2 JP 3133615B2
Authority
JP
Japan
Prior art keywords
image
line
data
determined
video source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP06182366A
Other languages
Japanese (ja)
Other versions
JPH0846890A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP06182366A priority Critical patent/JP3133615B2/en
Publication of JPH0846890A publication Critical patent/JPH0846890A/en
Application granted granted Critical
Publication of JP3133615B2 publication Critical patent/JP3133615B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明はテレビジョン受像機に
関し、特にたとえばいわゆるワイドTVなどに用いら
れ、入力される映像信号のアスペクト比とは異なるアス
ペクト比の画面にその映像信号から得られる画像を表示
する、テレビジョン受像機に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a television receiver, and more particularly, to a television receiver, for example, which is used for a so-called wide-screen TV, and displays an image obtained from a video signal on a screen having an aspect ratio different from that of an input video signal. The present invention relates to a television receiver for displaying.

【0002】[0002]

【従来の技術】従来技術として、アスペクト比4:3の
映像ソースであるか、アスペクト比4:3以外の映像ソ
ースであるかを判別する技術がある。この技術を用いれ
ば、ビスタサイズやシネマスコープサイズ(以下、単に
「シネスコサイズ」という)等、画面の上下に無画像領
域ができる映像ソースであっても、無画像領域を少なく
見せることができる。
2. Description of the Related Art As a conventional technique, there is a technique for determining whether a video source has an aspect ratio of 4: 3 or a video source having an aspect ratio other than 4: 3. By using this technique, even a video source having a non-image area above and below the screen, such as a Vista size or a cinemascope size (hereinafter, simply referred to as "cinesco size"), can show a small number of non-image areas.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、無画像
領域の幅に関係なく一様に表示モードを切り換えていた
ので、無画像領域の幅によっては、表示モードを切り換
えた後も無画像領域が残ったり、あるいは画像の一部が
欠損するということが発生していた。また、画像領域外
に字幕の出る映像ソースでは、字幕の判定を行わないた
め字幕が欠損する可能性があった。
However, since the display mode is switched uniformly regardless of the width of the non-image area, the non-image area remains even after the display mode is switched depending on the width of the non-image area. Or a part of the image is lost. Further, in a video source in which subtitles appear outside the image area, subtitles are not determined because subtitles are not determined.

【0004】具体的な例を示す。図14を参照して、従
来の表示モード自動切り換え動作の一例を説明する。図
14において、(a)から(h)までの部分を画面一杯
に映し出すモード(以下、単に「モード1」という)
と、(c)から(f)までの部分を画面一杯に映し出す
モード(以下、単に「モード2」という)との2通りの
表示モードを有するとする。
A specific example will be described. An example of a conventional display mode automatic switching operation will be described with reference to FIG. In FIG. 14, a mode in which the portion from (a) to (h) is displayed on the entire screen (hereinafter, simply referred to as “mode 1”)
It is assumed that there are two display modes, i.e., a mode (hereinafter, simply referred to as "mode 2") in which a portion from (c) to (f) is displayed on a full screen.

【0005】このとき、(b)から(g)までが画像領
域であり、かつ(a)から(b)までおよび(g)から
(h)までは無画像領域の映像ソースの場合に、表示モ
ード自動切り換えを行うと、無画像領域が存在するので
モード2に切り換えられる。すると、(b)から(c)
までおよび(f)から(g)までの部分の画像が欠損し
てしまう。
[0005] At this time, when the image source is in the image area from (b) to (g) and the image source is in the non-image area from (a) to (b) and from (g) to (h), When the mode is automatically switched, the mode is switched to mode 2 because there is a non-image area. Then, (b) to (c)
And the images of the parts (f) to (g) are lost.

【0006】また、(d)から(e)までが画像領域で
あり、かつ(a)から(d)までおよび(e)から
(h)までは無画像領域の映像ソースの場合に、表示モ
ード自動切り換えを行うと、無画像領域が存在するので
モード2に切り換えられる。すると、(c)から(d)
までおよび(e)から(f)までの部分の無画像領域が
画面に表示されてしまう。
Further, in the case where the image source is in the image area from (d) to (e) and the image source is in the non-image area from (a) to (d) and from (e) to (h), When the automatic switching is performed, the mode is switched to the mode 2 because the non-image area exists. Then, from (c) to (d)
The non-image areas up to and from (e) to (f) are displayed on the screen.

【0007】次に、字幕のある映像ソースの一例を挙げ
る。(d)から(e)まで画像領域でありかつ(e)か
ら(g)までが字幕部、それ以外の(a)から(d)ま
でおよび(g)から(h)までが無画像領域とする。こ
のとき、表示モード自動切り換え動作を行うと、モード
2となり、(c)から(f)までを画面一杯に映し出す
ため、字幕の一部((f)から(g)まで)が欠損して
しまう。
Next, an example of a video source having subtitles will be described. (D) to (e) are image areas, and (e) to (g) are subtitles, and (a) to (d) and (g) to (h) are non-image areas. I do. At this time, if the display mode automatic switching operation is performed, the mode becomes the mode 2 and (c) to (f) are completely displayed on the screen, so a part of the subtitles (from (f) to (g)) is lost. .

【0008】それゆえに、この発明の主たる目的は、各
映像ソースに応じた表示モードで画面に画像を表示でき
る、テレビジョン受像機を提供することである。
[0008] Therefore, a main object of the present invention is to provide a television receiver which can display an image on a screen in a display mode corresponding to each video source.

【0009】[0009]

【課題を解決するための手段】本発明は、テレビジョン
信号及び映像再生装置から発生する映像信号を出力する
映像ソースと、該映像ソースからの映像信号の輝度レベ
ルを検出する映像信号レベル検出手段、前記映像信号レ
ベル検出手段の出力に基づいて表示画面上の画像のない
領域とある領域を判別し、画像開始ラインおよび画像終
了ラインを検出するとともに、所定時間再生された前記
映像ソースでの画像開始ライン及び画像終了ラインの検
出出力に基づいて決定された確定画像開始ライン及び確
定画像終了ラインを検出するライン検出手段、前記ライ
ン検出手段の確定開始ライン及び確定終了ラインの出力
に基づいて前記映像ソースのサイズがシネマスコープサ
イズ、ビスタサイズ、それら以外のサイズのいずれであ
るかを判別する映像ソース判別手段と、前記ライン検出
手段で検出される前記画像開始ラインが前記確定画像開
始ラインに比して略一定であり且つ前記ライン検出手段
で検出される前記画像終了ラインの輝度レベルが前記確
定画像終了ラインの輝度レベルに対して大きくなる方向
に変化すると、前記映像ソースに字幕がない状態から字
幕がある状態に変化したことを検知する字幕判別手段
と、前記映像ソース判別手段の出力及び前記字幕判別手
段の出力に応じて各映像ソース毎に一義的に決定される
表示モードで画像を画面に表示する表示調整手段を備え
るテレビジョン受像機である。
SUMMARY OF THE INVENTION The present invention provides a video source for outputting a television signal and a video signal generated from a video reproducing apparatus, and a video signal level detecting means for detecting a luminance level of the video signal from the video source. Determining a non-image area and a certain area on the display screen based on the output of the video signal level detection means, detecting an image start line and an image end line, and reproducing the image at the video source for a predetermined time. A line detecting means for detecting a fixed image start line and a fixed image end line determined based on the detection output of the start line and the image end line, and the image based on the fixed start line and the fixed end line output of the line detecting means. An image that determines whether the source size is cinemascope size, Vista size, or any other size A source determination unit, wherein the image start line detected by the line detection unit is substantially constant as compared with the confirmed image start line, and the luminance level of the image end line detected by the line detection unit is determined by the determination unit; A subtitle discriminating means for detecting that the video source has changed from a state without subtitles to a state with subtitles when the luminance level of the image end line increases, and an output of the video source determining means and A television receiver includes a display adjustment unit that displays an image on a screen in a display mode uniquely determined for each video source according to an output of a caption determination unit.

【0010】[0010]

【作用】映像信号検出手段によって検出された映像信号
に基づいて、ライン検出手段で画像開始ラインおよび画
像終了ラインを検出する。これらのラインに基づいて、
映像ソース判別手段で映像ソースのサイズが、シネスコ
サイズ,ビスタサイズ,それら以外のサイズのいずれで
あるかを判別する。また、映像ソース判別手段は、画像
開始ラインが一定でありかつ画像終了ラインが大きくな
る方向に変化すると、字幕があることを検知する。字幕
があることを検知すれば、表示調整手段は、画像を上方
に移動させ、字幕の一部が欠損しないようにする。その
後、表示調整手段は字幕の有無に拘わらず表示モードを
変化させないようにする。
According to the present invention, an image start line and an image end line are detected by the line detecting means based on the video signal detected by the video signal detecting means. Based on these lines,
The video source determining means determines whether the size of the video source is a Sinesco size, a Vista size, or any other size. When the image start line is constant and the image end line changes in a direction in which the image end line increases, the video source determination unit detects that there is a caption. When detecting that there is a subtitle, the display adjustment unit moves the image upward to prevent a part of the subtitle from being lost. Thereafter, the display adjusting means does not change the display mode regardless of the presence or absence of the caption.

【0011】[0011]

【発明の効果】この発明によれば、映像ソースをより正
確に判別できるので、従来よりさらに最適な表示モード
で画像を表示できるような自動切り換えを実現できる。
また、画像領域外に字幕があることを検知できるので、
画像領域だけでなく字幕部分を含めて自動的に最適な表
示モードに切り換えることができる。さらに、字幕があ
ることを検知した後は、字幕の有無に拘わらず表示モー
ドを変化させない。特に、「字幕あり」から「字幕な
し」に変化したときに表示モードを変化させないことに
より、不必要に画像の大きさが切り換わることがなくな
り、「字幕あり」ソフトを最適な表示モード自動切り換
えで楽しむことができる。
According to the present invention, since the video source can be more accurately determined, automatic switching can be realized so that an image can be displayed in a more optimal display mode than before.
Also, since it is possible to detect the presence of subtitles outside the image area,
It is possible to automatically switch to the optimum display mode including not only the image area but also the subtitle part. Further, after detecting that there is a subtitle, the display mode is not changed regardless of the presence or absence of the subtitle. In particular, the display mode is not changed when "subtitles" are changed to "no subtitles", so that the image size does not needlessly switch, and the "subtitles" software automatically switches to the optimal display mode You can enjoy it.

【0012】この発明の上述の目的,その他の目的,特
徴および利点は、図面を参照して行う以下の実施例の詳
細な説明から一層明らかとなろう。
The above objects, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

【0013】[0013]

【実施例】この実施例のテレビジョン受像機10は、い
わゆるワイドTVとして構成されるものとして、以下説
明するが、それに限定されないことはいうまでもない。
図1(A)を参照して、この実施例のテレビジョン受像
機10は選択スイッチ12を含む。選択スイッチ12に
は、受信回路(図示せず)で復調されたテレビジョン信
号が入力端子14から入力され、ビデオ再生装置等の映
像再生装置(図示せず)からの復号映像(コンポジット
ビデオ)信号が入力端子16から入力され、輝度/カラ
ー分離(Y/C分離)された輝度(Y)信号が入力端子
18から入力され、さらに、Y/C分離されたカラー
(C)信号が入力端子20から入力される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The television receiver 10 of this embodiment will be described below as being constituted as a so-called wide TV, but it is needless to say that the invention is not limited to this.
Referring to FIG. 1A, a television receiver 10 of this embodiment includes a selection switch 12. A television signal demodulated by a receiving circuit (not shown) is input from an input terminal 14 to a selection switch 12, and a decoded video (composite video) signal from a video playback device (not shown) such as a video playback device is input to the selection switch 12. Is input from an input terminal 16, a luminance (Y) signal separated by luminance / color (Y / C separation) is input from an input terminal 18, and a color (C) signal separated by Y / C is input to an input terminal 20. Is entered from

【0014】そして、選択スイッチ12では、たとえば
選局CPU等の選択切り換え用の回路(この実施例で
は、メインCPU30が兼ねる)からの制御信号によっ
て、入力された入力信号から任意の信号を選択し、輝度
信号およびカラー信号として出力する。選択スイッチ1
2に入力されたテレビジョン信号やコンポジットビデオ
信号等の復号映像信号は、Y/C分離回路22に与えら
れ、選択スイッチ12からの出力に合わせるために輝度
信号とカラー信号とに分離される。また、選択スイッチ
12からの輝度信号およびカラー信号は、ビデオクロマ
処理回路24に与えられ、同期分離が行われ、水平同期
信号と垂直同期信号とが分離・出力されるとともに、
R,G,B信号に変換処理され、出力される。ビデオク
ロマ処理回路24からのR,G,B信号は、CRT駆動
回路26に与えられ、それらの信号に基づいてCRT2
8が駆動される。
The selection switch 12 selects an arbitrary signal from the input signals input by a control signal from a selection switching circuit (for example, the main CPU 30 in this embodiment) such as a channel selection CPU. , And output as a luminance signal and a color signal. Select switch 1
The decoded video signal, such as a television signal or a composite video signal, input to 2 is supplied to a Y / C separation circuit 22 and separated into a luminance signal and a color signal in order to match the output from the selection switch 12. The luminance signal and the color signal from the selection switch 12 are supplied to a video chroma processing circuit 24, where synchronization separation is performed, and a horizontal synchronization signal and a vertical synchronization signal are separated and output.
The signals are converted into R, G, and B signals and output. The R, G, B signals from the video chroma processing circuit 24 are applied to a CRT driving circuit 26, and the CRT 2
8 is driven.

【0015】また、ビデオクロマ処理回路24からの水
平同期信号,垂直同期信号はメインCPU30に与えら
れる。メインCPU30には画像領域検出回路42(後
述)からクロックやシリアルデータも与えられる。メイ
ンCPU30は、シリアルデータに含まれる画像開始ラ
インおよび画像終了ライン(ともに後述)から映像ソー
スの総走査線数(垂直サイズ)、および映像ソースのセ
ンタが走査線何ライン目か(垂直センタ)を知ることが
でき、さらに、画面中央部の画像の有無を知ることがで
きる。したがって、メインCPU30は、これらの信号
に基づいて各種演算処理を行った結果、アスペクト比等
の表示モードを切り換えるためにビデオクロマ処理回路
24にクロックおよびコントロール信号を与える。この
クロックおよびコントロール信号に基づいて、ビデオク
ロマ処理回路24からは、垂直偏向信号,水平偏向信
号,およびS字補正信号が出力される。これらの制御信
号は、偏向回路32の垂直発振回路34および水平発振
回路36に与えられる。垂直発振回路34および水平発
振回路36の出力は、それぞれ垂直ドライブ出力回路3
8および水平ドライブ出力回路40に与えられ、垂直ド
ライブ出力回路38および水平ドライブ出力回路40に
よってCRT28が制御され、CRT28には画像が表
示される。
The horizontal synchronizing signal and the vertical synchronizing signal from the video chroma processing circuit 24 are given to the main CPU 30. The main CPU 30 is also supplied with a clock and serial data from an image area detection circuit 42 (described later). The main CPU 30 determines the total number of scanning lines (vertical size) of the video source from the image start line and the image end line (both are described later) included in the serial data, and the number of the scanning line of the video source (vertical center). It is possible to know the presence or absence of an image at the center of the screen. Therefore, as a result of performing various arithmetic processing based on these signals, the main CPU 30 supplies a clock and control signal to the video chroma processing circuit 24 to switch a display mode such as an aspect ratio. Based on the clock and the control signal, the video chroma processing circuit 24 outputs a vertical deflection signal, a horizontal deflection signal, and an S-shaped correction signal. These control signals are supplied to the vertical oscillation circuit 34 and the horizontal oscillation circuit 36 of the deflection circuit 32. The outputs of the vertical oscillation circuit 34 and the horizontal oscillation circuit 36 are respectively connected to the vertical drive output circuit 3
8 and the horizontal drive output circuit 40, the CRT 28 is controlled by the vertical drive output circuit 38 and the horizontal drive output circuit 40, and an image is displayed on the CRT 28.

【0016】また、メインCPU30は、ROM30a
およびRAM30bを含む。ROM30aには、各映像
ソース毎のデータが格納されている。映像ソースのサイ
ズがシネスコサイズのときには、垂直センタ(走査線
数)が139本目であり、垂直サイズ(走査線数)が走
査線70本目から208本目までの合計139本に画像
を表示できるように、これらに応じた垂直センタデータ
および垂直サイズデータが設定される。また、映像ソー
スのサイズがビスタサイズのときには、垂直センタが1
39本目であり、垂直サイズが走査線56本目から22
2本目までの合計167本に画像が表示されるように、
これらに応じた垂直センタデータおよび垂直サイズデー
タが設定される。
The main CPU 30 has a ROM 30a.
And a RAM 30b. The ROM 30a stores data for each video source. When the size of the video source is the Cinesco size, the vertical center (the number of scanning lines) is 139 and the vertical size (the number of scanning lines) is such that the image can be displayed on a total of 139 lines from the 70th to 208th scanning lines. , Vertical center data and vertical size data corresponding to these are set. When the size of the video source is the Vista size, the vertical center is 1
The 39th line and the vertical size is 22 lines from the 56th line
In order to display images on a total of 167 lines up to the second line,
Vertical center data and vertical size data corresponding to these are set.

【0017】また、映像ソースが字幕を有していれば、
走査線で11本分、画像を上方へ移動(スクロール)さ
せるので、それに応じた垂直センタデータが設定され
る。映像ソースのサイズが4:3画像のときには、垂直
センタが139本目であり、垂直サイズが走査線39本
目から237本目までの合計199本に画像が表示され
るように、それらに応じた垂直センタデータおよび垂直
サイズデータが設定される。
If the video source has subtitles,
Since the image is moved upward (scrolled) by 11 scanning lines, vertical center data is set accordingly. When the size of the video source is 4: 3 image, the vertical center is the 139th line, and the vertical size corresponding to the 139th line is such that the image is displayed on a total of 199 lines from the 39th line to the 237th line. Data and vertical size data are set.

【0018】このような映像ソース毎の垂直センタデー
タおよび垂直サイズデータがROM30aに格納され
る。また、ROM30aには、映像ソース毎の所定の水
平センタデータや水平サイズデータが格納される。な
お、ROM30aの代わりに不揮発性メモリが用いられ
てもよい。
Such vertical center data and vertical size data for each video source are stored in the ROM 30a. The ROM 30a stores predetermined horizontal center data and horizontal size data for each video source. Note that a nonvolatile memory may be used instead of the ROM 30a.

【0019】これらのデータがコントロール信号とし
て、ビデオクロマ処理回路24へ出力される。また、R
AM30bには、字幕フラグが格納される。字幕フラグ
には、「字幕あり」か「字幕なし」かが設定される。な
お、RAM30bの代わりに、不揮発性メモリが用いら
れてもよい。また、画像領域検出回路42は、選択スイ
ッチ12からの輝度信号,ビデオクロマ処理回路24か
らの水平同期信号,垂直同期信号,およびメインCPU
40からの黒レベル閾値等の設定データに基づいて、無
画像領域と画像領域とを検出する。
These data are output to the video chroma processing circuit 24 as control signals. Also, R
The subtitle flag is stored in the AM 30b. The subtitle flag is set to “with subtitle” or “without subtitle”. Note that a nonvolatile memory may be used instead of the RAM 30b. Further, the image area detection circuit 42 includes a luminance signal from the selection switch 12, a horizontal synchronization signal and a vertical synchronization signal from the video chroma processing circuit 24, and a main CPU.
A non-image area and an image area are detected based on setting data such as a black level threshold value from 40.

【0020】この画像領域検出回路42は、たとえば図
1(B)に示すように構成される。画像領域検出回路4
2は、入力端子44,46および48を含む。入力端子
44からは、選択スイッチ12からの輝度信号が入力さ
れ、入力端子46にはビデオクロマ処理回路24からの
水平同期信号が入力され、入力端子48にはビデオクロ
マ処理回路24からの垂直同期信号が入力される。
The image area detection circuit 42 is configured, for example, as shown in FIG. Image area detection circuit 4
2 includes input terminals 44, 46 and 48. A luminance signal from the selection switch 12 is input from an input terminal 44, a horizontal synchronization signal from the video chroma processing circuit 24 is input to an input terminal 46, and a vertical synchronization signal from the video chroma processing circuit 24 is input to an input terminal 48. A signal is input.

【0021】そして、入力端子44に入力された輝度信
号は、LPF50に与えられ、輝度信号のノイズ成分が
除去される。LPF50で信号処理された輝度信号はA
/D変換回路52に与えられる。また入力端子46から
の水平同期信号はクランプパルス発生回路54に与えら
れ、クランプパルス発生回路54では水平同期信号に基
づいてクランプパルスが作成される。このクランプパル
スはA/D変換回路52に与えられる。A/D変換回路
52では、輝度信号のペデスタルクランプが行われ、そ
して輝度信号がその白/黒レベルに応じて6ビットのデ
ィジタル信号に変換される。そして、ディジタルに変換
された輝度信号の上位5ビットが画像領域検出用CPU
56に与えられる。また、画像領域検出用CPU56に
は、入力端子46からの水平同期信号,入力端子48か
らの垂直同期信号,および入力端子58からの設定デー
タが与えられる。そして、画像領域検出用CPU56
は、入力されたデータに基づき、画像領域を検出する。
The luminance signal input to the input terminal 44 is supplied to the LPF 50, and the noise component of the luminance signal is removed. The luminance signal processed by the LPF 50 is A
/ D conversion circuit 52. The horizontal synchronizing signal from the input terminal 46 is supplied to a clamp pulse generating circuit 54, which generates a clamp pulse based on the horizontal synchronizing signal. This clamp pulse is applied to the A / D conversion circuit 52. In the A / D conversion circuit 52, the luminance signal is pedestal clamped, and the luminance signal is converted into a 6-bit digital signal according to the white / black level. The upper 5 bits of the digitally converted luminance signal are used as an image area detection CPU.
56. The image area detection CPU 56 is supplied with a horizontal synchronization signal from the input terminal 46, a vertical synchronization signal from the input terminal 48, and setting data from the input terminal 58. Then, the image area detecting CPU 56
Detects an image area based on input data.

【0022】そして、画像領域検出用CPU56の出力
は、2本の出力端子60および62を用いてシリアル送
信され、メインCPU30に与えられる。また、画像領
域検出用CPU56からは、垂直同期信号と水平同期信
号とに基づくクロックが出力され、このクロックはA/
D変換回路52に与えられる。したがって、A/D変換
回路52では、このクロックのタイミングでA/D変換
が行われる。なお、画像領域検出回路42とメインCP
U30との間の送受信方法は、上述の方法に限らない。
The output of the image area detecting CPU 56 is serially transmitted using two output terminals 60 and 62 and is given to the main CPU 30. Further, a clock based on the vertical synchronizing signal and the horizontal synchronizing signal is output from the image area detecting CPU 56, and this clock is A / A
It is provided to a D conversion circuit 52. Therefore, the A / D conversion circuit 52 performs A / D conversion at the timing of this clock. The image area detection circuit 42 and the main CP
The transmission / reception method with the U30 is not limited to the method described above.

【0023】なお、ディジタル信号の上位5ビットを使
用しているのは、下位1ビットはノイズ等に影響され、
不安定であるためである。しかも±1ビットは誤差とし
て処理して、その範囲内であれば同一データとして扱っ
ている。したがって、たとえば(00010X)を基準
データとすると、(00001X)および(00011
X)は基準データと同一であると判別される。ここで、
Xは6ビット目のデータであり、“0”でも“1”でも
かまわない。なお、A/D変換回路42からのデータと
しては5ビットでなくてもよく、最下位ビットの切り捨
ても任意でよい。また、誤差も必ずしも±1ビットでな
くてもよい。
The reason that the upper 5 bits of the digital signal are used is that the lower 1 bit is affected by noise and the like.
This is because it is unstable. Moreover, ± 1 bit is processed as an error, and within the range, it is treated as the same data. Therefore, for example, when (00010X) is used as reference data, (00001X) and (00011X)
X) is determined to be the same as the reference data. here,
X is the sixth bit data, which may be "0" or "1". Note that the data from the A / D conversion circuit 42 need not be 5 bits, and the truncation of the least significant bit may be arbitrary. Also, the error need not necessarily be ± 1 bit.

【0024】このような画像領域検出回路42は、より
具体的には図2に示すように構成される。図2を参照し
て、入力端子44から入力された輝度信号は、LPF5
0に含まれるコンデンサ64で直流カットされ、抵抗6
6および68による抵抗分割によって所定値にバイアス
され、トランジスタ70でインピーダンス変換される。
そして、コイル72とコンデンサ74とを含むフィルタ
で輝度信号の低域成分のみが抽出され、トランジスタ7
6でインピーダンス変換される。これらによってLPF
50が構成され、輝度信号の低域成分のみが抽出され
る。LPF50としては、弱電界ノイズや不要なパルス
ノイズの影響をなくすように、たとえば200〜300
kHz程度の通過帯域が設定されている。
Such an image area detection circuit 42 is more specifically configured as shown in FIG. Referring to FIG. 2, the luminance signal input from input terminal 44 is an LPF 5
DC cut by the capacitor 64 included in the
The bias is biased to a predetermined value by the resistance division by 6 and 68, and the impedance is converted by the transistor 70.
Then, only a low-frequency component of the luminance signal is extracted by the filter including the coil 72 and the capacitor 74, and the transistor 7
The impedance is converted at 6. LPF by these
50, and only the low-frequency component of the luminance signal is extracted. The LPF 50 is, for example, 200 to 300 so as to eliminate the influence of weak electric field noise and unnecessary pulse noise.
A pass band of about kHz is set.

【0025】このLPF50の出力は、A/D変換回路
52を構成するIC(たとえば、三洋電機株式会社製:
LC7480)の6ピンに入力される。一方、入力端子
46に入力された水平同期信号は、ショットICで構成
されるIC(たとえば、SN74LS123)を含むク
ランプパルス生成回路54の2ピンに入力され、クラン
プパルスが5ピンから出力され、A/D変換回路52の
12ピンに入力される。
The output of the LPF 50 is supplied to an IC (for example, manufactured by Sanyo Electric Co., Ltd.) constituting the A / D conversion circuit 52.
LC7480) is input to pin 6. On the other hand, the horizontal synchronizing signal input to the input terminal 46 is input to pin 2 of the clamp pulse generating circuit 54 including an IC (for example, SN74LS123) composed of a shot IC, and the clamp pulse is output from pin 5 to A. It is input to pin 12 of the / D conversion circuit 52.

【0026】ここで、クランプパルス生成回路54は、
2ピンに入力された水平同期信号に同期して、パルスを
13ピンから出力し、9ピンに再入力する。この13ピ
ンから出力されるパルスは、14ピンおよび15ピンに
接続された抵抗78およびコンデンサ80を含む時定数
回路で設定される。そして、6ピンおよび7ピンに接続
された抵抗82およびコンデンサ84を含む時定数回路
で設定されたパルスがクランプパルスとして、5ピンか
ら出力される。このクランプパルスは、映像信号中のペ
デスタルレベルの位置と一致しており、その位置のレベ
ルを基準レベルとするようA/D変換回路52でクラン
プを行うために用いられる。
Here, the clamp pulse generation circuit 54
In synchronization with the horizontal synchronizing signal input to pin 2, a pulse is output from pin 13 and input again to pin 9. The pulse output from the 13th pin is set by a time constant circuit including a resistor 78 and a capacitor 80 connected to the 14th and 15th pins. Then, a pulse set by a time constant circuit including a resistor 82 and a capacitor 84 connected to pins 6 and 7 is output from pin 5 as a clamp pulse. This clamp pulse coincides with the position of the pedestal level in the video signal, and is used for clamping by the A / D conversion circuit 52 so that the level at that position is used as a reference level.

【0027】クランプパルスでクランプされた映像信号
は6ビットのディジタル輝度信号にA/D変換され、A
/D変換回路52の13ピンから18ピンまでの端子か
ら上位ビットより順に出力される。また、A/D変換の
タイミングクロックは、画像領域検出用CPU56(た
とえば、三菱電機株式会社製:M34225)の発振器
として27ピンおよび28ピンに接続された発振子(O
SC)86からのクロックに基づいて、プログラムによ
って作成され、画像領域検出用CPU56の12ピンか
ら出力される。そして、そのタイミングクロックは、A
/D変換回路52の20ピンにクロックとして入力され
る。このクロックはデータを取り込むためのタイミング
パルスとなる。
The video signal clamped by the clamp pulse is A / D-converted into a 6-bit digital luminance signal.
The signals are output in order from the higher order bits from the 13th to 18th terminals of the / D conversion circuit 52. The A / D conversion timing clock is supplied to an oscillator (O) connected to pins 27 and 28 as an oscillator of an image area detection CPU 56 (for example, M34225 manufactured by Mitsubishi Electric Corporation).
SC) 86, which is generated by a program based on the clock, and is output from the 12th pin of the CPU 56 for image area detection. And the timing clock is A
The clock is input to pin 20 of the / D conversion circuit 52. This clock is a timing pulse for taking in data.

【0028】また、6ビットのディジタル輝度信号は上
位5ビットが画像領域検出用CPU56の11ピン,1
0ピン,9ピン,8ピン,6ピンに上位ビットから順に
入力される。そして、画像領域検出用CPU56で、後
述する画像領域検出処理が行われ、24ピンからクロッ
クが、25ピンからシリアルデータが、それぞれメイン
CPU30へ転送される。なお、メインCPU30から
の設定データ(シリアルデータ)は26ピンに入力され
る。
The upper 5 bits of the 6-bit digital luminance signal correspond to pins 11 and 1 of the CPU 56 for image area detection.
The data is sequentially input to the 0th, 9th, 8th, and 6th pins from the upper bit. Then, an image area detection process, which will be described later, is performed by the image area detection CPU 56, and the clock is transferred from the 24th pin and the serial data is transferred to the main CPU 30 from the 25th pin. The setting data (serial data) from the main CPU 30 is input to pin 26.

【0029】メインCPU30では、そのデータに基づ
いて映像ソースのアスペクト比判別処理が行われ、コン
トロール信号およびクロックがビデオクロマ処理回路2
4に与えられる。ビデオクロマ処理回路24は、入力さ
れた信号に基づいて、垂直偏向信号,水平偏向信号およ
びS字補正信号を出力し、偏向回路32を制御する。し
たがって、偏向回路32では、それらの制御信号に応じ
た処理が施される。
In the main CPU 30, the aspect ratio determination processing of the video source is performed based on the data, and the control signal and the clock are converted into the video chroma processing circuit 2
4 given. The video chroma processing circuit 24 outputs a vertical deflection signal, a horizontal deflection signal, and an S-shaped correction signal based on the input signal, and controls the deflection circuit 32. Therefore, the deflection circuit 32 performs a process according to the control signals.

【0030】次いで、このように構成されるテレビジョ
ン受像機10の動作を説明する。まず、入力端子14ま
たは16からそれぞれ入力されたテレビジョン信号また
はコンポジットビデオ信号は、選択スイッチ12を介し
てY/C分離回路22に与えられ、輝度信号とカラー信
号とに分離される。そして、その輝度信号とカラー信号
とは、再度選択スイッチ12に入力され、それらの信号
とS端子(入力端子18および20)から入力された輝
度信号およびカラー信号とのいずれかが選択され、出力
される。
Next, the operation of the television receiver 10 thus configured will be described. First, a television signal or a composite video signal input from the input terminal 14 or 16 is supplied to the Y / C separation circuit 22 via the selection switch 12, and is separated into a luminance signal and a color signal. Then, the luminance signal and the color signal are input to the selection switch 12 again, and one of the signal and the luminance signal or the color signal input from the S terminals (input terminals 18 and 20) is selected and output. Is done.

【0031】この選択スイッチ12からの輝度信号は、
画像領域検出回路42に取り込まれ、水平同期信号およ
び垂直同期信号のタイミングでA/D変換され、そのデ
ィジタル映像信号で画像領域の検出が行われる。その結
果は、シリアルデータとしてメインCPU30に入力さ
れる。メインCPU30では、アスペクト比が判別さ
れ、アスペクト比に応じたコントロール信号が、ビデオ
クロマ処理回路24に供給される。ここで、水平偏向信
号は水平方向の偏向を調整する制御信号、垂直偏向信号
は垂直方向の偏向を調整する制御信号、S字補正信号は
偏向のS字補正を調整する制御信号である。
The luminance signal from the selection switch 12 is
The digital image signal is taken into the image area detection circuit 42, A / D converted at the timing of the horizontal synchronization signal and the vertical synchronization signal, and the image area is detected by the digital video signal. The result is input to the main CPU 30 as serial data. In the main CPU 30, the aspect ratio is determined, and a control signal corresponding to the aspect ratio is supplied to the video chroma processing circuit 24. Here, the horizontal deflection signal is a control signal for adjusting horizontal deflection, the vertical deflection signal is a control signal for adjusting vertical deflection, and the S-shaped correction signal is a control signal for adjusting S-shaped correction of deflection.

【0032】次いで、映像領域検出用CPU56の動作
を説明する。図3には、画面における測定ポイント(サ
ンプリング点)の領域を示す。図3の縦方向は垂直同期
信号の前エッジ(立ち下がり)からの水平ライン数(1
フィールド分)であり、横方向は水平同期信号の後エッ
ジ(立ち上がり)からの時間を示す。そして、網かけの
部分が実際に映像信号を取り込む領域で、測定ポイント
の各々の入力レベルに基づいて、画像領域が検出され
る。
Next, the operation of the CPU 56 for detecting an image area will be described. FIG. 3 shows an area of a measurement point (sampling point) on the screen. The vertical direction in FIG. 3 indicates the number of horizontal lines (1) from the leading edge (falling edge) of the vertical synchronization signal.
The horizontal direction indicates the time from the trailing edge (rising) of the horizontal synchronization signal. The shaded area is the area where the video signal is actually captured, and the image area is detected based on the input level of each measurement point.

【0033】以下、図4ないし図7を参照して画像領域
検出用CPU56の動作を説明する。まず、図4に示す
ステップS1において、上部無画像領域,下部無画像領
域および画像の有無を検出するための基準となる黒レベ
ル閾値が設定される。この値は、可変できるように設定
データ(シリアルデータ)としてメインCPU30によ
って設定してもよく、また固定値として予め設定してお
いてもよい。黒(00000),白(11111)とす
ると、黒レベル閾値は、たとえば(00100)や(0
0101)程度とされる。
The operation of the image area detecting CPU 56 will be described below with reference to FIGS. First, in step S1 shown in FIG. 4, a black level threshold serving as a reference for detecting an upper non-image area, a lower non-image area, and the presence or absence of an image is set. This value may be set by the main CPU 30 as setting data (serial data) so as to be variable, or may be set in advance as a fixed value. Assuming black (00000) and white (11111), the black level threshold is, for example, (00100) or (0
0101).

【0034】次いで、ステップS3において、1垂直期
間(1フィールド)目の垂直同期信号を待つ。垂直同期
信号がくるまで待機し、垂直同期信号がくればステップ
S5に進む。ステップS5では、画面上部の無画像領域
(黒帯)の幅が測定される。この測定動作は、図5に示
すサブルーチンのように行われる。図5の動作では、図
3に示す実施例と合致するように、h1,h2,h3,
h4の初期値はそれぞれ10μsec ,21μsec ,32
μsec ,43μsec に設定され、n1=32,n2=7
6,α=2,β=5,m=±1に設定される。しかし、
これらの値に限定されない。また、h1,h2,h3,
h4の4ポイント測定に限定されないことに留意された
い。図9,図10のサブルーチンにおける各設定値につ
いても同様である。
Next, in step S3, a vertical synchronization signal for the first vertical period (first field) is waited for. It waits until a vertical synchronizing signal comes, and when a vertical synchronizing signal comes, it proceeds to step S5. In step S5, the width of the non-image area (black band) at the top of the screen is measured. This measurement operation is performed as a subroutine shown in FIG. In the operation of FIG. 5, h1, h2, h3, and h3 are coincident with the embodiment shown in FIG.
The initial values of h4 are 10 μsec, 21 μsec, and 32, respectively.
μsec, 43 μsec, n1 = 32, n2 = 7
6, α = 2, β = 5, and m = ± 1. But,
It is not limited to these values. H1, h2, h3,
Note that it is not limited to a four point measurement of h4. The same applies to each set value in the subroutine of FIGS.

【0035】図5に示すステップS1aにおいて、n1
水平ラインになったか否かが判断される。これは、画像
領域検出用CPU56で、垂直同期信号の前エッジから
水平同期信号(1ラインで1つ出る)をカウントしてい
きカウント値が「31」になったか否かで判断される。
n1水平ラインになるまで待機し、n1水平ラインにな
れば(カウント値が「31」になれば)、「31」に
「48」を加算してRAM56aに「79」をカウント
設定し、n1水平ラインのポイント測定に入る。
In step S1a shown in FIG.
It is determined whether a horizontal line has been reached. This is determined by whether or not the image area detecting CPU 56 counts the horizontal synchronizing signal (one output per line) from the leading edge of the vertical synchronizing signal and the count value becomes “31”.
Wait until the n1 horizontal line is reached. If the n1 horizontal line is reached (when the count value becomes "31"), "48" is added to "31", "79" is set in the RAM 56a, and the n1 horizontal line is set. Enter the line point measurement.

【0036】まず、ステップS3aにおいて、n1水平
ラインのh1ポイントが測定される。このとき、水平同
期信号の後縁から10μsec 後のポイントのデータが測
定される。この時間は、画像領域検出用CPU56から
のクロックに基づいて計測され、このクロックのタイミ
ングでA/D変換回路52からのディジタルデータが画
像領域検出用CPU56で読み取られる。次いで、ステ
ップS5aにおいて、h2ポイントのデータが測定さ
れ、ステップS7aにおいてh3ポイントのデータが測
定され、ステップS9aにおいてh4ポイントのデータ
が測定される。このようにして4ポイント測定が行われ
る。なお、この実施例では、各ポイント間の時間差は1
1μsec である。
First, at step S3a, the h1 point of the n1 horizontal line is measured. At this time, data at a point 10 μsec after the trailing edge of the horizontal synchronization signal is measured. This time is measured based on a clock from the image area detection CPU 56, and the digital data from the A / D conversion circuit 52 is read by the image area detection CPU 56 at the timing of this clock. Next, at step S5a, data at the h2 point is measured, at step S7a, data at the h3 point is measured, and at step S9a, data at the h4 point is measured. In this way, a four-point measurement is performed. In this embodiment, the time difference between the points is 1
1 μsec.

【0037】次いで、ステップS11aにおいて、h1
〜h4ポイントの各データが全て誤差mビット以内にあ
るか否かが判断される。同一ラインの4点については、
たとえば、A/D変換後の6ビットのデータのうち、上
位5ビットがチェックされ±1ビット内であれば同一デ
ータとみなされる。ステップS11aが“YES”であ
ればステップS13aにおいて、各ポイントのデータ
が、設定された黒レベル閾値以下であるか否かが判断さ
れる。“YES”であればそのラインは黒帯と判断さ
れ、そのラインがRAM56aに記憶される。たとえば
図8(A)の場合が該当する。
Next, in step S11a, h1
It is determined whether or not all the data at the points .about.h4 are within an error of m bits. For the four points on the same line,
For example, of the 6-bit data after A / D conversion, the upper 5 bits are checked and if they are within ± 1 bit, they are regarded as the same data. If “YES” in the step S11a, it is determined in a step S13a whether or not the data of each point is equal to or less than the set black level threshold. If "YES", the line is determined to be a black band, and the line is stored in the RAM 56a. For example, the case of FIG.

【0038】そして、ステップS15aにおいて、測定
ラインがn2水平ライン未満であるか否かが判断され、
“YES”であればステップS17aに進む。ステップ
S17aにおいて、測定ポイントがαμsec シフトされ
る。そして、ステップS19aにおいて、シフト回数が
β回以上か否かが判断される。“YES”であれば、ス
テップS21aにおいて、β=0に設定される。ステッ
プS19aが“NO”であれば、ステップS23aにお
いてβをインクリメント(β=β+1)する。ステップ
S21aおよびS23aの処理後、ステップS25aに
進む。
Then, in step S15a, it is determined whether or not the measurement line is less than the n2 horizontal line.
If “YES”, the process proceeds to step S17a. In step S17a, the measurement point is shifted by αμsec. Then, in step S19a, it is determined whether the number of shifts is equal to or more than β times. If “YES”, β = 0 is set in step S21a. If “NO” is determined in the step S19a, β is incremented (β = β + 1) in a step S23a. After the processing in steps S21a and S23a, the process proceeds to step S25a.

【0039】ステップS25aにおいて、2水平ライン
経過したか否かが判断される。すなわち2水平ライン経
過後まで待機される。そして、2水平ライン経過すれ
ば、ステップS3aに戻り、上述の処理が繰り返され
る。なお、ステップS3aにおいて、h1ポイントは、
h1=h1+α・βで設定される。したがって、h1ポ
イントは、10μsec ,12μsec ,14μsec ,16
μsec ,18μsec ,20μsec となり、隣接するh2
ポイントの初期値(21μsec )との隙間が狭くなる。
h2,h3,h4ポイントについても同様である。
In step S25a, it is determined whether two horizontal lines have elapsed. That is, the process waits until two horizontal lines have elapsed. When two horizontal lines have elapsed, the process returns to step S3a, and the above-described processing is repeated. In step S3a, the h1 point is
h1 = h1 + α · β. Therefore, the h1 point is 10 μsec, 12 μsec, 14 μsec, 16
μsec, 18 μsec, and 20 μsec.
The gap between the point and the initial value (21 μsec) becomes smaller.
The same applies to h2, h3 and h4 points.

【0040】そして、ステップS11aが“NO”、す
なわち図8(C)に示すように1ポイントでも違う値が
ある場合には黒帯ではないと判断される。また、ステッ
プS13aが“NO”、すなわち図8(B)に示すよう
に各ポイントが全て同一でも黒レベル閾値を超えている
場合には黒帯ではないと判断される。これらの場合には
ステップS27aに進む。ステップS11aおよびS1
3aからわかるように、単に、黒レベル閾値以下であっ
ても黒帯であるとは判断されない。ステップS15aが
“NO”の場合もステップS27aに進む。ステップS
27aにおいて、黒帯と判断された測定ラインまでが黒
帯の幅とされ、すなわち、最初に黒帯でないと判断され
た測定ラインが画像開始ラインと判断され、終了する。
ここで、画像開始ラインは、走査線でいうと何ライン目
から画像が始まっているかを示し、画像終了ライン(後
述)は、走査線でいうと何ライン目で画像が終了してい
るかこのように、画面上部の最高23ライン分につい
て、すなわち32ライン〜76ラインについて2水平ラ
イン刻みで、黒帯の幅が測定される。そして、測定ポイ
ントは、測定ライン間では2μsec 刻みで時間が遅らさ
れ、6測定ライン周期で時間的に元の位置に戻る。
If "NO" is determined in the step S11a, that is, if there is a different value even at one point as shown in FIG. Further, if the step S13a is "NO", that is, as shown in FIG. 8B, if all points are the same but exceed the black level threshold, it is determined that the point is not a black band. In these cases, the process proceeds to step S27a. Steps S11a and S1
As can be seen from FIG. 3a, the black band is not determined to be a black band even if the black level threshold value is simply attained. When step S15a is "NO", the process also proceeds to step S27a. Step S
At 27a, the width of the black band is determined up to the measurement line determined to be a black band, that is, the measurement line first determined not to be a black band is determined to be an image start line, and the process ends.
Here, the image start line indicates the line from which the image starts in terms of the scanning line, and the image end line (described later) indicates the line in which the image ends in the scan line. Then, the width of the black band is measured at intervals of two horizontal lines for a maximum of 23 lines at the top of the screen, that is, for lines 32 to 76. Then, the measurement point is delayed at intervals of 2 μsec between the measurement lines, and returns to the original position temporally in six measurement line cycles.

【0041】そして、黒帯ではない最初の測定ライン
(画像開始ライン)を検出すると、そこで測定が終了さ
れ、図4に示すステップS7において、画面中央部の画
像の有無が測定される。ステップS7の処理には、図6
に示すサブルーチンが実行される。図6に示す動作にお
いても、図3に合致するように、h5,h6,h7およ
びh8のそれぞれの初期値は、10μsec ,47μsec
,10μsec および47μsec である。したがって、
1ラインにつき2ポイントが測定される。そして、n3
=80,n4=110,n5=148およびn6=17
8に設定される。
When the first measurement line (image start line) which is not a black band is detected, the measurement is terminated there, and in step S7 shown in FIG. 4, the presence or absence of an image at the center of the screen is measured. FIG. 6 shows the processing in step S7.
Is executed. Also in the operation shown in FIG. 6, as shown in FIG. 3, the initial values of h5, h6, h7 and h8 are 10 μsec and 47 μsec, respectively.
, 10 μsec and 47 μsec. Therefore,
Two points are measured per line. And n3
= 80, n4 = 110, n5 = 148 and n6 = 17
8 is set.

【0042】図6に示すステップS1bにおいて、n3
水平ラインになったか否かが判断される。n3水平ライ
ンになるまで待機し、n3水平ラインになるとステップ
S3bに進む。すなわち、ステップS1bにおいては、
既に設定されたカウント値(垂直同期信号エッジから7
9ライン)がカウントされると、以下の処理によって、
画面中央部(80ライン〜110ラインと148ライン
〜178ライン)の画像の有無がチェックされる。この
チェックに先立ち、画面上部の黒帯の幅の測定時と同
様、次のチェックラインのカウント値(「181」)の
設定が行われる。
In step S1b shown in FIG.
It is determined whether a horizontal line has been reached. The process waits until the n3 horizontal line is reached. When the n3 horizontal line is reached, the process proceeds to step S3b. That is, in step S1b,
The already set count value (7 from the vertical sync signal edge)
9) are counted, the following processing is performed.
The presence or absence of an image at the center of the screen (80 lines to 110 lines and 148 lines to 178 lines) is checked. Prior to this check, the count value ("181") of the next check line is set as in the case of measuring the width of the black band at the top of the screen.

【0043】まず、画面中央部上側の判定が行われる
が、このとき水平同期信号の後縁から10μsec および
47μsec の2ポイントのみについて判定される。ま
ず、ステップS3bにおいて、h5ポイントのデータが
測定され、ステップS5bにおいて、h6ポイントのデ
ータが測定され、ステップS7bに進む。ステップS7
bにおいて、測定されたデータが黒レベル閾値以下か否
かが判断される。“YES”であれば、ステップS9b
において、n4水平ライン未満か否かが判断される。
“YES”であれば、ステップS11bにおいて、2水
平ライン経過したか否かが判断される。2水平ライン経
過するまで待機し、2水平ライン経過すればステップS
3bに戻る。
First, the upper center portion of the screen is determined. At this time, only two points of 10 μsec and 47 μsec from the trailing edge of the horizontal synchronization signal are determined. First, h5 point data is measured in step S3b, and h6 point data is measured in step S5b, and the process proceeds to step S7b. Step S7
At b, it is determined whether the measured data is equal to or less than the black level threshold. If “YES”, step S9b
In, it is determined whether or not it is less than n4 horizontal lines.
If "YES", it is determined in step S11b whether two horizontal lines have elapsed. Wait until two horizontal lines elapse, and if two horizontal lines elapse, go to step S
Return to 3b.

【0044】そして、ステップS7bが“NO”、すな
わち黒レベル閾値を超えているデータが1ポイントでも
あれば、ステップS13bにおいて「画像あり」と判定
される。また、ステップS9bが“NO”であれば、ス
テップS15bにおいて「画像なし」と判定される。ス
テップS13bおよびS15bの処理後、ステップS1
7bに進む。
If "NO" is determined in the step S7b, that is, if even one point of data exceeds the black level threshold value, it is determined in the step S13b that "there is an image". If “NO” in the step S9b, it is determined that “there is no image” in the step S15b. After the processing of steps S13b and S15b, step S1
Proceed to 7b.

【0045】ステップS17bにおいて、n5水平ライ
ンになったか否かが判断される。n5ラインになるまで
待機し、n5ラインになると、以降、画面中央部下側の
判定が行われる。判定方法は画面中央部上側と同様であ
る。すなわち、ステップS19bにおいて、h7ポイン
トのデータが測定され、ステップS21bにおいて、h
8ポイントのデータが測定される。そして、ステップS
23bにおいて、測定したデータが黒レベル閾値以下か
否かが判断され、“YES”であればステップS25b
において、測定ラインがn6水平ライン未満か否かが判
断される。“YES”であれば、ステップS27bにお
いて、2水平ライン経過したか否かが判断され、2水平
ライン経過するまで待機する。2水平ライン経過すれば
ステップS19bに戻る。そして、ステップS23bが
“NO”であればステップS29bにおいて「画像あ
り」と判定され、ステップS25bが“NO”であれば
ステップS31bにおいて「画像なし」と判定され、ス
テップS33bに進む。ステップS33bにおいて、画
面中央部の画像の有無が総合的に判定され、終了する。
たとえば、画面中央部の上側および下側の両方に画像が
ある場合、画面中央部に画像があると判断され、この情
報がRAM56aに格納される。
In step S17b, it is determined whether or not an n5 horizontal line has been reached. The process waits until the line n5 is reached, and when the line n5 is reached, a determination is made on the lower side of the center of the screen. The determination method is the same as in the upper part of the screen. That is, in step S19b, data at the h7 point is measured, and in step S21b, h7 points are measured.
Eight points of data are measured. And step S
At 23b, it is determined whether or not the measured data is equal to or less than the black level threshold. If "YES", the process proceeds to step S25b.
In, it is determined whether the measurement line is less than the n6 horizontal line. If "YES", it is determined in step S27b whether two horizontal lines have elapsed, and the process waits until two horizontal lines have elapsed. If two horizontal lines have elapsed, the process returns to step S19b. If "NO" in the step S23b, it is determined that "there is an image" in the step S29b, and if "NO" in the step S25b, it is determined that the "image is absent" in the step S31b, and the process proceeds to the step S33b. In step S33b, the presence or absence of an image at the center of the screen is comprehensively determined, and the process ends.
For example, if there are images both above and below the center of the screen, it is determined that there is an image at the center of the screen, and this information is stored in the RAM 56a.

【0046】なお、ここでは、上側および下側のAND
をとる方法を採用したが、これはビスタサイズやシネス
コサイズを想定したことによる設定であり、正確にこれ
らのサイズを検出できるようにしたものである。これに
よって、誤検出によって必要以上に画面が縦延びになる
ことを防止する。なお、画面が必要以上に縦延びになる
ことを気にしなければ、上側および下側のORをとって
もよい。なお、各測定ラインにおいて、たとえば10μ
sec ,12μsec ,47μsec ,49μsec の各ポイン
トのデータを測定するようにしてもよい。このとき、隣
接する測定ライン間で2μsec のシフト(10μsec →
12μsec ,47μsec →49μsec )を行い、2測定
ライン周期で時間的に元に戻る。
Here, the upper and lower ANDs
However, this is a setting based on the assumption of the Vista size and the Sinesco size, so that these sizes can be detected accurately. This prevents the screen from becoming longer than necessary due to erroneous detection. Note that the upper and lower ORs may be used if the screen is not lengthened more than necessary. In each measurement line, for example, 10 μm
The data at each point of sec, 12 μsec, 47 μsec, and 49 μsec may be measured. At this time, a shift of 2 μsec between adjacent measurement lines (10 μsec →
12 μsec, 47 μsec → 49 μsec), and returns to the original time in two measurement line cycles.

【0047】そして、図4に示すステップS9に進み、
画面下部の黒帯の幅が測定される。この処理には、図7
に示すサブルーチンが実行される。画面下部の黒帯の幅
を測定するには、まず、画面下部のデータがビットイメ
ージでRAM56aに格納される。そして、以下のよう
にして、182ライン〜244ラインの範囲が2ライン
毎に黒帯か否かが判定され、その結果が0/1の判定フ
ラグで表される。
Then, the process proceeds to a step S9 shown in FIG.
The width of the black band at the bottom of the screen is measured. In this process, FIG.
Is executed. To measure the width of the black band at the bottom of the screen, first, the data at the bottom of the screen is stored in the RAM 56a as a bit image. Then, as described below, it is determined whether the range from 182 lines to 244 lines is a black band every two lines, and the result is represented by a 0/1 determination flag.

【0048】図7の動作においても、図3と合致するよ
うにh9,h10,h11およびh12のそれぞれの初
期値は、10μsec ,21μsec ,32μsec ,43μ
secに設定される。また、n7=182,n8=244
に設定され、α=2,β=5,m=±1に設定される。
なお、判定フラグは、黒帯であれば0,そうでなければ
1となる。
In the operation of FIG. 7 as well, the initial values of h9, h10, h11 and h12 are 10 μsec, 21 μsec, 32 μsec and 43 μm, respectively.
Set to sec. Also, n7 = 182, n8 = 244
And α = 2, β = 5, and m = ± 1.
Note that the determination flag is 0 for a black band, and 1 otherwise.

【0049】図7に示すステップS1cにおいて、n7
水平ラインになったか否かが判断される。n7水平ライ
ンになるまで待機し、n7水平ラインになるとステップ
S3cに進む。ステップS3cにおいて、h9ポイント
のデータが測定され、ステップS5cにおいてh10ポ
イントのデータが測定され、ステップS7cにおいてh
11ポイントのデータが測定され、ステップS9cにお
いてh12ポイントのデータが測定される。そして、ス
テップS11cにおいて、h9〜h12ポイントの各デ
ータが全てmビット以内の違いに過ぎないか否かが判断
される。“YES”であればステップS13cにおいて
h9〜h12ポイントの各データが全て黒レベル閾値以
下か否かが判断される。“YES”であれば、ステップ
S15cにおいて「黒帯」と判定される。ステップS1
1cおよびS13cのいずれかが“NO”であれば、ス
テップS17cにおいて、「画像あり」と判定される。
ステップS15cおよびS17cの処理の後、ステップ
S19cにおいて、それぞれの判定結果がRAM56c
に格納される。
In step S1c shown in FIG.
It is determined whether a horizontal line has been reached. The process waits until the n7 horizontal line is reached. When the n7 horizontal line is reached, the process proceeds to step S3c. In step S3c, h9 point data is measured, in step S5c, h10 point data is measured, and in step S7c, h9 point data is measured.
Data of 11 points is measured, and data of h12 points is measured in step S9c. Then, in step S11c, it is determined whether or not each of the data at the points h9 to h12 is only a difference within m bits. If "YES", it is determined in step S13c whether all the data at the points h9 to h12 are equal to or less than the black level threshold. If “YES”, it is determined as “black belt” in step S15c. Step S1
If any one of 1c and S13c is “NO”, it is determined in step S17c that “image is present”.
After the processing in steps S15c and S17c, in step S19c, the respective determination results are stored in the RAM 56c.
Is stored in

【0050】そして、ステップS21cにおいて、測定
ラインがn8水平ライン未満か否かが判断される。“Y
ES”であれば、ステップS23cにおいて測定ポイン
トがαμsec シフトされ、ステップS25cにおいて、
シフト回数がβ回を超えているか否かが判断される。
“YES”であればステップS27cにおいてβ=0に
設定され、“NO”であればステップS29cにおいて
βがインクリメント(β=β+1)され、それぞれステ
ップS31cに進む。ステップS31cにおいて、2水
平ライン経過したか否かが判断され、2水平ライン経過
するまで待機し、2水平ライン経過すればステップS3
cに戻る。なお、図5のステップS3aと同様、ステッ
プS3cでは、測定ポイントはh9=h9+α・βで設
定される。これは、ステップS5cないしS9cにおい
ても同様である。
Then, in step S21c, it is determined whether or not the measurement line is less than the n8 horizontal line. “Y
ES ”, the measurement point is shifted by αμsec in step S23c, and in step S25c
It is determined whether or not the number of shifts exceeds β times.
If “YES”, β = 0 is set in step S27c, and if “NO”, β is incremented (β = β + 1) in step S29c, and the process proceeds to step S31c. In step S31c, it is determined whether or not two horizontal lines have elapsed. If two horizontal lines have elapsed, the process waits until two horizontal lines have elapsed.
Return to c. Note that, like step S3a in FIG. 5, in step S3c, the measurement point is set as h9 = h9 + α · β. This is the same in steps S5c to S9c.

【0051】そして、ステップS21cが“NO”であ
れば、ステップS33cにおいて、格納した判定結果
(判定フラグ)を参照して黒帯の幅が求められる。すな
わち、この実施例では、244ラインまでのデータ測定
が終了すると、画面下部の黒帯の幅が判断され、すなわ
ち画像終了ラインが検出され、終了する。たとえば、判
定結果が図9に示すようなものであれば、240ライン
から下は黒帯と判定される。
If "NO" in the step S21c, in a step S33c, the width of the black belt is obtained by referring to the stored judgment result (judgment flag). That is, in this embodiment, when the data measurement for up to 244 lines is completed, the width of the black band at the bottom of the screen is determined, that is, the image end line is detected and the process ends. For example, if the determination result is as shown in FIG. 9, the area below the 240th line is determined to be a black band.

【0052】以上の処理によって、次のデータが取り出
される。 a:画面上部の黒帯の幅(画像開始ライン) b:画面中央部の画像の有無 c:画面下部の黒帯の幅(画像終了ライン) 図4に戻って、ステップS11において、2フィールド
目の垂直同期信号がきたか否かが判断される。この垂直
同期信号がくるまで待機し、垂直同期信号がくれば、ス
テップS13に進む。ステップS13において、3フィ
ールド目の垂直同期信号がきたか否かが判断される。こ
の垂直同期信号がくるまで待機し、垂直同期信号がくれ
ば、ステップS15において、上述のa〜cのデータが
送信される。
The following data is obtained by the above processing. a: the width of the black band at the top of the screen (image start line) b: the presence or absence of an image at the center of the screen c: the width of the black band at the bottom of the screen (image end line) Returning to FIG. Is determined. It waits until this vertical synchronizing signal comes, and when a vertical synchronizing signal comes, it proceeds to step S13. In step S13, it is determined whether or not the vertical synchronization signal of the third field has arrived. The process waits until the vertical synchronizing signal comes, and when the vertical synchronizing signal comes, the data of the above-mentioned a to c is transmitted in step S15.

【0053】次いで、ステップS17において、4フィ
ールド目の垂直同期信号がきたか否かが判断され、垂直
同期信号がくるまで待機し、垂直同期信号がくればステ
ップS19に進む。ステップS19において、5フィー
ルド目の垂直同期信号がきたか否かが判断され、垂直同
期信号がくるまで待機し、垂直同期信号がくれば、ステ
ップS1に戻る。
Next, in step S17, it is determined whether or not the vertical synchronization signal of the fourth field has arrived. The process waits until the vertical synchronization signal comes. If the vertical synchronization signal comes, the process proceeds to step S19. In step S19, it is determined whether or not the vertical synchronization signal of the fifth field has arrived, and the process waits until the vertical synchronization signal comes. When the vertical synchronization signal comes, the process returns to step S1.

【0054】以上の動作が6フィールド(垂直期間)毎
に行われる。すなわち、図10にも示すように、 1フィールド目:データの測定 2フィールド目:予備 3フィールド目:データの送信 4フィールド目〜6フィールド目:予備 となる。
The above operation is performed every six fields (vertical periods). That is, as shown in FIG. 10, the first field: data measurement, the second field: reserved, the third field: data transmission, the fourth field to the sixth field: reserved.

【0055】すなわち、データは、シリアルデータとし
てメインCPU30へ垂直同期の整数倍(この実施例で
は6倍)のサイクルで送信される。したがって、データ
のサンプリングサイクルは6垂直期間(≒100msec)
となる。なお、送信サイクルは、これに限定されない。
次いで、メインCPU30はデータを受信すると以下の
ように動作する。
That is, the data is transmitted to the main CPU 30 as serial data in a cycle of an integral multiple of the vertical synchronization (six times in this embodiment). Therefore, the data sampling cycle is 6 vertical periods (≒ 100 msec)
Becomes Note that the transmission cycle is not limited to this.
Next, when receiving the data, the main CPU 30 operates as follows.

【0056】まず、図11に示すステップS31におい
て、画面中央部に画像があるか否かが判断される。ステ
ップS31が“NO”のときは終了し、ステップS31
が“YES”のときはステップS33に進む。ステップ
S33において、入力されたデータを有効とみなし、そ
のデータは最新データとして格納される。最新データに
は、最新の画像開始ラインおよび画像終了ラインが含ま
れる。そして、ステップS35において、最新データが
バッファデータの誤差範囲内か否かが判断される。ここ
でバッファデータとは、確定データとなる可能性がある
候補データであり、バッファ(図示せず)に格納されて
いるデータである。バッファデータには、画像開始ライ
ンおよび画像終了ラインを含み、以下、これらをそれぞ
れ、バッファ開始ラインおよびバッファ終了ラインとい
う。すなわち、最新の画像開始ラインおよび画像終了ラ
インと、バッファ開始ラインおよびバッファ終了ライン
とが、それぞれ比較される。ここでの判定は、±の誤差
範囲をもっており、データが完全に一致しなくても一致
と判定できるよう処理が行われる。以下、同様である。
この実施例では、誤差範囲は±1ビットであるが、これ
に限定されないことはいうまでもない。
First, in step S31 shown in FIG. 11, it is determined whether or not there is an image in the center of the screen. If "NO" is determined in the step S31, the process ends and a step S31
Is "YES", the flow proceeds to step S33. In step S33, the input data is regarded as valid, and the data is stored as the latest data. The latest data includes the latest image start line and the latest image end line. Then, in step S35, it is determined whether the latest data is within the error range of the buffer data. Here, the buffer data is candidate data that may be determined data, and is data stored in a buffer (not shown). The buffer data includes an image start line and an image end line, and these are hereinafter referred to as a buffer start line and a buffer end line, respectively. That is, the latest image start line and image end line are compared with the buffer start line and buffer end line, respectively. The determination here has an error range of ±, and processing is performed so that even if the data does not completely match, it can be determined that they match. Hereinafter, the same applies.
In this embodiment, the error range is ± 1 bit, but it goes without saying that the present invention is not limited to this.

【0057】ステップS35が“NO”であれば、ステ
ップS37に進む。ステップS37において、最新デー
タがバッファデータとして格納され、ステップS39に
おいて、最新データがバッファデータの誤差範囲内にな
かったので、一致回数カウンタ(図示せず)がクリアさ
れる。次いで、ステップS41において、既に4:3画
面(上下に黒帯なし)と判定されているか否かが判断さ
れ、“YES”であれば終了し、“NO”であればステ
ップS43に進む。ステップS43において、バッファ
開始ラインが確定開始ラインより小さいか否かが判断さ
れる。“NO”であればステップS45において、バッ
ファ終了データが確定終了ラインより大きいか否かが判
断される。“NO”の場合は終了する。ここで、確定デ
ータには、確定開始ラインおよび確定終了ラインが含ま
れ、確定開始ラインおよび確定終了ラインは、それぞれ
その時点で確定している画像開始ラインおよび画像終了
ラインをいう。
If "NO" in the step S35, the process proceeds to a step S37. In step S37, the latest data is stored as buffer data, and in step S39, since the latest data was not within the error range of the buffer data, the coincidence counter (not shown) is cleared. Next, in step S41, it is determined whether or not it is already determined that the screen is a 4: 3 screen (no upper and lower black bands). If "YES", the process ends. If "NO", the process proceeds to step S43. In step S43, it is determined whether the buffer start line is smaller than the fixed start line. If "NO", it is determined in step S45 whether or not the buffer end data is larger than the determined end line. If “NO”, the process ends. Here, the fixed data includes a fixed start line and a fixed end line, and the fixed start line and the fixed end line refer to the image start line and the image end line fixed at that time, respectively.

【0058】ステップS43が“YES”の場合および
ステップS45が“YES”の場合は、それぞれ画像が
大きくなる方向にバッファデータが変化したと判断さ
れ、それぞれステップS47に進む。なお、ステップS
45が“NO”の場合は、画像が小さくなる方向にバッ
ファデータが変化した場合である。ステップS47で
は、画像が大きくなる方向にバッファデータが変化した
ので、NGカウンタ(図示せず)がインクリメントさ
れ、ステップS49に進む。ステップS49において、
NGカウンタが設定回数以上になったか否かが判断され
る。“NO”であれば終了し、“YES”であれば、す
なわち画像が現在の画像より大きくなる方向にバッファ
データが設定回数以上続く場合には、不安定なデータと
判定され、4:3画面とみなされ、ステップS51に進
む。ステップS51において、NGカウンタがクリアさ
れ、ステップS53において、4:3画面用データがセ
ットされる処理すなわち確定開始ラインおよび確定終了
ラインにそれぞれ4:3画面内のデータ(画像開始ライ
ンおよび画像終了ライン)が設定される。そして、ステ
ップS55において、図12に示すサブルーチンにおい
て、表示モード設定処理が行われ、終了する。
If step S43 is "YES" and step S45 is "YES", it is determined that the buffer data has changed in the direction in which the image becomes larger, and the flow advances to step S47. Step S
The case where “45” is “NO” is a case where the buffer data changes in the direction in which the image becomes smaller. In step S47, since the buffer data has changed in the direction in which the image becomes larger, the NG counter (not shown) is incremented, and the process proceeds to step S49. In step S49,
It is determined whether the NG counter has exceeded the set number of times. If “NO”, the process ends. If “YES”, that is, if the buffer data continues for a set number of times in a direction in which the image becomes larger than the current image, it is determined that the data is unstable, and the 4: 3 screen is displayed. , And the process proceeds to step S51. In step S51, the NG counter is cleared. In step S53, processing for setting 4: 3 screen data, that is, the data in the 4: 3 screen (the image start line and the image end line) are added to the fixed start line and the fixed end line, respectively. ) Is set. Then, in step S55, a display mode setting process is performed in the subroutine shown in FIG. 12, and the process ends.

【0059】一方、ステップS35が“YES”の場合
には、ステップS57においてNGカウンタがクリアさ
れる。そして、ステップS59において、一致回数カウ
ンタが設定回数未満か否かが判断される。“NO”すな
わち設定回数以上であれば表示モードを変化させる必要
がないので終了する。設定回数はたとえば15回に設定
される。
On the other hand, if step S35 is "YES", the NG counter is cleared in step S57. Then, in a step S59, it is determined whether or not the number of coincidences counter is less than the set number of times. If “NO”, that is, if it is equal to or more than the set number of times, the display mode does not need to be changed, and the process ends. The set number of times is set to, for example, 15 times.

【0060】ステップS59が“YES”であれば、ス
テップS61において一致回数カウンタがインクリメン
トされ、ステップS63に進む。ステップS63におい
て、一致回数カウンタが設定回数になったか否かが判断
される。ステップS63が“NO”であれば終了し、
“YES”であれば映像ソースの変化が確定したとみな
され、ステップS65に進む。すなわち、画像領域検出
用CPU56からの画像開始ラインおよび画像終了ライ
ンが、設定回数分連続して誤差範囲内にあれば、それら
のライン(境界ライン)を確定開始ラインおよび確定終
了ラインとして確定する。1回当り、略100μsec
(6垂直期間)かかるので、たとえば15回では略1.
5sec でラインが確定する。ステップS65ないしS6
9では、バッファデータと確定データとが比較される。
If "YES" in the step S59, the coincidence number counter is incremented in a step S61, and the process proceeds to a step S63. In step S63, it is determined whether or not the number of matches counter has reached the set number. If "NO" in the step S63, the process ends.
If “YES”, it is considered that the change of the video source has been determined, and the process proceeds to step S65. That is, if the image start line and the image end line from the image area detecting CPU 56 are within the error range continuously for the set number of times, those lines (boundary lines) are determined as the determination start line and the determination end line. Approximately 100μsec per time
(6 vertical periods).
The line is determined in 5 seconds. Steps S65 to S6
At 9, the buffer data and the confirmed data are compared.

【0061】ステップS65において、バッファ開始ラ
インが確定開始ラインの誤差の範囲内か否かが判断され
る。“YES”であればステップS67において、バッ
ファ終了ラインが確定終了ラインより小さいか否かが判
断される。ステップS67が“YES”であれば「字幕
あり」から「字幕なし」に変化したものと判断され、表
示モードを変化させることなく終了する。すなわち、バ
ッファ開始ラインが確定開始ラインの誤差の範囲内にあ
りかつバッファ終了ラインが確定終了ラインよりも小さ
い方向に変化した場合である。これは、字幕は画面下部
に表示されることがほとんどで、また字幕は表示された
りされなかったりする点を考慮したものである。したが
って、この場合には、「字幕あり」ソフトにおいて「字
幕あり」から「字幕なし」に変化したと判断され、表示
モードを変化させないようにする。
In step S65, it is determined whether or not the buffer start line is within the error range of the fixed start line. If “YES”, it is determined in step S67 whether or not the buffer end line is smaller than the fixed end line. If “YES” in the step S67, it is determined that the “caption is present” is changed to “no subtitle”, and the process ends without changing the display mode. That is, this is a case where the buffer start line is within the error range of the fixed start line and the buffer end line changes in a direction smaller than the fixed end line. This takes into account that subtitles are often displayed at the bottom of the screen, and that subtitles are not displayed. Therefore, in this case, it is determined that the “with subtitles” software has changed from “with subtitles” to “without subtitles”, and the display mode is not changed.

【0062】なお、字幕が映像の上部に表示される場合
も同様なアルゴリズムで処理することができる。そのた
めには、ステップS65において、バッファ終了ライン
が確定終了ラインの誤差の範囲内か否かを判断し、ステ
ップS67の判断として、バッファ開始ラインが確定開
始ラインよりも大きい方向に変化したか否かを判断すれ
ばよい。ステップS65およびS67の判断がともに
“YES”であれば「字幕あり」から「字幕なし」に変
化したと判断される。
It should be noted that the same algorithm can be applied to the case where subtitles are displayed above the video. For this purpose, in step S65, it is determined whether or not the buffer end line is within the error range of the confirmed end line. In step S67, it is determined whether the buffer start line has changed in a direction larger than the confirmed start line. Should be determined. If the determinations in steps S65 and S67 are both "YES", it is determined that the status has changed from "with subtitles" to "without subtitles".

【0063】次いで、ステップS67が“NO”であれ
ば、ステップS69において、バッファ終了ラインが確
定終了ラインの誤差の範囲内であるか否かが判断され
る。ステップS69が“YES”であれば、確定データ
とバッファデータとは誤差範囲内にあると判断され、表
示モードを変化させることなく終了する。このように、
バッファデータと確定データとが誤差範囲内にある場合
には、終了する。これは、一時的に確定データと異なる
データを受信してしまい、その後、確定データと同じデ
ータを受信した場合の処理である。ステップS65およ
びS69が“NO”の場合には、それぞれステップS7
1に進む。
Next, if step S67 is "NO", it is determined in step S69 whether or not the buffer end line is within the error range of the fixed end line. If "YES" in the step S69, it is determined that the determined data and the buffer data are within the error range, and the process ends without changing the display mode. in this way,
If the buffer data and the determined data are within the error range, the process ends. This is a process when data different from the confirmed data is temporarily received, and thereafter, the same data as the confirmed data is received. If steps S65 and S69 are "NO", then step S7
Proceed to 1.

【0064】ステップS71において、バッファ開始ラ
インが確定開始ラインの誤差の範囲内か否かが判断され
る。“YES”であればステップS73において、バッ
ファ終了ラインが確定終了ラインより大きいか否かが判
断される。ステップS73が“YES”であればステッ
プS75において、字幕フラグを「字幕あり」に設定す
る。すなわち、バッファ開始ラインが誤差範囲内であ
り、かつバッファ終了ラインが大きくなる方向に変化し
たとき、「字幕なし」から「字幕あり」に変化したと判
断される。
In step S71, it is determined whether or not the buffer start line is within the error range of the fixed start line. If "YES", it is determined in step S73 whether or not the buffer end line is larger than the fixed end line. If “YES” in the step S73, in a step S75, the subtitle flag is set to “subtitle exists”. That is, when the buffer start line is within the error range and the buffer end line changes in a direction in which the buffer end line increases, it is determined that "no subtitle" has changed to "with subtitle".

【0065】一方、ステップS71およびS73のいず
れか一方が“NO”であれば、ステップS77におい
て、字幕フラグを「字幕なし」に設定する。なお、字幕
が画像の上部に表示される場合には、ステップS69に
おいて、バッファ開始ラインが確定開始ラインの誤差の
範囲内か否かが判断され、ステップS71において、バ
ッファ終了ラインが確定終了ラインの誤差の範囲内か否
かが判断され、ステップS73において、バッファ開始
ラインが確定開始ラインより大きいか否かが判断され
る。
On the other hand, if one of steps S71 and S73 is "NO", the subtitle flag is set to "no subtitle" in step S77. If the subtitle is displayed at the top of the image, it is determined in step S69 whether or not the buffer start line is within the error range of the fixed start line. It is determined whether or not the error is within the range of the error. In step S73, it is determined whether or not the buffer start line is larger than the fixed start line.

【0066】ステップS75およびS77の処理後、ス
テップS79に進む。すなわち、設定回数以上連続して
同一バッファデータが受信され、かつ「字幕あり」から
「字幕なし」への変化でもなく、バッファデータが確定
データの誤差範囲内にないときには、ステップS79に
おいて、映像ソースに変化があったとみなし、バッファ
データが確定データとされる。そして、ステップS81
において、この確定データを基に、図12に示す表示モ
ード設定処理が行われる。
After the processing in steps S75 and S77, the flow advances to step S79. That is, when the same buffer data is received continuously for the set number of times or more, and there is no change from “with subtitles” to “without subtitles” and the buffer data is not within the error range of the fixed data, in step S79, the video source Is determined to have changed, and the buffer data is determined as the determined data. Then, step S81
, A display mode setting process shown in FIG. 12 is performed based on the determined data.

【0067】図12に示す表示モード設定処理におい
て、シネスコサイズの映像ソースを映し出すのに最適な
モードをシネスコモード、字幕がある映像ソースを映し
出すのに最適なモードを字幕モード、ビスタサイズの映
像ソースを映し出すのに最適なモードをビスタモード、
アスペクト比4:3の映像ソースを映し出すのに最適な
モードを4:3モードとそれぞれいうことにする。
In the display mode setting process shown in FIG. 12, the optimal mode for projecting a video source of a cinesco size is the cinesco mode, the optimal mode for projecting a video source having subtitles is the subtitle mode, and the video source of the Vista size is used. Vista mode, the best mode to project
The optimal mode for projecting a video source having an aspect ratio of 4: 3 is referred to as a 4: 3 mode.

【0068】図12のステップS101において、まず
画面の現在の表示モードが判断される。ステップS10
1において、現在ビスタモードあるいはシネスコモード
と判断されたときには、ステップS103において字幕
があるか否かが判断される。上述したように、たとえば
画像開始ラインが一定でありかつ画像終了ラインが大き
くなる方向に変化する場合に字幕があると判断される。
ステップS103が“YES”であれば、ステップS1
05において、字幕モードが設定される。すなわち、表
示モードをビスタモードにしてかつ垂直センタを一定量
上方向に移動させることによって字幕が見えるようにす
る。具体的には、メインCPU30からビデオクロマ処
理回路24へ、垂直サイズが167本になるように垂直
サイズデータが出力され、垂直センタが128(=13
9−11)本目になるように垂直センタデータが出力さ
れる。また、所定の水平サイズデータおよび水平センタ
データも出力される。その結果、字幕モードで画像が表
示される。映像ソースに図13(A)の左図のような字
幕があれば、図13(A)の右図のような字幕モードで
画像が表示される。そして、終了する。
In step S101 of FIG. 12, first, the current display mode of the screen is determined. Step S10
In step 1, when it is determined that the current mode is the Vista mode or the Sinesco mode, it is determined in step S103 whether or not there is a caption. As described above, for example, when the image start line is constant and changes in the direction in which the image end line increases, it is determined that there is a caption.
If step S103 is "YES", step S1
At 05, a subtitle mode is set. That is, the display mode is set to the Vista mode, and the vertical center is moved upward by a fixed amount so that the subtitles can be seen. Specifically, the vertical size data is output from the main CPU 30 to the video chroma processing circuit 24 so that the vertical size becomes 167, and the vertical center is 128 (= 13).
9-11) The vertical center data is output so as to be the first one. Also, predetermined horizontal size data and horizontal center data are output. As a result, the image is displayed in the subtitle mode. If the video source has a caption as shown in the left diagram of FIG. 13A, the image is displayed in a caption mode as shown in the right diagram of FIG. Then, the process ends.

【0069】一方、ステップS103が“NO”であれ
ばステップS105に進む。ステップS105におい
て、映像ソースがシネスコサイズか否かが判断される。
シネスコサイズと判断する基準の一例としては、走査線
64本目から214本目までの範囲内に画像があり、か
つ走査線63本目までと走査線215本目以降は無画像
領域のとき、シネスコサイズと判断される。ステップS
107が“YES”であれば、ステップS109におい
て、シネスコモードが設定される。具体的には、メイン
CPU30からビデオクロマ処理回路24へ、垂直サイ
ズが139本になるように垂直サイズデータが出力さ
れ、垂直センタが139本目になるように垂直センタデ
ータが出力される。また、所定の水平サイズデータおよ
び水平センタデータも出力される。その結果、シネスコ
モードで画像が表示される。映像ソースが図13(B)
の左図のようにシネスコサイズであれば、図13(B)
の右図のようなシネスコモードで画像が表示される。そ
して、終了する。
On the other hand, if step S103 is "NO", the flow proceeds to step S105. In step S105, it is determined whether the video source is a Sinesco size.
As an example of a criterion for judging a cinesco size, when there is an image in the range from the 64th to 214th scanning lines, and when there is no image area after the 63rd scanning line and the 215th scanning line, the cinesco size is judged. Is done. Step S
If "YES" is determined in step 107, the cinesco mode is set in step S109. Specifically, the vertical size data is output from the main CPU 30 to the video chroma processing circuit 24 so that the vertical size becomes 139, and the vertical center data is output so that the vertical center becomes the 139th. Also, predetermined horizontal size data and horizontal center data are output. As a result, an image is displayed in the Sinesco mode. The video source is Fig. 13 (B)
If it is a Sinesco size as shown in the left diagram of FIG.
The image is displayed in the Sinesco mode as shown on the right side of FIG. Then, the process ends.

【0070】一方、ステップS107が“NO”であれ
ば、ステップS111に進む。ステップS111におい
て、映像ソースがビスタサイズか否かが判断される。ビ
スタサイズと判断する基準の一例としては、38本目か
ら234本目までの範囲が画像領域であり、かつ走査線
37本目までと走査線235本目以降は無画像領域で、
さらにシネスコサイズでないとき、ビスタサイズと判断
される。ステップS111が“YES”であれば、ステ
ップS113において、ビスタモードが設定される。具
体的には、メインCPU30からビデオクロマ処理回路
24へ、垂直サイズが167本となるように垂直サイズ
データが出力され、垂直センタが139本目になるよう
に垂直センタデータが出力される。また、所定の水平サ
イズデータおよび水平センタデータも出力される。その
結果、ビスタモードで画像が表示される。映像ソースが
図13(C)の左図のようにビスタサイズであれば、図
13(C)の右図のようなビスタモードで画像が表示さ
れる。そして、終了する。
On the other hand, if step S107 is "NO", the flow proceeds to step S111. In step S111, it is determined whether the video source is a Vista size. As an example of the criteria for determining the Vista size, the range from the 38th line to the 234th line is an image area, and the 37th scan line and the 235th and subsequent scan lines are non-image areas.
Further, when the size is not the Sinesco size, it is determined to be a Vista size. If “YES” in the step S111, the Vista mode is set in a step S113. Specifically, the vertical size data is output from the main CPU 30 to the video chroma processing circuit 24 so that the vertical size becomes 167 lines, and the vertical center data is output so that the vertical center becomes 139 lines. Also, predetermined horizontal size data and horizontal center data are output. As a result, the image is displayed in the Vista mode. If the video source is a Vista size as shown in the left diagram of FIG. 13C, an image is displayed in a Vista mode as shown in the right diagram of FIG. 13C. Then, the process ends.

【0071】ステップS111が“NO”であれば、
4:3サイズと判断され、ステップS115において、
4:3モードが設定される。具体的には、メインCPU
30からビデオクロマ処理回路24へ、垂直サイズが1
99本となるように垂直データが出力され、垂直センタ
が139本目となるように垂直センタデータが出力され
る。また、所定の水平サイズデータおよび水平センタデ
ータも出力される。その結果、4:3モードで画像が表
示される。映像ソースが図13(D)の左図のように
4:3サイズであれば、図13(D)の右図のような
4:3モードで画像が表示される。そして、終了する。
If step S111 is "NO",
It is determined that the size is 4: 3, and in step S115,
4: 3 mode is set. Specifically, the main CPU
30 to the video chroma processing circuit 24, the vertical size is 1
The vertical data is output so as to have 99 lines, and the vertical center data is output so as to have the 139th vertical center. Also, predetermined horizontal size data and horizontal center data are output. As a result, an image is displayed in the 4: 3 mode. If the video source is a 4: 3 size as shown in the left diagram of FIG. 13D, an image is displayed in a 4: 3 mode as shown in the right diagram of FIG. 13D. Then, the process ends.

【0072】すなわち、現在ビスタモードあるいはシネ
スコモードのときには、映像ソースに字幕があるか、映
像ソースがシネスコサイズであるかビスタサイズである
かが判断され、いずれの場合にも当てはまらない場合に
は4:3サイズと判断される。ステップS101におい
て、現在字幕モードであると判断されたときには、ステ
ップS117において、映像ソースが4:3サイズであ
るか否かが判断される。これは、字幕モード中に、映像
ソースがシネスコサイズあるいはビスタサイズであるか
の判断を行うと、「字幕あり」から「字幕なし」に変化
した場合、表示モードを切り換えてしまうからである。
映像ソースが4:3サイズと判断する基準の一例として
は、画像開始ラインが走査線35本目以前であるか画像
終了ラインが走査線239本目以降であれば、4:3サ
イズと判断される。ステップS117が“YES”であ
ればステップS115に進み、ステップS117が“N
O”であれば終了する。
In other words, in the current Vista mode or Cinema mode, it is determined whether the video source has subtitles, and whether the video source is of Sinesco size or Vista size. : Judged to be 3 sizes. When it is determined in step S101 that the current mode is the subtitle mode, in step S117, it is determined whether the video source is 4: 3 size. This is because if it is determined during the subtitle mode whether the video source is of the Cinesco size or the Vista size, the display mode is switched when “subtitles exist” to “no subtitles”.
As an example of a criterion for determining that the video source is 4: 3 size, if the image start line is before the 35th scanning line or the image end line is after the 239th scanning line, it is determined to be 4: 3 size. If step S117 is “YES”, the process proceeds to step S115, and step S117 is “N”.
If "O", the process ends.

【0073】ステップS101において、画面の現在の
表示モードが4:3モードであると判断されると、ステ
ップS119に進む。ステップS119において、映像
ソースがシネスコサイズか否かが判断される。“YE
S”であればステップS109に進み、“NO”であれ
ばステップS121に進む。ステップS121におい
て、映像ソースがビスタサイズか否かが判断される。ス
テップS121が“YES”であればステップS113
に進み、“NO”であれば終了する。このように、ステ
ップS101において現在4:3モードと判断したとき
には、映像ソースがシネスコサイズであるかビスタサイ
ズであるかの判断が行われ、字幕があるか否かの判断は
行われない。これは、「字幕あり」の判断は、1度シネ
スコモードかビスタモードに設定された上で、「字幕な
し」から「字幕あり」に変化したときに、「字幕あり」
と判断するようにしたからである。
If it is determined in step S101 that the current display mode of the screen is the 4: 3 mode, the process proceeds to step S119. In step S119, it is determined whether the video source is a Sinesco size. “YE
If “S”, the process proceeds to step S109, and if “NO”, the process proceeds to step S121.In step S121, it is determined whether the video source is a Vista size.If step S121 is “YES”, step S113 is performed.
And if "NO", end. As described above, when it is determined in step S101 that the current mode is the 4: 3 mode, it is determined whether the video source is the Cinesco size or the Vista size, and it is not determined whether there is a subtitle. This is because the judgment of “with subtitles” is made once when the mode is changed from “without subtitles” to “with subtitles” after being set to the Sinesco mode or Vista mode.
This is because it is determined that

【0074】この実施例では、無画像領域が存在する映
像ソースは主に映画が多く、そのサイズとしては大きく
分けてシネスコサイズとビスタサイズの2つに分けるこ
とができる点に鑑み、処理している。すなわち、映画な
ど画面の上下に無画像領域の存在する映像ソースに対し
て、従来ではできなかった、シネスコサイズとビスタサ
イズとの判別を実現し、それぞれのサイズに適した表示
モードに切り換えることによって、画像の欠損が少ない
表示モード自動切り換えを行うことができる。これによ
って、従来よりさらに最適な表示モード自動切り換えを
実現できる。
In this embodiment, the video source having a non-image area is mainly a movie, and in consideration of the fact that the size thereof can be roughly divided into two, ie, a Cinesco size and a Vista size, processing is performed. I have. In other words, for video sources that have no image areas above and below the screen, such as a movie, discrimination between the Cinesco size and the Vista size, which was not possible in the past, is realized, and by switching to a display mode suitable for each size. In addition, it is possible to automatically switch the display mode in which image loss is small. This makes it possible to realize more optimal display mode automatic switching than before.

【0075】また、画像開始ラインが一定でありかつ画
像終了ラインが大きくなる方向に画像終了ラインが変化
する映像ソースを、「字幕なし」から「字幕あり」に変
化したと判断することによって、画像領域外に字幕があ
ることを検出することができる。
Also, by judging that the video source in which the image start line is constant and the image end line changes in the direction in which the image end line becomes larger is changed from “no subtitle” to “with subtitle”, the image source is changed. It can be detected that there is a subtitle outside the area.

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

【図1】(A)はこの発明の一実施例を示すブロック図
であり、(B)は画像領域検出回路の一例を示すブロッ
ク図である。
FIG. 1A is a block diagram showing an embodiment of the present invention, and FIG. 1B is a block diagram showing an example of an image area detection circuit.

【図2】画像領域検出回路の一例を示す回路図である。FIG. 2 is a circuit diagram illustrating an example of an image area detection circuit.

【図3】この実施例の画面上のサンプリング領域を示す
図解図である。
FIG. 3 is an illustrative view showing a sampling area on a screen according to the embodiment;

【図4】画像領域検出用CPUの主要な動作を示すフロ
ー図である。
FIG. 4 is a flowchart showing main operations of an image area detection CPU.

【図5】画面上部の黒帯の幅を測定するためのサブルー
チンの一例を示すフロー図である。
FIG. 5 is a flowchart showing an example of a subroutine for measuring the width of a black band at the top of the screen.

【図6】画面中央部の画像の有無を測定するためのサブ
ルーチンの一例を示すフロー図である。
FIG. 6 is a flowchart showing an example of a subroutine for measuring the presence / absence of an image in the center of the screen.

【図7】画面下部の黒帯の幅を測定するためのサブルー
チンの一例を示すフロー図である。
FIG. 7 is a flowchart showing an example of a subroutine for measuring the width of a black band at the bottom of the screen.

【図8】水平ラインの黒帯の測定例を示す図解図であ
る。
FIG. 8 is an illustrative view showing a measurement example of a black band of a horizontal line;

【図9】水平ラインと画像の有無との関係を示す図解図
である。
FIG. 9 is an illustrative view showing a relationship between a horizontal line and the presence or absence of an image;

【図10】この実施例の転送フォーマットの一例を示す
図解図である。
FIG. 10 is an illustrative view showing one example of a transfer format of this embodiment;

【図11】メインCPUの動作の一例を示すフロー図で
ある。
FIG. 11 is a flowchart illustrating an example of the operation of the main CPU.

【図12】表示モード設定処理のサブルーチンの一例を
示すフロー図である。
FIG. 12 is a flowchart illustrating an example of a subroutine of a display mode setting process.

【図13】各映像ソースと各映像に応じた表示モードと
を示す図解図である。
FIG. 13 is an illustrative view showing each video source and a display mode corresponding to each video;

【図14】従来技術を説明するための図解図である。FIG. 14 is an illustrative view for explaining a conventional art;

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

10 …テレビジョン受像機 24 …ビデオクロマ処理回路 26 …駆動回路 28 …CRT 30 …メインCPU 30a …ROM 30b …RAM 42 …画像領域検出回路 50 …LPF 52 …A/D変換回路 54 …クランプパルス発生回路 56 …画像領域検出用CPU 56a …RAM DESCRIPTION OF SYMBOLS 10 ... Television receiver 24 ... Video chroma processing circuit 26 ... Drive circuit 28 ... CRT 30 ... Main CPU 30a ... ROM 30b ... RAM 42 ... Image area detection circuit 50 ... LPF 52 ... A / D conversion circuit 54 ... Clamp pulse generation Circuit 56: CPU for image area detection 56a: RAM

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 テレビジョン信号及び映像再生装置から
発生する映像信号を出力する映像ソースと、 該映像ソースからの映像信号の輝度レベルを検出する映
像信号レベル検出手段、 前記映像信号レベル検出手段の出力に基づいて表示画面
上の画像のない領域とある領域を判別し、画像開始ライ
ンおよび画像終了ラインを検出するとともに、所定時間
再生された前記映像ソースでの画像開始ライン及び画像
終了ラインの検出出力に基づいて決定された確定画像開
始ライン及び確定画像終了ラインを検出するライン検出
手段、 前記ライン検出手段の確定開始ライン及び確定終了ライ
ンの出力に基づいて前記映像ソースのサイズがシネマス
コープサイズ、ビスタサイズ、それら以外のサイズのい
ずれであるかを判別する映像ソース判別手段と、 前記ライン検出手段で検出される前記画像開始ラインが
前記確定画像開始ラインに比して略一定であり且つ前記
ライン検出手段で検出される前記画像終了ラインの輝度
レベルが前記確定画像終了ラインの輝度レベルに対して
大きくなる方向に変化すると、前記映像ソースに字幕が
ない状態から字幕がある状態に変化したことを検知する
字幕判別手段と、 前記映像ソース判別手段の出力及び前記字幕判別手段の
出力に応じて各映像ソース毎に一義的に決定される表示
モードで画像を画面に表示する表示調整手段を備えるテ
レビジョン受像機。
A video source for outputting a television signal and a video signal generated from a video reproducing apparatus; a video signal level detecting means for detecting a luminance level of the video signal from the video source; Based on the output, a region having no image and a certain region on the display screen are determined, an image start line and an image end line are detected, and an image start line and an image end line are detected in the video source reproduced for a predetermined time. A line detection means for detecting a fixed image start line and a fixed image end line determined based on the output, the size of the video source being a cinemascope size based on the output of the fixed start line and the fixed end line of the line detection means, A video source determining means for determining whether the size is Vista size or other size; The image start line detected by the line detection means is substantially constant as compared with the confirmed image start line, and the luminance level of the image end line detected by the line detection means is the luminance level of the confirmed image end line When it changes in a direction to become larger, the subtitle discriminating means for detecting that the video source has changed from a state without subtitles to a state with subtitles, an output of the video source determining means and an output of the subtitle determining means A television receiver comprising display adjustment means for displaying an image on a screen in a display mode uniquely determined for each video source in response to the image.
【請求項2】 前記字幕判別手段による出力で字幕ない
状態から字幕がある状態へと変化したことを検出したと
き、前記表示調整手段は、表示画面上で上部の方向へ画
像を移動させる請求項1記載のテレビジョン受像機。
2. The display adjustment unit, when detecting a change from a state without subtitles to a state with subtitles as output by the subtitle discrimination unit, moves the image in an upward direction on a display screen. 2. The television receiver according to 1.
【請求項3】 前記表示調整手段によって画像を一旦上
方に移動させた後は、前記表示調整手段は前記字幕判別
手段の検知出力が変化しても表示モードを変化させない
請求項2記載のテレビジョン受像機。
3. The television according to claim 2, wherein, after the image has been once moved upward by the display adjusting means, the display adjusting means does not change the display mode even if the detection output of the subtitle discriminating means changes. Receiver.
JP06182366A 1994-08-03 1994-08-03 Television receiver Expired - Fee Related JP3133615B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06182366A JP3133615B2 (en) 1994-08-03 1994-08-03 Television receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06182366A JP3133615B2 (en) 1994-08-03 1994-08-03 Television receiver

Publications (2)

Publication Number Publication Date
JPH0846890A JPH0846890A (en) 1996-02-16
JP3133615B2 true JP3133615B2 (en) 2001-02-13

Family

ID=16117059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06182366A Expired - Fee Related JP3133615B2 (en) 1994-08-03 1994-08-03 Television receiver

Country Status (1)

Country Link
JP (1) JP3133615B2 (en)

Also Published As

Publication number Publication date
JPH0846890A (en) 1996-02-16

Similar Documents

Publication Publication Date Title
EP1475964A1 (en) Video display apparatus and video display method
EP0632649A1 (en) Video camera with electronic picture stabilizer and generation of addition data
US7450177B2 (en) Apparatus and method to control caption positioning
JP3133615B2 (en) Television receiver
JP3599786B2 (en) Television receiver
JPH1198422A (en) Video signal discrimination circuit
JP3322529B2 (en) Television receiver
GB2319921A (en) Picture width determination and setting
JP3600184B2 (en) Television receiver
JPH0918797A (en) Television receiver
JPH0795444A (en) Vertical synchronizing circuit
JP3250676B2 (en) Imaging device
JP3232950B2 (en) Video type identification device, automatic aspect ratio identification device and television receiver using the same
JPH1198423A (en) Display device and display method
JP3299838B2 (en) Wide aspect television display
JPH099170A (en) Pattern display region discrimination device
JP3316271B2 (en) Television receiver
JP3311569B2 (en) Television receiver
JP3241539B2 (en) Video signal processing circuit
JP2002330408A (en) Video signal processing unit
JP3197809B2 (en) Television receiver
JPH07298200A (en) Letter box screen detector
JPH08111827A (en) Television receiver
JPH05199462A (en) Video signal processing circuit
JPH05161089A (en) Picture detection circuit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20001031

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

Free format text: PAYMENT UNTIL: 20081124

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081124

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091124

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101124

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees