JPH08195919A - Picture size controller - Google Patents

Picture size controller

Info

Publication number
JPH08195919A
JPH08195919A JP7021342A JP2134295A JPH08195919A JP H08195919 A JPH08195919 A JP H08195919A JP 7021342 A JP7021342 A JP 7021342A JP 2134295 A JP2134295 A JP 2134295A JP H08195919 A JPH08195919 A JP H08195919A
Authority
JP
Japan
Prior art keywords
image
line position
digital data
data
mask portions
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.)
Granted
Application number
JP7021342A
Other languages
Japanese (ja)
Other versions
JP3144257B2 (en
Inventor
Izuru Shirai
出 白井
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP02134295A priority Critical patent/JP3144257B2/en
Publication of JPH08195919A publication Critical patent/JPH08195919A/en
Application granted granted Critical
Publication of JP3144257B2 publication Critical patent/JP3144257B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Television Systems (AREA)

Abstract

PURPOSE: To accurately detect upper and lower mask parts and to display that image on a video display part in the optimum state. CONSTITUTION: A low-pass filter 1 removes the high frequency component of a video signal and an A/D converting circuit 2 converts that video signal to digital data. A synchronizing signal separator circuit 3 separates a synchronizing signal from the video signal and a timing generating circuit 4 supplies a timing signal to an arithmetic circuit 5. The arithmetic circuit 5 vertically fetches the data at horizontal positions so that the plural horizontal positions can be provided. The luminance level of upper and lower mask parts is detected from those data and with this luminance level as a reference, data are threshold processed. The binary data are horizontally integrated and based on the integrated data, upper video start and lower video end line positions are calculated. As a result, in the case of a laterally long image, an aspect conversion circuit 6 is operated and that image is displayed on a cathode-ray tube 7.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、アスペクト比16:9
の映像表示部(ブラウン管等)を有し、アスペクト変換
回路を備えたテレビジョン受像機に用いて好適な画面サ
イズ調整装置に係り、特に、映像信号がアスペクト比
4:3で上下部分をマスクした横長画像であるかどうか
を自動判別し、鑑賞者が煩雑な操作をすることなくその
画像を映像表示部に最適な状態で表示することができる
画面サイズ調整装置に関する。
The present invention has an aspect ratio of 16: 9.
The present invention relates to a screen size adjusting device suitable for use in a television receiver having an image display unit (CRT, etc.) and having an aspect conversion circuit, and in particular, the upper and lower parts of a video signal are masked with an aspect ratio of 4: 3. The present invention relates to a screen size adjusting device capable of automatically determining whether a landscape image is a long image and displaying the image in an optimal state on a video display unit without a viewer performing a complicated operation.

【0002】[0002]

【従来の技術】最近になって、アスペクト比16:9の
ワイドアスペクトの映像表示部を備えたテレビジョン受
像機(以下、ワイドTV)が登場しており、また、映像
ソースとして図24に示すようにアスペクト比4:3で
はあるが上下の部分に無画部(マスク部分)が存在する
ビスタソースを始め、映像の存在する範囲(垂直サイ
ズ)が異なる種々の態様のソースが供給されるようにな
ってきた。
2. Description of the Related Art Recently, a television receiver (hereinafter referred to as wide TV) equipped with a wide aspect video display portion having an aspect ratio of 16: 9 has been introduced, and also shown in FIG. 24 as a video source. As described above, various sources such as a Vista source having an aspect ratio of 4: 3 but a non-image portion (mask portion) existing in the upper and lower portions, and various modes in which an image existing range (vertical size) is different are supplied. Has become.

【0003】図24に示すような映像ソースをワイドT
Vにそのまま表示すると、図25(A)に示すように横
伸びの映像となるが、鑑賞者がアスペクト変換を手動設
定すれば、図25(B)に示すように映像の存在する垂
直方向中央部のアスペクト比16:9の範囲の映像が拡
大され、ワイドアスペクトの映像表示部を十分に生かし
た表示が可能となる。
A video source as shown in FIG.
When it is displayed on V as it is, it becomes a horizontally elongated image as shown in FIG. 25 (A), but if the viewer manually sets the aspect conversion, as shown in FIG. 25 (B), the vertical center of the image exists. The image in the range of the aspect ratio of 16: 9 is enlarged, and it is possible to display by making full use of the wide aspect image display unit.

【0004】このように、従来のワイドTVにおいて
は、上下部分をマスクした映画等の映像ソースを表示す
る場合には、鑑賞者が手動でアスペクト変換を動作させ
なければならなかった。上下マスク部分の幅は映像ソー
ス毎にばらばらであったり、必ずしも一定ではないの
で、上記のようなアスペクト変換は極めて煩雑な操作が
必要であった。そこで、映像信号が上下部分をマスクし
た横長画像であるかどうかを自動判別し、鑑賞者が煩雑
な操作をすることなくその画像を映像表示部に最適な状
態で表示するようにした画面サイズ調整装置が開発さ
れ、また、それを搭載したワイドTVも登場している。
As described above, in the conventional wide TV, when displaying a video source such as a movie whose upper and lower parts are masked, the viewer has to manually operate the aspect conversion. Since the widths of the upper and lower mask portions are different or not necessarily constant for each video source, the aspect conversion as described above requires an extremely complicated operation. Therefore, it automatically determines whether the video signal is a horizontally long image with the upper and lower parts masked, and adjusts the screen size so that the image is displayed in the optimal state on the video display unit without the viewer performing complicated operations. A device has been developed, and a wide TV equipped with the device has also appeared.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
画面サイズ調整装置においては、上下マスク部分の輝度
レベルが高い場合や上下マスク部分の輝度レベルと映像
の輝度レベルとにあまり差がないような場合にはマスク
部分と映像との境界(エッジ)の検出が困難になった
り、境界の検出に時間がかかって映像表示部に表示する
画面サイズを調整するまでの時間が長くなり、鑑賞者に
違和感を与えてしまうことがあるという問題点があっ
た。また、上下マスク部分に字幕等の付加情報が挿入さ
れている場合にも、マスク部分と映像との境界の検出が
困難になったり、あるいは、付加情報が存在するか否か
を正確に判別することができず、付加情報が削除されて
アスペクト変換されることがあるという問題点があっ
た。
However, in the conventional screen size adjusting apparatus, when the luminance level of the upper and lower mask portions is high or there is not much difference between the luminance level of the upper and lower mask portions and the luminance level of the image. It becomes difficult to detect the boundary (edge) between the mask part and the image, and it takes time to detect the boundary, and the time to adjust the screen size displayed on the image display part becomes long, which makes viewers feel uncomfortable. There was a problem that it might give. Further, even when additional information such as subtitles is inserted in the upper and lower mask portions, it becomes difficult to detect the boundary between the mask portion and the image, or it is accurately determined whether or not the additional information exists. However, there is a problem that additional information may be deleted and aspect conversion may be performed.

【0006】本発明はこのような問題点に鑑みなされた
ものであり、上下マスク部分を精度よく検出することが
できる画面サイズ調整装置、及び、上下マスク部分に付
加情報が存在するか否かを正確に判別することができる
画面サイズ調整装置を提供することを目的とする。
The present invention has been made in view of the above problems, and it is a screen size adjusting device capable of accurately detecting upper and lower mask portions, and whether or not additional information exists in the upper and lower mask portions. An object of the present invention is to provide a screen size adjustment device that can be accurately identified.

【0007】[0007]

【課題を解決するための手段】本発明は、上述した従来
の技術の課題を解決するため、入来する映像信号におけ
る上下マスク部分の有無及びその位置を求め、その画像
に応じて画面サイズを調整する画面サイズ調整装置にお
いて、前記入来する映像信号の高域成分を除去するロー
パスフィルタと、前記ローパスフィルタより出力される
映像信号をデジタルデータに変換するA/D変換回路
と、データ取り込みタイミング信号により前記A/D変
換回路より出力される前記デジタルデータを所定の水平
位置において垂直方向に1フィールドに渡って複数の水
平位置となるよう1または複数フィールド分取り込むこ
とにより前記上下マスク部分を検出する演算回路と、前
記演算回路の検出結果に基づいて前記入来する映像信号
をアスペクト変換するアスペクト変換回路とを設け、
(1)前記演算回路に、前記上下マスク部分の輝度レベ
ルを検出する第1の手段と、この第1の手段によって検
出された前記上下マスク部分の輝度レベルに基づいた所
定の基準値を基準として前記デジタルデータを第1の値
と第2の値とに2値化変換する第2の手段と、この第2
の手段によって2値化変換されたデジタルデータを水平
方向に積算する第3の手段と、この第3の手段によって
積算されたデジタルデータが所定のレベルを越えた点を
検出することによって上部映像開始ライン位置及び下部
映像終了ライン位置を求める第4の手段とを備えて構成
したことを特徴とする画面サイズ調整装置を提供し、
(2)前記演算回路に、前記上下マスク部分の輝度レベ
ルを検出する第1の手段と、この第1の手段によって検
出された前記上下マスク部分の輝度レベルに基づいた所
定の基準値を基準として前記デジタルデータを第1の値
と第2の値とに2値化変換する第2の手段と、この第2
の手段によって2値化変換されたデジタルデータを画面
の水平方向に複数の領域に分割し、それぞれの領域毎に
より上端部に近いものをその領域における上部映像開始
ライン位置と決定すると共に、より下端部に近いものを
その領域における下部映像終了ライン位置と決定する第
3の手段と、この第3の手段によって得られたそれぞれ
の領域における上部映像開始ライン位置及び下部映像終
了ライン位置の内、より上端部に近いものを映像全体と
しての上部映像開始ライン位置と決定すると共に、より
下端部に近いものを映像全体としての下部映像終了ライ
ン位置と決定する第4の手段と、前記第3の手段によっ
て得られたそれぞれの領域における上部映像開始ライン
位置及び下部映像終了ライン位置と前記第4の手段によ
って得られた映像全体としての上部映像開始ライン位置
及び下部映像終了ライン位置とのばらつきを求める第5
の手段と、この第5の手段によって得られたばらつきに
応じて前記アスペクト変換回路を動作させる第6の手段
とを備えて構成したことを特徴とする画面サイズ調整装
置を提供し、(3)前記演算回路に、前記上下マスク部
分の輝度レベルを検出する第1の手段と、この第1の手
段によって検出された前記上下マスク部分の輝度レベル
に基づいた所定の基準値を基準として前記デジタルデー
タを第1の値と第2の値とに2値化変換する第2の手段
と、この第2の手段によって2値化変換されたデジタル
データに基づいて上部映像開始ライン位置及び下部映像
終了ライン位置を求める第3の手段と、前記A/D変換
回路により得られた前記デジタルデータの少なくとも一
部分を第1の値〜第3の値に3値化変換する第4の手段
と、この第4の手段によって3値化変換されたデータに
基づいて前記上下マスク部分に付加情報が重畳されてい
るか否かを検出する第5の手段とを備えて構成したこと
を特徴とする画面サイズ調整装置を提供し、(4)前記
演算回路に、前記上下マスク部分の輝度レベルを検出す
る第1の手段と、この第1の手段によって検出された前
記上下マスク部分の輝度レベルに基づいた所定の基準値
を基準として前記デジタルデータを第1の値と第2の値
とに2値化変換する第2の手段と、この第2の手段によ
って2値化変換されたデジタルデータを水平方向に積算
する第3の手段と、この第3の手段によって積算された
デジタルデータが所定のレベルを越えた点を検出するこ
とによって上部映像開始ライン位置及び下部映像終了ラ
イン位置を求める第4の手段と、前記積算されたデジタ
ルデータにおける垂直方向の端部より前記上部映像開始
ライン位置あるいは下部映像終了ライン位置までに前記
所定のレベルより小さくかつ0でないレベルを有する点
を検出する第5の手段と、この第5の手段によって得ら
れた0でないレベルを有する点と前記上部映像開始ライ
ン位置あるいは下部映像終了ライン位置までの距離を検
出することにより、前記上下マスク部分に付加情報が重
畳されているか否かを検出する第6の手段とを備えて構
成したことを特徴とする画面サイズ調整装置を提供する
ものである。
In order to solve the above-mentioned problems of the prior art, the present invention determines the presence or absence and the position of upper and lower mask portions in an incoming video signal, and determines the screen size according to the image. In a screen size adjusting device for adjusting, a low-pass filter for removing a high frequency component of the incoming video signal, an A / D conversion circuit for converting the video signal output from the low-pass filter into digital data, and a data capture timing The upper and lower mask portions are detected by capturing the digital data output from the A / D conversion circuit by a signal for one or a plurality of fields so as to be a plurality of horizontal positions vertically over one field at a predetermined horizontal position. And an aspect conversion of the incoming video signal based on the detection result of the arithmetic circuit. And the aspect ratio conversion circuit is provided,
(1) In the arithmetic circuit, a first means for detecting the brightness levels of the upper and lower mask portions and a predetermined reference value based on the brightness levels of the upper and lower mask portions detected by the first means are used as references. Second means for binarizing the digital data into a first value and a second value;
Means for integrating the digital data binarized by the means in the horizontal direction, and detecting a point where the digital data integrated by the third means exceeds a predetermined level to start the upper image. Provided is a screen size adjusting device comprising: a line position and a fourth means for obtaining a lower image end line position.
(2) In the arithmetic circuit, the first means for detecting the brightness levels of the upper and lower mask portions, and a predetermined reference value based on the brightness levels of the upper and lower mask portions detected by the first means are used as references. Second means for binarizing the digital data into a first value and a second value;
The digital data binarized by the means is divided into a plurality of areas in the horizontal direction of the screen, and the area closer to the upper end of each area is determined as the upper video start line position in that area, and the lower end A third means for determining a position close to the part as a lower video end line position in the area, and an upper video start line position and a lower video end line position in each area obtained by the third means, Fourth means for deciding the one closer to the upper end as the upper image start line position for the whole image, and deciding the one closer to the lower end for the lower image end line position as the whole image, and the third means The upper image start line position and the lower image end line position in each area obtained by the above, and the image obtained by the fourth means. Fifth determining a variation of the upper image start line position and the lower video end line position as the body
And a sixth means for operating the aspect conversion circuit according to the variation obtained by the fifth means, the screen size adjusting device being provided. First arithmetic means in the arithmetic circuit for detecting the luminance levels of the upper and lower mask portions, and the digital data with reference to a predetermined reference value based on the luminance levels of the upper and lower mask portions detected by the first means. To a first value and a second value, and second means for binarizing and converting the upper video start line position and the lower video end line based on the digital data binarized by the second means. Third means for obtaining a position, fourth means for ternarizing at least a part of the digital data obtained by the A / D conversion circuit into first to third values, and fourth means hand of And a fifth means for detecting whether or not additional information is superimposed on the upper and lower mask portions based on the data ternarized by the above. (4) A first means for detecting the brightness levels of the upper and lower mask portions in the arithmetic circuit, and a predetermined reference value based on the brightness levels of the upper and lower mask portions detected by the first means. As a second means for binarizing and converting the digital data into a first value and a second value, and a third means for horizontally integrating the digital data binarized and converted by the second means. Means and fourth means for obtaining an upper video start line position and a lower video end line position by detecting a point where the digital data accumulated by the third means exceeds a predetermined level. Fifth means for detecting a point having a level smaller than the predetermined level but not 0 from the vertical end of the integrated digital data to the upper video start line position or the lower video end line position, and By detecting the distance between the upper image start line position or the lower image end line position and the point having a non-zero level obtained by the means of 5, it is determined whether or not additional information is superimposed on the upper and lower mask portions. The present invention provides a screen size adjusting device characterized by comprising a sixth means for detecting.

【0008】[0008]

【実施例】以下、本発明の画面サイズ調整装置につい
て、添付図面を参照して説明する。図1は本発明の画面
サイズ調整装置の構成を示すブロック図、図2は本発明
の画面サイズ調整装置による映像データ取り込み方法を
説明するための図、図3は本発明の画面サイズ調整装置
によるサンプリングデータの一例を示す波形図、図4は
本発明の画面サイズ調整装置の動作を説明するための波
形図、図5〜図7は本発明の画面サイズ調整装置の動作
を説明するための図、図8は本発明の画面サイズ調整装
置の動作を説明するための波形図、図9及び図10は本
発明の画面サイズ調整装置の第1実施例の動作を説明す
るための図、図11は映像と上下マスク部分との境界が
ばらついた画像の例を示す図、図12及び図13は本発
明の画面サイズ調整装置の第1実施例の動作を説明する
ための図、図14は本発明の画面サイズ調整装置の他の
構成を示すブロック図、図15は映像と上下マスク部分
との境界を判別しにくい画像の例を示す図、図16は図
15に示す画像をサンプリングした結果を示す図、図1
7は本発明の画面サイズ調整装置の第2実施例の動作を
説明するための図、図18は下部マスク部分に字幕が重
畳された画像の例を示す図、図19及び図20は本発明
の画面サイズ調整装置の第3実施例の動作を説明するた
めの図、図21は上部マスク部分に文字が重畳された画
像の例を示す図、図22及び図23は本発明の画面サイ
ズ調整装置の第4実施例の動作を説明するための図であ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A screen size adjusting device of the present invention will be described below with reference to the accompanying drawings. FIG. 1 is a block diagram showing a configuration of a screen size adjusting apparatus of the present invention, FIG. 2 is a diagram for explaining a video data capturing method by the screen size adjusting apparatus of the present invention, and FIG. 3 is a screen size adjusting apparatus of the present invention. FIG. 4 is a waveform diagram showing an example of sampling data, FIG. 4 is a waveform diagram for explaining the operation of the screen size adjusting apparatus of the present invention, and FIGS. 5 to 7 are diagrams for explaining the operation of the screen size adjusting apparatus of the present invention. FIG. 8 is a waveform diagram for explaining the operation of the screen size adjusting apparatus of the present invention. FIGS. 9 and 10 are diagrams for explaining the operation of the first embodiment of the screen size adjusting apparatus of the present invention. Is a diagram showing an example of an image in which the boundary between the image and the upper and lower mask portions varies, FIGS. 12 and 13 are diagrams for explaining the operation of the first embodiment of the screen size adjusting apparatus of the present invention, and FIG. 14 is a book. Other than the screen size adjusting device of the invention Block diagram showing the configuration, Fig 15 is showing an example of an image difficult to determine the boundary between the image and the vertical mask portion, FIG. 16 shows the results obtained by sampling the image shown in FIG. 15, FIG. 1
7 is a diagram for explaining the operation of the second embodiment of the screen size adjusting apparatus of the present invention, FIG. 18 is a diagram showing an example of an image in which subtitles are superimposed on the lower mask portion, and FIGS. For explaining the operation of the third embodiment of the screen size adjusting apparatus of FIG. 21, FIG. 21 is a view showing an example of an image in which characters are superimposed on the upper mask portion, and FIGS. 22 and 23 are screen size adjusting of the present invention. It is a figure for demonstrating operation | movement of 4th Example of an apparatus.

【0009】まず、図1に示す本発明の画面サイズ調整
装置の構成及び第1実施例の動作について説明する。図
1において、入来した映像信号はローパスフィルタ1,
同期分離回路3,アスペクト変換回路6に入力される。
ローパスフィルタ1は入力された映像信号の高域成分を
除去してA/D変換回路2に入力する。これは、画像に
おけるマスク部分を構成する周波数は低域成分であるの
でマスク部分を検出するには高域成分は不必要であり、
映像信号の内、0〜800kHzの低域成分をサンプリ
ングすれば十分であるからである。また、ローパスフィ
ルタ1は、映像信号のS/Nが悪い場合には多くのノイ
ズ成分が交じり込むので、ランダムノイズやスパークに
よるパルス状ノイズを除去し、誤検出を防止する役割を
果たすと同時に、後段のA/D変換回路2としてサンプ
リング周波数が低く安価なものを使用できるという役割
も果たす。なお、必要とする周波数成分が低いため、入
来する映像信号がコンポジット信号であってもNTSC
で3.58MHzで重畳されている色成分は通過でき
ず、単純に輝度成分のみが通過する。従って、入来する
映像信号は、Y/C分離を行った後の輝度信号のみで
も、コンポジット信号でも同じように動作する。
First, the structure of the screen size adjusting apparatus of the present invention shown in FIG. 1 and the operation of the first embodiment will be described. In FIG. 1, the incoming video signal is a low-pass filter 1,
It is input to the sync separation circuit 3 and the aspect conversion circuit 6.
The low-pass filter 1 removes the high frequency component of the input video signal and inputs it to the A / D conversion circuit 2. This is because the frequency forming the mask portion in the image is a low-frequency component, so the high-frequency component is unnecessary to detect the mask portion,
This is because it is sufficient to sample the low frequency component of 0 to 800 kHz in the video signal. Also, the low-pass filter 1 mixes many noise components when the S / N of the video signal is bad, so it removes pulse noise due to random noise and sparks, and at the same time prevents false detection. The A / D conversion circuit 2 in the subsequent stage also has a role of being able to use an inexpensive one having a low sampling frequency. Since the required frequency component is low, even if the incoming video signal is a composite signal, NTSC
The color component superimposed at 3.58 MHz cannot pass, but only the luminance component passes. Therefore, the incoming video signal operates in the same manner whether it is a luminance signal after Y / C separation or a composite signal.

【0010】一方、同期分離回路3は入力された映像信
号より同期信号を分離し、タイミング発生回路4に水平
同期信号,垂直同期信号等の映像のタイミング信号を供
給する。タイミング発生回路4は演算回路5に映像デー
タを取り込むための取り込みタイミング信号を供給す
る。そして、演算回路5はこの取り込みタイミング信号
によってA/D変換回路2によってデジタル信号に変換
された映像データを取り込み、後に詳述するような手法
により映像データを分析して入来した映像信号が上下部
分をマスクした横長画像であるかどうかを判別する。な
お、演算回路5としてはマイクロコンピュータを用いる
ことができ、この場合、A/D変換回路2はそのマイク
ロコンピュータ内蔵のものを用いても何ら問題ない。ま
た、ここではタイミング発生回路4を用いて演算回路5
に映像データの取り込みタイミング信号を供給している
が、演算回路5内部で水平同期信号,垂直同期信号によ
って同様の取り込み制御ができる場合にはタイミング発
生回路4は必ずしも必要なものではない。
On the other hand, the sync separation circuit 3 separates the sync signal from the input video signal, and supplies the timing generation circuit 4 with video timing signals such as a horizontal sync signal and a vertical sync signal. The timing generation circuit 4 supplies the arithmetic circuit 5 with a capture timing signal for capturing video data. Then, the arithmetic circuit 5 takes in the video data converted into the digital signal by the A / D conversion circuit 2 according to the take-in timing signal, analyzes the video data by a method which will be described later in detail, and the incoming video signal goes up and down. It is determined whether the image is a horizontally long image with a portion masked. It should be noted that a microcomputer can be used as the arithmetic circuit 5, and in this case, there is no problem even if the A / D conversion circuit 2 has a built-in microcomputer. Further, here, the timing generation circuit 4 is used to operate the arithmetic circuit 5.
Although the timing signal for fetching video data is supplied to the timing generator circuit 4, the timing generator circuit 4 is not always necessary if the same fetch control can be performed by the horizontal synchronizing signal and the vertical synchronizing signal in the arithmetic circuit 5.

【0011】そして、演算回路5が映像データを分析し
た結果、入来した映像信号が上下部分をマスクした図2
4に示すようなアスペクト比4:3ではあるが垂直方向
中央部にアスペクト比16:9の映像が存在する横長画
像であると判別すれば、演算回路5はアスペクト変換回
路6に図25(B)に示すようにアスペクト変換するよ
う指示する。アスペクト変換回路6はこの指示に従って
入力される映像信号のアスペクトを変換してブラウン管
7に供給する。なお、アスペクト変換回路6はデジタル
信号処理によって映像のアスペクトを変換したり、ある
いは水平,垂直の少なくとも一方の偏向幅を操作するこ
とによって映像のアスペクトを変換するよく知られたア
スペクト変換手段である。従って、ブラウン管7の管面
上には、入来した映像信号に最適な状態にアスペクト変
換された画像が表示される。
Then, as a result of the arithmetic circuit 5 analyzing the image data, the incoming image signal is masked in the upper and lower parts of FIG.
If it is determined that the image is a horizontally long image having an aspect ratio of 4: 3 as shown in FIG. 4 but an aspect ratio of 16: 9 in the central portion in the vertical direction, the arithmetic circuit 5 causes the aspect conversion circuit 6 to operate as shown in FIG. ), And instruct to perform aspect conversion. The aspect conversion circuit 6 converts the aspect of the input video signal according to this instruction and supplies it to the cathode ray tube 7. The aspect conversion circuit 6 is a well-known aspect conversion means for converting the aspect of the image by digital signal processing, or converting the aspect of the image by manipulating at least one of the horizontal and vertical deflection widths. Therefore, on the tube surface of the cathode ray tube 7, an image whose aspect is converted into an optimum state for the incoming video signal is displayed.

【0012】ここで、本発明の演算回路5による映像デ
ータ取り込み方法及びその分析手法について説明する。
演算回路5はタイミング発生回路4によって指定される
取り込みタイミングによって、図2に示すように、まず
所定の水平方向の位置(1)において画面の垂直方向に
1フィールドに渡って映像データを取り込む。次のフィ
ールドでは水平方向の位置を後方に遅らせ、水平方向の
位置(2)において同様に映像データを取り込み、以下
同様に水平方向の最終位置(8)まで取り込むと水平方
向の先頭位置(1)に復帰する。このように、映像デー
タの取り込み動作を画面の水平方向のサンプリングが完
了するまで連続して行えば、全画面のデータが得られ
る。本実施例のように全画面を水平方向に8分割した場
合には、全画面のサンプリングが完了するまでには、8
フィールドを必要とする。勿論、この分割幅を狭めたり
広げたりしてもよく、演算回路5の能力が高く、メモリ
が豊富にある場合には、全画面を同時にサンプリングし
てもよい。
Now, a method of capturing video data by the arithmetic circuit 5 of the present invention and a method of analyzing the same will be described.
As shown in FIG. 2, the arithmetic circuit 5 first captures video data over one field in the vertical direction of the screen at a predetermined horizontal position (1) at the capture timing designated by the timing generation circuit 4. In the next field, the position in the horizontal direction is delayed backward, the image data is similarly captured at the position (2) in the horizontal direction, and thereafter, when the final position (8) in the horizontal direction is similarly captured, the leading position (1) in the horizontal direction is obtained. Return to. In this way, if the operation of capturing the video data is continuously performed until the horizontal sampling of the screen is completed, the data of the entire screen can be obtained. When the entire screen is divided into eight parts in the horizontal direction as in the present embodiment, it is necessary to divide the entire screen into eight by the time sampling of the entire screen is completed.
Requires a field. Of course, this division width may be narrowed or widened, and if the arithmetic circuit 5 has high capability and abundant memory, the entire screen may be sampled at the same time.

【0013】入来した映像信号が図24に示すような上
下をマスクした映像であれば、以上により取り込まれた
垂直方向のデジタルデータは、一例として図3(A)に
示すような波形となる。この場合は上部映像開始ライン
位置と下部映像終了ライン位置を検出すればよい。ま
た、下部マスク部分に字幕が重畳された映像であれば、
垂直方向のデジタルデータは、一例として図3(B)に
示すような波形となる。この場合は上部映像開始ライン
位置と下部映像終了ライン位置に加え、字幕開始ライン
位置と字幕終了ライン位置を検出する必要がある。な
お、以下の説明では字幕が重畳されていない図3(A)
のような映像を例として説明することとする。
If the incoming video signal is a video in which the upper and lower sides are masked as shown in FIG. 24, the vertical digital data fetched as described above will have a waveform as shown in FIG. 3A as an example. . In this case, the upper video start line position and the lower video end line position may be detected. Also, if the video has subtitles superimposed on the lower mask part,
The digital data in the vertical direction has a waveform as shown in FIG. 3B as an example. In this case, it is necessary to detect the subtitle start line position and the subtitle end line position in addition to the upper video start line position and the lower video end line position. Note that in the following description, subtitles are not superimposed in FIG.
The video like this will be described as an example.

【0014】また、図4において、(A)はマスク部分
の輝度レベルが低く、映像部分とマスク部分が比較的は
っきりと区別できる場合のサンプリングデータ(1つの
水平位置における垂直方向のデータ)を示しており、
(B)はマスク部分の輝度レベルが高く、映像部分とマ
スク部分が区別しにくい場合のサンプリングデータを示
している。なお、図4(A),(B)においても、左側
が画面上部を右側が画面下部である。本発明では、映像
部分とマスク部分の輝度レベルの差が大きい図4(A)
に示すような映像であっても、映像部分とマスク部分の
輝度レベルの差が小さい図4(B)に示すような映像で
あっても、どのような映像であっても上下マスク部分を
精度よく検出するために次のような手法を用いている。
Further, in FIG. 4, (A) shows sampling data (vertical data at one horizontal position) when the luminance level of the mask portion is low and the image portion and the mask portion can be relatively clearly distinguished. And
(B) shows the sampling data when the luminance level of the mask portion is high and it is difficult to distinguish the image portion and the mask portion. 4A and 4B, the left side is the upper part of the screen and the right side is the lower part of the screen. In the present invention, the difference in the luminance level between the image portion and the mask portion is large, as shown in FIG.
4B, the difference between the brightness levels of the image part and the mask part is small, no matter what kind of image the upper and lower mask parts have The following method is used for good detection.

【0015】まず、図2に示す如くサンプリングしたデ
ータを用いて上下マスク部分の輝度レベルを以下のよう
に統計的に求める。図5に示すように、破線でハッチン
グを付した上下マスク部分の内、上下端部の実線でハッ
チングを付した領域〜の部分を抽出し、これら6つ
の領域におけるデータを用いる。ここでは一例として、
上から10ライン程度、下から10ライン程度とし、水
平方向に3分割しているので、6つの領域としている
が、分割の個数はこれに限定されない。なお、下から1
0ライン程度とするのは、下部マスク部分に字幕が重畳
された映像であった場合でも、字幕部分のデータを用い
ないようにするためである。下から10ライン程度の位
置に字幕が重畳されることはほとんどないので、入来し
た映像が上下マスク部分を有するものであれば、映像の
ない上下マスク部分のデータのみを取り出すことができ
る。勿論、上下マスク部分の輝度レベル検出に用いる上
下のライン数はこれに限定されない。
First, using the data sampled as shown in FIG. 2, the luminance levels of the upper and lower mask portions are statistically obtained as follows. As shown in FIG. 5, of the upper and lower mask portions hatched with broken lines, the portions from the hatched areas with the solid lines at the upper and lower ends are extracted, and the data in these six areas are used. Here, as an example,
Since there are about 10 lines from the top and about 10 lines from the bottom and the image is divided into three in the horizontal direction, there are six regions, but the number of divisions is not limited to this. In addition, 1 from the bottom
The reason why the number of lines is about 0 is that the data of the subtitle portion is not used even in the case where the subtitle is superimposed on the lower mask portion. Since subtitles are rarely superimposed on the position of about 10 lines from the bottom, if the incoming video has upper and lower mask portions, only the data of the upper and lower mask portions without the video can be taken out. Of course, the number of upper and lower lines used for detecting the brightness levels of the upper and lower mask portions is not limited to this.

【0016】上下マスク部分として考えられる輝度レベ
ルの最大値に低周波ノイズの影響を考慮した微小な値を
足し合わせた輝度レベルをAとし、それぞれのデータが
取り得る値の最大値をB(データが8ビットであれば2
55)とし、領域〜のそれぞれで得られたサンプリ
ングデータを図6に示すように非線形変換する。即ち、
領域〜のそれぞれで得られたサンプリングデータが
レベルAより大きければそのデータのレベルを最大値B
に変換するものである。そして、それぞれの領域におい
て、値Bであるデータの個数がある規定された値以上で
あれば、その映像は図24に示すような上下マスク部分
を有する映像ではなく、通常のアスペクト比4:3の映
像であると判定する。本実施例では、データを領域〜
よりなる複数のブロックに分割し、それぞれにおいて
値Bであるデータの個数を確認するので、アスペクト比
4:3の映像が入来した際には、多くの場合、領域の
データのみを確認することにより上下マスク部分がない
映像であることが検出されることになり、アスペクトの
検出は極めて速い。
A brightness level obtained by adding a minute value considering the influence of low frequency noise to the maximum brightness level considered as the upper and lower mask portions is A, and the maximum value that each data can take is B (data 2 if is 8 bits
55), the sampling data obtained in each of the areas 1 to 5 are nonlinearly converted as shown in FIG. That is,
If the sampling data obtained in each of the areas 1 to 3 is larger than the level A, the level of the data is set to the maximum value B.
Is to be converted to. Then, in each area, if the number of pieces of data having the value B is equal to or larger than a specified value, the image is not an image having upper and lower mask portions as shown in FIG. 24, but a normal aspect ratio 4: 3. It is determined that the image is a video. In this embodiment, the data is
Since it is divided into a plurality of blocks and the number of data having the value B is confirmed in each of them, in many cases, when only an image having an aspect ratio of 4: 3 comes in, it is necessary to confirm only the data in the area. Therefore, it is detected that the image has no upper and lower mask portions, and the aspect detection is extremely fast.

【0017】さらに、それぞれの領域において値Bであ
るデータの個数が少なく、上下マスク部分を有する映像
であると判定されると、次に、それぞれの領域毎にデー
タの平均値を求める。それぞれの領域で求めたデータの
平均値がある規定値以下のばらつきを持って互いにほぼ
等しければ、改めて全領域の総合平均値を求め、それを
上下マスク部分の輝度レベルとして決定する。本実施例
ではそれぞれの領域における平均値を比較してばらつき
があるかどうかを判定しているが、さらに、データの2
乗の平均値よりデータの平均値の2乗を減じた分散や高
次モーメント等の統計量を比較してばらつきがあるかど
うかを判定すれば、より精度のよい判別が可能となる。
ここでも、平均値,分散等の統計量が、ある規定値以上
のばらつきを持っていれば、上下マスク部分を有する映
像ではなく、通常のアスペクト比4:3の映像であると
判定する。
Furthermore, if the number of data having the value B in each area is small and it is determined that the image has upper and lower mask portions, then the average value of the data is obtained for each area. If the average values of the data obtained in the respective areas are substantially equal to each other with a variation equal to or less than a specified value, the overall average value of all areas is obtained again, and this is determined as the brightness level of the upper and lower mask portions. In the present embodiment, the average value in each area is compared to determine whether there is variation.
If it is determined whether or not there is a variation by comparing statistics such as variance and higher moment that are obtained by subtracting the square of the average value of the data from the average value of the power, it is possible to perform more accurate determination.
Also here, if the statistical values such as the average value and the variance have a certain value or more, it is determined that the image does not have the upper and lower mask portions but the normal aspect ratio of 4: 3.

【0018】以上のようにして上下マスク部分の輝度レ
ベルが決定すると、その求められた上下マスク部分の輝
度レベルにノイズの影響を考慮した所定の値を足し合わ
せた輝度レベルをCとする。そして、サンプリングされ
た全てのデータに対して図7に示すように2値化変換を
施す。即ち、基準値であるレベルCをしきい値としてサ
ンプリングされた全てのデータとを比較し、図7に示す
ように、レベルCより小さい値のデータは全て0に変換
し、レベルCより大きい値のデータは全て1に変換す
る。図8(A),(B)は図4(A),(B)に示すデ
ータを図7に示す如く2値化変換したデータである。な
お、本実施例ではサンプリングされたデータを0と1に
2値化変換しているが、2値化する値はこれに限定され
ず、例えば0(もしくは最小値)と最大値B(データが
8ビットであれば255)に2値化変換してもよい。こ
の2値化変換を行う理由は、上下マスク部分の輝度レベ
ルが比較的高い場合、以下で述べる上下マスク部分と映
像との境界を求める処理においてその境界の検出感度を
高めるためである。図8(A),(B)より分かるよう
に、元の映像が映像部分とマスク部分が区別しにくいも
のであっても、映像部分とマスク部分との境界(エッ
ジ)が極めて顕著になってエッジ検出が容易になる。
When the luminance levels of the upper and lower mask portions are determined as described above, the luminance level obtained by adding a predetermined value considering the influence of noise to the obtained luminance level of the upper and lower mask portions is C. Then, all the sampled data are binarized and converted as shown in FIG. That is, all the data sampled using the level C which is the reference value as a threshold value are compared, and as shown in FIG. Convert all data to 1. 8A and 8B are data obtained by binarizing the data shown in FIGS. 4A and 4B as shown in FIG. In the present embodiment, the sampled data is binarized and converted into 0 and 1, but the binarized value is not limited to this. For example, 0 (or minimum value) and maximum value B (data is If it is 8 bits, it may be binarized into 255). The reason for performing this binarization conversion is to increase the detection sensitivity of the boundary in the process of determining the boundary between the upper and lower mask portions and the image described below when the brightness level of the upper and lower mask portions is relatively high. As can be seen from FIGS. 8A and 8B, even if the original image is difficult to distinguish between the image portion and the mask portion, the boundary (edge) between the image portion and the mask portion becomes extremely remarkable. Edge detection becomes easy.

【0019】そして、演算回路5は2値化変換後のデー
タに基づいて上部映像開始ライン位置と下部映像終了ラ
イン位置を次のようにして検出する。本実施例では、図
2を用いて説明したように、垂直方向に8本のサンプリ
ングを行うので、サンプリングしたデータを2値化変換
すると、図9に示すようなデータが得られる。これらの
8つのデータを水平方向に互いに同じ位置で積算する
と、図10に示すデータとなる。なお、図10におい
て、8つのデータを積算しているので、最大値は8であ
る。この図10に示す積算されたデータにおいて、上部
映像開始ライン位置はa点となり、下部映像終了ライン
位置はb点となる。
Then, the arithmetic circuit 5 detects the upper video start line position and the lower video end line position based on the data after the binarization conversion as follows. In the present embodiment, as described with reference to FIG. 2, eight samplings are performed in the vertical direction, so that the binarized conversion of the sampled data yields the data shown in FIG. The data shown in FIG. 10 is obtained by integrating these eight data at the same position in the horizontal direction. In addition, in FIG. 10, since the eight data are integrated, the maximum value is eight. In the integrated data shown in FIG. 10, the upper video start line position is point a and the lower video end line position is point b.

【0020】ノイズの影響を考慮した所定のレベルをP
とすると、画面上部よりデータを検索して最初にレベル
Pを越えたa点が上部映像開始ライン位置であり、画面
下部よりデータを検索して最初にレベルPを越えたb点
が下部映像終了ライン位置である。なお、上下マスク部
分は上記の2値化変換によって0に変換されているはず
であり、仮にノイズが含まれていたとしても、映像であ
ると判定するレベルに達することはない。データを積算
した結果、ノイズのレベルはせいぜい1あるいは2程度
であるので、レベルPを例えば3に設定すれば、ノイズ
の影響を受けることなく、映像部分とマスク部分との境
界を検出することができる。
A predetermined level considering the influence of noise is set to P
Then, when data is searched from the upper part of the screen, the point a that first exceeds the level P is the upper video start line position, and when data is searched from the lower part of the screen, the point b that first exceeds the level P is the lower video end. It is the line position. The upper and lower mask portions should have been converted to 0 by the above-described binarization conversion, and even if noise is included, the level at which the image is determined is not reached. As a result of integrating the data, the noise level is at most about 1 or 2. Therefore, if the level P is set to 3, for example, the boundary between the image portion and the mask portion can be detected without being affected by the noise. it can.

【0021】ところで、図9に示すデータは上部映像開
始ライン位置及び下部映像終了ライン位置(映像と上下
マスク部分との境界)が比較的よく揃っている映像をサ
ンプリングした例であるが、映像によっては、図11に
示すように、上部映像開始ライン位置及び下部映像終了
ライン位置が水平位置によってばらついている映像も存
在する。この図11に示す映像をサンプリングして2値
化変換すると、図12に示すデータとなる。この場合、
それぞれのデータの立ち上がり,立ち下がり位置にばら
つきがある。これらの8つのデータを互いに同じ位置で
積算すると、図13に示すデータとなる。そして、同様
に、画面上部よりデータを検索して最初にレベルPを越
えたa点を上部映像開始ライン位置とし、画面下部より
データを検索して最初にレベルPを越えたb点を下部映
像終了ライン位置とすることにより、映像部分とマスク
部分との境界を検出することができる。
By the way, the data shown in FIG. 9 is an example of sampling an image in which the upper image start line position and the lower image end line position (the boundary between the image and the upper and lower mask portions) are relatively well aligned. As shown in FIG. 11, there is an image in which the upper video start line position and the lower video end line position vary depending on the horizontal position. When the video shown in FIG. 11 is sampled and binarized and converted, the data shown in FIG. 12 is obtained. in this case,
There are variations in the rising and falling positions of each data. The data shown in FIG. 13 is obtained by integrating these eight data at the same position. Similarly, when data is searched from the upper part of the screen, the point a which first exceeds the level P is set as the upper image start line position, and data is searched from the lower part of the screen and the point b which is first exceeded the level P is the lower image. By setting the end line position, the boundary between the image portion and the mask portion can be detected.

【0022】そして、前述のようにアスペクト変換回路
6は演算回路5の分析結果に基づいて入力された映像信
号をアスペクト変換する。従って、ブラウン管7の管面
には、垂直方向中央部のアスペクト比16:9の範囲の
映像が拡大され、ワイドアスペクトを十分に生かした表
示がなされる。
Then, as described above, the aspect conversion circuit 6 performs the aspect conversion of the input video signal based on the analysis result of the arithmetic circuit 5. Therefore, on the tube surface of the cathode ray tube 7, the image in the range of the aspect ratio of 16: 9 at the central portion in the vertical direction is enlarged, and the display is made by fully utilizing the wide aspect.

【0023】以上説明した第1実施例では、図8より明
らかなように、上下マスク部分の輝度レベルを基準にし
た2値化変換を行うことにより、エッジ(映像部分とマ
スク部分との境界)が極めて顕著に現れるようになる。
さらに、図10もしくは図13に示すような2値化変換
後のデータを積算したデータを用いて上部映像開始ライ
ン位置と下部映像終了ライン位置を求めるので、上下マ
スク部分の輝度レベルが高い場合や上下マスク部分の輝
度レベルと映像の輝度レベルとにあまり差がないような
場合であっても、映像部分とマスク部分との境界を容易
にかつ高速に判別することが可能となる。従って、本発
明によれば、上下マスク部分の輝度レベルに影響され
ず、映像のアスペクト検出及び画面サイズの調整が可能
となる。
In the first embodiment described above, as is clear from FIG. 8, the edge (the boundary between the image portion and the mask portion) is obtained by performing the binarization conversion based on the luminance levels of the upper and lower mask portions. Will become extremely prominent.
Further, since the upper video start line position and the lower video end line position are obtained using the data obtained by integrating the data after the binarization conversion as shown in FIG. 10 or FIG. Even in the case where there is not much difference between the brightness levels of the upper and lower mask parts and the brightness level of the image, the boundary between the image part and the mask part can be easily and quickly determined. Therefore, according to the present invention, it is possible to detect the aspect of the image and adjust the screen size without being affected by the brightness levels of the upper and lower mask portions.

【0024】ここで、本発明の画面サイズ調整装置の他
の構成について説明する。本発明の画面サイズ調整装置
は図14に示すように構成することもできる。図14に
おいて、図1と同一部分には同一符号を付し、共通部分
の説明は省略することとする。上記した図1に示す構成
では同期分離回路3によって水平同期信号,垂直同期信
号等の映像のタイミング信号を発生したが、図14に示
す構成では偏向回路8より水平同期信号及び垂直同期信
号を取り出し、タイミング発生回路4に供給する。この
構成例では偏向回路8より映像のタイミング信号を得て
いるので、映像信号のS/Nが悪く同期分離が不可能な
場合や、無信号になり同期信号がなくなった場合でも正
しいタイミング信号を発生させることが可能であり、ま
た、新たな同期分離のための回路を必要としないという
利点がある。その他の部分の動作は図1と全く同様であ
る。
Here, another configuration of the screen size adjusting apparatus of the present invention will be described. The screen size adjusting device of the present invention can also be configured as shown in FIG. 14, the same parts as those in FIG. 1 are designated by the same reference numerals, and the description of the common parts will be omitted. In the configuration shown in FIG. 1 described above, the video signal such as the horizontal synchronizing signal and the vertical synchronizing signal is generated by the sync separating circuit 3, but in the configuration shown in FIG. 14, the horizontal synchronizing signal and the vertical synchronizing signal are extracted from the deflection circuit 8. , To the timing generation circuit 4. In this configuration example, since the video timing signal is obtained from the deflection circuit 8, the correct timing signal can be obtained even when the S / N of the video signal is poor and the synchronization separation is impossible, or when there is no signal and the synchronization signal disappears. It has the advantage that it can be generated and does not require a circuit for new sync separation. The operation of the other parts is exactly the same as in FIG.

【0025】次に、第2実施例の構成及び動作について
説明する。本発明の画面サイズ調整装置の第2実施例は
図1あるいは図14に示す構成であって、演算回路5に
おける動作が第1実施例と異なる。上述した第1実施例
では、上下マスク部分の輝度レベルと映像の輝度レベル
とに差がある場合について示したが、映像によっては上
下マスク部分の輝度レベルと映像の輝度レベルとがほと
んど同じレベルの場合がある。例えば、上下マスク部分
が存在する横長の映像であるが、その映像の上下左右の
端部の輝度レベルが上下マスク部分の輝度レベルとほと
んど同じレベルであると、その映像は見掛上図15に示
すような映像となる。この映像を図2に示すようにサン
プリングして2値化すると、それぞれのデータにおける
上部映像開始ライン位置と下部映像終了ライン位置は図
16に示す点によって表されることになる。この場合、
映像の左右端部において、本来の上部映像開始ライン位
置と下部映像終了ライン位置を誤検出している。
Next, the structure and operation of the second embodiment will be described. The second embodiment of the screen size adjusting apparatus of the present invention has the configuration shown in FIG. 1 or FIG. 14, and the operation of the arithmetic circuit 5 is different from that of the first embodiment. In the above-described first embodiment, the case where there is a difference between the brightness level of the upper and lower mask portions and the brightness level of the video is shown. However, depending on the video, the brightness level of the upper and lower mask parts and the brightness level of the video are almost the same level. There are cases. For example, in the case of a horizontally long image having upper and lower mask portions, if the luminance levels of the upper, lower, left and right edges of the image are almost the same as the luminance levels of the upper and lower mask portions, the image is apparently shown in FIG. The image is as shown. When this video is sampled and binarized as shown in FIG. 2, the upper video start line position and the lower video end line position in each data are represented by the points shown in FIG. in this case,
The original upper video start line position and the lower video end line position are erroneously detected at the left and right edges of the video.

【0026】そこで、それぞれの水平位置で検出された
上部映像開始ライン位置と下部映像終了ライン位置が正
しいか否かを検証するのが第2実施例の特徴である。図
2で説明したように複数の水平位置においてサンプリン
グしたデータを図17に示すように水平方向に例えば3
つの領域に分ける。そして、領域1〜3のそれぞれにお
いて上部映像開始ライン位置と下部映像終了ライン位置
を求める。この例では、領域1〜3でそれぞれ2つ,3
つ,2つの上部映像開始アドレス及び下部映像終了アド
レスが得られるが、それぞれの領域毎により上端部に近
いものをその領域における上部映像開始ライン位置と決
定すると共に、より下端部に近いものをその領域におけ
る下部映像終了ライン位置と決定する。上端部ほど上部
映像開始アドレス(ライン番号)は小さく、下端部ほど
下部映像終了アドレス(ライン番号)が大きいので、領
域1〜3のそれぞれのサンプリングデータによって得ら
れた上部映像開始ライン位置,下部映像終了ライン位置
をmini ,maxi (i:領域1〜3)とおく。
Therefore, it is a feature of the second embodiment to verify whether or not the upper video start line position and the lower video end line position detected at each horizontal position are correct. Data sampled at a plurality of horizontal positions as described with reference to FIG.
Divide into two areas. Then, in each of the regions 1 to 3, the upper video start line position and the lower video end line position are obtained. In this example, there are two and three regions 1 to 3, respectively.
Two upper video start addresses and two lower video end addresses are obtained. For each area, the one closer to the upper edge is determined as the upper video start line position in that area, and the one closer to the lower edge is determined. It is determined to be the lower image end line position in the area. Since the upper video start address (line number) is smaller at the upper end and the lower video end address (line number) is larger at the lower end, the upper video start line position and the lower video obtained by the sampling data of each of the regions 1 to 3 The end line positions are set as min i and max i (i: areas 1 to 3).

【0027】次に、それぞれの領域1〜3における上部
映像開始ライン位置及び下部映像終了ライン位置の内、
より上端部に近いものを映像全体としての上部映像開始
ライン位置と決定すると共に、より下端部に近いものを
映像全体としての下部映像終了ライン位置と決定する。
即ち、これを式で表せば、 上部映像開始ライン位置=MIN{mini } 下部映像終了ライン位置=MAX{maxi } となる。
Next, of the upper image start line position and the lower image end line position in each of the regions 1 to 3,
The one closer to the upper end is determined as the upper image start line position of the entire image, and the one closer to the lower end is determined as the lower image end line position of the entire image.
That is, if this is expressed by an equation, the upper video start line position = MIN {min i } and the lower video end line position = MAX {max i }.

【0028】さらに、次式によりアスペクト検出の精度
を求める。 精度=Σ|MIN{mini }−mini | +Σ|MAX{maxi }−maxi | …(1) この精度は非負の整数であり、値が小さいほど精度が高
くなり、値が大きいほど精度が低くなる。例えば、図2
あるいは図24に示す映像のように、上部映像開始ライ
ン位置及び下部映像終了ライン位置が揃っている場合に
は、(1)式で得た結果は0となり、最も高い精度とな
る。一方、図15のような映像では、(1)式で得た結
果は大きな値となり、アスペクト検出の精度が悪い。
Further, the accuracy of aspect detection is calculated by the following equation. Precision = Σ | MIN {min i } -min i | + Σ | MAX {max i } -max i | (1) This precision is a non-negative integer. The smaller the value, the higher the precision, and the larger the value. The accuracy is low. For example, FIG.
Alternatively, when the upper video start line position and the lower video end line position are aligned as in the video shown in FIG. 24, the result obtained by the equation (1) is 0, which is the highest accuracy. On the other hand, in the image shown in FIG. 15, the result obtained by the equation (1) has a large value, and the accuracy of aspect detection is poor.

【0029】この精度はサンプリングによって得られた
上部映像開始ライン位置及び下部映像終了ライン位置が
正しいか否かを検証するパラメータとなる。そこで、
(1)式により求めた精度が低い(値が大きい)時は、
再度データをサンプリングしてアスペクト検出をやり直
す。精度が高い(値が小さい)時は、求められた上部映
像開始ライン位置及び下部映像終了ライン位置に従って
速やかにアスペクト変換を行う。即ち、精度が低い時
は、演算回路5はアスペクト変換回路6にアスペクト変
換のための指示をせず、精度が高い時は、演算回路5は
アスペクト変換回路6にアスペクト変換のための指示を
速やかに与える。これによって、アスペクト検出の精度
(ばらつき)に応じてアスペクト変換回路6を動作させ
るタイミングを変えたり、アスペクト変換回路6の動作
/不動作を切り換えたりすることができる。
This accuracy is a parameter for verifying whether the upper video start line position and the lower video end line position obtained by sampling are correct. Therefore,
When the accuracy calculated by equation (1) is low (large value),
Sample the data again and perform aspect detection again. When the accuracy is high (the value is small), the aspect conversion is promptly performed according to the obtained upper video start line position and lower video end line position. That is, when the accuracy is low, the arithmetic circuit 5 does not instruct the aspect conversion circuit 6 to perform the aspect conversion. When the accuracy is high, the arithmetic circuit 5 promptly instructs the aspect conversion circuit 6 to perform the aspect conversion. Give to. This makes it possible to change the timing of operating the aspect conversion circuit 6 or switch the operation / non-operation of the aspect conversion circuit 6 according to the accuracy (variation) of aspect detection.

【0030】以上説明した第2実施例では、上下マスク
部分の輝度レベルを基準にした2値化変換を行うことに
より、エッジ(映像部分とマスク部分との境界)が極め
て顕著に現れるようになる。さらに、画面を水平方向に
複数の領域に分け、それぞれの領域において上部映像開
始ライン位置と下部映像終了ライン位置を求めた後に映
像全体としての上部映像開始ライン位置及び下部映像終
了ライン位置を決定する。そして、上部映像開始ライン
位置と下部映像終了ライン位置のばらつきの度合い(精
度)を求めるので、誤ったアスペクト検出に基づいた画
面サイズの調整を防ぐことができる。なお、図17にお
いては、画面を水平方向に3つの領域に分けているが、
分割する数がこれに限定されることはなく、また、それ
ぞれの領域に含まれるサンプリング数もこれに限定され
ることはない。
In the second embodiment described above, the binarization conversion is performed based on the brightness levels of the upper and lower mask portions, so that the edge (boundary between the image portion and the mask portion) becomes extremely remarkable. . Further, the screen is horizontally divided into a plurality of areas, and the upper video start line position and the lower video end line position are obtained in each area, and then the upper video start line position and the lower video end line position of the entire video image are determined. . Then, since the degree (accuracy) of the variation between the upper video start line position and the lower video end line position is obtained, it is possible to prevent the screen size from being adjusted based on erroneous aspect detection. Although the screen is divided horizontally into three regions in FIG. 17,
The number of divisions is not limited to this, and the number of samplings included in each area is not limited to this.

【0031】次に、第3実施例の構成及び動作について
説明する。本発明の画面サイズ調整装置の第3実施例は
図1あるいは図14に示す構成であって、演算回路5に
おける動作が第1,第2実施例と異なる。第3実施例
は、上下マスク部分に字幕,文字等の付加情報が重畳さ
れているか否かを検出することに特徴がある。なお、以
下の説明では下部マスク部分に字幕が重畳されている場
合について述べる。
Next, the structure and operation of the third embodiment will be described. The screen size adjusting device according to the third embodiment of the present invention has the configuration shown in FIG. 1 or 14, and the operation of the arithmetic circuit 5 is different from that of the first and second embodiments. The third embodiment is characterized by detecting whether or not additional information such as subtitles and characters is superimposed on the upper and lower mask portions. In the following description, the case where subtitles are superimposed on the lower mask portion will be described.

【0032】演算回路5は第1実施例と同様に上下マス
ク部分の輝度レベルを求めたら、次のようにデータを処
理する。第1実施例と同様、演算回路5は図2(B)に
示すようにサンプリングしたデータを、上下マスク部分
の輝度レベルにノイズの影響を考慮した所定の値を足し
合わせたレベルCを基準として2値化変換し、この2値
化変換したデータを積算する。画面上部より画面下部に
向かって積算したデータを検索して所定のレベルに立ち
上がった点が上部映像開始ライン位置である。画面下部
では最初に所定のレベルに立ち上がった点が下部映像終
了ライン位置であるとは限らないので、画面下部より画
面上部に向かって積算したデータを検索して最初に所定
のレベルに立ち上がった点を検出した後もさらに検索す
る。下部マスク部分に字幕が存在する映像であれば、図
18に示すように、2か所の下部映像終了ライン位置
(1つは字幕文字終了位置であり、もう1つは本当の下
部映像終了ライン位置)を得ることができる。
As in the first embodiment, the arithmetic circuit 5 processes the data as follows when the brightness levels of the upper and lower mask parts are obtained. Similar to the first embodiment, the arithmetic circuit 5 uses the sampled data as shown in FIG. 2B as a reference, based on the level C obtained by adding a predetermined value considering the influence of noise to the luminance levels of the upper and lower mask portions. Binarization conversion is performed, and the binarized conversion data is integrated. The point at which the accumulated data is searched from the upper part of the screen toward the lower part of the screen and a predetermined level is reached is the upper image start line position. At the bottom of the screen, the point that first rises to the predetermined level is not necessarily the lower video end line position, so the point where the data was accumulated from the bottom of the screen toward the top of the screen was searched and the first level to rise to the predetermined level. After searching for, search further. If the image has subtitles in the lower mask part, as shown in FIG. 18, there are two lower video end line positions (one is the subtitle character end position and the other is the true lower video end line). Position) can be obtained.

【0033】黒レベルから所定のレベルに立ち上がった
後に黒レベルになり、再び所定のレベルに立ち上がった
パターンが得られれば、下部マスク部分に字幕が重畳さ
れている映像である可能性が大きいが、演算回路5は、
さらに、下部マスク部分に字幕が重畳されているか否か
を次のようにして検証する。即ち、演算回路5は上記の
2値化変換する前のデータに対して図19に示すように
3値化変換を施す。基準値であるレベルC及びグレーで
はなく白であると言える最小の輝度レベルDをしきい値
としてサンプリングされたデータとを比較し、図19に
示すように、レベルCより小さい値のデータは黒レベル
である値αに変換し、レベルC以上かつレベルDより小
さい値のデータはグレーレベルである値γに変換し、レ
ベルDより大きい値のデータは白レベルである値βに変
換する。なお、値αは例えば0(もしくは最小値)と
し、値βは例えば最大値(データが8ビットであれば2
55)とすればよく、よって、値γはこれらの中間の値
とすればよい。
If a pattern that rises from the black level to a predetermined level and then changes to the black level and rises again to the predetermined level is obtained, it is highly possible that the image has subtitles superimposed on the lower mask portion. The arithmetic circuit 5 is
Further, it is verified as follows whether or not the subtitles are superimposed on the lower mask part. That is, the arithmetic circuit 5 performs the ternary conversion on the data before the binary conversion as shown in FIG. The reference level C and the data sampled using the minimum brightness level D that can be said to be white instead of gray as a threshold value are compared, and as shown in FIG. 19, data having a value smaller than level C is black. The data is converted into a value α which is a level, data having a value higher than the level C and smaller than the level D is converted into a value γ which is a gray level, and data having a value larger than the level D is converted into a value β which is a white level. The value α is, for example, 0 (or the minimum value), and the value β is, for example, the maximum value (2 if the data is 8 bits).
55), and thus the value γ may be an intermediate value between these values.

【0034】この3値化変換を行う理由は、下部マスク
部分に字幕が存在する場合は、その字幕付近はグレーレ
ベルが少なく、黒レベルと白レベルが多いので、これら
の3つの値α,β,γの分布を調べることにより、字幕
が存在するか否かを検出することができるからである。
なお、ローパスフィルタ1によって減衰した文字の縁の
部分しかグレーレベルにならないと思われる。なお、サ
ンプリングしたデータを3値化変換するのは、少なくと
も字幕等の付加情報が重畳されているか否かを検出する
部分、この場合は画面の下部マスク部分について行えば
よい。従って、画面下部より画面上部に向かって積算し
たデータを検索して2回目に所定のレベルに立ち上がっ
た点より下の部分のデータを3値化変換すればよい。
The reason for performing this ternary conversion is that when a subtitle exists in the lower mask portion, there are few gray levels and many black levels and white levels in the vicinity of that subtitle, so these three values α, β , By checking the distribution of γ, it is possible to detect whether or not subtitles exist.
It is considered that only the edge portion of the character attenuated by the low-pass filter 1 has a gray level. It should be noted that the sampled data may be converted into ternary data by performing at least a portion for detecting whether or not additional information such as subtitles is superimposed, in this case, a lower mask portion of the screen. Therefore, the data accumulated from the lower part of the screen toward the upper part of the screen may be searched for, and the data in the part below the point at which the level has risen to the predetermined level the second time may be ternarized.

【0035】仮に映像部分のデータを3値化すると、図
20(B)に示すように値γの度数が大きいヒストグラ
ムとなる。一方、字幕を含んだ下部マスク部分では図2
0(A)に示すように値α,βの度数が大きく、値γの
度数が小さいヒストグラムとなる。この図20(A),
(B)を比較すれば分かるように、下部マスク部分に字
幕が存在するか否かは、3値化して得た値α,β,γの
全ての個数(α+β+γ)に対する値γの個数の割合に
よって判断できる。下部マスク部分を3値化した結果、
値γの個数が所定の基準値より少なければ字幕を含んで
いると判断する。このようにして、下部マスク部分に字
幕が重畳されている映像であることが検証されれば、図
18に示す2か所の下部映像終了ライン位置の内、下端
部に近い方が字幕文字終了位置であり、もう1つが下部
映像終了ライン位置であると判断することができる。
If the data of the image portion is ternarized, a histogram having a large frequency of the value γ is obtained as shown in FIG. 20 (B). On the other hand, the lower mask part including subtitles is shown in FIG.
As shown in 0 (A), the histogram has high frequencies of the values α and β and low frequencies of the value γ. This FIG. 20 (A),
As can be seen by comparing (B), whether or not a subtitle is present in the lower mask portion is determined by the ratio of the number of values γ to the total number (α + β + γ) of the values α, β, γ obtained by ternarization. Can be judged by As a result of ternarizing the lower mask part,
If the number of values γ is less than the predetermined reference value, it is determined that the caption is included. In this way, if it is verified that the video has the subtitles superimposed on the lower mask portion, one of the two lower video end line positions shown in FIG. It can be determined that the position is the position and the other is the lower image end line position.

【0036】そして、前述のようにアスペクト変換回路
6は演算回路5の分析結果に基づいて入力された映像信
号を字幕が削除されないようにアスペクト変換する。な
お、アスペクト変換回路6が字幕移動回路を備えていれ
ば、ブラウン管7の管面に映像部分を拡大して表示させ
ると共に、字幕移動回路によって映像内に字幕を移動さ
せるようにアスペクト変換してもよい。なお、本実施例
では、下部マスク部分に字幕が重畳されている場合につ
いて説明したが、上部マスク部分に文字等の付加情報が
重畳されているか否かを検出することもできることは当
然である。
Then, as described above, the aspect conversion circuit 6 performs the aspect conversion on the input video signal based on the analysis result of the arithmetic circuit 5 so that the caption is not deleted. If the aspect conversion circuit 6 includes a caption moving circuit, the video part is enlarged and displayed on the surface of the cathode ray tube 7, and the subtitle moving circuit moves the caption into the video. Good. In the present embodiment, the case where the subtitles are superimposed on the lower mask portion has been described, but it is naturally possible to detect whether or not additional information such as characters is superimposed on the upper mask portion.

【0037】次に、第4実施例の構成及び動作について
説明する。本発明の画面サイズ調整装置の第4実施例は
図1あるいは図14に示す構成であって、演算回路5に
おける動作が第1〜第3実施例と異なる。第4実施例は
第3実施例と同様、上下マスク部分に字幕,文字等の付
加情報が重畳されているか否かを検出することに特徴が
ある。なお、以下の説明では上部マスク部分に文字が重
畳されている場合について述べる。
Next, the structure and operation of the fourth embodiment will be described. The fourth embodiment of the screen size adjusting device of the present invention has the configuration shown in FIG. 1 or 14, and the operation of the arithmetic circuit 5 is different from that of the first to third embodiments. Similar to the third embodiment, the fourth embodiment is characterized by detecting whether or not additional information such as subtitles and characters is superimposed on the upper and lower mask portions. In the following description, a case where characters are superimposed on the upper mask part will be described.

【0038】演算回路5は図21に示すような上部マス
ク部分に時間表示等の文字が重畳されている映像を図2
で説明したようにサンプリングする。そして、第1実施
例と同様、上下マスク部分の輝度レベルを求めたら、サ
ンプリングしたデータを、上下マスク部分の輝度レベル
にノイズの影響を考慮した所定の値を足し合わせたレベ
ルCを基準として2値化変換する。図21に示すような
映像をサンプリングして2値化変換すると、図22に示
すようなデータが得られる。これらの8つのデータを水
平方向に互いに同じ位置で積算すると、図23に示すデ
ータとなる。なお、図23において、8つのデータを積
算しているので、最大値は8である。
The arithmetic circuit 5 displays an image in which characters such as time display are superimposed on the upper mask portion as shown in FIG.
Sampling as described in. Then, as in the first embodiment, when the luminance levels of the upper and lower mask portions are obtained, the sampled data is added to the luminance level of the upper and lower mask portions with a predetermined value in consideration of the influence of noise, and level 2 is used as a reference. Convert to value. When the video as shown in FIG. 21 is sampled and binarized and converted, the data as shown in FIG. 22 is obtained. The data shown in FIG. 23 is obtained by integrating these eight data in the same position in the horizontal direction. In addition, in FIG. 23, since the eight data are integrated, the maximum value is eight.

【0039】ノイズの影響を考慮した所定のレベルをP
とすると、画面上部よりデータを検索して最初にレベル
Pを越えたa点が上部映像開始ライン位置であり、画面
下部よりデータを検索して最初にレベルPを越えたb点
が下部映像終了ライン位置である。なお、レベルPは3
あるいは4のように適宜に設定すればよい。さらに、画
面上部よりデータを検索して最初に0でない値を持つ点
をcとする。このc点とa点との距離δがある規定され
た値よりも長ければ、上部マスク部分に文字等の付加情
報が重畳されている映像であると判断する。これは、c
点とa点とが極めて近接していれば、図13に示すよう
なエッジのばらつきによるものであったり、ノイズであ
る可能性が大きいためである。
A predetermined level considering the influence of noise is set to P
Then, when data is searched from the upper part of the screen, the point a that first exceeds the level P is the upper video start line position, and when data is searched from the lower part of the screen, the point b that first exceeds the level P is the lower video end. It is the line position. The level P is 3
Alternatively, it may be set appropriately as in 4. Further, the data is searched from the upper part of the screen, and the point having a non-zero value is set as c first. If the distance δ between the points c and a is longer than a specified value, it is determined that the image has additional information such as characters superimposed on the upper mask portion. This is c
This is because if the point and the point a are extremely close to each other, there is a high possibility that they are due to edge variation as shown in FIG. 13 or noise.

【0040】そして、前述のようにアスペクト変換回路
6は演算回路5の分析結果に基づいて入力された映像信
号をアスペクト変換する。この時、アスペクト変換回路
6は上部マスク部分に重畳された文字が削除されないよ
うにアスペクト変換することが可能となる。なお、アス
ペクト変換回路6が字幕移動回路を備えていれば、ブラ
ウン管7の管面に映像部分を拡大して表示させると共
に、字幕移動回路によって映像内にその文字を移動させ
るようにアスペクト変換してもよい。なお、本実施例で
は、上部マスク部分に文字が重畳されている場合につい
て説明したが、下部マスク部分に字幕等の付加情報が重
畳されているか否かを検出することもできることは当然
である。
Then, as described above, the aspect conversion circuit 6 performs the aspect conversion of the input video signal based on the analysis result of the arithmetic circuit 5. At this time, the aspect conversion circuit 6 can perform the aspect conversion so that the characters superimposed on the upper mask portion are not deleted. If the aspect conversion circuit 6 includes a subtitle moving circuit, the video portion is enlarged and displayed on the surface of the cathode ray tube 7, and the subtitle moving circuit performs aspect conversion to move the character in the image. Good. In the present embodiment, the case where characters are superimposed on the upper mask portion has been described, but it is naturally possible to detect whether or not additional information such as subtitles is superimposed on the lower mask portion.

【0041】[0041]

【発明の効果】以上詳細に説明したように、本発明の画
面サイズ調整装置は、次のような構成により次のような
効果を有する。 (1)演算回路に、上下マスク部分の輝度レベルを検出
する第1の手段と、この第1の手段によって検出された
上下マスク部分の輝度レベルに基づいた所定の基準値を
基準としてサンプリングしたデジタルデータを第1の値
と第2の値とに2値化変換する第2の手段と、この第2
の手段によって2値化変換されたデジタルデータを水平
方向に積算する第3の手段と、この第3の手段によって
積算されたデジタルデータが所定のレベルを越えた点を
検出することによって上部映像開始ライン位置及び下部
映像終了ライン位置を求める第4の手段とを備えて構成
すれば、上下マスク部分の輝度レベルが高い場合や上下
マスク部分の輝度レベルと映像の輝度レベルとにあまり
差がないような場合であっても、映像部分とマスク部分
との境界を容易にかつ高速に判別することが可能とな
る。
As described in detail above, the screen size adjusting device of the present invention has the following effects due to the following structure. (1) First means for detecting the luminance levels of the upper and lower mask portions in the arithmetic circuit, and digital sampling based on a predetermined reference value based on the luminance levels of the upper and lower mask portions detected by the first means. A second means for binarizing the data into a first value and a second value; and
Means for integrating the digital data binarized by the means in the horizontal direction, and detecting a point where the digital data integrated by the third means exceeds a predetermined level to start the upper image. By including the fourth means for obtaining the line position and the lower video end line position, it is possible that the luminance level of the upper and lower mask portions is high or there is not much difference between the luminance level of the upper and lower mask portions and the luminance level of the image. Even in such a case, the boundary between the image portion and the mask portion can be easily and quickly determined.

【0042】(2)演算回路に、上下マスク部分の輝度
レベルを検出する第1の手段と、この第1の手段によっ
て検出された上下マスク部分の輝度レベルに基づいた所
定の基準値を基準としてサンプリングしたデジタルデー
タを第1の値と第2の値とに2値化変換する第2の手段
と、この第2の手段によって2値化変換されたデジタル
データを画面の水平方向に複数の領域に分割し、それぞ
れの領域毎により上端部に近いものをその領域における
上部映像開始ライン位置と決定すると共に、より下端部
に近いものをその領域における下部映像終了ライン位置
と決定する第3の手段と、この第3の手段によって得ら
れたそれぞれの領域における上部映像開始ライン位置及
び下部映像終了ライン位置の内、より上端部に近いもの
を映像全体としての上部映像開始ライン位置と決定する
と共に、より下端部に近いものを映像全体としての下部
映像終了ライン位置と決定する第4の手段と、第3の手
段によって得られたそれぞれの領域における上部映像開
始ライン位置及び下部映像終了ライン位置と第4の手段
によって得られた映像全体としての上部映像開始ライン
位置及び下部映像終了ライン位置とのばらつきを求める
第5の手段と、この第5の手段によって得られたばらつ
きに応じてアスペクト変換回路を動作させる第6の手段
とを備えて構成すれば、上下マスク部分の輝度レベルが
高い場合や上下マスク部分の輝度レベルと映像の輝度レ
ベルとにあまり差がないような場合であっても、映像部
分とマスク部分との境界を容易にかつ高速に判別するこ
とが可能となり、また、誤ったアスペクト検出に基づい
た画面サイズの調整を防ぐことができる。
(2) In the arithmetic circuit, the first means for detecting the luminance levels of the upper and lower mask portions, and a predetermined reference value based on the luminance levels of the upper and lower mask portions detected by the first means are used as references. Second means for binarizing and converting the sampled digital data into a first value and a second value, and a plurality of regions in which the digital data binarized by the second means are arranged in the horizontal direction of the screen. Third means for determining the upper image start line position in the region closer to the upper end and determining the lower image end line position in the region closer to the lower end in each region And, of the upper image start line position and the lower image end line position in each area obtained by the third means, the one closer to the upper end is the entire image. Fourth means for determining the upper image start line position and determining the one closer to the lower end as the lower image end line position for the entire image, and the upper image start in each region obtained by the third means Fifth means for obtaining the variations between the line position and the lower video end line position and the upper video start line position and the lower video end line position for the entire video obtained by the fourth means, and the fifth means. By including the sixth means for operating the aspect conversion circuit in accordance with the obtained variation, when the luminance level of the upper and lower mask portions is high, or there is not much difference between the luminance level of the upper and lower mask portions and the luminance level of the image. Even if it does not exist, the boundary between the image part and the mask part can be distinguished easily and at high speed. It is possible to prevent the adjustment of the screen size based on the defect detection.

【0043】(3)演算回路に、上下マスク部分の輝度
レベルを検出する第1の手段と、この第1の手段によっ
て検出された上下マスク部分の輝度レベルに基づいた所
定の基準値を基準としてサンプリングしたデジタルデー
タを第1の値と第2の値とに2値化変換する第2の手段
と、この第2の手段によって2値化変換されたデジタル
データに基づいて上部映像開始ライン位置及び下部映像
終了ライン位置を求める第3の手段と、サンプリングし
たデジタルデータの少なくとも一部分を第1の値〜第3
の値に3値化変換する第4の手段と、この第4の手段に
よって3値化変換されたデータに基づいて上下マスク部
分に付加情報が重畳されているか否かを検出する第5の
手段とを備えて構成すれば、上下マスク部分の輝度レベ
ルが高い場合や上下マスク部分の輝度レベルと映像の輝
度レベルとにあまり差がないような場合であっても、映
像部分とマスク部分との境界を容易にかつ高速に判別す
ることが可能となり、また、上下マスク部分に付加情報
が重畳されているか否かを正確に判別することができ
る。
(3) In the arithmetic circuit, the first means for detecting the luminance levels of the upper and lower mask portions, and a predetermined reference value based on the luminance levels of the upper and lower mask portions detected by the first means are used as references. Second means for binarizing and converting the sampled digital data into a first value and a second value, and an upper image start line position and a position based on the digital data binarized and converted by the second means. Third means for determining the lower image end line position, and at least a part of the sampled digital data are used as first to third values.
And a fifth means for detecting whether or not the additional information is superimposed on the upper and lower mask portions based on the data ternarized and converted by the fourth means. With the above configuration, even when the luminance level of the upper and lower mask portions is high or there is not much difference between the luminance level of the upper and lower mask portions and the luminance level of the image, It is possible to easily and quickly determine the boundary, and it is possible to accurately determine whether or not the additional information is superimposed on the upper and lower mask portions.

【0044】(4)演算回路に、上下マスク部分の輝度
レベルを検出する第1の手段と、この第1の手段によっ
て検出された上下マスク部分の輝度レベルに基づいた所
定の基準値を基準としてサンプリングしたデジタルデー
タを第1の値と第2の値とに2値化変換する第2の手段
と、この第2の手段によって2値化変換されたデジタル
データを水平方向に積算する第3の手段と、この第3の
手段によって積算されたデジタルデータが所定のレベル
を越えた点を検出することによって上部映像開始ライン
位置及び下部映像終了ライン位置を求める第4の手段
と、積算されたデジタルデータにおける垂直方向の端部
より上部映像開始ライン位置あるいは下部映像終了ライ
ン位置までに所定のレベルより小さくかつ0でないレベ
ルを有する点を検出する第5の手段と、この第5の手段
によって得られた0でないレベルを有する点と上部映像
開始ライン位置あるいは下部映像終了ライン位置までの
距離を検出することにより、上下マスク部分に付加情報
が重畳されているか否かを検出する第6の手段とを備え
て構成すれば、上下マスク部分の輝度レベルが高い場合
や上下マスク部分の輝度レベルと映像の輝度レベルとに
あまり差がないような場合であっても、映像部分とマス
ク部分との境界を容易にかつ高速に判別することが可能
となり、また、上下マスク部分に付加情報が重畳されて
いるか否かを正確に判別することができる。
(4) The arithmetic circuit has a first means for detecting the luminance levels of the upper and lower mask portions and a predetermined reference value based on the luminance levels of the upper and lower mask portions detected by the first means. Second means for binarizing and converting the sampled digital data into a first value and a second value, and a third means for horizontally integrating the digital data binarized and converted by the second means. Means and fourth means for obtaining an upper video start line position and a lower video end line position by detecting a point where the digital data accumulated by the third means exceeds a predetermined level, and the accumulated digital data Detect a point having a level smaller than a predetermined level and not 0 from the vertical end of the data to the position of the upper video start line or the lower video end line. Additional information is added to the upper and lower mask portions by detecting the distance between the upper image start line position or the lower image end line position and the point having a non-zero level obtained by the fifth means. By including the sixth means for detecting whether or not they are superposed, when the luminance level of the upper and lower mask portions is high or there is not much difference between the luminance level of the upper and lower mask portions and the luminance level of the image. Even in this case, it is possible to easily and quickly determine the boundary between the image portion and the mask portion, and it is possible to accurately determine whether or not the additional information is superimposed on the upper and lower mask portions. .

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

【図1】本発明の構成を示すブロック図である。FIG. 1 is a block diagram showing a configuration of the present invention.

【図2】本発明による映像データ取り込み方法を説明す
るための図である。
FIG. 2 is a diagram for explaining a video data capturing method according to the present invention.

【図3】本発明によるサンプリングデータの一例を示す
波形図である。
FIG. 3 is a waveform chart showing an example of sampling data according to the present invention.

【図4】本発明の動作を説明するための波形図である。FIG. 4 is a waveform diagram for explaining the operation of the present invention.

【図5】本発明の動作を説明するための図である。FIG. 5 is a diagram for explaining the operation of the present invention.

【図6】本発明の動作を説明するための図である。FIG. 6 is a diagram for explaining the operation of the present invention.

【図7】本発明の動作を説明するための図である。FIG. 7 is a diagram for explaining the operation of the present invention.

【図8】本発明の動作を説明するための波形図である。FIG. 8 is a waveform diagram for explaining the operation of the present invention.

【図9】本発明の第1実施例の動作を説明するための図
である。
FIG. 9 is a diagram for explaining the operation of the first exemplary embodiment of the present invention.

【図10】本発明の第1実施例の動作を説明するための
図である。
FIG. 10 is a diagram for explaining the operation of the first embodiment of the present invention.

【図11】映像と上下マスク部分との境界がばらついた
画像の例を示す図である。
FIG. 11 is a diagram showing an example of an image in which a boundary between a video image and upper and lower mask portions varies.

【図12】本発明の第1実施例の動作を説明するための
図である。
FIG. 12 is a diagram for explaining the operation of the first embodiment of the present invention.

【図13】本発明の第1実施例の動作を説明するための
図である。
FIG. 13 is a diagram for explaining the operation of the first embodiment of the present invention.

【図14】本発明の他の構成を示すブロック図である。FIG. 14 is a block diagram showing another configuration of the present invention.

【図15】映像と上下マスク部分との境界を判別しにく
い画像の例を示す図である。
FIG. 15 is a diagram showing an example of an image in which it is difficult to determine the boundary between the video and the upper and lower mask portions.

【図16】図15に示す画像をサンプリングした結果を
示す図である。
16 is a diagram showing a result of sampling the image shown in FIG.

【図17】本発明の第2実施例の動作を説明するための
図である。
FIG. 17 is a diagram for explaining the operation of the second embodiment of the present invention.

【図18】下部マスク部分に字幕が重畳された画像の例
を示す図である。
FIG. 18 is a diagram showing an example of an image in which a caption is superimposed on a lower mask portion.

【図19】本発明の第3実施例の動作を説明するための
図である。
FIG. 19 is a diagram for explaining the operation of the third embodiment of the present invention.

【図20】本発明の第3実施例の動作を説明するための
図である。
FIG. 20 is a diagram for explaining the operation of the third embodiment of the present invention.

【図21】上部マスク部分に文字が重畳された画像の例
を示す図である。
FIG. 21 is a diagram showing an example of an image in which characters are superimposed on an upper mask portion.

【図22】本発明の第4実施例の動作を説明するための
図である。
FIG. 22 is a diagram for explaining the operation of the fourth exemplary embodiment of the present invention.

【図23】本発明の第4実施例の動作を説明するための
図である。
FIG. 23 is a diagram for explaining the operation of the fourth embodiment of the present invention.

【図24】上下部分をマスクした横長画像を示す図であ
る。
FIG. 24 is a diagram showing a horizontally long image in which upper and lower portions are masked.

【図25】アスペクト比16:9のテレビジョン受像機
による表示例を示す図である。
FIG. 25 is a diagram showing a display example on a television receiver having an aspect ratio of 16: 9.

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

1 ローパスフィルタ 2 A/D変換回路 3 同期分離回路 4 タインミング発生回路 5 演算回路 6 アスペクト変換回路 7 ブラウン管 8 偏向回路 1 Low-pass filter 2 A / D conversion circuit 3 Synchronization separation circuit 4 Timing generating circuit 5 Operation circuit 6 Aspect conversion circuit 7 CRT 8 Deflection circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】入来する映像信号における上下マスク部分
の有無及びその位置を求め、その画像に応じて画面サイ
ズを調整する画面サイズ調整装置において、 前記入来する映像信号の高域成分を除去するローパスフ
ィルタと、 前記ローパスフィルタより出力される映像信号をデジタ
ルデータに変換するA/D変換回路と、 データ取り込みタイミング信号により前記A/D変換回
路より出力される前記デジタルデータを所定の水平位置
において垂直方向に1フィールドに渡って複数の水平位
置となるよう1または複数フィールド分取り込むことに
より前記上下マスク部分を検出する演算回路と、 前記演算回路の検出結果に基づいて前記入来する映像信
号をアスペクト変換するアスペクト変換回路とを設け、 前記演算回路に、 前記上下マスク部分の輝度レベルを検出する第1の手段
と、 この第1の手段によって検出された前記上下マスク部分
の輝度レベルに基づいた所定の基準値を基準として前記
デジタルデータを第1の値と第2の値とに2値化変換す
る第2の手段と、 この第2の手段によって2値化変換されたデジタルデー
タを水平方向に積算する第3の手段と、 この第3の手段によって積算されたデジタルデータが所
定のレベルを越えた点を検出することによって上部映像
開始ライン位置及び下部映像終了ライン位置を求める第
4の手段とを備えて構成したことを特徴とする画面サイ
ズ調整装置。
1. A screen size adjusting apparatus for determining the presence or absence of upper and lower mask portions in an incoming video signal and their positions, and adjusting a screen size according to the image, wherein a high frequency component of the incoming video signal is removed. A low-pass filter, an A / D conversion circuit that converts the video signal output from the low-pass filter into digital data, and the digital data output from the A / D conversion circuit according to a data capture timing signal to a predetermined horizontal position. An arithmetic circuit for detecting the upper and lower mask portions by taking in one or a plurality of fields so as to become a plurality of horizontal positions over one field in the vertical direction, and the incoming video signal based on the detection result of the arithmetic circuit. And an aspect conversion circuit for performing aspect conversion on the upper and lower mask portions in the arithmetic circuit. Means for detecting the luminance level of the digital data, and a first reference value and a second reference value for the digital data with reference to a predetermined reference value based on the luminance levels of the upper and lower mask portions detected by the first means. Second means for binarizing and converting the values into digital values, third means for horizontally integrating the digital data binarized and converted by the second means, and digital data integrated by the third means A screen size adjusting device, comprising: a fourth means for determining an upper video start line position and a lower video end line position by detecting a point where data exceeds a predetermined level.
【請求項2】入来する映像信号における上下マスク部分
の有無及びその位置を求め、その画像に応じて画面サイ
ズを調整する画面サイズ調整装置において、 前記入来する映像信号の高域成分を除去するローパスフ
ィルタと、 前記ローパスフィルタより出力される映像信号をデジタ
ルデータに変換するA/D変換回路と、 データ取り込みタイミング信号により前記A/D変換回
路より出力される前記デジタルデータを所定の水平位置
において垂直方向に1フィールドに渡って複数の水平位
置となるよう1または複数フィールド分取り込むことに
より前記上下マスク部分を検出する演算回路と、 前記演算回路の検出結果に基づいて前記入来する映像信
号をアスペクト変換するアスペクト変換回路とを設け、 前記演算回路に、 前記上下マスク部分の輝度レベルを検出する第1の手段
と、 この第1の手段によって検出された前記上下マスク部分
の輝度レベルに基づいた所定の基準値を基準として前記
デジタルデータを第1の値と第2の値とに2値化変換す
る第2の手段と、 この第2の手段によって2値化変換されたデジタルデー
タを画面の水平方向に複数の領域に分割し、それぞれの
領域毎により上端部に近いものをその領域における上部
映像開始ライン位置と決定すると共に、より下端部に近
いものをその領域における下部映像終了ライン位置と決
定する第3の手段と、 この第3の手段によって得られたそれぞれの領域におけ
る上部映像開始ライン位置及び下部映像終了ライン位置
の内、より上端部に近いものを映像全体としての上部映
像開始ライン位置と決定すると共に、より下端部に近い
ものを映像全体としての下部映像終了ライン位置と決定
する第4の手段と、 前記第3の手段によって得られたそれぞれの領域におけ
る上部映像開始ライン位置及び下部映像終了ライン位置
と前記第4の手段によって得られた映像全体としての上
部映像開始ライン位置及び下部映像終了ライン位置との
ばらつきを求める第5の手段と、 この第5の手段によって得られたばらつきに応じて前記
アスペクト変換回路を動作させる第6の手段とを備えて
構成したことを特徴とする画面サイズ調整装置。
2. A screen size adjusting device for determining the presence or absence of upper and lower mask portions in an incoming video signal and their positions, and adjusting the screen size according to the image, wherein a high frequency component of the incoming video signal is removed. A low-pass filter, an A / D conversion circuit that converts the video signal output from the low-pass filter into digital data, and the digital data output from the A / D conversion circuit according to a data capture timing signal to a predetermined horizontal position. An arithmetic circuit for detecting the upper and lower mask portions by taking in one or a plurality of fields so as to become a plurality of horizontal positions over one field in the vertical direction, and the incoming video signal based on the detection result of the arithmetic circuit. And an aspect conversion circuit for performing aspect conversion on the upper and lower mask portions in the arithmetic circuit. Means for detecting the luminance level of the digital data, and a first reference value and a second reference value for the digital data with reference to a predetermined reference value based on the luminance levels of the upper and lower mask portions detected by the first means. Second means for binarizing and converting the data into digital values and digital data binarized and converted by the second means are divided into a plurality of areas in the horizontal direction of the screen, and each area is closer to the upper end. A third means for determining an object as an upper image start line position in the area, and an object closer to the lower end as a lower image end line position in the area; and each of the third means obtained by the third means. Of the upper image start line position and the lower image end line position in the area, the one closer to the upper end is determined as the upper image start line position for the entire image and Fourth means for determining a position close to the part as a lower image end line position of the entire image; an upper image start line position and a lower image end line position in each region obtained by the third means; 5 means for obtaining a variation between the upper video start line position and the lower video end line position for the entire video image obtained by the fourth aspect, and the aspect conversion circuit according to the variation obtained by the fifth aspect. And a sixth means for operating the screen size adjusting device.
【請求項3】入来する映像信号における上下マスク部分
の有無及びその位置を求め、その画像に応じて画面サイ
ズを調整する画面サイズ調整装置において、 前記入来する映像信号の高域成分を除去するローパスフ
ィルタと、 前記ローパスフィルタより出力される映像信号をデジタ
ルデータに変換するA/D変換回路と、 データ取り込みタイミング信号により前記A/D変換回
路より出力される前記デジタルデータを所定の水平位置
において垂直方向に1フィールドに渡って複数の水平位
置となるよう1または複数フィールド分取り込むことに
より前記上下マスク部分を検出する演算回路と、 前記演算回路の検出結果に基づいて前記入来する映像信
号をアスペクト変換するアスペクト変換回路とを設け、 前記演算回路に、 前記上下マスク部分の輝度レベルを検出する第1の手段
と、 この第1の手段によって検出された前記上下マスク部分
の輝度レベルに基づいた所定の基準値を基準として前記
デジタルデータを第1の値と第2の値とに2値化変換す
る第2の手段と、 この第2の手段によって2値化変換されたデジタルデー
タに基づいて上部映像開始ライン位置及び下部映像終了
ライン位置を求める第3の手段と、 前記A/D変換回路により得られた前記デジタルデータ
の少なくとも一部分を第1の値〜第3の値に3値化変換
する第4の手段と、 この第4の手段によって3値化変換されたデータに基づ
いて前記上下マスク部分に付加情報が重畳されているか
否かを検出する第5の手段とを備えて構成したことを特
徴とする画面サイズ調整装置。
3. A screen size adjusting device for determining the presence or absence of upper and lower mask portions in an incoming video signal and their positions, and adjusting a screen size according to the image, wherein a high frequency component of the incoming video signal is removed. A low-pass filter, an A / D conversion circuit that converts the video signal output from the low-pass filter into digital data, and the digital data output from the A / D conversion circuit according to a data capture timing signal to a predetermined horizontal position. An arithmetic circuit for detecting the upper and lower mask portions by taking in one or a plurality of fields so as to become a plurality of horizontal positions over one field in the vertical direction, and the incoming video signal based on the detection result of the arithmetic circuit. And an aspect conversion circuit for performing aspect conversion on the upper and lower mask portions in the arithmetic circuit. Means for detecting the luminance level of the digital data, and a first reference value and a second reference value for the digital data with reference to a predetermined reference value based on the luminance levels of the upper and lower mask portions detected by the first means. A second means for binarizing and converting the value into a value, and a third means for obtaining an upper video start line position and a lower video end line position based on the digital data binarized by the second means, Fourth means for ternarizing and converting at least a part of the digital data obtained by the A / D conversion circuit into a first value to a third value, and ternarized conversion by the fourth means. And a fifth means for detecting whether or not the additional information is superimposed on the upper and lower mask portions based on the data.
【請求項4】入来する映像信号における上下マスク部分
の有無及びその位置を求め、その画像に応じて画面サイ
ズを調整する画面サイズ調整装置において、 前記入来する映像信号の高域成分を除去するローパスフ
ィルタと、 前記ローパスフィルタより出力される映像信号をデジタ
ルデータに変換するA/D変換回路と、 データ取り込みタイミング信号により前記A/D変換回
路より出力される前記デジタルデータを所定の水平位置
において垂直方向に1フィールドに渡って複数の水平位
置となるよう1または複数フィールド分取り込むことに
より前記上下マスク部分を検出する演算回路と、 前記演算回路の検出結果に基づいて前記入来する映像信
号をアスペクト変換するアスペクト変換回路とを設け、 前記演算回路に、 前記上下マスク部分の輝度レベルを検出する第1の手段
と、 この第1の手段によって検出された前記上下マスク部分
の輝度レベルに基づいた所定の基準値を基準として前記
デジタルデータを第1の値と第2の値とに2値化変換す
る第2の手段と、 この第2の手段によって2値化変換されたデジタルデー
タを水平方向に積算する第3の手段と、 この第3の手段によって積算されたデジタルデータが所
定のレベルを越えた点を検出することによって上部映像
開始ライン位置及び下部映像終了ライン位置を求める第
4の手段と、 前記積算されたデジタルデータにおける垂直方向の端部
より前記上部映像開始ライン位置あるいは下部映像終了
ライン位置までに前記所定のレベルより小さくかつ0で
ないレベルを有する点を検出する第5の手段と、 この第5の手段によって得られた0でないレベルを有す
る点と前記上部映像開始ライン位置あるいは下部映像終
了ライン位置までの距離を検出することにより、前記上
下マスク部分に付加情報が重畳されているか否かを検出
する第6の手段とを備えて構成したことを特徴とする画
面サイズ調整装置。
4. A screen size adjusting device for determining the presence or absence of upper and lower mask portions and their positions in an incoming video signal and adjusting the screen size according to the image, wherein a high frequency component of the incoming video signal is removed. A low-pass filter, an A / D conversion circuit that converts the video signal output from the low-pass filter into digital data, and the digital data output from the A / D conversion circuit according to a data capture timing signal to a predetermined horizontal position. An arithmetic circuit for detecting the upper and lower mask portions by taking in one or a plurality of fields so as to become a plurality of horizontal positions over one field in the vertical direction, and the incoming video signal based on the detection result of the arithmetic circuit. And an aspect conversion circuit for performing aspect conversion on the upper and lower mask portions in the arithmetic circuit. Means for detecting the luminance level of the digital data, and a first reference value and a second reference value for the digital data with reference to a predetermined reference value based on the luminance levels of the upper and lower mask portions detected by the first means. Second means for binarizing and converting the values into digital values, third means for horizontally integrating the digital data binarized and converted by the second means, and digital data integrated by the third means Fourth means for obtaining the upper image start line position and the lower image end line position by detecting a point where the data exceeds a predetermined level, and the upper image start from the vertical end of the integrated digital data. A fifth means for detecting a point having a level smaller than the predetermined level and not being 0 up to the line position or the lower image end line position; and the fifth means. By detecting the distance between the obtained point having a non-zero level and the upper video start line position or the lower video end line position, it is detected whether or not additional information is superimposed on the upper and lower mask portions. A screen size adjusting device comprising: a sixth means.
JP02134295A 1995-01-13 1995-01-13 Screen size adjustment device Expired - Lifetime JP3144257B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02134295A JP3144257B2 (en) 1995-01-13 1995-01-13 Screen size adjustment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02134295A JP3144257B2 (en) 1995-01-13 1995-01-13 Screen size adjustment device

Publications (2)

Publication Number Publication Date
JPH08195919A true JPH08195919A (en) 1996-07-30
JP3144257B2 JP3144257B2 (en) 2001-03-12

Family

ID=12052434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02134295A Expired - Lifetime JP3144257B2 (en) 1995-01-13 1995-01-13 Screen size adjustment device

Country Status (1)

Country Link
JP (1) JP3144257B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003018494A (en) * 2001-06-28 2003-01-17 Pioneer Electronic Corp Method for detecting data existing area on screen and display device with the method applied
KR20040022737A (en) * 2002-09-05 2004-03-18 (주)씨앤에스 테크놀로지 Preprocessor circuit of moving picture encoder and it's method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003018494A (en) * 2001-06-28 2003-01-17 Pioneer Electronic Corp Method for detecting data existing area on screen and display device with the method applied
KR20040022737A (en) * 2002-09-05 2004-03-18 (주)씨앤에스 테크놀로지 Preprocessor circuit of moving picture encoder and it's method

Also Published As

Publication number Publication date
JP3144257B2 (en) 2001-03-12

Similar Documents

Publication Publication Date Title
WO1995030303A1 (en) Device for detecting image of letter box
JP2947082B2 (en) Screen size adjustment device
JP3144257B2 (en) Screen size adjustment device
JP3144226B2 (en) Screen size adjustment device and aspect detection method
JPH07162751A (en) Image feature detector, image adjusting system, caption editing system and television receiver
EP1343043A1 (en) Faraday rotator and optical attenuator
JP3232950B2 (en) Video type identification device, automatic aspect ratio identification device and television receiver using the same
JPH099170A (en) Pattern display region discrimination device
JP3541529B2 (en) Automatic Aspect Ratio Identification System for Television Signals
JP3301592B2 (en) Screen size adjustment device
JP3473390B2 (en) Screen size adjustment device
KR100220697B1 (en) Method for distinguishing video mode
JP3469307B2 (en) Letterbox screen detector
US5844624A (en) Television receiver
JPH0918802A (en) Video signal processor
JP3442145B2 (en) Boundary position detection device for television video signal
JP3164400B2 (en) Target image extraction device
JP2002077768A (en) Image signal processor
JPH0965173A (en) Television receiver
KR960016455A (en) Wide TV automatic display expansion device
JPH07264507A (en) Wide aspect television display device
KR0137171Y1 (en) Improved apparatus for processing the video signals in monitor
KR960006584A (en) Method and Circuit for Automatically Correcting the Vertical Size of TV Receiver
KR100258977B1 (en) Apparatus and method for discriminating color television type
US4929937A (en) Circuit for generating image signal

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090105

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090105

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100105

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110105

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120105

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120105

Year of fee payment: 11

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20130105

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130105

Year of fee payment: 12

EXPY Cancellation because of completion of term