JP3214820B2 - Digital image display - Google Patents

Digital image display

Info

Publication number
JP3214820B2
JP3214820B2 JP10588797A JP10588797A JP3214820B2 JP 3214820 B2 JP3214820 B2 JP 3214820B2 JP 10588797 A JP10588797 A JP 10588797A JP 10588797 A JP10588797 A JP 10588797A JP 3214820 B2 JP3214820 B2 JP 3214820B2
Authority
JP
Japan
Prior art keywords
image
horizontal
coordinate
clock
signal
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
JP10588797A
Other languages
Japanese (ja)
Other versions
JPH1063234A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP10588797A priority Critical patent/JP3214820B2/en
Publication of JPH1063234A publication Critical patent/JPH1063234A/en
Application granted granted Critical
Publication of JP3214820B2 publication Critical patent/JP3214820B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Transforming Electric Information Into Light Information (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Liquid Crystal Display Device Control (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、パーソナルコン
ピュータ等のビデオ信号源から出力されるアナログビデ
オ信号をデジタルビデオ信号に変換するビデオアダプタ
であって、更に詳述すれば、変換されたデジタルビデオ
信号のクロック周波数、位相タイミング、及び表示位置
の変動を補償するビデオアダプタ及び同ビデオアダプタ
を組み込んだデジタル画像表示装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video adapter for converting an analog video signal output from a video signal source such as a personal computer into a digital video signal, and more particularly, to a converted digital video signal. And a digital image display device incorporating the video adapter, which compensates for variations in clock frequency, phase timing, and display position.

【0002】[0002]

【従来の技術】従来、パーソナルコンピュータの画像表
示装置として、陰極管(CRT)を用いたラスタスキャ
ン表示を行うアナログディスプレイが広く用いられてき
た。しかし、このようなアナログディスプレイは、近年
の省スペース化及び小電力化の要求に応えるために、液
晶ディスプレイ、プラズマディスプレイ、及びカソード
タイプのラスタスキャン表示を行うフラットディスプレ
イに代表されるデジタル画像表示装置に置き換えられつ
つある。本来、パーソナルコンピュータが内部で生成
し、処理する画像信号はデジタルビデオ信号である。そ
こで、従来のアナログディスプレイに表示するために、
内蔵或いは外部のビデオアダプタによって、デジタルビ
デオ信号をアナログビデオ信号に変換して出力してい
る。
2. Description of the Related Art Conventionally, analog displays for performing raster scan display using a cathode ray tube (CRT) have been widely used as image display devices for personal computers. However, such an analog display is a digital image display device typified by a liquid crystal display, a plasma display, and a flat display for performing a cathode type raster scan display in order to meet recent demands for space saving and low power consumption. Is being replaced by Originally, an image signal generated and processed internally by a personal computer is a digital video signal. Therefore, in order to display on a conventional analog display,
A digital video signal is converted into an analog video signal by a built-in or external video adapter and output.

【0003】それ故に、デジタル画像表示装置を従来の
アナログ画像表示装置の代替として用いる為には、デジ
タル画像表示装置側で内蔵或いは外部のビデオアダプタ
を用いて、パーソナルコンピュータから出力されたアナ
ログビデオ信号をデジタルビデオ信号に変換する必要が
ある。便宜上、パーソナルコンピュータ側で用いられる
ビデオアダプタを出力ビデオアダプタと、デジタル画像
表示装置側で用いるビデオアダプタを入力ビデオアダプ
タと呼称する。
Therefore, in order to use a digital image display device as a substitute for a conventional analog image display device, an analog video signal output from a personal computer by using a built-in or external video adapter on the digital image display device side. Must be converted to a digital video signal. For convenience, a video adapter used on the personal computer side is called an output video adapter, and a video adapter used on the digital image display device side is called an input video adapter.

【0004】図10に、パーソナルコンピュータから入
力されるアナログビデオ信号を、A/D変換して、デジ
タル画像信号Sidc及びデジタル画像表示装置の表示
装置制御データDcoを生成する従来の入力ビデオアダ
プタVAcの構成が示されている。ビデオアダプタのV
Acは、A/D変換器1、クロック生成回路2、遅延回
路5、表示制御回路6、及びプリセットメモリ7から構
成される。アナログビデオ信号に含まれるアナログ画像
信号Sia及び水平同期信号Hsyncが、それぞれ、
A/D変換器1及び遅延回路5に入力される。クロック
生成回路2はPLL(フェーズロックループ)回路によ
って構成され、表示制御回路6はマイクロコンピュータ
で構成され、そして、遅延回路5はゲートアレイ内の各
素子のデレイ値を利用する方法もしくは遅延ライン等で
構成される。プリセットデータメモリー7には、パーソ
ナルコンピュータから入力される可能性のあるアナログ
ビデオ信号の各画像解像度に適したクロック数データD
cl、位相データDph、表示座標データDcoのセッ
トからなる画像調整パラメータPIが、予め格納されて
いる。
FIG. 10 shows a conventional input video adapter VAc which converts an analog video signal input from a personal computer from analog to digital to generate a digital image signal Sidc and display control data Dco of a digital image display device. The configuration is shown. V of video adapter
Ac includes an A / D converter 1, a clock generation circuit 2, a delay circuit 5, a display control circuit 6, and a preset memory 7. The analog image signal Sia and the horizontal synchronization signal Hsync included in the analog video signal are respectively
The signal is input to the A / D converter 1 and the delay circuit 5. The clock generation circuit 2 is constituted by a PLL (phase lock loop) circuit, the display control circuit 6 is constituted by a microcomputer, and the delay circuit 5 is a method using a delay value of each element in the gate array or a delay line or the like. It consists of. The preset data memory 7 stores clock number data D suitable for each image resolution of an analog video signal that may be input from a personal computer.
An image adjustment parameter PI including a set of cl, phase data Dph, and display coordinate data Dco is stored in advance.

【0005】表示制御回路6は、入力された映像信号に
よる水平同期信号Hsync及び垂直同期信号Vsyn
cの周波数をモニタすることによって、アナログ画像信
号Siaの画像解像度に対応する画像調整パラメータP
Iを読み出して、クロック数データDclをクロック生
成回路2に出力し、位相データDphを遅延回路5に出
力し、表示座標データDcoをディジタル表示装置に出
力する。
[0005] The display control circuit 6 includes a horizontal synchronizing signal Hsync and a vertical synchronizing signal Vsync based on the input video signal.
By monitoring the frequency of c, the image adjustment parameter P corresponding to the image resolution of the analog image signal Sia
I is read, clock number data Dcl is output to the clock generation circuit 2, phase data Dph is output to the delay circuit 5, and display coordinate data Dco is output to the digital display device.

【0006】遅延回路5は、位相データDphに基づい
て、水平同期信号Hsyncを所定時間遅延させて位相
を変えた後、クロック生成回路2に出力する。
The delay circuit 5 delays the horizontal synchronizing signal Hsync for a predetermined time based on the phase data Dph to change the phase, and outputs the result to the clock generating circuit 2.

【0007】クロック生成回路2は、PLL回路により
構成されており、表示制御回路6からのクロック数デー
タDclがセットされる。クロック生成回路2は、セッ
トされたクロック数データDclの指示する周波数を有
すると共に、遅延回路5で位相をずらされた水平同期信
号Hsync’に位相同期したクロックCLKを生成し
て、A/D変換器1に出力する。
The clock generation circuit 2 is constituted by a PLL circuit, and sets the clock number data Dcl from the display control circuit 6. The clock generation circuit 2 generates a clock CLK having a frequency indicated by the set clock number data Dcl and phase-synchronized with the horizontal synchronization signal Hsync ′ whose phase has been shifted by the delay circuit 5, and performs A / D conversion. Output to the container 1.

【0008】A/D変換器1は、クロックCLKのタイ
ミングに応じて、アナログ画像信号Siaをデジタル画
像信号Sidcに変換して、デジタル画像表示装置の表
示回路(不図示)に出力する。
The A / D converter 1 converts the analog image signal Sia into a digital image signal Sidc according to the timing of the clock CLK, and outputs the digital image signal Sidc to a display circuit (not shown) of the digital image display device.

【0009】このように、アナログビデオ信号の画像解
像度に応じた画像調整パラメータPIをプリセットデー
タメモリ7から読み出して、それぞれ対応する回路に出
力することにより画像表示の調整を行う。つまり、表示
制御回路6は、遅延回路5に対し位相データDph(つ
まり遅延時間)を出力することによりA/D変換器1に
おけるクロックCLKとデータの位相関係を制御する。
更に、ユーザーはそれらの画像調整パラメータPIを直
接調整できるように、表示制御回路6に接続されたキー
スイッチ(不図示)等の入力手段が用意されている。
As described above, the image display is adjusted by reading out the image adjustment parameter PI corresponding to the image resolution of the analog video signal from the preset data memory 7 and outputting it to the corresponding circuits. That is, the display control circuit 6 controls the phase relationship between the clock CLK and the data in the A / D converter 1 by outputting the phase data Dph (that is, the delay time) to the delay circuit 5.
Further, input means such as a key switch (not shown) connected to the display control circuit 6 is provided so that the user can directly adjust the image adjustment parameters PI.

【0010】[0010]

【発明が解決しようとする課題】しかしながら、上述の
従来ビデオアダプタVAでは、パーソナルコンピュータ
から入力されるアナログビデオ信号のクロック、表示、
及び位相のそれぞれのタイミングに規定するクロックC
LK、表示座標データDco、及び位相データDphか
らなる画像調整パラメータPIの各種データを、予めプ
リセットデータメモリ7に格納して必要がある。その
為、プリセットデータメモリ7に格納されている画像調
整パラメータに対応しないタイミングを有するアナログ
ビデオ信号が入力された場合は、画像調整ができずに、
デジタル画像表示装置は画像を正しく表示できない。
However, in the above-mentioned conventional video adapter VA, the clock, display, and the like of the analog video signal input from the personal computer are used.
And a clock C defined for each phase timing
It is necessary that various data of the image adjustment parameter PI including LK, display coordinate data Dco, and phase data Dph be stored in the preset data memory 7 in advance. Therefore, if an analog video signal having a timing that does not correspond to the image adjustment parameters stored in the preset data memory 7 is input, image adjustment cannot be performed, and
Digital image display devices cannot display images correctly.

【0011】また、パーソナルコンピュータ側の出力ビ
デオアダプタは、完全に規格化されていないこともあ
り、機種間は言うまでもなく、個々のビデオアダプタ毎
に出力されるアナログビデオ信号のタイミングは標準と
されているタイミングから多少ずれている場合が多い。
この様な場合には、表示制御回路6がプリセットデータ
メモリー7から読み出すクロック数データDcl、位相
データDph、表示座標データDcoの値は、実際に入
力されたアナログビデオ信号に相応しく無い。その結
果、デジタル画像表示装置で表示される画像の一部が欠
けたり、画像が揺らいだりするという問題が生じる。
Further, the output video adapter on the personal computer side may not be completely standardized, and the timing of the analog video signal output for each video adapter is standard, not to mention between models. In many cases, the timing is slightly different from the timing when it is present.
In such a case, the values of the clock number data Dcl, the phase data Dph, and the display coordinate data Dco read out from the preset data memory 7 by the display control circuit 6 do not correspond to the analog video signal actually input. As a result, there is a problem that a part of an image displayed on the digital image display device is missing or the image fluctuates.

【0012】この様な画像のちらつき、ジッター、及び
画面欠けという事態に対しては、実際に入力されるアナ
ログ映像信号の状態に応じて、画像調整パラメータPI
のクロック数データDcl、位相データDph、表示座
標データDcoを修正しなければならない。つまり、ユ
ーザーは表示装置に表示される画像を見ながら、キース
イッチ等により、プリセットデータメモリ7に格納され
ている画像調整パラメータPIを、実際に入力されてい
るアナログビデオ信号に合わせて調整する必要がある。
この調整には、画素単位での画像の変化を目視にて確認
する必要があり、非常に熟練を要する困難な作業であ
る。この画像調整作業に関して、図11、図12、及び
図13を参照して、クロック数データDcl、位相デー
タDph、及び表示座標データDcoについてそれぞれ
説明する。
In order to avoid such flickering, jittering, and screen loss of the image, the image adjustment parameter PI is set according to the state of the analog video signal actually input.
, The clock data Dcl, the phase data Dph, and the display coordinate data Dco must be corrected. That is, the user needs to adjust the image adjustment parameter PI stored in the preset data memory 7 in accordance with the actually input analog video signal by using a key switch or the like while watching the image displayed on the display device. There is.
For this adjustment, it is necessary to visually confirm a change in an image in pixel units, which is a difficult operation requiring a great deal of skill. Regarding this image adjustment work, the clock number data Dcl, phase data Dph, and display coordinate data Dco will be described with reference to FIGS. 11, 12, and 13, respectively.

【0013】先ず、クロック数データDclの調整につ
いて説明する。ビデオアダプタVAcに入力されるアナ
ログビデオ信号は元々、パーソナルコンピュータなどの
デジタル回路によりデジタル信号として作成されてい
る。この元のデジタルビデオ信号を、D/A変換回路を
用いて、水平同期信号Hsyncに同期したドットクロ
ックに基づいてアナログ信号に変換した後に、CRTモ
ニター等のアナログ画像信号を入力とする表示装置に供
給している。
First, adjustment of the clock number data Dcl will be described. An analog video signal input to the video adapter VAc is originally created as a digital signal by a digital circuit such as a personal computer. The original digital video signal is converted into an analog signal using a D / A conversion circuit based on a dot clock synchronized with the horizontal synchronization signal Hsync, and then converted to a display device such as a CRT monitor which receives an analog image signal. Supplying.

【0014】図11に、クロック生成回路2が生成する
クロックCLKと、水平同期信号Hsyncを示す。同
水平同期信号Hsyncにドットクロックを同期させた
ことは前述の通りである。このクロックCLKに基づい
て、A/D変換器1はアナログ画像信号Siaを、順
次、デジタル画像信号Sidcに変換する。その為、デ
ジタル画像表示部、例えば液晶モニターに画像を正しく
表示させる為には、クロックCLKの位相を、水平同期
信号Hsyncの位相に同期させる必要がある。
FIG. 11 shows a clock CLK generated by the clock generation circuit 2 and a horizontal synchronization signal Hsync. As described above, the dot clock is synchronized with the horizontal synchronization signal Hsync. Based on this clock CLK, the A / D converter 1 sequentially converts the analog image signal Sia into a digital image signal Sidc. Therefore, in order to correctly display an image on a digital image display unit, for example, a liquid crystal monitor, it is necessary to synchronize the phase of the clock CLK with the phase of the horizontal synchronization signal Hsync.

【0015】水平同期信号HsyncのパルスPh1と
パルスPh2に、クロックCLKのパルスPc1とパル
スPcnが対応している。尚、nは整数であり、アナロ
グ画像信号Siaの水平解像度より所定の数だけ大き
い。パルスPh1とパルスPh2は、それぞれ、所定の
一水平同期期間Thの始まりと終わりに位置している。
今、パルスPh1とパルスPc1との時間差を始点時間
差α、パルスPh2とパルスPcnとの時間差を終点時
間差βとすると、始点時間差αが終点時間差βに等しけ
れば、クロックCLKと水平同期信号Hsyncは同期
している。
The pulses Pc1 and Pcn of the clock CLK correspond to the pulses Ph1 and Ph2 of the horizontal synchronization signal Hsync. Note that n is an integer and is larger than the horizontal resolution of the analog image signal Sia by a predetermined number. The pulse Ph1 and the pulse Ph2 are located at the beginning and the end of the predetermined one horizontal synchronization period Th, respectively.
Now, assuming that the time difference between the pulse Ph1 and the pulse Pc1 is the start time difference α and the time difference between the pulse Ph2 and the pulse Pcn is the end time difference β, if the start time difference α is equal to the end time difference β, the clock CLK and the horizontal synchronization signal Hsync are synchronized. are doing.

【0016】つまり、クロック数データDclの調整と
は、始点時間差αと終点時間差βが等しくなるように、
つまり始点時間差αと終点時間差βの差T(Dcl)=α
−βがゼロになるように、クロック数データDclの数
値を変えることによって、クロックCLKを水平同期信
号Hsyncに同期させることが出来る。始点時間差α
が終点時間差βと等しくなったかどうかの判定は、ユー
ザーがモニターに表示される画像の画質で判断する。こ
のようにして、実際のドットクロックに対するプリセッ
トデータDclのズレT(Dcl)を調整する。
That is, the adjustment of the clock number data Dcl means that the start point time difference α and the end point time difference β are equal.
That is, the difference T (Dcl) between the start time difference α and the end time difference β = α
The clock CLK can be synchronized with the horizontal synchronization signal Hsync by changing the numerical value of the clock number data Dcl so that −β becomes zero. Start point time difference α
Is determined by the user based on the image quality of the image displayed on the monitor. In this way, the deviation T (Dcl) of the preset data Dcl with respect to the actual dot clock is adjusted.

【0017】次に、位相データDphの調整について説
明する。遅延回路5は表示制御回路6からの位相データ
Dphに基づいてクロック生成回路2へ供給する水平同
期信号Hsyncを遅延させる。クロック生成回路2
は、この遅延された水平同期信号Hsync’と位相同
期しているクロックCLKを生成して、A/D変換器1
に出力する。つまり、位相データDphは、水平同期信
号Hsyncを、どの程度、遅延させるかを示す値で、
A/D変換器1がアナログ画像信号Siaをデジタル画
像信号Sidに変換するタイミングを決定する値であ
る。
Next, adjustment of the phase data Dph will be described. The delay circuit 5 delays the horizontal synchronization signal Hsync supplied to the clock generation circuit 2 based on the phase data Dph from the display control circuit 6. Clock generation circuit 2
Generates a clock CLK that is phase-synchronized with the delayed horizontal synchronization signal Hsync ′, and outputs the clock CLK to the A / D converter 1.
Output to That is, the phase data Dph is a value indicating how much the horizontal synchronization signal Hsync is delayed,
This value determines the timing at which the A / D converter 1 converts the analog image signal Sia into the digital image signal Sid.

【0018】図12に、アナログ画像信号Sia、理想
クロックCLKa、及び現実のクロックCLKbを示
す。理想クロックCLKaは、アナログ画像信号Sia
を正しくA/D変換するために理想的なタイミングパル
スを持っている。例えば、クロックの立上がりにてA/
D変換するタイミングを決定されるとすると、理想クロ
ックCLKaは、アナログ画像信号Siaの画素の中心
に位置する立ち上がりエッジEaを有している。
FIG. 12 shows the analog image signal Sia, the ideal clock CLKa, and the actual clock CLKb. The ideal clock CLKa is the analog image signal Sia
Has an ideal timing pulse for A / D conversion correctly. For example, A /
Assuming that the timing for D conversion is determined, the ideal clock CLKa has a rising edge Ea located at the center of the pixel of the analog image signal Sia.

【0019】一方、現実のクロックCLKbは、理想ク
ロックCLKaに対して、位相がずれておりその差T
(Dph)は、図12に示すように最大180度である。
この場合、現実のクロックCLKbは、アナログ画像信
号Siaの立ち上がり部分及び立ち下がり部分に立ち上
がりエッジEbを有している。その為、アナログ画像信
号Siaが不安定な部分を中心としてA/D変換される
ため表示される画像は揺らぐ。この画像の揺らぎを解決
するには、現実のクロックCLKbを位相差T(Dph)
だけ遅延させて、理想のクロックCLKaに近づける、
或いは等しくなるように位相データT(Dph)を修正す
る必要がある。つまり、現実のクロックCLKbが理想
クロックCLKaと同期したかどうかの判定は、ユーザ
ーがモニターに表示される画像の画質で判断する。この
ようにして、クロックCLKの理想クロックCLKaに
対するプリセットデータDphのズレT(Dph)を調整
する。
On the other hand, the actual clock CLKb is out of phase with respect to the ideal clock CLKa, and the difference T
(Dph) is a maximum of 180 degrees as shown in FIG.
In this case, the actual clock CLKb has a rising edge Eb at the rising portion and the falling portion of the analog image signal Sia. Therefore, the displayed image fluctuates because the analog image signal Sia is A / D-converted around an unstable portion. In order to solve the fluctuation of the image, the actual clock CLKb is converted to the phase difference T (Dph).
Delays only to bring it closer to the ideal clock CLKa,
Alternatively, it is necessary to modify the phase data T (Dph) so that they become equal. That is, the user determines whether or not the actual clock CLKb is synchronized with the ideal clock CLKa based on the image quality of the image displayed on the monitor. In this manner, the deviation T (Dph) of the preset data Dph from the ideal clock CLKa of the clock CLK is adjusted.

【0020】更に、表示座標データDcoについて説明
する。図13に、一水平ライン上の画像に関して、水平
同期信号Hsync、アナログ画像信号Sia、理想の
画像取り込み区間Cp1、及び現実の画像取り込み区間
Cp2を示す。表示座標データDcoはアナログ画像信
号Siaの取り込み区間CPを決めるデータである。ア
ナログ画像信号Siaは、水平同期信号Hsyncの一
同期期間内に、水平有効表示区間HEDPを有してい
る。尚、水平有効表示区間HEDPとは、表示しようと
する画素が存在する水平区間、つまり画面上に表示され
る各水平ライン上画素の内、最も左端に位置する画素と
最も右端に位置する画素との水平方向の距離に相当する
区間である。理想の画像取り込み区間Cp1は、アナロ
グ画像信号Siaの水平有効表示区間HEDPと一致し
ており、画像はすべて表示される。
Further, the display coordinate data Dco will be described. FIG. 13 shows a horizontal synchronization signal Hsync, an analog image signal Sia, an ideal image capturing section Cp1, and an actual image capturing section Cp2 for an image on one horizontal line. The display coordinate data Dco is data for determining the capturing section CP of the analog image signal Sia. The analog image signal Sia has a horizontal effective display section HEDP within one synchronization period of the horizontal synchronization signal Hsync. Note that the horizontal effective display section HEDP is a horizontal section in which a pixel to be displayed exists, that is, a pixel located at the leftmost end and a pixel located at the rightmost end of pixels on each horizontal line displayed on the screen. This is a section corresponding to the horizontal distance of. The ideal image capturing section Cp1 matches the horizontal effective display section HEDP of the analog image signal Sia, and all images are displayed.

【0021】しかし、現実の画像取り込み区間Cp2
は、画像取り込み区間Cp1に対して所定の期間T(Dc
o)だけずれている。つまり、画像取り込み区間Cp2
では取り込み区間CPと水平有効表示区間HEDPが一
致しておらず、画面は両端部が期間T(Dco)づつ欠け
た画像表示になる。この画像の欠損を解決するには、現
実の画像取り込み区間Cp2を期間T(Dco)丈ずらし
て、理想の画像取り込み区間Cp1に近づける、或いは
等しくなるように表示座標データDcoを修正する必要
がある。つまり、現実の画像取り込み区間Cp2が理想
画像取り込み区間Cp1と同期したかどうかの判定は、
ユーザーがモニターに表示される画像の画質で判断す
る。このようにして、画像取り込み区間Cp2の理想の
画像取り込み区間Cp1に対する対するプリセットデー
タ表示座標データDcoのズレT(Dco)を調整する。
However, the actual image capturing section Cp2
Corresponds to a predetermined period T (Dc
o) It is shifted only. That is, the image capturing section Cp2
In this case, the capture section CP does not coincide with the horizontal effective display section HEDP, and the screen displays an image in which both ends are missing at intervals of T (Dco). In order to solve the loss of the image, it is necessary to shift the actual image capturing section Cp2 by the length of the period T (Dco) so as to approach the ideal image capturing section Cp1 or to modify the display coordinate data Dco so that the image capturing section Cp1 becomes equal to the ideal image capturing section Cp1. . That is, it is determined whether or not the actual image capturing section Cp2 is synchronized with the ideal image capturing section Cp1.
The user makes a judgment based on the image quality of the image displayed on the monitor. In this manner, the deviation T (Dco) of the preset data display coordinate data Dco of the image capturing section Cp2 with respect to the ideal image capturing section Cp1 is adjusted.

【0022】上述のように、実際の入力アナログ画像信
号Siaに応じて、ユーザーが画像を確認しながら、手
動で調整しているクロック数データDcl、位相データ
Dph、表示座標データDcoを、自動的に調整する方
法と手段を提供するのが本案の目的である。
As described above, according to the actual input analog image signal Sia, the clock number data Dcl, the phase data Dph, and the display coordinate data Dco which are manually adjusted by the user while checking the image are automatically converted. It is an object of the present invention to provide a method and means for adjusting to a.

【0023】[0023]

【課題を解決するための手段】この目的を達成するため
に本発明の表示装置はパーソナルコンピュータからのア
ナログ画像入力信号と、一定の周期でアナログからデジ
タルに変換する為のクロックを入力として、該アナログ
画像入力信号をデジタル信号に変換するA/D変換回路
と、該A/D変換回路からの出力であるデジタルビデオ
信号と該アナログ画像入力信号に同期した水平同期信号
と垂直同期信号、該A/D変換回路のクロックを入力と
して、水平区間内で水平画像開始座標と水平画像終了座
標を検出する画像開始・終了座標検出回路と、該水平画
像開始座標と該水平画像終了座標より、該A/D変換回
路のクロックの周波数と関係づけられたクロック数デー
タを算出する表示制御回路と、該表示制御回路からのク
ロック数データに基づいて、該A/D変換回路のクロッ
クを生成するクロック生成回路より構成され、該表示制
御回路により、該水平画像終了座標から該水平画像開始
座標を減じた値が、該アナログ画像入力信号をデジタル
的に生成した時の水平有効表示区間の画素数に合致する
ように、該A/D変換回路のクロック数に対応するクロ
ックを算出する事により、該A/D変換するクロックの
周波数を自動調整する事を特徴とした表示調整装置およ
び表示装置である。
In order to achieve this object, a display device according to the present invention receives an analog image input signal from a personal computer and a clock for converting an analog signal into a digital signal at a constant period. An A / D conversion circuit for converting an analog image input signal into a digital signal; a digital video signal output from the A / D conversion circuit; a horizontal synchronization signal and a vertical synchronization signal synchronized with the analog image input signal; An image start / end coordinate detection circuit for detecting a horizontal image start coordinate and a horizontal image end coordinate within a horizontal section by using a clock of the / D conversion circuit as an input, and calculating the A based on the horizontal image start coordinate and the horizontal image end coordinate. A display control circuit for calculating clock number data related to the frequency of the clock of the / D conversion circuit; A clock generation circuit for generating a clock for the A / D conversion circuit. The display control circuit subtracts the horizontal image start coordinate from the horizontal image end coordinate to obtain the analog image input signal. By calculating a clock corresponding to the number of clocks of the A / D conversion circuit so as to match the number of pixels in the horizontal effective display section when digitally generated, the frequency of the clock to be A / D converted is automatically adjusted. A display adjustment device and a display device characterized by adjustment.

【0024】[0024]

【発明の実施の形態】以下に本発明の実施の形態につい
て図面を参照しながら説明する。図1に、本発明に基づ
く実施形態に基づく入力ビデオアダプタVAを組み込ん
だデジタル画像表示装置DDの構造を簡単に示す。デジ
タル画像表示装置DDは、大別して、入力ビデオアダプ
タVA、画像表示部駆動回路10、及び画像表示部11
からなる。入力ビデオアダプタVA(以降、ビデオアダ
プタVAと称する)はパーソナルコンピュータに接続さ
れて、パーソナルコンピュータから供給されるアナログ
ビデオ信号に基づいてデジタル画像信号Sidと表示装
置制御データSdcを生成する。画像表示部駆動回路1
0はビデオアダプタVAに接続されて、ビデオアダプタ
VAから供給されるデジタル画像信号Sid及び表示装
置制御データSdcに基づいて、画像表示部11を駆動
するデジタル画像駆動信号SDを生成する。画像表示部
11は画像表示部駆動回路10に接続されて、デジタル
信号SDによって駆動されて画像の表示を行う。画像表
示部11として、液晶ディスプレイ、プラズマディスプ
レイ、及びカソードタイプのフラットディスプレイ等の
デジタルビデオ信号によって画像を表示する装置を用い
ることができる。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 schematically shows the structure of a digital image display device DD incorporating an input video adapter VA according to an embodiment according to the present invention. The digital image display device DD is roughly divided into an input video adapter VA, an image display unit driving circuit 10, and an image display unit 11.
Consists of The input video adapter VA (hereinafter, referred to as a video adapter VA) is connected to a personal computer, and generates a digital image signal Sid and display device control data Sdc based on an analog video signal supplied from the personal computer. Image display section drive circuit 1
0 is connected to the video adapter VA, and generates a digital image drive signal SD for driving the image display unit 11 based on the digital image signal Sid and the display device control data Sdc supplied from the video adapter VA. The image display unit 11 is connected to the image display unit driving circuit 10 and driven by the digital signal SD to display an image. As the image display unit 11, a device that displays an image using a digital video signal, such as a liquid crystal display, a plasma display, and a cathode type flat display, can be used.

【0025】更に、ビデオアダプタVAは、同図に示す
様に互いに接続されているA/D変換器1、クロック生
成回路2、画像開始・終了座標検出回路3、表示制御回
路4、及び遅延回路5を有する。A/D変換器1、画像
開始・終了座標検出回路3、及び遅延回路5は、それぞ
れパーソナルコンピュータ(不図示)に接続されて、パ
ーソナルコンピュータから供給されるアナログビデオ信
号を構成するアナログ画像信号Sia、垂直同期信号V
sync、及び水平同期信号Hsyncが供給される。
Further, the video adapter VA includes an A / D converter 1, a clock generation circuit 2, an image start / end coordinate detection circuit 3, a display control circuit 4, and a delay circuit connected to each other as shown in FIG. 5 The A / D converter 1, the image start / end coordinate detection circuit 3, and the delay circuit 5 are each connected to a personal computer (not shown), and an analog image signal Sia constituting an analog video signal supplied from the personal computer. , Vertical synchronization signal V
sync and the horizontal synchronization signal Hsync are supplied.

【0026】遅延回路5は、後で詳述する表示制御回路
4から供給される位相データSpに基づいて水平同期信
号Hsyncを所定の時間Ts遅らせて遅延水平同期信
号Shsを生成してクロック生成回路2及び画像開始・
終了座標検出回路3に供給する。
The delay circuit 5 generates a delayed horizontal synchronizing signal Shs by delaying the horizontal synchronizing signal Hsync by a predetermined time Ts based on the phase data Sp supplied from the display control circuit 4 described later in detail. 2 and image start
It is supplied to the end coordinate detection circuit 3.

【0027】クロック生成回路2は、遅延水平同期信号
Shsに位相同期すると共に表示制御回路4から供給さ
れるクロック数データScdに対応する周波数を有する
クロックScを生成して、A/D変換器1及び画像開始
・終了座標検出回路3に供給する。
The clock generation circuit 2 generates a clock Sc having a frequency corresponding to the clock number data Scd supplied from the display control circuit 4 while synchronizing the phase with the delayed horizontal synchronizing signal Shs. And to the image start / end coordinate detection circuit 3.

【0028】A/D変換器1は、クロックScに基づい
てアナログ画像信号Siaをデジタル信号に変換してデ
ジタルビデオ信号Sidを生成して、画像開始・終了座
標検出回路3及びに画像表示部駆動回路10に出力す
る。
The A / D converter 1 converts the analog image signal Sia into a digital signal based on the clock Sc, generates a digital video signal Sid, and drives the image start / end coordinate detection circuit 3 and the image display unit. Output to the circuit 10.

【0029】画像開始・終了座標検出回路3は、A/D
変換器1から供給されるデジタル画像信号Sidと、ク
ロック生成回路2から供給されるクロックScと、遅延
回路5から供給される遅延水平同期信号Shsと、パー
ソナルコンピュータから供給される垂直同期信号Vsy
ncに基づいて、デジタル画像信号Sidが表す一フレ
ーム画像の水平及び垂直方向の開始座標及び終了座標を
検出して、画像の状態を表す画像情報信号Siを生成す
る。この画像情報信号Siの生成方法については、図7
を参照して、後ほど詳しく説明する。
The image start / end coordinate detection circuit 3 has an A / D
The digital image signal Sid supplied from the converter 1, the clock Sc supplied from the clock generation circuit 2, the delayed horizontal synchronization signal Shs supplied from the delay circuit 5, and the vertical synchronization signal Vsy supplied from the personal computer.
Based on nc, the horizontal and vertical start and end coordinates of one frame image represented by the digital image signal Sid are detected, and an image information signal Si representing the state of the image is generated. The method of generating the image information signal Si is described in FIG.
, And will be described later in detail.

【0030】表示制御回路4は、画像開始・終了座標検
出回路3に接続されて、画像情報信号Siの供給を受け
る。表示制御回路4は、画像情報信号Siに基づいて、
上述のクロック数データScd、位相データSp、及び
表示装置制御データSdcを生成する。この表示制御回
路4の動作については、図6を参照して、後ほど詳しく
説明する。
The display control circuit 4 is connected to the image start / end coordinate detection circuit 3 and receives the supply of the image information signal Si. The display control circuit 4 performs, based on the image information signal Si,
The above-described clock number data Scd, phase data Sp, and display device control data Sdc are generated. The operation of the display control circuit 4 will be described later in detail with reference to FIG.

【0031】次に、図2を参照して、ビデオアダプタV
A及びデジタル画像表示装置DDの動作について説明す
る。パーソナルコンピュータから、アナログ画像信号S
ia、水平同期信号Hsync及び垂直同期信号Vsy
ncから成るアナログビデオ信号が入力されると、ビデ
オアダプタVAは、以下の手順でデジタル画像信号Si
d及び表示装置制御データSdcを生成する。
Next, referring to FIG.
A and the operation of the digital image display device DD will be described. From a personal computer, an analog image signal S
ia, horizontal synchronization signal Hsync, and vertical synchronization signal Vsy
nc, the video adapter VA receives the digital image signal Si by the following procedure.
d and display device control data Sdc.

【0032】ステップ#100で、デジタル画像信号S
idの状態に応じてクロック数データScdを、表示制
御回路4にて生成することにより、クロックを正しく調
整する。そして、次のステップ#200に進む。尚、本
ステップで実施されるクロック調整ルーチンの詳細につ
いては、図6及び図7を参照して後で詳述する。
At step # 100, the digital image signal S
The clock is correctly adjusted by generating the clock number data Scd in the display control circuit 4 according to the state of the id. Then, the process proceeds to the next step # 200. The details of the clock adjustment routine performed in this step will be described later with reference to FIGS.

【0033】ステップ#200では、デジタル画像信号
Sidの状態に応じて位相データSpを、表示制御回路
4にて生成することにより、位相を正しく調整する。そ
して、次のステップ#300に進む。尚、本ステップで
実施される位相調整ルーチンの詳細については、図8を
参照して後で詳述する。
In step # 200, the display control circuit 4 generates the phase data Sp according to the state of the digital image signal Sid, so that the phase is correctly adjusted. Then, the process proceeds to the next step # 300. The details of the phase adjustment routine performed in this step will be described later with reference to FIG.

【0034】ステップ#300では、デジタル画像信号
Sidの状態に応じて表示装置制御データSdcを生成
することにより、表示位置を正しく調整する。そして、
次のステップ#400に進む。尚、本ステップで実施さ
れる表示位置調整ルーチンの詳細については、図9を参
照して後で詳述する。
In step # 300, the display position is correctly adjusted by generating the display control data Sdc in accordance with the state of the digital image signal Sid. And
Proceed to the next step # 400. The details of the display position adjustment routine performed in this step will be described later with reference to FIG.

【0035】ステップ#400では、ステップ#400
で生成された表示装置制御データSdcに基づいて、画
像表示部駆動回路10が、デジタル画像信号Sidに画
像信号処理を施して、デジタル画像表示装置の駆動信号
SDを生成して、次のステップ#500に進む。
In step # 400, step # 400
On the basis of the display device control data Sdc generated in step (1), the image display unit drive circuit 10 performs image signal processing on the digital image signal Sid to generate a drive signal SD for the digital image display device. Go to 500.

【0036】ステップ#500では、駆動信号SDに基
づいて、画像を正しい状態で表示して、処理を終了す
る。
In step # 500, an image is displayed in a correct state based on the drive signal SD, and the process ends.

【0037】尚、上述のフローチャートでは、アナログ
画像信号Siaのデジタル変換に関して、常時画像調整
を行う例が説明されているが、アナログ画像信号Sia
の画像解像度が変更される時に画像調整を行う様にして
もよい。以下に、クロック数データScd、位相データ
SpH、表示装置制御データSdcの算出、及び自動調
整について順番に説明する。
In the above-described flowchart, an example has been described in which the image adjustment is always performed with respect to the digital conversion of the analog image signal Sia.
The image adjustment may be performed when the image resolution is changed. Hereinafter, calculation of the clock number data Scd, phase data SpH, display device control data Sdc, and automatic adjustment will be described in order.

【0038】先ず、図3、図4、図6、及び図7を参照
して、本発明に基づくクロック調整について説明する。
図3に、一水平ライン上の画像に対応する水平同期信号
Hsync、アナログ画像信号Sia、及びクロックS
cを示す。画像信号Siaは好ましくは、図示のよう
に、水平同期信号Hsyncの一水平同期期間Th中
に、一水平ライン分の画像を表示する水平有効表示区間
HEDPをバランス良く配置される。つまり、一水平ラ
インの画像信号において、水平有効表示区間HEDPの
前後に表示画像データがない前無表示区間TnP及び後
無表示区間TnFが含まれる。A/D変換の基準である
クロックScのクロックパルスに同期して、アナログ画
像信号Siaからアナログ・デジタル変換されたデジタ
ル画像信号Sidを画素単位で、画像を有しているかど
うかを調べることにより、デジタル画像信号Sidの一
ライン毎に、水平有効表示区間HEDPのライン画像開
始画素PS’とライン画像終了画素PE’を検出でき
る。ライン画像開始画素PS’の水平位置を画像左端水
平座標HcS’とし、ライン画像終了画素PE’の水平
座標を画像左端座標HcE’とする。
First, the clock adjustment according to the present invention will be described with reference to FIG. 3, FIG. 4, FIG. 6, and FIG.
FIG. 3 shows a horizontal synchronization signal Hsync, an analog image signal Sia, and a clock S corresponding to an image on one horizontal line.
c. As shown in the figure, the image signal Sia preferably has a horizontal effective display section HEDP for displaying an image of one horizontal line in a well-balanced manner during one horizontal synchronization period Th of the horizontal synchronization signal Hsync. That is, in the image signal of one horizontal line, a non-display section TnP before and after and a non-display section TnF without display image data before and after the horizontal effective display section HEDP are included. By synchronizing with the clock pulse of the clock Sc which is the reference of the A / D conversion, the digital image signal Sid obtained by analog-to-digital conversion of the analog image signal Sia is checked in a pixel unit to determine whether or not an image is provided. For each line of the digital image signal Sid, a line image start pixel PS ′ and a line image end pixel PE ′ in the horizontal effective display section HEDP can be detected. The horizontal position of the line image start pixel PS 'is set as the image left end horizontal coordinate HcS', and the horizontal coordinate of the line image end pixel PE 'is set as the image left end coordinate HcE'.

【0039】この水平有効表示区間HEDPの間に、パ
ーソナルコンピュータ側の出力ビデオアダプタの解像度
に応じた、水平方向画素数の画像情報を有する。つま
り、標準的な、VGAビデオアダプタから出力される画
像の一画面当たりの解像度は、グラフィックモードでは
水平方向画素数640×垂直方向画素数480である。
つまり、水平有効表示区間HEDPに640画素の画像
情報が含まれている。このように、水平有効表示区間H
EDPは、デジタル画像信号Sidの水平方向画素数H
で表すことができる。尚、この様にクロックScの各パ
ルス間の期間に同期して行われる処理過程をクロックサ
イクルと言う。
During the horizontal effective display section HEDP, image information of the number of pixels in the horizontal direction according to the resolution of the output video adapter on the personal computer side is provided. That is, the resolution per screen of a standard image output from the VGA video adapter is 640 horizontal pixels × 480 vertical pixels in the graphic mode.
That is, the horizontal effective display section HEDP includes image information of 640 pixels. Thus, the horizontal effective display section H
EDP is the number of horizontal pixels H of the digital image signal Sid.
Can be represented by The process performed in synchronization with the period between the pulses of the clock Sc is called a clock cycle.

【0040】アナログ画像信号Siaをアナログ・デジ
タル変換して、水平有効表示区間HEDP内に640画
素の画像情報を有するデジタル画像信号Sidを生成す
るためには、クロックScがこの水平有効表示区間HE
DP内に640個のパルスを有するようにクロック数デ
ータScdの値を調整する必要がある。
In order to convert the analog image signal Sia from analog to digital and generate a digital image signal Sid having image information of 640 pixels in the horizontal effective display section HEDP, the clock Sc is applied to the horizontal effective display section HE.
It is necessary to adjust the value of the clock number data Scd so as to have 640 pulses in the DP.

【0041】図4に、アナログ画像信号Siaが有して
いる画像情報が表現する一画面画像FIを表す。画面画
像FIは、水平有効表示区間HEDP及び垂直有効表示
区間VEDPで規定されるマトリックス内の画素で表現
される。同図に於いて、画面画像FIの左上隅、右上
隅、左下隅、及び右下隅に位置する画素をそれぞれ第一
隅画素Pa、第二隅画素Pb、第三隅画素Pc、及び第
四隅画素Pdとする。画素Paは水平有効表示区間HE
DP及び垂直有効表示区間VEDPの始点、つまり画面
画像FIの最初の画素である。画素Pbは、水平有効表
示区間HEDPの終点、且つ垂直有効表示区間VEDP
の始点に位置する、つまり、ラスタ画像FIの第一行目
の最終画素である。画素Pcは、水平有効表示区間HE
DPの始点、且つ垂直有効表示区間VEDPの終点に位
置する、つまりラスタ画像FIの最終水平ラインVの開
始画素である。画素Pdは、水平有効表示区間HEDP
及び垂直有効表示区間VEDPの終点、つまりラスタ画
像FIの最終水平ラインVの最終画素である。第一隅画
素Paと第三隅画素Pcを結ぶ垂直線上の画素が、各水
平ライン上の開始画素である。第二隅画素Pbと第四隅
画素Pdを結ぶ垂直線上の画素が、各水平ラインの終了
画素である。
FIG. 4 shows one screen image FI represented by the image information of the analog image signal Sia. The screen image FI is represented by pixels in a matrix defined by a horizontal effective display section HEDP and a vertical effective display section VEDP. In the figure, pixels located at the upper left corner, upper right corner, lower left corner, and lower right corner of the screen image FI are respectively referred to as a first corner pixel Pa, a second corner pixel Pb, a third corner pixel Pc, and a fourth corner. The pixel is assumed to be Pd. Pixel Pa is the horizontal effective display section HE
The start point of the DP and the vertical effective display section VEDP, that is, the first pixel of the screen image FI. The pixel Pb is located at the end point of the horizontal effective display section HEDP and the vertical effective display section VEDP.
, That is, the last pixel in the first row of the raster image FI. The pixel Pc has a horizontal effective display section HE.
The start pixel of the DP and the end point of the vertical effective display section VEDP, that is, the start pixel of the last horizontal line V of the raster image FI. The pixel Pd is in the horizontal effective display section HEDP.
And the end point of the vertical effective display section VEDP, that is, the last pixel of the last horizontal line V of the raster image FI. A pixel on a vertical line connecting the first corner pixel Pa and the third corner pixel Pc is a start pixel on each horizontal line. The pixel on the vertical line connecting the second corner pixel Pb and the fourth corner pixel Pd is the end pixel of each horizontal line.

【0042】今、アナログ画像信号Siaは第一隅画素
Pa或いは第三隅画素Pc、第二隅画素Pb或いは第四
隅画素Pdの画素値を有する、つまり何らかの画像を表
すものとする。この画像を表す画素値を有する画素を有
効表示画素と呼ぶ。表示制御回路4はクロック生成回路
2に対し、クロック数データScdの初期値として適当
なクロック値Pcvを与える。画像開始・終了座標検出
回路3は、A/D変換器1から出力されるデジタル画像
信号Sidの画面画像FIの画素の内で、最も左端に位
置する有効表示画素を画像左端画素PSとして、最も右
端に位置する有効表示画素を画像右端画素PEとしてそ
れぞれ検出する。
Now, it is assumed that the analog image signal Sia has the pixel value of the first corner pixel Pa or the third corner pixel Pc, the second corner pixel Pb or the fourth corner pixel Pd, that is, represents an image. A pixel having a pixel value representing this image is called an effective display pixel. The display control circuit 4 gives the clock generation circuit 2 an appropriate clock value Pcv as an initial value of the clock number data Scd. The image start / end coordinate detection circuit 3 sets the leftmost effective display pixel among the pixels of the screen image FI of the digital image signal Sid output from the A / D converter 1 as the image left end pixel PS, An effective display pixel located at the right end is detected as an image right end pixel PE.

【0043】今、画像左端画素PSの座標を(HcS、
VcS)、画像右端画素PEの座標を(HcE、Vc
E)、ライン画像開始画素PS’の座標を(HcS’、
VcS’)、及びライン画像終了画素PE’の座標を
(HcE’、VcE’)として示すことが出来る。画像
左端画素PSとは、一画面画像FIの全てのライン画像
開始画素PS’の中でその水平座標HcS’の値が、垂
直座標VcS’の値に関係なく、垂直ラインPa−Pc
上、或いは最も接近している画素を意味する。同様に、
画像右端画素PEとは、一画面画像FIの全てのライン
画像終了画素PE’の中でその水平座標HcE’の値
が、垂直位置VcE’の値に関係無く、水平位置Hcが
垂直ラインPb−Pd上に、或いは最も接近している画
素を意味する。このようにして求められた、画像左端画
素PSと画像右端画素PEの水平方向の区間を水平画像
表示区間HPと呼ぶ。この水平画像表示区間HPの距離
は、|HcS−HcE|で表すことができる。デジタル
画像信号Sidに於いて、この水平画像表示区間HPと
水平有効表示区間HEDPは同一で無ければならない。
Now, let the coordinates of the pixel PS at the left end of the image be (HcS,
VcS) and the coordinates of the pixel PE at the right end of the image are (HcE, Vc
E), the coordinates of the line image start pixel PS ′ are (HcS ′,
VcS ′) and the coordinates of the line image end pixel PE ′ can be represented as (HcE ′, VcE ′). The image left end pixel PS means that among all the line image start pixels PS 'of the one-screen image FI, the value of the horizontal coordinate HcS' is the vertical line Pa-Pc regardless of the value of the vertical coordinate VcS '.
It means the pixel located above or closest to it. Similarly,
The image right end pixel PE means that among all the line image end pixels PE 'of one screen image FI, the value of the horizontal coordinate HcE' is the horizontal position Hc regardless of the value of the vertical position VcE '. It means a pixel on or closest to Pd. The horizontal section of the image left end pixel PS and the image right end pixel PE obtained in this way is called a horizontal image display section HP. The distance of the horizontal image display section HP can be represented by | HcS−HcE |. In the digital image signal Sid, the horizontal image display section HP and the horizontal effective display section HEDP must be the same.

【0044】画像開始・終了座標検出回路3は、本発明
に基づく処理中に、各水平ラインVc毎に検出されるラ
イン画像開始画素PS’及びライン画像終了画素PE’
の座標を、それぞれ画像左端画素PSの仮の座標及び画
像右端画素PEの仮の座標として随時記憶しておくレジ
スタ(不図示)を有する。
The image start / end coordinate detecting circuit 3 detects a line image start pixel PS 'and a line image end pixel PE' detected for each horizontal line Vc during the processing according to the present invention.
Are stored as temporary coordinates of the image left end pixel PS and temporary coordinates of the image right end pixel PE at any time.

【0045】図6に示すフローチャートを参照して、図
2に示したステップ#100のクロック調整ルーチンの
動作について説明する。
The operation of the clock adjustment routine of step # 100 shown in FIG. 2 will be described with reference to the flowchart shown in FIG.

【0046】クロック調整ルーチンが開始すると、先ず
ステップS110に於いてシステムのリセットが行われ
る。尚、ステップS110の初期化は、ステップS10
2と後続のステップS104に分かれて以下の様に行わ
れる。
When the clock adjustment routine starts, first, in step S110, the system is reset. The initialization in step S110 is performed in step S10.
2 and the subsequent step S104 are performed as follows.

【0047】ステップS102で、画像開始・終了座標
検出回路3によって、デジタル画像信号Sidの画像解
像度を示す垂直方向画素数V及び水平方向画素数Hを抽
出する。次に、垂直同期信号Vsyncに続いて、最初
に現れる水平ライン上の画素に関して、ライン画像開始
画素PS’及びライン画像終了画素PE’の検出を開始
する。つまり、図3に示す水平同期信号Hsyncのパ
ルスPh1の入力をもってスタート信号として、最初の
水平ラインから数えて何番目のラインであるかを表す垂
直位置パラメータVcを1にセットする。従って、垂直
位置パラメータVcは垂直方向画素数V以下の整数であ
り、水平位置パラメータHcは平同期期間Thに対応す
るクロックパルス数以下の整数である。そして、次のス
テップS104に進む。
In step S102, the image start / end coordinate detection circuit 3 extracts the number of vertical pixels V and the number of horizontal pixels H indicating the image resolution of the digital image signal Sid. Next, following the vertical synchronization signal Vsync, detection of a line image start pixel PS ′ and a line image end pixel PE ′ is started for a pixel on a horizontal line that appears first. That is, the input of the pulse Ph1 of the horizontal synchronizing signal Hsync shown in FIG. 3 sets the vertical position parameter Vc, which indicates the number of the line from the first horizontal line, to 1, as a start signal. Accordingly, the vertical position parameter Vc is an integer equal to or less than the number V of pixels in the vertical direction, and the horizontal position parameter Hc is an integer equal to or less than the number of clock pulses corresponding to the horizontal synchronization period Th. Then, the process proceeds to the next step S104.

【0048】ステップS104で、先ずクロック数デー
タScdに初期値Pcvがセットされ、クロックScに
同期してクロックScのパルスの数を数えるクロックカ
ウンタPNCの値がゼロにリセットされ、レジスタに記
憶されている画像左端画素PS及び画像右端画素PEの
座標値、及びライン画像開始画素PS’及びライン画像
終了画素PE’の座標値がそれぞれゼロにリセットされ
る。つまり、HcS、VcS、HcE、VcE、Hc
S’、VcS’、HcE’、及びVcE’の値をゼロに
セットされる。更に、A/D変換器1で、アナログ画像
信号Siaから変換されたデジタル画像信号Sidが画
像開始・終了座標検出回路3に入力される。このように
して、ステップS110での初期化のあと、次のステッ
プS120に進む。
In step S104, first, an initial value Pcv is set in the clock number data Scd, and the value of a clock counter PNC which counts the number of pulses of the clock Sc in synchronization with the clock Sc is reset to zero and stored in a register. The coordinate values of the left image pixel PS and the right pixel PE of the image and the coordinate values of the line image start pixel PS ′ and the line image end pixel PE ′ are reset to zero. That is, HcS, VcS, HcE, VcE, Hc
The values of S ', VcS', HcE ', and VcE' are set to zero. Further, the digital image signal Sid converted from the analog image signal Sia by the A / D converter 1 is input to the image start / end coordinate detection circuit 3. Thus, after the initialization in step S110, the process proceeds to the next step S120.

【0049】ステップS120では、デジタル画像信号
Sid中の各画素について、各水平ラインVc毎に、ラ
スタースキャンの順番に画像を有しているかどうかを調
べて、水平画像表示区間HPを検出した後、次のステッ
プS170に進む。本ステップに於ける水平画像表示区
間HP検出の動作について、図7を参照して、以下に説
明する。
In step S120, it is checked whether each pixel in the digital image signal Sid has an image in the order of raster scan for each horizontal line Vc, and after detecting a horizontal image display section HP, Proceed to the next step S170. The operation of detecting the horizontal image display section HP in this step will be described below with reference to FIG.

【0050】ステップS122では、クロックScのパ
ルスの1つに同期して、クロックカウンタPNCが1で
インクリメントされる。デジタル画像信号Sidの現水
平ライン上の最初の画素を有効表示画素であるかどうか
の判定対象とセットした後、次のステップS124に進
む。
In step S122, the clock counter PNC is incremented by 1 in synchronization with one of the pulses of the clock Sc. After the first pixel on the current horizontal line of the digital image signal Sid is set as an object to be determined as an effective display pixel, the process proceeds to the next step S124.

【0051】ステップS124では、判定対象画素が、
このライン上の画素で最初の有効表示画素、つまりライ
ン画像開始画素PS’であるかを判断する。前述の様
に、パルスPh1以降の前無表示区間TnP期間中は、
表示すべき画像が無いので、NOと判断される。更に、
水平有効表示区間HEDP中の画素であっても、例え
ば、現在検出対象の第一隅画素PAが有効表示画素でな
ければ、NOと判断されてステップS126に進む。
In step S124, the pixel to be determined is
It is determined whether the pixel on this line is the first effective display pixel, that is, the line image start pixel PS ′. As described above, during the previous non-display section TnP after the pulse Ph1,
Since there is no image to be displayed, NO is determined. Furthermore,
Even if the pixel is in the horizontal effective display section HEDP, for example, if the currently detected first corner pixel PA is not an effective display pixel, it is determined as NO and the process proceeds to step S126.

【0052】ステップS126では、水平同期信号Hs
yncの次のパルスPh2が検出されているかどうかが
判断される。つまり、パルスPh2検出の有無をもっ
て、現水平ラインVc上の全ての画素について、ライン
画像開始画素PS’の判定が行われたか否かが判断され
る。現在処理の対象である画素P(PNC、Vc)が、
現ラインの終端で無い場合には、パルスPh2は検出さ
れないので、NOと判断されてステップS122に戻
る。このようにして、ライン画像開始画素PS’に関し
て未判定の画素が現ラインVcに残っている限り判定を
継続する。
In step S126, the horizontal synchronizing signal Hs
It is determined whether the pulse Ph2 next to the sync is detected. That is, it is determined whether or not the determination of the line image start pixel PS ′ has been performed for all the pixels on the current horizontal line Vc based on whether or not the pulse Ph2 is detected. The pixel P (PNC, Vc) currently being processed is
If it is not the end of the current line, since the pulse Ph2 is not detected, it is determined to be NO and the process returns to step S122. In this way, the determination is continued as long as a pixel that has not been determined for the line image start pixel PS ′ remains in the current line Vc.

【0053】ステップS122では、前回のクロックサ
イクルと同様に、クロックScのパルスに同期して、ク
ロックカウンタPNCがまたインクリメントされて、次
の画素が処理の対象としてセットされる。この様にし
て、ステップS124でラインライン画像開始画素P
S’が検出されるか、ステップS126で現水平ライン
上の全ての画素に対する判定の終了が確認される迄、ス
テップS122、S124、及びS126の処理がクロ
ックサイクル毎に繰り返される。
In step S122, similarly to the previous clock cycle, the clock counter PNC is incremented again in synchronization with the pulse of the clock Sc, and the next pixel is set as a processing target. Thus, in step S124, the line line image start pixel P
The processing of steps S122, S124, and S126 is repeated every clock cycle until S ′ is detected or the determination of all pixels on the current horizontal line is completed in step S126.

【0054】一方、ステップS124でYES、つまり
ライン画像開始画素PS’が検出された場合には、ステ
ップS128に進む。これは、現ライン上に残っている
未判定の画素についてライン画像開始画素PS’の検出
は、もう不要であるからである。
On the other hand, if YES in step S124, that is, if the line image start pixel PS 'is detected, the flow advances to step S128. This is because it is no longer necessary to detect the line image start pixel PS ′ for undetermined pixels remaining on the current line.

【0055】ステップS128では、現水平ラインVc
のライン画像開始画素PS’として、その時点での検出
対象画素の座標がセットされる。つまり、ライン画像開
始水平座標HcS’にその時点のクロックカウンタPN
Cの値がセットされる。そして、次のステップS130
に進む。
In step S128, the current horizontal line Vc
Is set as the line image start pixel PS ′. That is, the clock counter PN at that time is added to the line image start horizontal coordinate HcS ′.
The value of C is set. Then, the next step S130
Proceed to.

【0056】ステップS130では、前述のステップS
122と同様に、クロックScの次のパルスに同期し
て、クロックカウンタPNCがインクリメントされて、
更に次の画素が処理対象にセットされる。そして、次の
ステップS132に進む。
In step S130, the aforementioned step S
Similarly to 122, the clock counter PNC is incremented in synchronization with the next pulse of the clock Sc,
Further, the next pixel is set as a processing target. Then, the process proceeds to the next step S132.

【0057】ステップS132では、判定対象画素が、
このライン上の画素で最後の有効表示画素PE’の次の
画素、つまりライン画像終了画素P(HcE’+1、V
c)であるかを判断する。例えば、現在検出対象のP
(PNC、Vc)が、有効表示画素であれば、NOと判
断されてステップS134に進む。
In step S132, the pixel to be determined is
The pixel next to the last effective display pixel PE 'on the line, that is, the line image end pixel P (HcE' + 1, V
c) is determined. For example, the current detection target P
If (PNC, Vc) is an effective display pixel, it is determined as NO and the process proceeds to step S134.

【0058】ステップS134では、ステップS126
と同様に、水平同期信号Hsyncの次のパルスPh2
検出の有無が判定される。但し、本ステップでは、ライ
ン画像終了画素PE’検出処理を施されていない画素が
現ライン上に残っているかが判定される。ゆえに、現在
処理の対象である画素P(PNC、Vc)が、現ライン
の終端画素で無い場合には、NOと判断されてステップ
S130に戻る。この様にして、ステップS132でラ
イン画像終了画素PE’が検出されるか、ステップS1
34で現ライン上の全ての画素に対する判定の終了が確
認される迄、ステップS130、S132、及びS13
4の処理がクロックサイクル毎に繰り返される。
In step S134, step S126
Similarly, the next pulse Ph2 of the horizontal synchronization signal Hsync
The presence or absence of the detection is determined. However, in this step, it is determined whether or not a pixel that has not been subjected to the line image end pixel PE ′ detection process remains on the current line. Therefore, if the pixel P (PNC, Vc) to be processed at present is not the last pixel of the current line, it is determined as NO and the process returns to step S130. In this way, whether the line image end pixel PE 'is detected in step S132 or whether the line image end pixel PE'
Steps S130, S132, and S13 are performed until the end of the determination for all the pixels on the current line is confirmed in.
Step 4 is repeated every clock cycle.

【0059】一方、ステップS132でYES、つまり
P(PNC、Vc)が非有効表示画素である場合には、
この画素P(PNC、Vc)はライン画像終了画素P
E’の次の画素P(HcE’+1、Vc)であると判断
して、ステップS136に進む。これは、一クロックサ
イクル前の判定対象画素P(PNC−1、Vc)がライ
ン画像終了画素PE’であると検出したので、現ライン
上に残っている画素についての判定は不要であるからで
ある。
On the other hand, if YES in step S132, that is, if P (PNC, Vc) is an invalid display pixel,
This pixel P (PNC, Vc) is a line image end pixel P
It is determined that the pixel is the pixel P (HcE '+ 1, Vc) next to E', and the process proceeds to step S136. This is because it is detected that the pixel P (PNC-1, Vc) to be determined one clock cycle ago is the line image end pixel PE ′, so that it is unnecessary to determine the pixels remaining on the current line. is there.

【0060】ステップS136では、現水平ラインVc
のライン画像終了画素PE’の座標として、一クロック
サイクル前に検出された画素の座標がセットされる。つ
まり、ライン画像終了水平座標HcE’に、一クロック
サイクル前のクロックカウンタPNCの値であるPNC
−1がセットされ、次のステップS138に進む。
In step S136, the current horizontal line Vc
Is set as the coordinates of the line image end pixel PE 'of the pixel detected one clock cycle ago. In other words, the line image end horizontal coordinate HcE ′ is added to the value of the clock counter PNC one clock cycle earlier, ie, PNC.
-1 is set, and the routine proceeds to the next step S138.

【0061】一方、ステップS126でYES、つまり
現水平ラインVcには、ライン画像開始画素PS’が無
いと判断された場合には、ステップS128で、初期化
時或いは以前のクロックサイクルで検出されたライン画
像開始画素PS’の水平座標値HcS’を更新すること
無く、直接ステップS138に進む。
On the other hand, if YES in step S126, that is, if it is determined that there is no line image start pixel PS 'in the current horizontal line Vc, it is detected in step S128 at initialization or in the previous clock cycle. The process directly proceeds to step S138 without updating the horizontal coordinate value HcS ′ of the line image start pixel PS ′.

【0062】更に、ステップS134でYES、つまり
現ラインには、ライン画像終了画素PE’が無いと判断
された場合には、ステップS138で初期化時或いは以
前のクロックサイクルで検出されたライン画像終了画素
PE’の水平座標値HcE’を更新すること無く、直接
ステップS138に進む。
If YES in step S134, that is, if it is determined that there is no line image end pixel PE 'in the current line, step S138 terminates the line image detected at initialization or in the previous clock cycle. The process directly proceeds to step S138 without updating the horizontal coordinate value HcE 'of the pixel PE'.

【0063】ステップS138では、上述のように、ス
テップS126、S134、及びS136のいずれかを
経て、現水平ラインVcに関して獲得されたライン画像
開始画素PS’及びライン画像終了画素PE’に基づい
て、レジスタに格納されている画像左端画素PS及び画
像右端画素PEの座標値を、以下の如く更新する。
In step S138, as described above, based on the line image start pixel PS 'and line image end pixel PE' obtained for the current horizontal line Vc through one of steps S126, S134, and S136. The coordinate values of the image left end pixel PS and the image right end pixel PE stored in the register are updated as follows.

【0064】先ず、画像左端画素PSの更新について述
べる。新たに検出されたライン画像開始画素PS’の水
平座標値HcS’が、レジスタに格納されている画像左
端画素PSの水平座標値HcSより少さければ、今回の
ライン画像開始画素PS’の水平座標値HcS’を画像
左端画素PSの水平座標値HcSとしてレジスタに格納
する。つまり、画面画像FIの各水平ライン上の有効表
示画素の内、よりラスタスキャン順位の早い画素の水平
座標を、その時点での画像左端座標HcSとする。
First, the updating of the left pixel PS of the image will be described. If the horizontal coordinate value HcS ′ of the newly detected line image start pixel PS ′ is smaller than the horizontal coordinate value HcS of the image left end pixel PS stored in the register, the horizontal coordinate value of the current line image start pixel PS ′ is set. The coordinate value HcS ′ is stored in the register as the horizontal coordinate value HcS of the image left end pixel PS. That is, among the effective display pixels on each horizontal line of the screen image FI, the horizontal coordinate of the pixel having the earlier raster scan order is set as the image left end coordinate HcS at that time.

【0065】次に、画像右端画素PEの更新について述
べる。新たに検出されたライン画像終了画素PE’の水
平座標値HcE’が、レジスタに記憶されている画像左
端画素PSの水平座標値HcEより大きければ、今回の
ライン画像終了画素PE’の水平座標値HcE’を画像
右端画素PEの水平座標値HcEとしてレジスタに格納
する。つまり、画面画像FIの各水平ライン上の有効表
示画素のよりラスタスキャン順位の遅い画素の水平座標
を、その時点での画像左端座標HcEとする。
Next, updating of the right edge pixel PE of the image will be described. If the horizontal coordinate value HcE 'of the newly detected line image end pixel PE' is larger than the horizontal coordinate value HcE of the image left end pixel PS stored in the register, the horizontal coordinate value of the current line image end pixel PE ' HcE ′ is stored in the register as the horizontal coordinate value HcE of the pixel PE at the right end of the image. That is, the horizontal coordinate of a pixel having a lower raster scan order than the effective display pixel on each horizontal line of the screen image FI is set as the image left end coordinate HcE at that time.

【0066】このようにして、一ライン単位で求めた、
ライン画像開始画素PS’及びライン画像終了画素P
E’の水平座標値をレジスタに格納されている画像左端
画素PS及び画像右端画素PEの水平座標値と比較し
て、然るべく更新するすことによって、最初の水平ライ
ンV1から現水平ラインVcを含む画面画像FI全体
で、最も左端に位置する画素PSの水平座標HcSと、
最も右端に位置する画素PEの水平座標HcEを求めた
後、次のステップS140に進む。
In this manner, the value obtained in units of one line is
Line image start pixel PS 'and line image end pixel P
The horizontal coordinate value of E 'is compared with the horizontal coordinate values of the left-end pixel PS and the right-end pixel PE stored in the register and updated accordingly, so that the first horizontal line V1 to the current horizontal line Vc are updated. , The horizontal coordinate HcS of the pixel PS located at the left end in the entire screen image FI including
After obtaining the horizontal coordinate HcE of the pixel PE located at the rightmost end, the process proceeds to the next step S140.

【0067】ステップS140では、垂直位置パラメー
タVcが垂直方向画素数Vと同一かが判断される。判定
対象水平ラインVcが画面画像FIの最終水平ラインV
に到達していない場合には、N0と判断されてステップ
S142に進む。
In step S140, it is determined whether the vertical position parameter Vc is equal to the number V of pixels in the vertical direction. The horizontal line Vc to be determined is the final horizontal line V of the screen image FI.
Is not reached, it is determined to be N0 and the process proceeds to step S142.

【0068】ステップS142では、垂直位置パラメー
タVcを一でインクリメントして、次の水平ライン上の
画素を判定対象としセットする。そして、次のステップ
S122に戻る。
In step S142, the vertical position parameter Vc is incremented by one, and a pixel on the next horizontal line is set as a determination target. Then, the process returns to the next step S122.

【0069】一方、ステップS140でYES、つまり
画面画像FI中の全水平ラインを判定対象として、ステ
ップS138で画像左端画素PS及び画像右端画素PE
の座標値を更新した後、ステップS144に進む。
On the other hand, if YES in step S140, that is, all horizontal lines in the screen image FI are to be determined, and in step S138, the image left end pixel PS and the image right end pixel PE
After updating the coordinate values, the process proceeds to step S144.

【0070】ステップS144では、ステップS138
で画面画像FI全体に対して検出した画像右端水平座標
値HcEから画像左端水平座標値HcSを減じて1を足
すことによって、水平画像表示区間HPの画素数NHP
を求める。そして、次のステップS146に進む。尚、
本ステップに於ける水平画像表示区間画素数NHPの算
出は次式で表すことが出来る。
In step S144, step S138
Is subtracted from the image right end horizontal coordinate value HcE detected for the entire screen image FI, and 1 is added, thereby obtaining the number of pixels NHP in the horizontal image display section HP.
Ask for. Then, the process proceeds to the next step S146. still,
The calculation of the horizontal image display section pixel number NHP in this step can be expressed by the following equation.

【0071】[0071]

【数1】NHP=HcE−HcS+1## EQU1 ## NHP = HcE-HcS + 1

【0072】ステップS146では、画像開始・終了座
標検出回路3によって、画像情報信号Siを生成しステ
ップS138及びS144で検出された情報に基づいて
画像情報信号Siが生成される。更に、この画像情報信
号Siは表示制御回路4に出力される。この様にして、
検出有効画素数NP検出ルーチン処理(ステップS12
0)を終了した後に、図6に示すステップS170に進
む。
In step S146, an image information signal Si is generated by the image start / end coordinate detection circuit 3, and the image information signal Si is generated based on the information detected in steps S138 and S144. Further, the image information signal Si is output to the display control circuit 4. In this way,
NP Detection Routine Processing (Step S12)
After completing (0), the process proceeds to step S170 shown in FIG.

【0073】ステップS170では、表示調整回路4
は、画像情報信号Siから読み出した水平画像表示区間
画素数NHPが、予め設定された有効表示区間の画素数
NPPに合致しているか否か判定する。尚、設定有効画
素数NPPは、好ましくはアナログ画像信号Siaの水
平方向画素数Hと等しいことは前述の通りであるが、そ
れ以外の適当な所定の値を採っても良い。
In step S170, the display adjustment circuit 4
Determines whether the number of pixels NHP in the horizontal image display section read from the image information signal Si matches the preset number of pixels NPP in the effective display section. It is to be noted that the set effective pixel number NPP is preferably equal to the horizontal pixel number H of the analog image signal Sia as described above, but other appropriate predetermined values may be used.

【0074】水平画像表示区間画素数NHPが設定有効
表示画素数NPPに等しい場合は、クロックScのクロ
ック数は入力されるアナログ画像信号Siaに適合して
いるので、クロックScの調整は不要であるので処理を
終了する。
When the horizontal image display section pixel number NHP is equal to the set effective display pixel number NPP, the clock Sc does not need to be adjusted because the clock number of the clock Sc matches the input analog image signal Sia. Therefore, the process ends.

【0075】一方、水平画像表示区間画素数NHPが設
定画素数NPPに等しくない場合は、ステップS170
でNOと判断して、次のステップS172に進む。
On the other hand, when the horizontal image display section pixel number NHP is not equal to the set pixel number NPP, step S170
Is determined as NO, and the process proceeds to the next step S172.

【0076】ステップS172では、表示制御回路4に
て、現在のクロック数データScdを、設定有効表示画
素数NPPと水平画像表示区間画素数NHPとの誤差分
を補正したクロック数で更新される。更にこの更新され
たクロック数データScdがクロック生成回路2に出力
された後に、ステップS174に進む。なお、本ステッ
プに於けるクロック数データScdの更新は次式で表す
ことができる。
In step S 172, the display control circuit 4 updates the current clock number data Scd with the number of clocks obtained by correcting the error between the set effective display pixel number NPP and the horizontal image display section pixel number NHP. After this updated clock number data Scd is output to the clock generation circuit 2, the process proceeds to step S174. The updating of the clock number data Scd in this step can be expressed by the following equation.

【0077】[0077]

【数2】Scd=Scd+NPP−NHP## EQU2 ## Scd = Scd + NPP-NHP

【0078】ステップS174では、クロック生成回路
2は、表示制御回路4から入力されたクロック数データ
Scdに基づいて、新たにクロックScを生成して、A
/D変換器1に出力する。そして、次のステップS17
6に進む。
In step S174, the clock generation circuit 2 generates a new clock Sc based on the clock number data Scd input from the display control circuit 4, and
/ D converter 1. Then, the next step S17
Proceed to 6.

【0079】ステップS176では、A/D変換器1で
は、このクロックScに基づいて、アナログ画像信号S
iaからデジタル画像信号Sidを生成し、このデジタ
ル画像信号Sidに基づいて画像開始・終了座標検出回
路3、表示制御回路4、及びクロック生成回路2が上述
のステップS120、S170、S172、S174、
及びS176の処理を繰り返し、ステップS170で設
定有効画素数NPPが検出有効画素数NPと一致した時
点で、ステップ#100のクロック数データScd生成
ルーチンを終了して、次のステップ#200に進む。こ
れにより、自動的にクロック数データ(クロック周波
数)を算出、調整する事ができる。
In step S176, the A / D converter 1 sets the analog image signal S based on the clock Sc.
ia, a digital image signal Sid is generated, and based on the digital image signal Sid, the image start / end coordinate detection circuit 3, display control circuit 4, and clock generation circuit 2 perform steps S120, S170, S172, S174,
And the processing of S176 are repeated, and when the set number of effective pixels NPP matches the number of detected effective pixels NP in step S170, the clock number data Scd generation routine of step # 100 is terminated, and the process proceeds to the next step # 200. This makes it possible to automatically calculate and adjust the clock number data (clock frequency).

【0080】尚、前述した画像開始・終了座標検出回路
3の画像開始座標と画像終了座標の検出は、各水平ライ
ン毎にライン画像開始画素PS’及びライン画像終了画
素PE’の座標を検出し記憶しておき、次の水平ライン
にて、一つ前のライン画像開始画素PS’及びライン画
像終了画素PE’の座標の値と比較して更新する事によ
り、画面画像FI全体の画像左端画素PS及び画像右端
画素PEの座標検出を実現したが、次に述べる様な方法
でも実現できる。画像左端画素PSの座標レジスタと最
小値比較回路、及び画像右端画素PEの座標レジスタと
最大値比較回路に水平同期信号Hsyncをトリッガと
してクロックScにてカウンタするカウンターPNCに
接続するように構成する。そして、ビデオ信号Siaが
存在する時に、最小値比較回路と最大値比較回路をそれ
ぞれ作動させ、最小値を画像左端座標レジスターに検出
させると共に最大値を画像右端座標レジスターに検出さ
せる。
The detection of the image start coordinates and the image end coordinates of the image start / end coordinate detection circuit 3 is performed by detecting the coordinates of the line image start pixel PS 'and the line image end pixel PE' for each horizontal line. It is stored and updated in the next horizontal line by comparing with the coordinate values of the previous line image start pixel PS ′ and the line image end pixel PE ′, thereby updating the image left end pixel of the entire screen image FI. Although the coordinate detection of the PS and the right end pixel PE of the image has been realized, it can be realized by the following method. The coordinate register and the minimum value comparison circuit of the image left end pixel PS and the coordinate register and the maximum value comparison circuit of the image right end pixel PE are connected to a counter PNC that counts with the clock Sc using the horizontal synchronization signal Hsync as a trigger. Then, when the video signal Sia exists, the minimum value comparison circuit and the maximum value comparison circuit are operated, and the minimum value is detected by the image left end coordinate register and the maximum value is detected by the image right end coordinate register.

【0081】又、水平有効表示区間HEDP内の設定有
効画素数NPPは、ふたつの垂直同期信号内の水平同期
信号をカウントする(一画面分の総水平ライン数を検出
する)カウンターと、この値を予め設定された値と比較
する比較回路から設定する事で実現できる。画面の画素
数は一般的にVGA、SVGA、XGA等の各ビデオア
ダプタの出力モード毎に定められており、通常、VGA
の場合はH640×V480ドット、SVGAの場合H
800×V600ドット、XGAの場合H1、024×
V768ドットの画素数である。一方、総水平同期信号
数は垂直画素数に関係しており、総水平同期信号数を検
出し、この値が閾値N1、N2に対しどのような大小関
係になるかでVGA、SVGA、及びXGAの各ビデオ
アダプタの出力モードの判定を行う。簡便化の為、以降
各ビデオアダプタの出力モードを単に、 VGAモー
ド、SVGAモード、及びXGAモードと言うように、
各ビデオアダプタ名をそのまま出力モードとして呼ぶ。
The set number of effective pixels NPP in the horizontal effective display section HEDP is a counter that counts the horizontal synchronizing signals in the two vertical synchronizing signals (detects the total number of horizontal lines for one screen) and this value. Can be realized by setting a comparison circuit that compares the value with a preset value. The number of pixels on the screen is generally determined for each output mode of each video adapter such as VGA, SVGA, XGA, etc.
In the case of H640 × V480 dots, in the case of SVGA H
800 x V600 dots, H1, 024 x for XGA
V is the number of pixels of 768 dots. On the other hand, the total number of horizontal synchronizing signals is related to the number of vertical pixels, and the total number of horizontal synchronizing signals is detected. The output mode of each video adapter is determined. For the sake of simplicity, the output mode of each video adapter will be simply referred to as VGA mode, SVGA mode, and XGA mode.
Each video adapter name is referred to as an output mode as it is.

【0082】ここで、N1に対しては600もしくは6
00に数ラインのビデオ信号のないブランキング区間の
ライン数を加えた値を、N2には768もしくは768
に数ラインのブランキング区間を加えた値を用いる。総
水平同期信号数がN1以下ならVGAモード、N1から
N2の間ならSVGAモード、N2以上ならXGAモー
ドと判別し、VGAモードなら設定有効画素数NPPを
640に、SVGAモードなら設定有効画素数NPPを
800に、そして、XGAモードなら検出有効画素数N
Pを1、024にそれぞれ設定する。この機能を画像開
始・終了座標検出回路3内に設けて、表示制御回路4に
出力しておく。又は、水平同期信号Hsyncの総数検
出の為のカウンター機能と比較機能等高速処理が要求さ
れる部分を、画像開始・終了座標検出回路3に設け、表
示制御回路4にて、出力ビデオアダプタの出力モードの
識別をし、設定有効画素数NPPを設定することによっ
ても実現できる。
Here, N1 is 600 or 6
A value obtained by adding the number of lines in a blanking section having no video signal of several lines to 00 is given to 768 or 768 in N2.
And a value obtained by adding a blanking section of several lines to the above. If the total number of horizontal synchronization signals is N1 or less, it is determined that the mode is the VGA mode, if N1 to N2, the mode is the SVGA mode, if it is more than N2, the mode is the XGA mode. To 800, and the number of effective detection pixels N in XGA mode
P is set to 1,024. This function is provided in the image start / end coordinate detection circuit 3 and output to the display control circuit 4. Alternatively, a part requiring high-speed processing such as a counter function and a comparison function for detecting the total number of horizontal synchronization signals Hsync is provided in the image start / end coordinate detection circuit 3, and the display control circuit 4 outputs the output video adapter. It can also be realized by identifying the mode and setting the set number of effective pixels NPP.

【0083】次に、図2に示したステップ#200の位
相調整ルーチンについて、図5及び図8を参照して以下
に説明する。先ず、図5を参照して、本発明に於ける位
相調整の概念を説明した後に、図8を参照して、具体的
な動作について説明する。
Next, the phase adjustment routine of step # 200 shown in FIG. 2 will be described below with reference to FIGS. First, the concept of the phase adjustment in the present invention will be described with reference to FIG. 5, and then the specific operation will be described with reference to FIG.

【0084】図5に、アナログ画像信号Sia、クロッ
クCLK1、CLK2及びCLK3を示す。本発明に於
いては、位相の調整、つまり位相データSpの生成は、
水平表示の最初のビデオ信号、すなわち、前述の画像左
端画素PSの水平座標HcSに着目し、この時のデジタ
ル画像信号Sidを使用して行われる。
FIG. 5 shows the analog image signal Sia and the clocks CLK1, CLK2 and CLK3. In the present invention, the adjustment of the phase, that is, the generation of the phase data Sp
Attention is paid to the first video signal of the horizontal display, that is, the horizontal coordinate HcS of the image left end pixel PS, and the digital image signal Sid at this time is used.

【0085】つまりクロックCLK1の場合、第20番
目のクロックパルスPh20が、アナログ画像信号Si
aの開始端Seを検出した事を示し、この時のライン画
像開始水平座標HcS’の値は20である。この状態か
ら、クロックCLK1を右方向にずらして位相を変え
る。クロックCLK1の位相を右に360度ずらした場
合を、クロックCLK2に示す。クロックCLK2で
は、第19番目のクロックパルスPh19で、アナログ
画像信号Siaの開始端Seを検出した事を示し、この
時の画像開始水平座標の値は19である。このアナログ
画像信号Siaの開始端Seが、クロックパルスPh2
0からクロックパルスPh19の変わり目に位置するよ
うに調整されたクロックをクロックCLK3に示す。つ
まり、クロックCLK3の位相は、クロックCLK1及
びクロックCLK2の位相に対して、それぞれ180度
づつずれており、ちょうどクロックCLK1とクロック
CLK2の中間の位相を持っている。
That is, in the case of the clock CLK1, the twentieth clock pulse Ph20 corresponds to the analog image signal Si
This indicates that the start end Se of a has been detected, and the value of the line image start horizontal coordinate HcS ′ at this time is 20. From this state, the phase is changed by shifting clock CLK1 rightward. A case where the phase of the clock CLK1 is shifted to the right by 360 degrees is shown as a clock CLK2. In the clock CLK2, the 19th clock pulse Ph19 indicates that the start end Se of the analog image signal Sia has been detected, and the value of the image start horizontal coordinate at this time is 19. The start end Se of the analog image signal Sia is the clock pulse Ph2
A clock adjusted so as to be located at the transition of the clock pulse Ph19 from 0 is shown as a clock CLK3. That is, the phase of the clock CLK3 is shifted by 180 degrees from the phases of the clocks CLK1 and CLK2, respectively, and has exactly the middle phase between the clocks CLK1 and CLK2.

【0086】つまり、本発明において、クロックScの
位相をずらして、二つのクロックCLK1とCLK2を
生成して、それぞれに対応するアナログ画像信号Sia
の開始端Seの座標を位相データとして検出し、この2
点の位相データの中間点を最適な位相データとするクロ
ックCLK3生成することによって、位相を調整する。
That is, in the present invention, two clocks CLK1 and CLK2 are generated by shifting the phase of the clock Sc, and the analog image signal Sia corresponding to each of them is generated.
Is detected as phase data, and this 2
The phase is adjusted by generating a clock CLK3 having an intermediate point of the phase data of the point as the optimum phase data.

【0087】図8に示すフローチャートを参照して、図
2に示したステップ#200の具体的動作を説明する。
尚、本位相調整ルーチンに先だって、ステップ#100
のクロック調整ステップで、クロックScはすでに、入
力されるアナログ画像信号Siaに応じて正しく調整さ
れていることは言うまでも無い。また、アナログ画像信
号Siaは画面の左端に画像がある信号を入力する。つ
まり、アナログ画像信号Siaは、図4に示す画素Pa
又はPcを有しているものとする。
Referring to a flowchart shown in FIG. 8, a specific operation of step # 200 shown in FIG. 2 will be described.
Prior to this phase adjustment routine, step # 100
Needless to say, the clock Sc has already been correctly adjusted in accordance with the analog image signal Sia to be input in the clock adjustment step. As the analog image signal Sia, a signal having an image at the left end of the screen is input. That is, the analog image signal Sia corresponds to the pixel Pa shown in FIG.
Or, it has Pc.

【0088】ステップS402では、表示制御回路4は
遅延回路5に対し位相データSpの初期値として、最短
の遅延時間を示す位相データSpvを出力した後、次の
ステップS404に進む。
In step S402, the display control circuit 4 outputs the phase data Spv indicating the shortest delay time as the initial value of the phase data Sp to the delay circuit 5, and then proceeds to the next step S404.

【0089】ステップS404では、表示制御回路4は
更に、画像開始・終了座標検出回路3から画像左端水平
座標HcSを読み出した後、次のステップS406に進
む。尚、画像左端水平座標HcSの読み出しは、図7を
参照して詳しく説明した水平画像表示区間HPの検出ル
ーチンにで行われたのと同様の方法にて行われる。
In step S404, the display control circuit 4 further reads the image left end horizontal coordinate HcS from the image start / end coordinate detection circuit 3, and then proceeds to the next step S406. The reading of the horizontal coordinate HcS at the left end of the image is performed by the same method as that used in the detection routine of the horizontal image display section HP described in detail with reference to FIG.

【0090】ステップS406では、表示制御回路4に
よって、ステップS404で読み出された画像左端水平
座標HcSに基づいて、位相データSpを遅延時間の増
加する方向にインクリメントしてクロックCLK1を出
力する。そして、次のステップS408に進む。
In step S406, the display control circuit 4 increments the phase data Sp in the direction of increasing the delay time based on the horizontal coordinate HcS of the left end of the image read in step S404, and outputs the clock CLK1. Then, the process proceeds to the next step S408.

【0091】ステップS408では、新たに、画像左端
水平座標HcS’を読み出して、次のステップS410
に進む。
In step S408, the left horizontal coordinate HcS 'of the image is newly read, and the next step S410 is executed.
Proceed to.

【0092】ステップS410では、今回読み出した画
像左端水平座標HcS’が前回読みだした画像左端水平
座標HcSと等しい場合には、YESと判断されて、ス
テップS412に進む。
In step S410, if the currently read image left end horizontal coordinate HcS 'is equal to the previously read image left end horizontal coordinate HcS, YES is determined, and the flow advances to step S412.

【0093】ステップS412では、クロックCLK1
に基づく位相データSpを更にインクリメントして、次
のステップS414に進む。
In step S412, the clock CLK1
Is further incremented, and the process proceeds to the next step S414.

【0094】ステップS414では、更新したSpを遅
延回路5に出力し、CLK2を生成した後、ステップS
408に戻る。
In step S414, the updated Sp is output to the delay circuit 5, and CLK2 is generated.
Return to 408.

【0095】一方、ステップS410でNO、つまり今
回の画像左端水平座標HcS’が前回の画像左端水平座
標HcSと異なる場合には、ステップS416に進む。
On the other hand, if NO in step S410, that is, if the current image left end horizontal coordinate HcS 'is different from the previous image left end horizontal coordinate HcS, the flow advances to step S416.

【0096】ステップS416では、一回目の変化点で
あるか否かが判断される。YESの場合には、ステップ
S418に進む。
In step S 416, it is determined whether or not it is the first change point. In the case of YES, the process proceeds to step S418.

【0097】ステップS418では、位相データSpを
変数P1に格納した後に、ステップS412に進む。そ
して、前述のステップS412、S414、S408、
及びS410の変化点をさがす処理を繰り返す。
In step S418, after the phase data Sp is stored in the variable P1, the process proceeds to step S412. Then, the aforementioned steps S412, S414, S408,
And the process of searching for a change point in S410 is repeated.

【0098】一方、ステップS416でNO、つまりス
テップS410で二回、YESと判断された場合には、
この2回目に検出した変化点に対応するクロックCLK
2に基づく位相データSpを変数P2に格納した後、次
のステップS420に進む。
On the other hand, when NO is determined in the step S416, that is, YES is determined twice in the step S410,
The clock CLK corresponding to the second detected change point
After storing the phase data Sp based on 2 in the variable P2, the process proceeds to the next step S420.

【0099】ステップS420では、変数P1と変数P
2の平均値を調整した位相データSpとして生成した
後、次のステップS424に進む。
In step S420, the variables P1 and P
After generating the average value of 2 as the adjusted phase data Sp, the process proceeds to the next step S424.

【0100】ステップS424で、ステップS420で
生成された位相データSpを遅延回路5に出力し、CL
K3を生成した後に、処理を終了する。このようにし
て、アナログ画像信号SiaをA/D変換をするタイミ
ングを決める位相データSpを算出し、調整する事によ
り、表示画像の揺らぎ無くす事ができる。
At step S424, the phase data Sp generated at step S420 is output to the delay circuit 5, and
After generating K3, the process ends. In this way, by calculating and adjusting the phase data Sp that determines the timing for performing the A / D conversion on the analog image signal Sia, it is possible to eliminate the fluctuation of the display image.

【0101】尚、以上の説明では、左端の画像を用いて
いるが、右端の画像を入力し、画像終了座標のデータを
用いても同様に調整可能である。この場合は、画像開始
・終了座標検出回路3からの画像終了座標を使用する。
In the above description, the left end image is used. However, the same adjustment can be made by inputting the right end image and using the data of the image end coordinates. In this case, the image end coordinates from the image start / end coordinate detection circuit 3 are used.

【0102】次に、図2に示したステップ#300の表
示位置調整ルーチンの詳細にすいて図9に示すフローチ
ャートを参照して以下に説明する。尚、本ルーチン開始
時には、先行するステップ#100及び#200にて、
クロックSc及び位相データSpは入力されるアナログ
画像信号Sia応じて正しく調整済みであることは言う
までもない。また、入力されるアナログ画像信号Sia
は、左端で上端に画像のある、つまり図4に示す画素P
aに対応する画像を有する信号である。更に、画像開始
・終了検出回路3は、クロック調整及び位相調整にて説
明した機能に、さらに垂直方向の画像開始検出機能を有
している。尚、この垂直方向の画像開始検出機能は、主
にソフトウェアにて構成されるので、特に回路等の手段
としては図示していない。また、垂直方向の画像開始位
置とは、画面画像FIの上端の垂直座標、つまり画像上
端垂直座標VcSを求めることに他ならない。画像上端
垂直座標VcSを検出するために、画像開始・終了座標
検出回路3は、垂直同期信号Vsyncをトリッガとし
て水平同期信号Hsyncをカウントして垂直座標値V
cとし、最初にアナログ画像信号Siaの現れた垂直座
標値Vcを画像上端垂直座標VcSとする。なお、各ス
テップ毎の処理内容は以下の通りである。
Next, the details of the display position adjustment routine in step # 300 shown in FIG. 2 will be described with reference to the flowchart shown in FIG. At the start of this routine, in the preceding steps # 100 and # 200,
Needless to say, the clock Sc and the phase data Sp have been correctly adjusted according to the input analog image signal Sia. Also, the analog image signal Sia to be input
Represents an image at the left end and the upper end, that is, the pixel P shown in FIG.
This is a signal having an image corresponding to a. Further, the image start / end detection circuit 3 further has a vertical image start detection function in addition to the functions described in the clock adjustment and the phase adjustment. Since the function of detecting the start of the image in the vertical direction is mainly constituted by software, it is not particularly shown as means such as a circuit. Further, the image start position in the vertical direction is nothing less than obtaining the vertical coordinates of the upper end of the screen image FI, that is, the image upper-end vertical coordinates VcS. In order to detect the image top vertical coordinate VcS, the image start / end coordinate detection circuit 3 counts the horizontal synchronization signal Hsync using the vertical synchronization signal Vsync as a trigger, and calculates the vertical coordinate value VcS.
c, and the vertical coordinate value Vc at which the analog image signal Sia first appears is the image top vertical coordinate VcS. The processing content of each step is as follows.

【0103】ステップS302に於いて、表示制御回路
4は画像開始・終了座標検出回路3から画像左端水平座
標HcS及び画像上端垂直座標VcSのそれぞれを読み
出した後、次のステップS304に進む。
In step S302, the display control circuit 4 reads out the image left end horizontal coordinate HcS and the image upper end vertical coordinate VcS from the image start / end coordinate detection circuit 3, and then proceeds to the next step S304.

【0104】ステップS304では、これらの画像左端
水平座標HcS及び画像上端垂直座標VcSに基づい
て、以下の処理を実行して表示装置制御データSdcを
生成する。画像左端水平座標HcSを水平表示開始座標
HsSとしてセットする。水平有効表示区間HEDP内
の画素数を表す水平画像表示区間画素数NHPを画像左
端水平座標HcSに加算して、画像左端座標HcEを算
出する。画像上端垂直座標VcSを垂直表示開始座標V
sSとしてセットする。更に、垂直有効表示区間VED
P内の画素数を表す垂直画像表示区間画素数NVP、画
像上端垂直座標VcSに加算して、画像下端垂直座標V
cEを算出する。尚、垂直画像表示区間画素数NVP
は、基本的には、水平画像表示区間画素数NHPと同様
の方法にて求めることができるので、具体的に方法につ
いての説明を省く。以上の処理を実行後、次のステップ
S306に進む。
In step S304, the following processing is executed based on these image left horizontal coordinate HcS and image upper vertical coordinate VcS to generate display device control data Sdc. The horizontal coordinate HcS at the left end of the image is set as the horizontal display start coordinate HsS. The image left end coordinate HcE is calculated by adding the horizontal image display section pixel number NHP representing the number of pixels in the horizontal effective display section HEDP to the image left end horizontal coordinate HcS. The image top vertical coordinate VcS is set to the vertical display start coordinate V
Set as sS. Further, the vertical effective display section VED
P is added to the vertical image display section pixel number NVP representing the number of pixels in P and the image top vertical coordinate VcS to obtain the image bottom vertical coordinate V
Calculate cE. In addition, the vertical image display section pixel number NVP
Can be basically obtained by the same method as the horizontal image display section pixel number NHP, and a detailed description of the method will be omitted. After performing the above processing, the process advances to the next step S306.

【0105】S306では、S304で生成された画像
左端座標HcE及び画像下端垂直座標VcEから成る表
示装置制御データSdcを画像表示部駆動回路10に出
力して処理を終了する。
In step S306, the display device control data Sdc including the image left end coordinate HcE and the image lower end vertical coordinate VcE generated in step S304 is output to the image display unit driving circuit 10, and the process ends.

【0106】上述の例では画像左端座標HcE及び画像
下端垂直座標VcEを、それぞれ、画像左端水平座標H
cSと水平有効表示区間HEDP、及び画像上端垂直座
標VcSと垂直有効表示区間VEDPから算出してい
る。しかし、画面画像FIの左上隅及び右下隅に、それ
ぞれ有効画像画素Pa及びPdを有するアナログ画像信
号Siaを入力し、画像開始・終了検出回路3から画像
左端座標HcE及び画像下端垂直座標VcEデータを検
出し、表示座標制御データSdcを生成することも可能
である。この場合、画像開始・終了検出回路3に、さら
に、垂直方向の画像終了位置を検出する機能を有する。
垂直方向の画像終了位置を検出するには、垂直同期信号
Vsyncをトリッガとして水平同期信号Hsyncを
カウントして垂直座標値Vcとし、アナログ画像信号S
iaの現れた時の垂直座標値Vcを逐次レジスターに記
憶しておく事で、このレジスターの値が画像下端垂直座
標VcEになる。画像開始・終了検出回路3は、画像左
端水平座標HcSと画像上端垂直座標VcS、及び画像
左端座標HcEと画像下端垂直座標VcEを検出する。
そして、表示制御回路4は、これらの値に基づいて、表
示装置制御データSdcを生成し、画像表示部駆動回路
10に出力する。入力するアナログ画像信号Siaとし
て、図4に示すように、画面画像FIの右上隅及び左下
隅にそれぞれ有効表示画素Pb及びPcを有する信号で
あっても良い。
In the above example, the image left end coordinate HcE and the image lower end vertical coordinate VcE are respectively set to the image left end horizontal coordinate HcE.
It is calculated from cS and the horizontal effective display section HEDP, and the image top vertical coordinate VcS and the vertical effective display section VEDP. However, an analog image signal Sia having valid image pixels Pa and Pd is input to the upper left corner and lower right corner of the screen image FI, and the image left end coordinate HcE and the image lower end vertical coordinate VcE data are input from the image start / end detection circuit 3. It is also possible to detect and generate display coordinate control data Sdc. In this case, the image start / end detection circuit 3 further has a function of detecting the image end position in the vertical direction.
To detect the image end position in the vertical direction, the vertical synchronization signal Vsync is used as a trigger, the horizontal synchronization signal Hsync is counted, and the vertical coordinate value Vc is calculated.
By sequentially storing the vertical coordinate value Vc when ia appears in a register, the value of this register becomes the image bottom vertical coordinate VcE. The image start / end detection circuit 3 detects an image left end horizontal coordinate HcS and an image upper end vertical coordinate VcS, and an image left end coordinate HcE and an image lower end vertical coordinate VcE.
Then, the display control circuit 4 generates display device control data Sdc based on these values, and outputs the data to the image display unit driving circuit 10. As shown in FIG. 4, the input analog image signal Sia may be a signal having effective display pixels Pb and Pc at the upper right corner and the lower left corner of the screen image FI, respectively.

【0107】本発明に基づいて、画像の表示位置を調整
するために、表示座標制御データを正しく生成するの
に、特別な画面は通常不要になる。例えば、Windo
ws(米国マイクロソフト社の登録商標)画面で全体に
壁紙のある入力画像で良い。
According to the present invention, a special screen is usually unnecessary for correctly generating display coordinate control data for adjusting the display position of an image. For example, Windows
An input image having wallpaper as a whole on a ws (registered trademark of Microsoft Corporation) screen may be used.

【0108】または、水平画像表示区間画素数NHP及
び垂直画像表示区間画素数NVPを次の手段で検出する
事もできる。クロック数データの算出で述べた水平同期
信号Hsyncをカウントする(一画面分の総水平ライ
ン数を検出する)カウンターと、この値を予め設定され
た値と比較する比較回路からの構成することで、各表示
モードを識別し、水平有効表示区間HEDP及び垂直有
効表示区間VEDPの画素数を設定する。VGAモード
の場合は水平有効期間の画素数を640に垂直有効期間
の画素数を480に、SVGAモードの場合は水平有効
期間の画素数を800に垂直有効期間の画素数を600
に、XGAモードの場合は水平有効期間の画素数を10
24に垂直有効期間の画素数を768に設定する。この
場合は、必要な画像画面は、図4に示す左上隅に有効表
示画素Paのみを有する丈で良い。そして、画像左端水
平座標HcS及び画像上端垂直座標VcSのみを検出
し、これに、各モードの水平・垂直有効期間の画素数を
加算する事で、表示制御データSdcを算出することが
できる。
Alternatively, the number of horizontal image display section pixels NHP and the number of vertical image display section pixels NVP can be detected by the following means. It is composed of a counter that counts the horizontal synchronization signal Hsync (detects the total number of horizontal lines for one screen) described in the calculation of the clock number data, and a comparison circuit that compares this value with a preset value. , Each display mode is identified, and the number of pixels in the horizontal effective display section HEDP and the vertical effective display section VEDP is set. In the case of the VGA mode, the number of pixels in the horizontal effective period is 640 and the number of pixels in the vertical effective period is 480. In the case of the SVGA mode, the number of pixels in the horizontal effective period is 800 and the number of pixels in the vertical effective period is 600.
In the case of the XGA mode, the number of pixels in the horizontal effective period is set to 10
24, the number of pixels in the vertical effective period is set to 768. In this case, the required image screen may have a length having only the effective display pixel Pa at the upper left corner shown in FIG. Then, the display control data Sdc can be calculated by detecting only the horizontal coordinate HcS at the left end of the image and the vertical coordinate VcS at the upper end of the image, and adding the number of pixels in the horizontal and vertical effective periods in each mode.

【0109】また、白黒の画像にて説明したが、カラー
画像の場合について、白黒画像の場合と異なる部分につ
いてのみ以下に説明する。A/D変換器1は、R
(赤)、G(緑)及びB(青)のそれぞれ対応して、計
3つ用意する。これら3つのA/D変換回路の出力の論
理和をとり、この出力を、デジタル画像信号Sidとし
て、画像開始・終了検出回路3に接続する。その他の回
路は、前述の構成で良く、A/D変換器1以外の手段を
各カラー信号毎に、別途用意する必要は内。
Although the description has been given of a monochrome image, only a portion different from a monochrome image in a color image will be described below. The A / D converter 1 has R
(Red), G (Green), and B (Blue) are respectively prepared for a total of three. The logical sum of the outputs of these three A / D conversion circuits is obtained, and this output is connected to the image start / end detection circuit 3 as a digital image signal Sid. Other circuits may be configured as described above, and it is not necessary to separately prepare means other than the A / D converter 1 for each color signal.

【0110】この構成によって、予めパーソナルコンピ
ュータからのアナログ画像入力信号に合わせたプリセッ
トデータを用意しなくても、入力ビデオ信号に応じた最
適のクロック数データ、位相データ、表示位置データを
自動的に設定できる。また、それによりユーザーによる
データ調整も不必要になる。
With this configuration, the optimum clock number data, phase data, and display position data according to the input video signal can be automatically obtained without preparing preset data corresponding to the analog image input signal from the personal computer in advance. Can be set. It also eliminates the need for data adjustment by the user.

【0111】[0111]

【発明の効果】以上の説明から明らかなように、本発明
によれば、デジタル化されたビデオ信号の画像開始・終
了座標を検出し、それらのデータを用いることにより入
力されるビデオ信号の実際の状態に合致したクロック数
データ、位相データ、表示位置データを設定することが
できる。その為、入力しようとするビデオ信号に合わせ
たプリセットデータを予め用意する必要が無い。その結
果、入力されているビデオ信号とプリセットデータPI
とのズレも別途ユーザーが調整する必要が無い。
As is apparent from the above description, according to the present invention, the start and end coordinates of an image of a digitized video signal are detected, and the actual video signal input by using those data is detected. , The clock number data, the phase data, and the display position data can be set. Therefore, there is no need to prepare preset data in accordance with the video signal to be input. As a result, the input video signal and the preset data PI
There is no need for the user to adjust the gap between the two.

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

【図1】 本発明に基づく実施形態に基づく入力ビデオ
アダプタを組み込んだデジタル画像表示装置の構造を示
すブロック図である。
FIG. 1 is a block diagram showing the structure of a digital image display device incorporating an input video adapter according to an embodiment of the present invention.

【図2】 図1に示す本発明に基づく入力ビデオアダプ
タの主な動作を示すフローチャートである。
FIG. 2 is a flowchart showing main operations of the input video adapter according to the present invention shown in FIG. 1;

【図3】 本発明に基づくクロック調整を説明する概念
図である。
FIG. 3 is a conceptual diagram illustrating clock adjustment based on the present invention.

【図4】 本発明に基づく、画像信号の画像情報を説明
する概念図である。
FIG. 4 is a conceptual diagram illustrating image information of an image signal according to the present invention.

【図5】 本発明に基づく位相調整を説明する概念図で
ある。
FIG. 5 is a conceptual diagram illustrating phase adjustment based on the present invention.

【図6】 図2に示したクロック調整ルーチンの詳細な
動作を示すフローチャートである。
FIG. 6 is a flowchart illustrating a detailed operation of a clock adjustment routine shown in FIG. 2;

【図7】 図6に示した水平画像表示区間画素数検出ル
ーチンの詳細を示すフローチャートである。
FIG. 7 is a flowchart showing details of a horizontal image display section pixel number detection routine shown in FIG. 6;

【図8】 図2に示した位相調整ルーチンの詳細な動作
を示すフローチャートである。
8 is a flowchart showing a detailed operation of a phase adjustment routine shown in FIG.

【図9】 図2に示した表示位置調整ルーチンの詳細な
動作を示すフローチャートである。
FIG. 9 is a flowchart showing a detailed operation of a display position adjustment routine shown in FIG. 2;

【図10】 従来の入力ビデオアダプタの構造を示すブ
ロック図である。
FIG. 10 is a block diagram showing the structure of a conventional input video adapter.

【図11】 従来の入力アダプタに固有のクロック調整
の問題を説明する概念図である。
FIG. 11 is a conceptual diagram illustrating a problem of clock adjustment unique to a conventional input adapter.

【図12】 従来の入力アダプタに固有の位相調整の問
題を説明する概念図である。
FIG. 12 is a conceptual diagram illustrating a problem of phase adjustment unique to a conventional input adapter.

【図13】 従来の入力アダプタに固有の表示位置調整
の問題を説明する概念図である。
FIG. 13 is a conceptual diagram illustrating a problem of display position adjustment unique to a conventional input adapter.

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

1 A/D変換回路 2 クロック生成回路 3 画像開始・終了座標検出回路 4 表示制御回路 5 遅延回路 7 プリセットデータメモリー 10 画像表示部駆動回路 11 画像表示部 14 表示制御回路 Reference Signs List 1 A / D conversion circuit 2 Clock generation circuit 3 Image start / end coordinate detection circuit 4 Display control circuit 5 Delay circuit 7 Preset data memory 10 Image display drive circuit 11 Image display 14 Display control circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI H04N 5/66 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification code FI H04N 5/66

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 アナログ画像入力信号をデジタル変換し
て表示するデジタル画像表示装置であって、 該アナログ画像入力信号と、一定の周期でアナログから
デジタルに変換する為のクロックを入力として、該アナ
ログ画像入力信号をデジタル信号に変換するA/D変換
回路と、 該A/D変換回路からの出力であるデジタルビデオ信号
と該アナログ画像入力信号に同期した水平同期信号と垂
直同期信号、該A/D変換回路のクロックを入力とし
て、デジタルビデオ信号の各水平ライン毎に検出される
複数の水平区間内で最も左端に位置する表示画素の水平
座標である水平画像開始座標と最も右端に位置する表示
画素の水平座標である水平画像終了座標を検出する画像
開始・終了座標検出回路と、 該水平画像開始座標と該水平画像終了座標より、該A/
D変換回路のクロックの周波数と関係づけられたクロッ
ク数データを算出する表示制御回路と、 該表示制御回路からのクロック数データに基づいて、該
A/D変換回路のクロックを生成するクロック生成回路
より構成され、 該表示制御回路により、該水平画像終了座標から該水平
画像開始座標を減じた値が、該アナログ画像入力信号を
デジタル的に生成した時の水平有効表示区間の画素数に
合致するように、該A/D変換回路のクロック数に対応
するクロックを算出する事により、該A/D変換するク
ロックの周波数を自動調整する事を特徴とするデジタル
画像表示装置。
1. A digital image display device for converting an analog image input signal into a digital signal and displaying the digital image signal, wherein the analog image input signal and a clock for converting from analog to digital at a constant period are input to the analog image display device. An A / D conversion circuit for converting an image input signal into a digital signal; a digital video signal output from the A / D conversion circuit; a horizontal synchronization signal and a vertical synchronization signal synchronized with the analog image input signal; Detected for each horizontal line of the digital video signal using the clock of the D conversion circuit as input
An image start / end coordinate detection circuit for detecting a horizontal image start coordinate which is the horizontal coordinate of the leftmost display pixel and a horizontal image end coordinate which is the horizontal coordinate of the rightmost display pixel in a plurality of horizontal sections; From the horizontal image start coordinates and the horizontal image end coordinates, the A / A
A display control circuit for calculating clock number data associated with a clock frequency of the D conversion circuit, and a clock generation circuit for generating a clock for the A / D conversion circuit based on the clock number data from the display control circuit A value obtained by subtracting the horizontal image start coordinate from the horizontal image end coordinate by the display control circuit matches the number of pixels in a horizontal effective display section when the analog image input signal is digitally generated. As described above, a digital image display apparatus characterized in that the clock corresponding to the number of clocks of the A / D conversion circuit is calculated to automatically adjust the frequency of the clock to be A / D converted.
【請求項2】 アナログ画像入力信号をデジタル変換し
て表示するデジタル画像表示装置であって、 該アナログ画像入力信号と、一定の周期でアナログから
デジタルに変換する為のクロックを入力として、該アナ
ログ画像入力信号をデジタル信号に変換するA/D変換
回路と、 該A/D変換回路からの出力であるデジタルビデオ信号
と該アナログ画像入力信号に同期した水平同期信号と垂
直同期信号と該A/D変換回路のクロックを入力とし
て、デジタルビデオ信号の各水平ライン毎に検出される
複数の水平区間内で最も左端に位置する表示画素の水平
座標である水平画像開始座標を検出する画像開始座標検
出回路と、 該アナログ画像入力信号に同期した水平同期信号を遅ら
せる遅延回路と、 該遅延回路の出力と同期して該A/D変換回路のクロッ
クを生成するクロック生成回路と、 該水平画像開始座標を入力として、該水平同期信号の遅
延時間を決める位相データを該遅延回路に出力する表示
制御回路より構成され、 該表示制御回路にて該位相データを変え、これにより該
画像開始座標検出回路からの画像開始座標値が一座標分
変化する該位相データを2点検出し、該検出された位相
データを用いて、該A/D変換回路のクロックの位相を
自動調整する事を特徴とするデジタル画像表示装置。
2. A digital image display device for converting an analog image input signal into a digital signal and displaying the digital image signal, wherein the analog image input signal and a clock for converting from analog to digital at a constant cycle are input. An A / D conversion circuit for converting an image input signal into a digital signal; a digital video signal output from the A / D conversion circuit; a horizontal synchronization signal and a vertical synchronization signal synchronized with the analog image input signal; Detected for each horizontal line of the digital video signal using the clock of the D conversion circuit as input
An image start coordinate detection circuit that detects a horizontal image start coordinate that is a horizontal coordinate of a leftmost display pixel in a plurality of horizontal sections; a delay circuit that delays a horizontal synchronization signal synchronized with the analog image input signal; A clock generation circuit for generating a clock for the A / D conversion circuit in synchronization with an output of the delay circuit; and inputting the horizontal image start coordinates and outputting phase data for determining a delay time of the horizontal synchronization signal to the delay circuit. The display control circuit changes the phase data, and the image start coordinate value from the image start coordinate detection circuit changes by one coordinate to check out the phase data. A digital image display device wherein a phase of a clock of the A / D conversion circuit is automatically adjusted using the obtained phase data.
【請求項3】 アナログ画像入力信号(Sia)をデジ
タル変換して表示するデジタル画像表示装置(VA)で
あって、 アナログ画像入力信号(Sia)と、アナログからデジ
タルに変換する為のクロック(Sc)を入力として、該
アナログ(Sia)をデジタル信号に変換するA/D変
換回路(1)と、 該A/D変換回路(1)からの出力であるデジタルビデ
オ信号(Sia)、該アナログ画像(Sia)に同期し
た水平同期信号(Hsync)と垂直同期信号(Vsy
nc)、該A/D変換回路(1)のクロックを入力とし
て、水平画像開始座標(HcS)と、垂直画像開始座標
(VcS)を検出する画像開始座標検出回路(3)と、 デジタルにて変換されたビデオ信号(Sid)を表示す
る為に表示座標(Sdc)を制御する表示座標制御回路
(4)から構成され、 該表示座標制御回路(4)は、水平表示開始座標(Hs
S)を該水平画像開始座標(HcS)から、水平表示終
了座標(HsE)を該水平画像開始座標(HcS)と該
アナログ画像入力信号(Sia)をデジタル的に生成し
た時の水平有効表示区間(HEDP)内の画素数(NH
P)とから、垂直表示開始座標(VsS)を該垂直画像
開始座標(VcS)から、垂直表示最終座標(VsE)
を該垂直画像開始座標(VcE)と該アナログ画像入力
信号(Sia)をデジタル的に生成した時の垂直有効表
示区間(VEDP)のライン数(V)から算出した事に
より表示座標(Sdc)を自動調整する事を特徴とする
デジタル画像表示装置。
3. A digital image display (VA) for converting an analog image input signal (Sia) into a digital signal and displaying the digital image signal, wherein the analog image input signal (Sia) and a clock (Sc) for converting from analog to digital. ) As input, an A / D conversion circuit (1) for converting the analog (Sia) into a digital signal, a digital video signal (Sia) output from the A / D conversion circuit (1), and the analog image (Sia) and a vertical synchronizing signal (Vsync) synchronized with the horizontal synchronizing signal (Hsync).
nc), an image start coordinate detection circuit (3) for detecting a horizontal image start coordinate (HcS) and a vertical image start coordinate (VcS) using a clock of the A / D conversion circuit (1) as an input, A display coordinate control circuit (4) for controlling display coordinates (Sdc) for displaying the converted video signal (Sid) is provided. The display coordinate control circuit (4) includes a horizontal display start coordinate (Hs).
S) is the horizontal image start coordinate (HcS), the horizontal display end coordinate (HsE) is the horizontal image start coordinate (HcS), and the horizontal effective display section when the analog image input signal (Sia) is digitally generated. (HEDP)
P), the vertical display start coordinate (VsS) is converted from the vertical image start coordinate (VcS) to the vertical display end coordinate (VsE).
Is calculated from the vertical image start coordinates (VcE) and the number of lines (V) of the vertical effective display section (VEDP) when the analog image input signal (Sia) is digitally generated, thereby displaying the display coordinates (Sdc). Digital image display device characterized by automatic adjustment.
【請求項4】 右端で上端および左端で下端、または左
端で上端および右端で下端に画像を表示する画面を入力
し、 該画像開始座標検出回路(3)に、水平画像終了座標
(HcE)と垂直画像終了座標(VcE)を検出する機
能を付加して、 該表示座標制御回路(4)内の該アナログ画像入力信号
(Sia)をデジタル的に生成した時の水平有効表示区
間内の画素数(NHP)を水平画像終了座標(HcE)
から水平画像開始座標(HcS)を減じた値とし、該ア
ナログ画像入力信号をデジタル的に生成した時の垂直有
効表示区間(VEDP)のライン数を垂直画像終了座標
(VcE)から垂直画像開始座標(VcS)を減じた値
とし、表示座標を自動調整する事を特徴とする請求項3
に記載のデジタル画像表示装置。
4. A screen for displaying an image at the upper end at the right end and at the lower end at the left end, or at the upper end at the left end and at the lower end at the right end, and inputs the horizontal image end coordinate (HcE) to the image start coordinate detection circuit (3). The number of pixels in a horizontal effective display section when the analog image input signal (Sia) in the display coordinate control circuit (4) is digitally generated by adding a function of detecting a vertical image end coordinate (VcE) (NHP) is the horizontal image end coordinate (HcE)
Is subtracted from the horizontal image start coordinate (HcS), and the number of lines in the vertical effective display section (VEDP) when the analog image input signal is digitally generated is calculated from the vertical image end coordinate (VcE) to the vertical image start coordinate. The display coordinates are automatically adjusted by using a value obtained by subtracting (VcS).
2. The digital image display device according to 1.
【請求項5】 該アナログ画像入力信号に同期した垂直
同期信号の間の水平同期信号の総数をカウントする機能
を該画像開始終了検出回路(3)に追加し、該アナログ
画像入力信号をデジタル的に生成した時の水平有効表示
区間(HEDP)の画素数(NHP)の識別に使用する
機能を持つことによりA/D変換するクロックの周波数
を自動調整する事を特徴とする請求項1に記載のデジタ
ル画像表示装置。
5. A function for counting the total number of horizontal synchronization signals between vertical synchronization signals synchronized with the analog image input signal is added to the image start / end detection circuit (3), and the analog image input signal is digitally converted. 2. The frequency of a clock for A / D conversion is automatically adjusted by having a function used to identify the number of pixels (NHP) in a horizontal effective display section (HEDP) when the clock is generated. Digital image display device.
【請求項6】 請求項5に記載の垂直同期信号の間の水
平同期信号の総数から識別されたアナログ画像入力信号
をデジタル的に生成した時の水平有効表示区間(HED
P)の画素数(NHP)を、請求項3に記載のアナログ
画像入力信号をデジタル的に生成した時の水平有効表示
区間内の画素数に設定し、該請求の範囲5の垂直同期信
号の間の水平同期信号の総数を、アナログ画像入力信号
をデジタル的に生成した時の垂直有効表示区間のライン
数の識別にも使用して、この値を、請求の範囲3におけ
るアナログ画像入力信号をデジタル的に生成した時の垂
直有効表示区間のライン数として設定する事により表示
座標を自動調整する事を特徴とするデジタル画像表示装
置。
6. A horizontal effective display section (HED) when an analog image input signal identified from the total number of horizontal synchronization signals between the vertical synchronization signals according to claim 5 is digitally generated.
The number of pixels (NHP) of P) is set to the number of pixels in the horizontal effective display section when the analog image input signal according to claim 3 is digitally generated, and the number of pixels of the vertical synchronization signal according to claim 5 is set. The total number of horizontal synchronizing signals between them is also used to identify the number of lines in a vertical effective display section when an analog image input signal is digitally generated. A digital image display device wherein display coordinates are automatically adjusted by setting the number of lines in a vertical effective display section when digitally generated.
JP10588797A 1996-04-26 1997-04-23 Digital image display Expired - Fee Related JP3214820B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10588797A JP3214820B2 (en) 1996-04-26 1997-04-23 Digital image display

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-106684 1996-04-26
JP10668496 1996-04-26
JP10588797A JP3214820B2 (en) 1996-04-26 1997-04-23 Digital image display

Publications (2)

Publication Number Publication Date
JPH1063234A JPH1063234A (en) 1998-03-06
JP3214820B2 true JP3214820B2 (en) 2001-10-02

Family

ID=26446104

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10588797A Expired - Fee Related JP3214820B2 (en) 1996-04-26 1997-04-23 Digital image display

Country Status (1)

Country Link
JP (1) JP3214820B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3722628B2 (en) 1998-10-20 2005-11-30 株式会社日立製作所 Automatic clock phase adjusting device, automatic clock phase adjusting method and display device using the same
EP1026654B1 (en) 1999-01-29 2007-03-21 Canon Kabushiki Kaisha Flat picture display apparatus with image position adjustment
JP3883904B2 (en) * 2001-06-15 2007-02-21 シャープ株式会社 Display device and display system
JP5121164B2 (en) * 2006-04-27 2013-01-16 キヤノン株式会社 Display device
JP4182124B2 (en) 2006-06-30 2008-11-19 Necディスプレイソリューションズ株式会社 Image display device, dot clock phase adjustment circuit, and clock phase adjustment method
JP4488013B2 (en) 2007-03-08 2010-06-23 船井電機株式会社 Digital image display device
JP2011154060A (en) * 2010-01-26 2011-08-11 Canon Inc Display device
JPWO2012111120A1 (en) * 2011-02-17 2014-07-03 Necディスプレイソリューションズ株式会社 Image display apparatus and clock frequency adjusting method thereof
CN105225646B (en) * 2015-10-09 2017-11-10 惠科股份有限公司 A kind of method and system for adjusting the display parameters for showing signal
JP2017121069A (en) * 2017-02-21 2017-07-06 三菱電機エンジニアリング株式会社 Video signal processor and video signal processing method

Also Published As

Publication number Publication date
JPH1063234A (en) 1998-03-06

Similar Documents

Publication Publication Date Title
US5917461A (en) Video adapter and digital image display apparatus
KR100497725B1 (en) Apparatus and method for processing signal for display
US20100110062A1 (en) Metod for Synchronizing Display of Images in a Multi-Display Computer System
US6483502B2 (en) Image reproducing apparatus, projector, image reproducing system, and information storing medium
JP3214820B2 (en) Digital image display
KR100609056B1 (en) Display Apparatus And Control Method Thereof
US7391416B2 (en) Fine tuning a sampling clock of analog signals having digital information for optimal digital display
KR20010017588A (en) Method and apparatus for compensating clock phase of monitor
KR100304899B1 (en) Apparatus and method for displaying out of range video of monitor
CN102376289B (en) Display time sequence control circuit and method thereof
US6686969B1 (en) Display device
JP2001324952A (en) Video signal processing device
JP3474120B2 (en) Scan converter and scan conversion method
KR100654771B1 (en) Display apparatus and control method thereof
KR100620519B1 (en) Method and apparatus for compensating for interlace type video signal
US6922192B2 (en) Wide-range and balanced display position adjustment method for LCD controller
JP4446527B2 (en) Scan converter and parameter setting method thereof
JP3283448B2 (en) Video overlay equipment
KR100262650B1 (en) Apparatus for controlling auto-screen of the lcd monitor and a method thereof
KR100314071B1 (en) Method for automatically adjusting picture size
KR100201257B1 (en) Method & apparatus for compensating position of on screen display in the image system with multi-picture division function
JP2001013944A (en) Sampling clock generating device, storage medium stored with control program for generation of sampling clock
JP2000013635A (en) Clock control circuit
JP3096588B2 (en) Control device for analog circuit
JPH08263032A (en) Automatic screen position adjusting device

Legal Events

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

Free format text: PAYMENT UNTIL: 20070727

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080727

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090727

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090727

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100727

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110727

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees