JPH05347768A - Video printer - Google Patents

Video printer

Info

Publication number
JPH05347768A
JPH05347768A JP4155058A JP15505892A JPH05347768A JP H05347768 A JPH05347768 A JP H05347768A JP 4155058 A JP4155058 A JP 4155058A JP 15505892 A JP15505892 A JP 15505892A JP H05347768 A JPH05347768 A JP H05347768A
Authority
JP
Japan
Prior art keywords
video signal
moire
signal
sampling
digital
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4155058A
Other languages
Japanese (ja)
Other versions
JP3074941B2 (en
Inventor
Yuji Kurihara
裕司 栗原
Hiroshi Kuniki
博史 國木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP04155058A priority Critical patent/JP3074941B2/en
Publication of JPH05347768A publication Critical patent/JPH05347768A/en
Application granted granted Critical
Publication of JP3074941B2 publication Critical patent/JP3074941B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To automatically adjust a sampling frequency (the number of sampling) even for a video signal with any kind of specification when it is converted to a digital signal. CONSTITUTION:A digital video signal written on image memory 2 is read out, and the number of moires generated in the video signal is counted by a moire counter part 10, and the number of sampling outputted from a clock control part 12 is fitted in the number of picture elements of one horizontal scanning line of an inputted video signal based on the number of moires.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、入力した映像信号を
紙面上に印刷出力するビデオプリンタに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video printer which prints out an input video signal on paper.

【0002】[0002]

【従来の技術】コンピュータのモニタやテレビなどの画
面に映し出された映像を、そのままの画像として紙に印
刷出力する装置としてビデオプリンタがある。図7は、
従来のビデオプリンタの構成を示すブロック図である。
1は入力したアナログの映像信号をデジタル信号に変換
するA/D変換部、2はA/D変換部1からの映像信号
を記憶しておく画像メモリ、3は画像メモリ2に記憶さ
れている映像信号の色を印刷のための色に変換する色変
換部、4は色変換部3で色変換された映像信号により紙
などに映像を印刷する印刷部、5はA/D変換部1から
の信号をアナログ信号に変換するD/A変換部、6はA
/D変換部1とD/A部5のサンプリング数(サンプリ
ング周波数)を決めるクロック信号を発生するクロック
発生部、7はクロック発生部6の発生するクロック信号
の周波数を調整するクロック調整部である。また8は、
映像信号の信号源であるコンピュータ、9はD/A変換
部5でアナログ信号に戻された映像信号を映し出すモニ
タである。
2. Description of the Related Art There is a video printer as a device for printing out an image displayed on a screen of a computer monitor or a television as an image as it is on paper. Figure 7
It is a block diagram which shows the structure of the conventional video printer.
Reference numeral 1 is an A / D converter for converting an input analog video signal into a digital signal, 2 is an image memory for storing the video signal from the A / D converter 1, and 3 is an image memory 2. A color conversion unit for converting the color of the image signal into a color for printing, 4 is a printing unit for printing an image on paper or the like according to the image signal color-converted by the color conversion unit 3, and 5 is from the A / D conversion unit 1. D / A converter for converting the signal of A into an analog signal, 6 is A
A clock generator that generates a clock signal that determines the sampling number (sampling frequency) of the D / A converter 1 and the D / A unit 5, and a clock adjuster 7 that adjusts the frequency of the clock signal generated by the clock generator 6. .. In addition, 8 is
A computer which is a signal source of the video signal, and 9 is a monitor which projects the video signal converted into the analog signal by the D / A conversion unit 5.

【0003】コンピュータ8から出力された映像信号
は、まずA/D変換器1でデジタル信号に変換され、画
像メモリ2に蓄えられ、そして、この信号は色変換部3
で色変換される。画像メモリ2に蓄えられた映像信号の
色は、光の3原色である赤,緑,青から構成されている
が、映像信号を紙などに印刷して、それらの色を再現す
るためにはそれをシアン,マゼンタ,イエローの構成に
置き換えなければならない。色変換部3で色変換された
映像信号は印刷部4に出力され、印刷部4では入力した
映像信号により紙などにその映像を印刷する。
The video signal output from the computer 8 is first converted into a digital signal by the A / D converter 1 and stored in the image memory 2, and this signal is stored in the color converter 3.
The color is converted with. The color of the video signal stored in the image memory 2 is composed of the three primary colors of light: red, green, and blue. To print the video signal on paper and reproduce those colors, You have to replace it with cyan, magenta, and yellow configurations. The video signal color-converted by the color conversion unit 3 is output to the printing unit 4, and the printing unit 4 prints the video on paper or the like according to the input video signal.

【0004】ここで、クロック発生部6の出力するクロ
ック信号によるサンプリング数の初期設定はコンピュー
タ8からの映像信号の水平走査線1本分の画素数に合わ
せてあるので、コンピュータ8とは水平走査線1本分の
画素数が異なるコンピュータからの映像信号をこのビデ
オプリンタが受けた場合、A/D変換部1でデジタル信
号に変換した映像信号の映像にはモアレ(干渉縞)が発
生する。このままでは、モアレの発生した映像が印刷さ
れてしまうので、印刷する前にこの映像信号をモニタ9
に写して、モアレがなくなるように調整する。初期設定
とは異なる画素数の映像信号を処理するときは、まず、
コンピュータからテスト用の映像信号として市松模様あ
るいは文字「H」をモニタ9の画面全域に表示せる映像
信号を出力する。ビデオプリンタでは、A/D変換部1
でデジタル信号に変換されたその映像信号をD/A変換
部でアナログ信号に変換し、この市松模様あるいは文字
「H」から構成される映像をモニタ9に映し出す。モニ
タ9にはモアレのある映像が映し出されているので、こ
のモアレが無くなるようにオペレータがクロック調整部
7を操作して、クロック発生部6が発生するクロック信
号の周波数を変更し、このビデオプリンタに入力した映
像信号の水平走査線1本分の画素数に合わせる。
Here, since the initial setting of the sampling number by the clock signal output from the clock generator 6 is set to the number of pixels for one horizontal scanning line of the video signal from the computer 8, the horizontal scanning with the computer 8 is performed. When this video printer receives a video signal from a computer in which the number of pixels for one line is different, moire (interference fringes) occur in the video signal converted into a digital signal by the A / D converter 1. If this is left as it is, an image with moire will be printed, so this image signal should be monitored by the monitor 9 before printing.
Copy to and adjust to eliminate moire. When processing a video signal with a number of pixels different from the initial setting, first
The computer outputs a video signal for displaying a checkered pattern or the letter "H" on the entire screen of the monitor 9 as a test video signal. In the video printer, the A / D converter 1
The video signal converted into a digital signal by the above is converted into an analog signal by a D / A converter, and an image composed of the checkered pattern or the character “H” is displayed on the monitor 9. Since a moire image is displayed on the monitor 9, the operator operates the clock adjusting section 7 to change the frequency of the clock signal generated by the clock generating section 6 so as to eliminate the moire, and this video printer is operated. The number of pixels for one horizontal scanning line of the video signal input to is adjusted.

【0005】[0005]

【発明が解決しようとする課題】従来のビデオプリンタ
は以上のように構成されていたので、サンプリング数に
一致しない画素数の映像信号を処理する場合、必ずその
サンプリング周波数の調整が必要で、また、そのために
モニタが必要であった。また、処理をする映像信号の映
像が水平640画素,垂直400画素程度の解像度な
ら、それを出力するモニタの能力を越えることはなく、
モニタ上でモアレが無くなる状態を確認することは容易
であるが、処理をする映像信号の映像が水平1920画
素,垂直1035画素などの高解像度の場合、それを出
力するモニタの能力を越えてしまい、白黒の細かな市松
模様を表示させても白と黒の境界がはっきりとせず、モ
ニタ上でモアレの状態を確認することが非常に困難であ
る。このため、調整するオペレータも熟練した人を必要
としていた。
Since the conventional video printer is constructed as described above, it is necessary to adjust the sampling frequency when processing a video signal having a pixel number which does not match the sampling number. , I needed a monitor for that. Also, if the resolution of the image of the image signal to be processed is 640 pixels horizontally and 400 pixels vertically, it does not exceed the capability of the monitor to output it.
It is easy to check the state of eliminating moire on the monitor, but if the image of the image signal to be processed has high resolution such as horizontal 1920 pixels and vertical 1035 pixels, it exceeds the ability of the monitor to output it. , Even if a fine black and white checkered pattern is displayed, the boundary between white and black is not clear, and it is very difficult to check the state of moire on the monitor. For this reason, the operator who adjusts also needs a skilled person.

【0006】この発明は、以上のような問題点を解消す
るためになされたもので、どのような仕様の映像信号で
も、その映像信号をデジタルに変換するときのサンプリ
ング周波数(サンプリング数)を自動に調整できるよう
にすることを目的とする。
The present invention has been made in order to solve the above problems, and automatically adjusts the sampling frequency (the number of samplings) when converting a video signal of any specification to a digital video signal. The purpose is to be able to adjust.

【0007】[0007]

【課題を解決するための手段】この発明のビデオプリン
タは、入力したアナログの映像信号を、その映像信号の
水平走査期間で規定される時間毎に所定のサンプリング
数でサンプリングしてデジタル信号に変換するデジタル
変換手段と、そのサンプリング数を規定する信号を出力
して前記デジタル変換手段を制御するクロック発生手段
と、デジタル変換手段によりデジタルに変換された映像
信号よりアナログの映像信号の水平走査線1本分の画素
数とサンプリング数との差分を検出するモアレ検出手段
と、モアレ検出手段により検出された差分によりクロッ
ク発生手段を制御してクロック信号の周波数を調整する
クロック調整手段とを備えることを特徴とする
A video printer according to the present invention converts an input analog video signal into a digital signal by sampling the analog video signal at a predetermined sampling number for each time defined by the horizontal scanning period of the video signal. Digital converting means, a clock generating means for controlling the digital converting means by outputting a signal defining the number of samplings, and a horizontal scanning line 1 of an analog video signal from the video signal converted to digital by the digital converting means. A moire detecting means for detecting a difference between the number of pixels and the number of samplings; and a clock adjusting means for controlling the clock generating means by the difference detected by the moire detecting means to adjust the frequency of the clock signal. Characterizing

【0008】[0008]

【作用】入力するアナログの映像信号の1水平走査線の
画素数と、その映像信号をデジタル信号に変換するとき
のサンプリング数との差分が、映像として写されたとき
に発生するモアレの数に等しいので、このモアレ数を検
出し、この検出したモアレの数により周波数調整手段を
制御して、デジタルに変換するときのサンプリング数
を、入力する映像信号の1水平走査線の画素数と等しく
する。
The difference between the number of pixels of one horizontal scanning line of the input analog video signal and the number of samplings when the video signal is converted into a digital signal is the number of moire generated when the image is reproduced. Since they are equal, the number of moires is detected, and the frequency adjusting means is controlled by the number of moires thus detected to make the number of samplings for digital conversion equal to the number of pixels of one horizontal scanning line of the input video signal. ..

【0009】[0009]

【実施例】以下、この発明の1実施例を図を参照して説
明する。図1はこの発明のビデオプリンタの構成を示す
ブロック図であり、10は画像メモリ2に蓄えられてい
る映像信号よりその映像に含まれているモアレの数を検
出するモアレカウント部、11はモアレカウント部10
でカウントしたモアレの数が0かどうか判断するモアレ
数判断部、12はモアレ数判断部11がモアレ数が0で
ないと判断したときにこれを0にする方向にクロック発
生部6の発生するクロック信号の周波数を調整するクロ
ック制御部であり、他は図7と同様である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of a video printer according to the present invention. Reference numeral 10 is a moire counting section for detecting the number of moire contained in an image from a video signal stored in an image memory 2, and 11 is a moire. Counting section 10
The moire number judging section for judging whether or not the number of moire counted in step 1 is 0, and the reference numeral 12 is a clock generated by the clock generating section 6 in the direction of setting the moire number to be 0 when the moire number judging section 11 judges that the moire number is not 0. It is a clock controller that adjusts the frequency of the signal, and is otherwise the same as FIG. 7.

【0010】コンピュータ8の出力する映像信号は、1
本の水平走査線が848画素で構成されていて、このう
ち640画素分に実際にモニタなどで見ることのできる
映像がのっていて、この水平走査線の周波数は24.8
3kHzである。この映像信号をデジタルに変換するた
めには、デジタルに変換するときのサンプリングのタイ
ミングが上記の映像信号と一致していなくてはならな
い。すなわち、上記の映像信号をデジタル信号に変換す
るときは、その映像信号の水平周波数24.83kHz
の逆数で表される時間(水平走査期間)毎にサンプリン
グ数848でサンプリングすれば、映像信号は正しくデ
ジタルに変換される。このサンプリングの状態は、言い
替えると、水平走査線の周波数が24.83kHzの映
像信号を、24.83kHz×848=21.0558
4MHzのサンプリング周波数でデジタルに変換してい
ることになる。
The video signal output from the computer 8 is 1
The horizontal scanning line of the book is composed of 848 pixels, of which 640 pixels have an image that can be actually viewed on a monitor, and the frequency of this horizontal scanning line is 24.8.
It is 3 kHz. In order to convert this video signal to digital, the sampling timing at the time of conversion to digital must match the above video signal. That is, when the above video signal is converted into a digital signal, the horizontal frequency of the video signal is 24.83 kHz.
If sampling is performed with the sampling number 848 for each time (horizontal scanning period) represented by the reciprocal of, the video signal is correctly converted to digital. In other words, the state of this sampling is such that a video signal whose horizontal scanning line frequency is 24.83 kHz is 24.83 kHz × 848 = 21.0558.
It means that it is converted to digital at the sampling frequency of 4 MHz.

【0011】ここで、このビデオプリンタのクロック発
生部6のクロック信号周波数設定が、上記と異なる2
1.17999MHzのサンプリング周波数、すなわ
ち、周波数24.83kHzの逆数の時間内にサンプリ
ング数853のサンプリングができる状態になっている
とする。この状態で前述のコンピュータ8からの映像信
号を受けて、A/D変換部1でその映像信号をデジタル
に変換すると、送られてくる映像信号の1水平走査線分
の画素数と上記の所定時間内のサンプリング数とが異な
るので、このデジタル信号に変換された映像信号はモア
レの発生したものとなる。そして、このモアレは、その
画素数とサンプリング数の差の数に等しい。すなわち、
コンピュータ8から送られてくる1走査線分の画素数が
848の映像信号と、A/D変換部1がその映像信号の
水平走査期間内にサンプリングできるサンプリング数8
53との差である5がモアレの数となる。
Here, the clock signal frequency setting of the clock generator 6 of this video printer is different from the above.
It is assumed that the sampling frequency of 1.179999 MHz, that is, the sampling number 853 can be sampled within the time of the reciprocal of the frequency of 24.83 kHz. In this state, when the video signal from the computer 8 is received and the video signal is converted into a digital signal by the A / D conversion unit 1, the number of pixels of one horizontal scanning line of the video signal sent and the above-mentioned predetermined value. Since the number of samplings within the time is different, the video signal converted into the digital signal has moire. The moire is equal to the difference between the pixel number and the sampling number. That is,
A video signal of which the number of pixels for one scanning line is 848 sent from the computer 8 and the number of samplings that the A / D conversion unit 1 can sample during the horizontal scanning period of the video signal 8
The difference between 53 and 53 is the number of moire patterns.

【0012】(実施例1)以下、上記の前提におけるこ
の発明のビデオプリンタのサンプリング数調整の動作を
説明する。まず、コンピュータ8から、図2に示すよう
に、モニタに写したときに「H」の文字が全面に出力さ
れる状態の映像信号を出力する。この映像信号は1水平
走査線当たり848画素である。ビデオプリンタでは、
この映像信号をA/D変換部1でデジタル信号に変換
し、画像メモリ2に書き込む。このときは、クロック発
生部6に設定してあるサンプリング数853でサンプリ
ングしているので、これをモニタなどに写した場合に5
本のモアレが発生している。
(Embodiment 1) The operation of adjusting the sampling number of the video printer of the present invention based on the above assumption will be described below. First, as shown in FIG. 2, the computer 8 outputs a video signal in a state where the character “H” is output on the entire surface when it is displayed on a monitor. This video signal has 848 pixels per horizontal scanning line. For video printers,
This video signal is converted into a digital signal by the A / D converter 1 and written in the image memory 2. At this time, since the sampling is performed at the sampling number 853 set in the clock generation unit 6, when the sampling is performed on the monitor or the like,
The moiré of the book has occurred.

【0013】このデジタルに変換された映像信号を画像
メモリ2より読みだして、1水平走査線の画像の乗って
いる640画素分の信号の状態を調べると、図3(a)
に示すような階調値の特性が得られる。階調値は8ビッ
トで0〜255になる。これは、図4(a)に示すよう
に、モニタ上では白くなる「H」文字の線の部分(白レ
ベル最大)と、サンプリングポイントとが一致していな
いためである。送られてくる映像信号の1水平走査線の
画素数と、サンプリング数とが一致していれば、デジタ
ルに変換した映像信号の状態は、図3(b)に示すよう
に、横軸に平行な2つの直線上に分かれた信号の分布と
なる。これは、図4(b)に示すように、モニタ上では
白くなる「H」文字の線の部分(白レベル最大)と、サ
ンプリングポイントとが一致しているからである。な
お、図2からも明かなように、文字「H」をモニタ9の
画面全域に写しだした場合、等しい間隔で文字「H」は
並び、サンプリングラインのかかっている文字「H」の
縦の線の部分は所定の間隔になっており、サンプリング
ライン上では所定の間隔で白と黒が現れてくる。
This digital-converted video signal is read from the image memory 2 and the state of the signal for 640 pixels carrying the image of one horizontal scanning line is examined, as shown in FIG.
The characteristic of the gradation value as shown in FIG. The gradation value is 0 to 255 in 8 bits. This is because, as shown in FIG. 4A, the line portion of the “H” character that becomes white on the monitor (white level maximum) does not match the sampling point. If the number of pixels of one horizontal scanning line of the transmitted video signal and the number of samplings match, the state of the video signal converted to digital is parallel to the horizontal axis as shown in FIG. 3 (b). The signal distribution is divided into two straight lines. This is because, as shown in FIG. 4B, the line portion (white level maximum) of the character “H” that becomes white on the monitor and the sampling point match. As is clear from FIG. 2, when the character “H” is displayed on the entire screen of the monitor 9, the characters “H” are arranged at equal intervals and the character “H” on the sampling line extends vertically. The line portions have predetermined intervals, and white and black appear at predetermined intervals on the sampling line.

【0014】次に、このようにデジタル変換した映像信
号にモアレが発生しているときの状態における、モアレ
カウント部10とモアレ数判断部11とクロック制御部
12との動作を図5のフローチャートを用いて説明す
る。まず、モアレカウント部10では、モアレが発生し
ているデジタルの映像信号が書き込まれている画像メモ
リ2より、図3(a)に示すような、1走査線上の64
0画素分の信号を読みだし(ステップS1)、読みだし
が一回目であることをカウントしてt=1とし(ステッ
プS2)、次いで640画素(ドット)を8ドット単位
に分割し、その各々の最大値MAX(n)(n=1,
2,・・80)を求める(ステップS3)。これは、モ
アレが発生しているときの階調値の特性が図3(a)に
示すようになるので、ここで階調値127(255/
2)以上の、元の映像信号では文字「H」の線上である
白となる部分を抽出してデータ量を減らし、演算などの
処理を楽にするために行う。
Next, the operation of the moire counting section 10, the moire number judging section 11, and the clock control section 12 in a state where moire occurs in the digitally converted video signal as described above will be described with reference to the flowchart of FIG. It will be explained using. First, in the moiré counting unit 10, 64 on one scanning line as shown in FIG. 3A is read from the image memory 2 in which the digital video signal in which moiré is generated is written.
A signal for 0 pixels is read (step S1), the first reading is counted, t = 1 is set (step S2), and then 640 pixels (dots) are divided into 8 dot units, and each of them is divided into 8 dots. Maximum value MAX (n) (n = 1,
2, ... 80) is calculated (step S3). This is because the characteristic of the gradation value when the moire is generated is as shown in FIG. 3A, and therefore the gradation value 127 (255 /
2) In the above-described original video signal, the white portion on the line of the character "H" is extracted to reduce the data amount and the processing such as calculation is facilitated.

【0015】次に、MAX(n)の最大値と最小値より
平均値M(図3(a))を求める(ステップS4)。次
に、MAX(n)−Mの符号変化点、すなわちこの平均
値Mで示される直線と得られたデータの分布している曲
線との交点a〜gを求める(ステップS5)。次に、こ
の符号変化点の数を2で割り、これをモアレの数とす
る。ただし、この実施例の場合のように、符号変化点÷
2=7÷2=3.5となる場合は、3.5切り上げた数
字の4をモアレの数としSt =4とする(ステップS
6)。ここでSt のtはステップS2でカウントした読
み出し回数のtであり、この場合はS1 =4である。A
/D変換部1がデジタルに変換する映像信号は1走査線
の中で画像の乗っている640画素分だけであり、この
中で発生するモアレの数は、実際のサンプリング数と送
られてくる映像信号の1水平走査線当たりの総画素数と
の違いから発生するモアレの数と異なり少ない数とな
る。すなわち、この実施例の場合、実際に発生している
モアレの数は5であり、上記のモアレカウント部10の
得たモアレの数4は、実際の数5とは異なり少ない数と
なっている。モアレカウント部10では、上記のことを
考慮して、符号変化点÷2の処理で小数点以下の数字が
発生した場合は、それを切り上げた数をモアレの数とし
て、なるべく実際のモアレの数に近づくようにする。
Next, the average value M (FIG. 3A) is calculated from the maximum and minimum values of MAX (n) (step S4). Next, the sign change points of MAX (n) -M, that is, the intersection points a to g of the straight line indicated by the average value M and the curve in which the obtained data are distributed are obtained (step S5). Next, the number of the sign change points is divided by 2 to obtain the number of moire. However, as in the case of this embodiment, the sign change point ÷
If 2 = 7 ÷ 2 = 3.5, the number 4 rounded up to 3.5 is taken as the number of moire and S t = 4 (step S
6). Here, t of S t is t of the number of readings counted in step S2, and in this case, S 1 = 4. A
The video signal converted to digital by the / D conversion unit 1 is only for 640 pixels on which an image is present in one scanning line, and the number of moire generated therein is sent as the actual sampling number. It is a small number, unlike the number of moire generated due to the difference from the total number of pixels per horizontal scanning line of the video signal. That is, in the case of this embodiment, the number of actually generated moire is 5, and the number 4 of moire obtained by the moire counting unit 10 is a small number unlike the actual number 5. .. In consideration of the above, in the moire counting unit 10, when a number after the decimal point is generated in the process of the code change point / 2, the number rounded up is used as the number of moire, and the actual number of moire is used as much as possible. Try to get closer.

【0016】つぎに、モアレ数判断部11でこのモアレ
の数が0かどうか判断し(ステップS7)、次いでモア
レの数St が、前のモアレ検出のときのモアレの数S
t-1 と比較して大きくなっている場合はステップS9に
進み、小さくなっている場合はステップS10に進む
(ステップS8)。この場合は、モアレの数S1 =4>
0であり、また、前のモアレ検出は行っていないので当
然今回のモアレの数の方が大きいので、ステップS7よ
りステップS8に進みそしてステップS9に進む。ステ
ップS9では、クロック制御部12が現状のクロック発
生部6に設定してあるクロック信号周波数のサンプリン
グ数853から4を引いて、サンプリング数849を新
たなクロック信号の周波数としてクロック発生部6に設
定する。この状態で再びコンピュータ8からの映像信号
を、クロック発生部6に制御されているD/A変換部1
でデジタル信号に変換し、その信号を画像メモリ2に書
き込む。
Next, the moire number judging unit 11 judges whether or not the number of moire is 0 (step S7), and the moire number S t is the moire number S at the time of the previous moire detection.
If it is larger than t-1 , the process proceeds to step S9, and if it is smaller than t-1 , the process proceeds to step S10 (step S8). In this case, the number of moire S1 = 4>
It is 0, and since the previous moire detection has not been performed, the number of moires this time is naturally larger, so the process proceeds from step S7 to step S8 and then to step S9. In step S9, the clock control unit 12 subtracts 4 from the sampling number 853 of the clock signal frequency set in the current clock generating unit 6, and sets the sampling number 849 in the clock generating unit 6 as the frequency of the new clock signal. To do. In this state, the video signal from the computer 8 is again supplied to the D / A converter 1 controlled by the clock generator 6.
Is converted into a digital signal, and the signal is written in the image memory 2.

【0017】モアレカウント部10では、この画像メモ
リ2に書き込まれた映像信号を読みだし(ステップS
1)、読みだしが2回目であることをカウントしてt=
2とし(ステップS2)、前述と同様にモアレの数を求
める(ステップS3〜S6)。今回はモアレの数S2
1となり、これではまだ0になっていないので(ステッ
プS7)、前回の読みだし時のモアレの数S1 =4と比
較し(ステップS8)、S2 <S1 なので、現状のクロ
ック発生部6に設定してあるサンプリング数849にS
2 =1を加算して、サンプリング数を850とする(ス
テップS10)。
The moire counting section 10 reads out the video signal written in the image memory 2 (step S
1), counting that the reading is the second time, t =
2 (step S2), and the number of moire is obtained in the same manner as described above (steps S3 to S6). This time the number of moire S 2 =
Since it has become 1 and has not become 0 yet (step S7), it is compared with the number of moire S 1 = 4 at the time of the previous reading (step S8), and S 2 <S 1, so that the current clock generation unit S is added to the sampling number 849 which is set to 6
2 = 1 is added to make the sampling number 850 (step S10).

【0018】そして、再びサンプリング数850でデジ
タル信号に変換された映像信号を画像メモリ2から読み
だし(ステップS1)、前述と同様にモアレの数S3
求める(ステップS2〜6)。今回はS3 =2であり
(ステップS7)、またこれはS2 >S3 なので(ステ
ップS8)、現状のサンプリング数850からモアレの
数S3 =2を減じた858をサンプリング数としてクロ
ック発生部6に設定する。そして再度、サンプリング数
848でデジタル信号に変換された映像信号を画像メモ
リ2から読みだして、モアレの数を求める。今度はS4
=0になり、モアレ数判断部11でモアレの数が0にな
ったことが判断され(ステップS7)、これら一連の動
作を終了する。
Then, the video signal converted into a digital signal again by the sampling number 850 is read from the image memory 2 (step S1), and the number S 3 of moire is obtained in the same manner as described above (steps S2-6). This time, S 3 = 2 (step S 7), and since this is S 2 > S 3 (step S 8), a clock is generated with 858 obtained by subtracting the number of moire S 3 = 2 from the current sampling number 850 as the sampling number. Set in part 6. Then, again, the video signal converted into the digital signal at the sampling number 848 is read from the image memory 2 to obtain the number of moire. This time S 4
= 0, and the moire number determination unit 11 determines that the number of moire has become 0 (step S7), and the series of operations is ended.

【0019】(実施例2)なお、上記実施例では、8ド
ット単位に分割して、その中の最大値MAX(n)の値
より平均値Mを求め、MAX(n)−Mの符号変化点
(変極点)を求め、これを2で割った数をモアレの数と
して設定したが、MAX(n)の極小値を求めてこれを
基にモアレの数を検出しても良い。
(Embodiment 2) In the above embodiment, division is made in units of 8 dots, the average value M is calculated from the maximum value MAX (n), and the sign change of MAX (n) -M. Although the point (inflection point) is obtained and the number obtained by dividing this by 2 is set as the number of moire, the number of moire may be detected based on the minimum value of MAX (n).

【0020】以下、図6のフローチャートを用いて、こ
の実施例2におけるサンプリング数の調整の動作を説明
する。まず実施例1と同様にデジタル信号に変換された
映像信号を画像メモリ2から読みだし(ステップS
1)、8画素単位にまとめた処理をして、実施例1と同
様に各単位の最大値MAX(n)を求める(ステップS
3)。次にMAX(n)の極小値を与えるnを求め(ス
テップS11)、隣合う2つの極小値のnより、発生し
ているモアレの周期T(図3(a))を求める(ステッ
プS12)。次いで、図3(a)に示されているGの部
分のように、1周期Tに満たない部分のドット数をすべ
て合計し、1.75T以上の場合は2,0.75T以上
1.75T未満の場合は1、0.75T未満の場合は0
をそれぞれの場合の補正値とする(ステップS13)。
次いで、ステップS13で設定した補正値をMAX
(n)の極小値の数に加算してこれをモアレの数とする
(ステップS14)。以降は、実施例1と同様のことを
行い、コンピュータ8から送られてくる映像信号の1水
平走査線の画素数と、クロック発生部6に設定するA/
D変換部1がデジタルに変換するときのサンプリング数
とを同一にする。
The operation of adjusting the sampling number in the second embodiment will be described below with reference to the flowchart of FIG. First, as in the first embodiment, the video signal converted into a digital signal is read from the image memory 2 (step S
1), processing is performed in units of 8 pixels, and the maximum value MAX (n) of each unit is obtained as in the first embodiment (step S).
3). Next, n that gives the minimum value of MAX (n) is obtained (step S11), and the cycle T of the moire that has occurred (FIG. 3A) is obtained from n of two adjacent minimum values (step S12). .. Next, as shown by G in FIG. 3A, the total number of dots in a portion less than one period T is totaled, and in the case of 1.75T or more, 2,0.75T or more and 1.75T 1 if less than, 0 if less than 0.75T
Is set as a correction value in each case (step S13).
Next, the correction value set in step S13 is set to MAX.
It is added to the number of minimum values of (n) to obtain the number of moire (step S14). After that, the same operation as that of the first embodiment is performed, and the number of pixels of one horizontal scanning line of the video signal sent from the computer 8 and A / A set in the clock generator 6 are set.
The number of samplings when the D conversion unit 1 converts it to digital is made the same.

【0021】(実施例3)なお、上記実施例ではコンピ
ュータ8が送り出す映像信号を、文字「H」が画面いっ
ぱいに表示された状態のものを利用してサンプリング数
(サンプリング周波数)の調整を行ったが、これに限る
ものではなく、他の英文字でも良く、また、これらを画
面全体に表示させる状態の映像信号で無くても良く、1
行だけ表示させる状態の映像信号として、その位置を指
定してビデオプリンタに取込むようにしても良い。
(Embodiment 3) In the above embodiment, the number of samplings (sampling frequency) is adjusted by using the video signal sent from the computer 8 in a state where the character "H" is displayed in the full screen. However, the present invention is not limited to this, other English characters may be used, and the video signal may not be in the state of displaying them on the entire screen.
As a video signal in a state where only rows are displayed, its position may be designated and taken into a video printer.

【0022】(実施例4)また、上記実施例では、取込
むサンプリングラインが1本の場合を説明したが、これ
に限るものではなく、連続した10〜50ライン程度を
サンプリングしても良い。英文字などを表示する映像信
号の場合、文字列の間(行間)には信号が無い状態であ
り、この部分にサンプリングラインがくると映像の何も
無い信号となり、この映像の画素数とビデオプリンタの
サンプリング数とが異なっていてもモアレは発生せず、
調整ができない。したがって、上記のように連続した1
0〜50ラインをサンプリングすればこのようなことは
起こらない。
(Fourth Embodiment) In the above embodiment, the case where the number of sampling lines to be taken in is one has been described, but the present invention is not limited to this, and continuous 10 to 50 lines may be sampled. In the case of a video signal that displays English characters, etc., there is no signal between character strings (between lines), and if a sampling line comes to this part, there will be no video signal, and the number of pixels of this video and the video Moire does not occur even if the sampling number of the printer is different,
It cannot be adjusted. Therefore, the consecutive 1
This will not happen if 0 to 50 lines are sampled.

【0023】(実施例5)また、上記実施例ではサンプ
リング数の初期値を853としたが、信号源の1水平走
査線の画素数(水平周波数)により初期値を数種類用意
しておいて、これを切り換えられるよにしておく方がよ
い。すなわち、サンプリング数の初期値を848と14
00の2つ用意しておいて、信号源の水平走査線の周波
数が15〜35kHzの場合は848にし、信号源の水
平走査線の周波数が48〜80kHzの場合は1400
とする。これにより、信号源の出力する映像信号の1水
平走査線の画素数と、ビデオプリンタでのデジタル変換
でのサンプリング数とが大きく異なることがなく、入力
する映像信号の1水平走査線の画素数へサンプリング数
を合わせ込む処理が早くなる。
(Embodiment 5) In the above embodiment, the initial value of the sampling number is 853. However, several kinds of initial values are prepared according to the number of pixels (horizontal frequency) of one horizontal scanning line of the signal source. It is better to be able to switch this. That is, the initial value of the sampling number is set to 848 and 14
00, and when the frequency of the horizontal scanning line of the signal source is 15 to 35 kHz, it is set to 848, and when the frequency of the horizontal scanning line of the signal source is 48 to 80 kHz, 1400.
And As a result, the number of pixels in one horizontal scanning line of the video signal output from the signal source does not significantly differ from the number of samplings in the digital conversion in the video printer, and the number of pixels in one horizontal scanning line of the input video signal. The process of adjusting the sampling number to is faster.

【0024】[0024]

【発明の効果】以上説明したように、この発明によれ
ば、入力する映像信号の水平走査線の周波数(水平走査
線1本分の画素数)が種々であっても、サンプリング周
波数の調整が人の目に頼る調整が必要なく自動調整が可
能であり、また、その調整のための出力手段(モニタ)
が必要なくなると言う効果がある。
As described above, according to the present invention, even if the frequency of the horizontal scanning line of the input video signal (the number of pixels for one horizontal scanning line) is various, the sampling frequency can be adjusted. Automatic adjustment is possible without the need for human-dependent adjustment, and output means (monitor) for the adjustment.
There is an effect that is unnecessary.

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

【図1】この発明の1実施例であるビデオプリンタの構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a video printer which is an embodiment of the present invention.

【図2】サンプリング数を調整するときに入力する
「H]文字を画面全域に表示する映像信号の1水平走査
線をサンプリングするイメージを示す平面図である。
FIG. 2 is a plan view showing an image of sampling one horizontal scanning line of a video signal for displaying an “H” character to be input when adjusting the number of samplings on the entire screen.

【図3】デジタル信号に変換された映像信号を画像メモ
リ2から取込んだ状態の階調値を示す特性図である。
FIG. 3 is a characteristic diagram showing a gradation value in a state in which a video signal converted into a digital signal is fetched from the image memory 2.

【図4】アナログの映像信号の白レベル最大の位置と、
デジタル変換するときのサンプリングポイントの位置の
関係を示す説明図である。
FIG. 4 shows the position of the maximum white level of an analog video signal,
It is explanatory drawing which shows the relationship of the position of the sampling point at the time of digital-converting.

【図5】図1のモアレカウント部10とモアレ数判断部
11とクロック制御部12との動作を示すフローチャー
トである。
5 is a flowchart showing the operations of a moire counting unit 10, a moire number determination unit 11, and a clock control unit 12 shown in FIG.

【図6】図1のモアレカウント部10とモアレ数判断部
11とクロック制御部12との動作を示すフローチャー
トである。
6 is a flowchart showing the operations of a moire counting unit 10, a moire number judging unit 11, and a clock control unit 12 in FIG.

【図7】従来のビデオプリンタの構成を示すブロック図
である。
FIG. 7 is a block diagram showing a configuration of a conventional video printer.

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

1 A/D変換部 2 画像メモリ 3 色変換部 4 印刷部 5 D/A変換部 6 クロック発生部 10 モアレカウント部 11 モアレ数判断部 12 クロック制御部 DESCRIPTION OF SYMBOLS 1 A / D conversion unit 2 Image memory 3 Color conversion unit 4 Printing unit 5 D / A conversion unit 6 Clock generation unit 10 Moire counting unit 11 Moire number determination unit 12 Clock control unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 入力したアナログの映像信号をデジタル
信号にし、そのデジタルの映像信号を処理して紙面など
の上にその映像を印刷するビデオプリンタにおいて、 入力したアナログの映像信号を、その映像信号の水平走
査期間で規定される時間毎に所定のサンプリング数でサ
ンプリングしてデジタル信号に変換するデジタル変換手
段と、 前記サンプリング数を規定する信号を出力して前記デジ
タル変換手段を制御するクロック発生手段と、 前記デジタル変換手段によりデジタルに変換された映像
信号より前記アナログの映像信号の水平走査線1本分の
画素数と前記サンプリング数との差分を検出するモアレ
検出手段と、 前記モアレ検出手段により検出された前記差分により前
記クロック発生手段を制御して出力するクロック信号の
周波数を調整するクロック調整手段とを備えることを特
徴とするビデオプリンタ。
1. A video printer for converting an input analog video signal into a digital signal, processing the digital video signal and printing the video on a paper surface, etc. Digital conversion means for sampling at a predetermined number of samplings and converting into a digital signal at each time defined by the horizontal scanning period, and clock generation means for outputting a signal defining the sampling number to control the digital conversion means. A moire detecting means for detecting a difference between the number of pixels for one horizontal scanning line of the analog video signal and the sampling number from the video signal converted to digital by the digital converting means; and the moire detecting means. The frequency of the clock signal that controls and outputs the clock generation means based on the detected difference. Video printer, characterized in that it comprises a clock adjustment means for adjusting.
JP04155058A 1992-06-15 1992-06-15 Sampling clock adjustment device Expired - Fee Related JP3074941B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04155058A JP3074941B2 (en) 1992-06-15 1992-06-15 Sampling clock adjustment device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04155058A JP3074941B2 (en) 1992-06-15 1992-06-15 Sampling clock adjustment device

Publications (2)

Publication Number Publication Date
JPH05347768A true JPH05347768A (en) 1993-12-27
JP3074941B2 JP3074941B2 (en) 2000-08-07

Family

ID=15597752

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04155058A Expired - Fee Related JP3074941B2 (en) 1992-06-15 1992-06-15 Sampling clock adjustment device

Country Status (1)

Country Link
JP (1) JP3074941B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0791913A2 (en) * 1996-02-22 1997-08-27 Seiko Epson Corporation Method and apparatus for adjusting dot clock signal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0791913A2 (en) * 1996-02-22 1997-08-27 Seiko Epson Corporation Method and apparatus for adjusting dot clock signal
EP0791913A3 (en) * 1996-02-22 1999-08-25 Seiko Epson Corporation Method and apparatus for adjusting dot clock signal
US6115075A (en) * 1996-02-22 2000-09-05 Seiko Epson Corporation Method and apparatus for adjusting dot clock signal
US6304296B1 (en) 1996-02-22 2001-10-16 Seiko Epson Corporation Method and apparatus for adjusting dot clock signal
US6731343B2 (en) 1996-02-22 2004-05-04 Seiko Epson Corporation Method and apparatus for adjusting dot clock signal
US7319464B2 (en) 1996-02-22 2008-01-15 Seiko Epson Corporation Method and apparatus for adjusting dot clock signal

Also Published As

Publication number Publication date
JP3074941B2 (en) 2000-08-07

Similar Documents

Publication Publication Date Title
US4414581A (en) Image signal processing method and apparatus therefor
US6192152B1 (en) Image processing apparatus
KR100405226B1 (en) Halftone dither cell with integrated preferred color matching
EP0717550A2 (en) Image processing apparatus
US5463471A (en) Method and system of color halftone reproduction
US4651228A (en) Method and arrangement for the representation of a halftone image by use of a detection-adapted grid
US6288795B1 (en) Method and apparatus for converting continuous-tone images to bi-level images
EP0707414A2 (en) Improved method and apparatus for reducing artifacts in halftone images using gray balance correction
US5892596A (en) Image processing apparatus capable of reforming marker editing
JPH0783423B2 (en) Multi-gradation color image recording method
EP0248616A2 (en) Picture printing apparatus
JPH05301380A (en) Image processor and image processing method
JPH05347768A (en) Video printer
JP3618776B2 (en) Image processing apparatus and method
JPH0720199B2 (en) Image processing device
JP2749328B2 (en) Digital color copier
JP2004186910A (en) Error propagation gradation generation method, gradation image revelation method, error propagation gradation image revelation method and gradation generation encoder
JP3288764B2 (en) Image processing apparatus and method
JPH02266766A (en) Color picture processor
JP2004064358A (en) Image processing method and its apparatus
JP2001177725A (en) Image forming apparatus
JP2586867B2 (en) Color video printer
JPH07336541A (en) Image processor and method for processor
JP3141202B2 (en) Color image processing method and apparatus
US20030058458A1 (en) Image-processing for output on a proofing device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees