JPH0440073A - Sampling clock setting method for video interface device - Google Patents
Sampling clock setting method for video interface deviceInfo
- Publication number
- JPH0440073A JPH0440073A JP2145273A JP14527390A JPH0440073A JP H0440073 A JPH0440073 A JP H0440073A JP 2145273 A JP2145273 A JP 2145273A JP 14527390 A JP14527390 A JP 14527390A JP H0440073 A JPH0440073 A JP H0440073A
- Authority
- JP
- Japan
- Prior art keywords
- continuous white
- sampling clock
- characters
- initial
- pixels
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
【発明の詳細な説明】
[産業上の利用分野]
この発明は、ドツトクロックに一致するようにビデオイ
ンタフェイス装置のサンプリングクロックを設定する方
法に関し、特に自動的且つ正確にサンプリングクロック
を設定できるビデオインクフェイス装置のサンプリング
クロック設定方法に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for setting the sampling clock of a video interface device to match a dot clock, and particularly to a method for setting the sampling clock of a video interface device automatically and accurately. The present invention relates to a sampling clock setting method for an ink face device.
[従来の技術]
一般に、カラーハードコピー等を行う場合、ビデオ信号
を画面メモリに書込む必要があるが、画面メモリ上に画
像パターンを正確に再現するため、ドツト(画素)に対
応したサンプリングクロックを正確に設定する必要があ
る。このため、従来より、PLL等からなるサンプリン
グクロック発生回路の分周比をCPUにより設定してい
る。[Prior Art] Generally, when making a color hard copy, it is necessary to write a video signal to a screen memory, but in order to accurately reproduce an image pattern on the screen memory, a sampling clock corresponding to a dot (pixel) is required. must be set accurately. For this reason, the frequency division ratio of a sampling clock generation circuit such as a PLL has conventionally been set by the CPU.
第3図は例えば特願昭63−63428号明細書に記載
された一般的なビデオインタフェイス装置の概略を示す
ブロック図である。FIG. 3 is a block diagram schematically showing a general video interface device described in, for example, Japanese Patent Application No. 63-63428.
図において、(1)はホスト装置(図示せず)からのビ
デオ信号Aが入力されるビデオ信号入力端子、(2)は
ビデオ信号Aを増幅するアンプ、(3)はアナログのビ
デオ信号Aをディジタル信号に変換するADコンバータ
、(4)はディジタル変換されたビデオ信号Aが格納さ
れる画面メモリである。In the figure, (1) is a video signal input terminal into which video signal A from a host device (not shown) is input, (2) is an amplifier that amplifies video signal A, and (3) is an analog video signal input terminal. An AD converter for converting into a digital signal, and (4) a screen memory in which the digitally converted video signal A is stored.
(5)はホスト装置からの同期信号Bが入力される同期
信号入力端子、(6)は同期信号Bに同期したサンプリ
ングクロックCを生成するサンプリングクロック発生回
路、(7)は同期信号B及びサンプリングクロックCに
同期して画面メモリ(4)を制御するためのメモリ制御
回路、(9)は画面メモリ(4)の1行当たりの有効表
示画素数を設定する表示画素数設定器である。(5) is a synchronization signal input terminal into which synchronization signal B from the host device is input, (6) is a sampling clock generation circuit that generates sampling clock C synchronized with synchronization signal B, and (7) is synchronization signal B and sampling A memory control circuit (9) is for controlling the screen memory (4) in synchronization with the clock C, and a display pixel number setting device (9) is for setting the number of effective display pixels per line of the screen memory (4).
(10)はビデオインタフェイス装置全体を制御するC
PUであり、表示画素数設定器(9)の設定値に基づい
てドツトクロック信号り及び制御信号Eを生成している
。(10) is a C that controls the entire video interface device.
It is a PU and generates a dot clock signal and a control signal E based on the setting value of the display pixel number setting device (9).
次に、CP U (10)の処理動作を示す第4図のフ
ローチャート図を参照しながら、第3図のビデオインタ
フェイス装置を用いた従来のサンプリングクロック設定
方法について説明する。Next, a conventional sampling clock setting method using the video interface device of FIG. 3 will be described with reference to the flowchart of FIG. 4 showing the processing operation of the CPU (10).
まず、表示画素数設定器(9)を介して初期有効表示画
素数GOを予め設定する。First, the initial effective display pixel number GO is preset via the display pixel number setter (9).
CP U (10)は、初期有効表示画素数Goを初期
ドツトクロック数DOとしてドツトクロック信号りを出
力し、この初期ドツトクロック数Doと一致した初期サ
ンプリングクロックC○をサンプリングクロック発生回
路(6)から生成させる(ステップS1)。The CPU (10) outputs a dot clock signal with the initial effective display pixel number Go as the initial dot clock number DO, and outputs an initial sampling clock C○ that matches the initial dot clock number Do to the sampling clock generation circuit (6). (Step S1).
この状態で、R,G及びB信号の全ての電圧レベルが最
大となる白レベルのビデオ信号AOを取込み、このとき
計数される第1有効表示画素数G1を求める(ステップ
S2)、この第1有効表示画素数01は、画面信号Fに
含まれており、画面メモリ(4)から得られる。In this state, the video signal AO of the white level where all the voltage levels of the R, G, and B signals are maximum is taken in, and the first number of effective display pixels G1 to be counted at this time is determined (step S2). The number of effective display pixels 01 is included in the screen signal F and is obtained from the screen memory (4).
次に、初期有効表示画素数Go及び第1有効表示画素数
01に基づいて、仮のドツトクロック数D′を、
D’=GO”/Gl ・・・■により演算
する(ステップS3)。Next, based on the initial number of effective display pixels Go and the first number of effective display pixels 01, a temporary number of dot clocks D' is calculated as D'=GO''/Gl . . . (Step S3).
しかし、仮のドツトクロック数D′には、ADコンバー
タ(3)による誤差及び演算誤差などが含まれているた
め、以下の補正ステップを行なう。However, since the provisional number of dot clocks D' includes errors caused by the AD converter (3), calculation errors, etc., the following correction steps are performed.
まず、仮のドツトクロック数D′をドツトクロック信号
りとして出力し、このドツトクロック数D′と一致する
仮のサンプリングクロックC′を生成させる(ステップ
S4)。First, a temporary number of dot clocks D' is outputted as a dot clock signal, and a temporary sampling clock C' matching this number of dot clocks D' is generated (step S4).
そして、この状態で実際に白レベルのビデオ信号A○を
取込んだときの第2有効表示画素数G2を求め(ステッ
プS5)、これを初期有効表示画素数Goと比較する(
ステップS6)。Then, in this state, the second effective display pixel number G2 when the white level video signal A○ is actually taken in is determined (step S5), and this is compared with the initial effective display pixel number Go (
Step S6).
もし、GO≠G2でなければ、更に両者の大小関係を判
定しくステップS7)、Go>02の場合は、仮のドツ
トクロック数D′をインクリメント(ステップS8)シ
てステップS4に戻り、Go<G2の場合は仮のドツト
クロック数D′をデクリメント(ステップS9)シてス
テップS4に戻る。If GO≠G2, the magnitude relationship between the two is further determined (step S7); if Go>02, the temporary dot clock number D' is incremented (step S8), and the process returns to step S4, and Go< In the case of G2, the temporary number of dot clocks D' is decremented (step S9) and the process returns to step S4.
以上のステップ84〜S9は初期有効表示画素数GOと
第2有効表示画素数02とが一致するまで繰り返され、
一致した(G O= G 2 )時点で、仮のドツトク
ロック数D″を真のドツトクロック数としてサンプリン
グクロックCを生成させる(ステップsio>。The above steps 84 to S9 are repeated until the initial number of effective display pixels GO and the second number of effective display pixels 02 match,
When they match (G O = G 2 ), the sampling clock C is generated using the temporary dot clock number D'' as the true dot clock number (step sio>).
この補正ステップの繰り返し数は、誤差分を除去するの
みであるから、通常1.2回で済む。The number of repetitions of this correction step is usually 1.2 times because only the error is removed.
このように、実験的な白レベルのビデオ信号AOを数回
程度取込むことにより、誤差を含まないドツトクロック
信号りに基づいて正確なサンプリングクロックCが自動
的に設定されるので、ビデオ信号Aのドツトクロック周
波数と無関係に、ビデオ信号Aを確実に取込み、画面メ
モリ(4)に格納することができる。従って、ビデオ信
号Aのドツトクロック周波数に対してフレキシビリティ
を持ったサンプリングクロック設定方法が実現する。In this way, by capturing the experimental white level video signal AO several times, an accurate sampling clock C is automatically set based on the error-free dot clock signal. Regardless of the dot clock frequency, the video signal A can be reliably captured and stored in the screen memory (4). Therefore, a sampling clock setting method having flexibility with respect to the dot clock frequency of the video signal A is realized.
[発明が解決しようとする課題]
従来のビデオインタフェイス装置のサンプリングクロッ
ク設定方法は以上のように、ステップS2において、R
信号、G信号及びB信号の全ての電圧レベルが最大とな
る白レベルのビデオ信号AOを入力する必要があるが、
ホスト装置から有効表示画素数分の白レベルのビデオ信
号AOを出力することは一般的ではなく、ユーザが操作
方法を知らないためにサンプリングクロックを設定でき
ないことが多いという問題点があった。[Problem to be Solved by the Invention] As described above, in the conventional sampling clock setting method of a video interface device, in step S2, R
It is necessary to input the video signal AO at the white level where the voltage levels of all the signals, G signal, and B signal are maximum.
It is not common for a host device to output a video signal AO with a white level equal to the number of effective display pixels, and there is a problem in that the user is often unable to set the sampling clock because the user does not know how to operate it.
この発明は上記のような問題点を解決するためになされ
たもので、一般的な連続白文字を出力させることにより
、容易にサンプリングクロックを設定することのできる
ビデオインタフェイス装置のサンプリングクロック設定
方法を得ることを目的とする。This invention was made to solve the above-mentioned problems, and provides a sampling clock setting method for a video interface device in which the sampling clock can be easily set by outputting general continuous white characters. The purpose is to obtain.
[課題を解決するための手段]
この発明に係るビデオインタフェイス装置のサンプリン
グクロック設定方法は、初期有効表示画素数と一致した
初期ドツトクロック数に基づいて初期サンプリングクロ
ックを生成する第1ステップと、初期サンプリングクロ
ックによって連続白文字のビデオ信号を取込んだときの
1行分の連続白文字の文字数を求める第2ステップと、
初期有効表示画素数及び文字数に基づいて連続白文字の
実画素数を求める第3ステップと、初期サンプリングク
ロックによって連続白文字のビデオ信号を取込んだとき
の第1連続白文字画素数を求める第4ステップと、文字
数及び第1連続白文字画素数に基づいて仮のドツトクロ
ック数を演算する第5ステップと、仮のドツトクロック
数と一致した仮のサンプリングクロックにより連続白文
字のビデオ信号を取込んだときの第2連続白文字画素数
を実画素数と比較することにより、仮のドツトクロック
数を補正する補正ステップとを備えたものである。[Means for Solving the Problems] A sampling clock setting method for a video interface device according to the present invention includes a first step of generating an initial sampling clock based on an initial number of dot clocks that matches an initial number of effective display pixels; a second step of calculating the number of continuous white characters in one line when a video signal of continuous white characters is captured by an initial sampling clock;
A third step of calculating the actual number of pixels of continuous white characters based on the initial number of effective display pixels and the number of characters, and a step of calculating the first number of pixels of continuous white characters when the video signal of continuous white characters is taken in by the initial sampling clock. 4 steps, a fifth step of calculating a temporary number of dot clocks based on the number of characters and the number of pixels of the first continuous white character, and a step of calculating a video signal of continuous white characters using a temporary sampling clock that matches the temporary number of dot clocks. The second continuous white character pixel number when inserted is compared with the actual pixel number to correct the provisional dot clock number.
[作用]
この発明においては、初期有効表示画素数と一致したサ
ンプリングクロックにより取込まれる連続白文字のビデ
オ信号の第1連続白文字画素数に基づいて仮のドツトク
ロック数を演算すると共に、この仮のドツトクロック数
により実際に取込まれる第2連続白文字画素数に基づい
て仮のドツトクロック数を自動的に補正する。[Operation] In the present invention, a temporary number of dot clocks is calculated based on the first number of continuous white character pixels of a video signal of continuous white characters captured by a sampling clock that matches the initial number of effective display pixels, and The temporary number of dot clocks is automatically corrected based on the number of second consecutive white character pixels actually captured by the temporary number of dot clocks.
[実施例〕
以下、この発明の一実施例を図について説明する。第1
図はこの発明の一実施例によるCPUの処理動作を示す
フローチャート図であり、SL、s4及びS8〜SIO
は前述と同様のステップである。[Example] Hereinafter, an example of the present invention will be described with reference to the drawings. 1st
The figure is a flowchart showing the processing operation of the CPU according to an embodiment of the present invention.
is the same step as described above.
第2図は1行分の連続白文字に対する画素数を示す説明
図であり、Hは連続白文字の一例、G。FIG. 2 is an explanatory diagram showing the number of pixels for one line of continuous white characters, where H is an example of continuous white characters and G is an example of continuous white characters.
は1行分の画素数に相当する初期有効表示画素数、xl
は左側の余白に相当する画素数、x2は右側の余白に相
当する画素数、xoは連続白文字Hのピッチに相当する
画素数、nは連続白文字Hの文字数、H○は先頭の文字
の左側から最終の文字の左側までの画素数である。is the number of initial effective display pixels corresponding to the number of pixels for one line, xl
is the number of pixels corresponding to the left margin, x2 is the number of pixels corresponding to the right margin, xo is the number of pixels corresponding to the pitch of continuous white characters H, n is the number of continuous white characters H, H○ is the first character This is the number of pixels from the left side of the character to the left side of the final character.
尚、この発明が適用されるビデオインタフェイス装置は
第3図に示した通りであり、CP U (10)内のプ
ログラムの一部が変更されていればよい。The video interface device to which the present invention is applied is as shown in FIG. 3, and it is only necessary that a part of the program in the CPU (10) be changed.
又、基本動作については、CP U (10)が連続白
文字の文字数測定機能等を備えている点を除けば従来と
同様なので、ここでは特に説明しない。Further, the basic operation is the same as the conventional one except that the CPU (10) is equipped with a function to measure the number of consecutive white characters, and therefore will not be particularly explained here.
次に、第1図〜第3図を参照しながら、この発明の一実
施例について説明する。Next, an embodiment of the present invention will be described with reference to FIGS. 1 to 3.
まず、第2図のように、1積置の任意の文字Hを連続白
文字として、一定間隔で画面いっばいに1行分だけ左右
に並べる。ここで、各文字Hの間隔をX、ドツト、文字
数をn、初期有効表示画素数をGoとしたとき、
G OX e ・n = X + 十X 2 < n
−■を満たすだけの文字数nを並べる。First, as shown in FIG. 2, one stack of arbitrary characters H is made into a continuous white character, and arranged on the left and right by one line across the screen at regular intervals. Here, when the interval between each letter H is X, dots, the number of characters is n, and the initial number of effective display pixels is Go, G OX e ・n = X + 10X 2 < n
- Arrange the number of characters n that satisfies ■■.
次に、前述と同様に、表示画素数設定器(9)を介して
初期有効表示画素数GOを予め設定し、CP U (1
0)は、初期有効表示画素数Goを初期ドットクロック
数Doとして、初期サンプリングクロックCOをサンプ
リングクロック発生回路(6)から生成させる(ステッ
プS1)。Next, in the same way as described above, the initial effective display pixel number GO is preset via the display pixel number setter (9), and the CPU (1
0), the initial sampling clock CO is generated from the sampling clock generation circuit (6) with the initial effective display pixel number Go as the initial dot clock number Do (step S1).
この状態で、R,G及びB信号からなる連続白文字のビ
デオ信号AHを取込み、このとき計数される1行分の文
字数nを求める(ステップ512)。In this state, a video signal AH of continuous white characters consisting of R, G, and B signals is taken in, and the number n of characters for one line counted at this time is determined (step 512).
この文字数nは、画面メモリ(4)からの画面信号Fに
基づいて測定される。This number of characters n is measured based on the screen signal F from the screen memory (4).
又、除算式G O/ nの商をxoとして、連続白文字
の先頭文字から最終文字までの実画素数HOを、HO=
(n 1 ) x o + 1 −■から求め
る(ステップ513) 。Also, with xo as the quotient of the division formula G O/n, the actual number of pixels HO from the first character to the last character of continuous white characters is expressed as HO=
(n 1 )x o + 1 −■ (step 513).
即ち、
GO=xo・n+Go−xa・n
より、
Go/n=X0+(Go−Xs’ n)/nとなる。こ
こで、■式より、
(Go−xo−n)/n<1
であり、Xoは自然数であるから、xoは一義的に求め
られる。又、連続白文字画素数を、先頭文字から最終文
字の先頭までの画素数と定義すれば、実画素数HOは0
式のように表わされる。That is, from GO=xo·n+Go−xa·n, Go/n=X0+(Go−Xs′ n)/n. Here, from the equation (2), (Go-xo-n)/n<1, and since Xo is a natural number, xo can be uniquely determined. Also, if the number of continuous white character pixels is defined as the number of pixels from the first character to the beginning of the last character, the actual number of pixels HO is 0.
It is expressed as the formula.
次に、先頭の文字から最終の文字までの第1連続白文字
画素数H1を、画面信号Fの計数により求め(ステップ
514)、初期有効表示画素数Go、実画素数HO及び
第1連続白文字画素数H1に基づいて、仮のドツトクロ
ック数D′を、D’=GO−HO/Gl ・(
Dにより演算する(ステップS15> 。Next, the first continuous white character pixel count H1 from the first character to the last character is calculated by counting the screen signal F (step 514), and the initial effective display pixel number Go, the actual pixel number HO, and the first continuous white Based on the number of character pixels H1, the temporary number of dot clocks D' is calculated as D'=GO-HO/Gl ・(
Calculate by D (step S15>).
しかし、仮のドツトクロツタ数D′には、前述の誤差が
含まれているため、以下の補正ステップを行なう。However, since the provisional dot crotter number D' includes the above-mentioned error, the following correction steps are performed.
まず、仮のドツトクロック数D′をドツトクロック信号
りとして、仮のサンプリングクロックC′を生成させ(
ステップS4)、この状態で実際に連続白文字のビデオ
信号AHを取込んだときの第2連続白文字画素数H2を
求める(ステップ516) 。First, a temporary sampling clock C' is generated using the temporary dot clock number D' as a dot clock signal (
Step S4), when the video signal AH of continuous white characters is actually taken in this state, the second continuous white character pixel number H2 is determined (step 516).
そして、第2連続白文字画素数H2を実画素数HOと比
較しくステップ517)、もし、)10#82でなけれ
ば、更に両者の大小関係を判定しくステップ518)、
HO>H2の場合は仮のドツトクロック数D′をインク
リメント(ステップS8)シてステップS4に戻り、H
O<H2の場合は仮のドツトクロック数D′をデクリメ
ント(ステップS9)シてステップS4に戻る。Then, the second continuous white character pixel number H2 is compared with the actual pixel number HO (step 517), and if it is not )10#82, the magnitude relationship between the two is further determined (step 518).
If HO>H2, the temporary dot clock number D' is incremented (step S8) and the process returns to step S4.
If O<H2, the temporary number of dot clocks D' is decremented (step S9) and the process returns to step S4.
以上の補正ステップS4、S18〜S18、S8及びS
9は、実画素数HOと第2連続白文字画素数H2とが一
致するまで繰り返され、一致した(HO= H2)時点
で、仮のドツトクロック数p′を真のドツトクロック数
としてサンプリングクロックCを生成させる(ステップ
5IO)。The above correction steps S4, S18 to S18, S8 and S
Step 9 is repeated until the actual pixel number HO and the second consecutive white character pixel number H2 match, and at the point when they match (HO=H2), the sampling clock is set using the temporary dot clock number p' as the true dot clock number. C is generated (step 5IO).
この補正ステップの繰り返し数は、誤差分を除去するの
みであるから1通常1.2回で済む。The number of repetitions of this correction step is usually 1.2 times since only the error is removed.
このように、実験的な連続白文字のビデオ信号A○を数
回程度取込むことにより、誤差を含まないドツトクロッ
ク信号りに基づいて正確なサンプリングクロックCが自
動的に設定されるので、ビデオ信号Aのドツトクロック
周波数と無関係に、ビデオ信号Aを確実に取込み、画面
メモリ(4)に格納することができる。従って、ビデオ
信号Aのドツトクロック周波数に対してフレキシビリテ
ィを持ったサンプリングクロック設定方法が実現する。In this way, by capturing the experimental video signal A○ of continuous white characters several times, an accurate sampling clock C is automatically set based on the error-free dot clock signal. Regardless of the dot clock frequency of signal A, video signal A can be reliably captured and stored in the screen memory (4). Therefore, a sampling clock setting method having flexibility with respect to the dot clock frequency of the video signal A is realized.
又、シンクロスコープによるビデオ信号Aの観察や、ド
キュメントのマニュアルを読破する労力を省けるので、
簡単な構成で且つ安価なサンプリングクロック設定方法
が実現する。In addition, it saves the effort of observing the video signal A using a synchroscope and reading through document manuals.
A simple configuration and inexpensive sampling clock setting method is realized.
[発明の効果コ
以上のようにこの発明によれば、初期有効表示画素数と
一致した初期ドツトクロック数に基づいて初期サンプリ
ングクロックを生成する第1ステップと、初期サンプリ
ングクロックによって連続白文字のビデオ信号を取込ん
だときの1行分の連続白文字の文字数を求める第2ステ
ップと、初期有効表示画素数及び文字数に基づいて連続
白文字の実画素数を求める第3ステップと、初期サンプ
リングクロックによって連続白文字のビデオ信号を取込
んだときの第1連続白文字画素数を求める第4ステ・ツ
ブと、文字数及び第1連続白文字画素数に基づいて仮の
ドツトクロック数を演算する第5ステップと、仮のドツ
トクロック数と一致した仮のサンプリングクロックによ
り連続白文字のビデオ信号を取込んだときの第2連続白
文字画素数を実画素数と比較することにより、仮のドツ
トクロック数を補正する補正ステップとを備え、実際に
取込まれる連続白文字画素数に基づいてドツトクロック
数を演算し且つ自動的に補正するようにしたので、一般
的な連続白文字を出力させて容易にサンプリングクロッ
クを設定することのできるビデオインタフェイス装置の
サンプリングクロック設定方法が得られる効果がある。[Effects of the Invention] As described above, according to the present invention, the first step is to generate an initial sampling clock based on the initial number of dot clocks that matches the initial number of effective display pixels, and the first step is to generate a video of continuous white characters using the initial sampling clock. A second step of calculating the number of continuous white characters for one line when the signal is acquired, a third step of calculating the actual number of continuous white characters based on the initial number of effective display pixels and the number of characters, and an initial sampling clock. A fourth step calculates the number of pixels of the first continuous white character when a video signal of continuous white characters is taken in by 5 steps and by comparing the number of pixels of the second continuous white character when the video signal of continuous white characters is captured using a temporary sampling clock that matches the number of temporary dot clocks with the actual number of pixels, the number of pixels of the temporary dot clock is determined. The dot clock number is calculated and automatically corrected based on the number of pixels of continuous white characters that are actually captured, so that it is possible to output general continuous white characters. This has the effect of providing a sampling clock setting method for a video interface device that allows the sampling clock to be easily set.
第1図はこの発明の一実施例を示すフローチャート図、
第2図はこの発明の一実施例における連続白文字及びそ
の画素数を示す説明図、第3図は一般的なビデオインタ
フェイス装置を示すブロック図、第4図は従来のビデオ
インクフェイス装置のサンプリングクロック設定方法を
示すフローチャート図である。
(4)・・・画面メモリ
(6)・・・サンプリングクロック発生回路(9)・・
・表示画素数設定器
(10)・・・CPU A・・・ビデオ信号
AH・・・連続白文字のビデオ信号
C・・・サンプリングクロック
CO・・・初期サンプリングクロック
C′・・・仮のサンプリングクロック
D・・・ドツトクロック信号
DO・・・初期ドツトクロック数
D′・・・仮のドツトクロック数
Go・・・初期有効表示画素数
n・・・文字数 HO・・・実画素数H1・
・・第1連続白文字画素数
H2・・・第2連続白文字画素数
Sl・・・第1ステップ S12・・・第2ステッ
プS13・・・第3ステップ S14・・・第4ステ
ップS15・・・第5ステップ
S4.S16〜S18.S8、S9・・・補正ステップ
尚、図中、同一符号は同−又は相当部分を示す。FIG. 1 is a flow chart diagram showing an embodiment of the present invention;
FIG. 2 is an explanatory diagram showing continuous white characters and their number of pixels in an embodiment of the present invention, FIG. 3 is a block diagram showing a general video interface device, and FIG. 4 is a diagram showing a conventional video ink face device. FIG. 3 is a flowchart diagram showing a sampling clock setting method. (4)...Screen memory (6)...Sampling clock generation circuit (9)...
・Display pixel number setting device (10)...CPU A...Video signal AH...Video signal with continuous white characters C...Sampling clock CO...Initial sampling clock C'...Temporary sampling Clock D...Dot clock signal DO...Initial dot clock number D'...Temporary dot clock number Go...Initial effective display pixel number n...Character count HO...Actual pixel number H1.
...First continuous white character pixel number H2...Second continuous white character pixel number Sl...First step S12...Second step S13...Third step S14...Fourth step S15... ...Fifth step S4. S16-S18. S8, S9...Correction steps In the drawings, the same reference numerals indicate the same or corresponding parts.
Claims (1)
成してビデオ信号を取込むビデオインタフェイス装置の
サンプリングクロック設定方法において、 初期有効表示画素数と一致した初期ドットクロック数に
基づいて初期サンプリングクロックを生成する第1ステ
ップと、 前記初期サンプリングクロックによって連続白文字のビ
デオ信号を取込んだときの1行分の連続白文字の文字数
を求める第2ステップと、 前記初期有効表示画素数及び前記文字数に基づいて前記
連続白文字の実画素数を求める第3ステップと、 前記初期サンプリングクロックによつて前記連続白文字
のビデオ信号を取込んだときの第1連続白文字画素数を
求める第4ステップと、 前記文字数及び前記第1連続白文字画素数に基づいて仮
のドットクロック数を演算する第5ステップと、 前記仮のドットクロック数と一致した仮のサンプリング
クロックにより前記連続白文字のビデオ信号を取込んだ
ときの第2連続白文字画素数を前記実画素数と比較する
ことにより、前記仮のドットクロック数を補正する補正
ステップと、 を備えたことを特徴とするビデオインタフェイス装置の
サンプリングクロック設定方法。[Claims] A sampling clock setting method for a video interface device that generates a sampling clock that matches the number of dot clocks and captures a video signal, comprising: a first step of generating a sampling clock; a second step of determining the number of continuous white characters in one line when a video signal of continuous white characters is captured by the initial sampling clock; and a second step of determining the number of continuous white characters in one line; a third step of determining the actual number of pixels of the continuous white character based on the number of characters; and a step of determining the number of pixels of the first continuous white character when the video signal of the continuous white character is taken in using the initial sampling clock. a fifth step of calculating a temporary number of dot clocks based on the number of characters and the first number of continuous white character pixels; A video interface comprising: a correction step of correcting the provisional number of dot clocks by comparing the number of pixels of a second continuous white character when the video signal is taken in with the number of actual pixels; How to set the sampling clock of the device.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2145273A JPH0440073A (en) | 1990-06-05 | 1990-06-05 | Sampling clock setting method for video interface device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2145273A JPH0440073A (en) | 1990-06-05 | 1990-06-05 | Sampling clock setting method for video interface device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0440073A true JPH0440073A (en) | 1992-02-10 |
Family
ID=15381326
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2145273A Pending JPH0440073A (en) | 1990-06-05 | 1990-06-05 | Sampling clock setting method for video interface device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0440073A (en) |
-
1990
- 1990-06-05 JP JP2145273A patent/JPH0440073A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4724544A (en) | Method of processing image signal | |
| KR20060048580A (en) | Automatic image correction circuit and electronic device | |
| JPH0440073A (en) | Sampling clock setting method for video interface device | |
| EP0840275A2 (en) | Luminance correction circuit and video display monitor thereof | |
| US6556191B1 (en) | Image display apparatus, number of horizontal valid pixels detecting apparatus, and image display method | |
| TW560181B (en) | Image processing apparatus and method as well as recording medium | |
| WO2002001850A1 (en) | Gamma correction device | |
| CN114360466A (en) | Display correction method and device for display, electronic equipment and storage medium | |
| JPH01237689A (en) | Method of setting sampling clock of video interface device | |
| JP4055092B2 (en) | Imaging apparatus and imaging method | |
| JP2686166B2 (en) | Image read signal correction method | |
| JP3926918B2 (en) | Image correction processing apparatus and program recording medium thereof | |
| JP2001004345A (en) | Image measuring device | |
| JP4122381B2 (en) | Display device color display method | |
| JPH07212616A (en) | Sampling clock generation circuit for video equipment | |
| US6587584B1 (en) | Apparatus for gamma correcting image data | |
| JP3451216B2 (en) | Image display device and sampling frequency adjustment method | |
| JPH10233900A (en) | Image reading device | |
| TW390092B (en) | Method and device for automatic detection of frequency and phase of a display | |
| JP2530947Y2 (en) | Pixel ratio measurement device | |
| JPH11155099A (en) | Electronic zoom processing device | |
| JPH04207666A (en) | Error component correction device for image sensor | |
| JP2004271996A (en) | Display control method, display controller, and display device | |
| KR100458446B1 (en) | Method for calibrating gamma of a display | |
| JPS62132478A (en) | Picture processing system |