Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2918906B2 - Image processing method and apparatus - Google Patents
[go: Go Back, main page]

JP2918906B2 - Image processing method and apparatus - Google Patents

Image processing method and apparatus

Info

Publication number
JP2918906B2
JP2918906B2 JP1134564A JP13456489A JP2918906B2 JP 2918906 B2 JP2918906 B2 JP 2918906B2 JP 1134564 A JP1134564 A JP 1134564A JP 13456489 A JP13456489 A JP 13456489A JP 2918906 B2 JP2918906 B2 JP 2918906B2
Authority
JP
Japan
Prior art keywords
pixel data
clock
output
image
enlargement
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
JP1134564A
Other languages
Japanese (ja)
Other versions
JPH031660A (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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP1134564A priority Critical patent/JP2918906B2/en
Publication of JPH031660A publication Critical patent/JPH031660A/en
Application granted granted Critical
Publication of JP2918906B2 publication Critical patent/JP2918906B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Editing Of Facsimile Originals (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は、画像拡大機能を有する、ファクシミリ、プ
リンタ、イメージスキャナ等に用いられる画像処理方法
及びその装置に係り、特に画像イメージを構成する画素
若しくは画素ライン(以下これらを総称して画素データ
という)を適宜間隔で反復処理を行いながら、もしく
は、複数の読み出しクロックの一つを適宜選択し、画像
拡大を図る画像処理方法及びその装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image processing method and apparatus for use in a facsimile, printer, image scanner, etc. having an image enlargement function, and more particularly, to a pixel forming an image. Alternatively, the present invention relates to an image processing method and an image processing method for enlarging an image by repeating a pixel line (hereinafter collectively referred to as pixel data) at appropriate intervals or by appropriately selecting one of a plurality of read clocks.

「従来の技術」 従来よりファクシミリやイメージスキャナにおいては
イメージセンサにより読み取られた画像データを所定サ
イズに拡大して他側受信機側に伝送する場合があり、又
レーザプリンタその他のページプリンタにおいてもビデ
オメモリに展開した画像データを所定サイズに拡大して
プリントエンジン側に出力する場合があり、このような
画像データを所定サイズに拡大する方式として例えば主
走査ライン方向における画像データを、所定の画素クロ
ック周波数に基づいて複数のラインバッファに交互に書
き込みと読み出しを行いながら画像処理を行う装置にお
いて、前記読み出し時において画像データを所定の拡大
率に対応する間隔に位置する画素データを反復して読み
出す事により実質的に画素数の増大を図り、画像データ
の拡大を図る方式が存在する。(特開昭62−247673号
他、以下第1従来技術という) 「発明が解決しようとする課題」 しかしながらかかる第1従来技術においては、カウン
タやレジスト手段を利用して反復間隔及び位置が任意に
設定可能である為に精度よい拡大率を得る事が出来る
が、前記反復処理手段は反復指示信号に基づいて対応す
る画素データの読出しクロックを間引き、一画素分の読
み出しを停止して反復処理を行う為に、反復された画素
データの出力時間が隣接する他の画素データの出力時間
の2倍となり、結果としてその反復画素データのみが間
延びした状態で出力される事となる為に、その部分の画
像歪が大になり画像再現性や判読性等に問題が出易い。
[Prior art] Conventionally, in a facsimile or an image scanner, image data read by an image sensor may be enlarged to a predetermined size and transmitted to the other receiver. In some cases, the image data expanded in the memory is enlarged to a predetermined size and output to the print engine side. As a method of enlarging such image data to a predetermined size, for example, image data in the main scanning line direction is converted to a predetermined pixel clock. In an apparatus that performs image processing while alternately writing and reading data to and from a plurality of line buffers based on a frequency, it is necessary to repeatedly read out pixel data located at intervals corresponding to a predetermined enlargement ratio during the reading. Effectively increases the number of pixels and expands image data. There is a system that makes a big difference. (Problems to be Solved by the Invention) However, in the first prior art, the repetition interval and position can be arbitrarily set using a counter or a registration means. Since the setting can be performed, an accurate enlargement ratio can be obtained. However, the iterative processing means thins out the read clock of the corresponding pixel data based on the repeat instruction signal, stops reading one pixel, and repeats the process. Since the output time of the repeated pixel data is twice as long as the output time of the other adjacent pixel data, only the repeated pixel data is output in a delayed state. Image distortion increases, and problems such as image reproducibility and readability tend to occur.

かかる欠点を解消し、画像歪が生じる事なく精度よい
画像再現性を実現するには、拡大率に対応して原発振ク
ロックの分周比を変化させる事により、記憶手段への書
き込みクロックと読み出しクロックの周波数比を変化
し、言い換えれば画素パターン密度を均等に拡大させる
技術(以下第2従来技術という)も存在するが、きめ細
かな拡大率を得る為にはそれだけ発振クロックを高速化
せねばならず、特に画像の拡大サイズは例えば115%(B
5→A4)122%(A4→B4)141%(A4→A3)のように1桁
の分周比では共通する最大公約数を得る事が出来ず、而
も精度よい拡大率を得るには各拡大サイズ毎に夫々所定
の分周比を有する分周器を用意せねばならず、結果とし
て装置構成が煩雑化する等の問題が生じる。
In order to solve such a drawback and realize accurate image reproducibility without causing image distortion, the frequency of the original oscillation clock is changed in accordance with the enlargement ratio so that the clock for writing to the storage means and the read for the memory can be read. There is also a technique for changing the frequency ratio of the clock, in other words, for uniformly increasing the pixel pattern density (hereinafter referred to as a second conventional technique), but in order to obtain a fine enlargement rate, the oscillation clock must be accelerated accordingly. In particular, the enlarged size of the image is, for example, 115% (B
With a single digit division ratio such as 5 → A4) 122% (A4 → B4) 141% (A4 → A3), it is not possible to obtain a common greatest divisor, and to obtain a highly accurate enlargement factor It is necessary to prepare a frequency divider having a predetermined frequency division ratio for each enlarged size, and as a result, there arises a problem that the device configuration becomes complicated.

本発明はかかる従来技術の欠点に鑑み、装置構成が煩
雑化する事なく又画像歪が顕著化する事なく画像再現性
や判読性の面で好ましい拡大画像を得る事の出来る画像
処理方法及びその装置を提供する事を目的とする。
In view of the drawbacks of the prior art, the present invention provides an image processing method capable of obtaining a preferable enlarged image in terms of image reproducibility and readability without complicating the device configuration and without noticeable image distortion, and The purpose is to provide a device.

「課題を解決する為の手段」 本発明に至った経過を説明する。"Means for Solving the Problems" The progress of the present invention will be described.

先ず前記第1従来技術のように、拡大率に対応する画
素間隔に位置する一画素のみを拡大処理する方式ではそ
の部分の画素の出力時間のみが2倍に拡大される為に、
画像歪が生じるのを避けられない。
First, in the method of enlarging only one pixel located at the pixel interval corresponding to the enlarging ratio as in the first related art, since only the output time of the pixel in that part is doubled,
Image distortion cannot be avoided.

又第2従来技術に示すように一画像ライン上における
全ての画素パターン密度を均等に拡大させる方式では拡
大率に対応する分周クロックを得るのが困難であり、拡
大精度の面で問題が出る。
Also, as shown in the second prior art, it is difficult to obtain a frequency-divided clock corresponding to the enlargement ratio in a system in which all pixel pattern densities on one image line are uniformly enlarged, and there is a problem in enlargement accuracy. .

そこで請求項1)に記載した本第1発明は、目的とす
る拡大率に基づいて設定した画素間隔毎に、対応する画
素の拡大処理を行うも、該拡大処理を行う画素を一の画
素のみに限定する事なく、該画素間隔に位置する一の画
素データに隣接する画素データ(画素数:n2)をも併せ
て拡大処理を行う事により、該処理画素数n(n2+1)
に対応させて該画素群の出力時間を通常画素の出力時間
(T1)に接近させ、より具体的にはその出力時間Tが、
T1×[(1+n)/n]にほぼ合致するように、他の画素
データと異なる第2の読み出しクロックを用いて出力さ
せる事により、結果として該出力時間の差異に起因する
画像歪の発生を極力低減しようとするものである。
Therefore, in the first invention described in claim 1), the enlargement processing of the corresponding pixel is performed at every pixel interval set based on the target enlargement ratio, but only one pixel is subjected to the enlargement processing. Without being limited to the above, the enlargement processing is performed together with the pixel data (the number of pixels: n 2 ) adjacent to one piece of pixel data located at the pixel interval, whereby the number of processed pixels n (n 2 +1)
The output time of the pixel group is made closer to the output time (T1) of the normal pixel in correspondence with
By outputting using a second read clock different from other pixel data so as to substantially match T1 × [(1 + n) / n], as a result, the occurrence of image distortion due to the difference in the output time is reduced. The goal is to reduce as much as possible.

例えば対応する画素間隔毎に、画素データと次位の画
素データの読み出しを行う場合は、前記式のnに2を代
入すればよい為に、出力時間Tが通常の読み出し時間の
1.5倍と通常画素の出力時間に接近する事になり、そし
てこのような場合は前記第2のクロックに後記実施例に
示すように通常の読み出しクロックと同周期で且つ位相
の異なる反転クロックを用いればよい。
For example, when pixel data and the next pixel data are read out at each corresponding pixel interval, 2 can be substituted for n in the above equation.
In this case, an inverted clock having the same cycle as the normal read clock and having a different phase from the normal read clock is used as the second clock, as shown in a later-described embodiment. I just need.

従って本第1発明は、目的とする拡大率を、第1の従
来技術と同様に画素間隔に基づいて設定する為に、精度
よい拡大処理が可能になるとともに、該間隔位置にある
画素データ群を単に第2の読み出しクロックを用いて出
力させるのみであるから、言い換えれば第2従来技術の
ように目的とする拡大率に対応させて周波数の異なる多
数の読み出しクロックを用意する事なく、単に通常の読
み出しを行う第1の読み出しクロックと前記出力時間が
得られる第2の読み出しクロックを用意すればよく装置
構成が煩雑化する事はない。
Therefore, according to the first aspect of the present invention, the target enlargement ratio is set based on the pixel interval in the same manner as in the first related art. Is simply output using the second read clock. In other words, instead of preparing a large number of read clocks having different frequencies corresponding to the target enlargement ratio as in the second related art, the normal read operation is simply performed. It is only necessary to prepare a first read clock for reading the data and a second read clock for obtaining the output time, and the configuration of the device is not complicated.

尚、前記画素群が、第3図に示すように同一画素が連
続する場合、言い換えれば黒ドットや白ドットが連続す
る場合においては、本第1発明に基づいて拡大処理を行
っても、又前記第1従来技術に拡大処理を行っても、対
応する画素群の出力データ状態は同一であり、特段に本
第1発明を採用する意味がない。
In the case where the same pixel group is continuous as shown in FIG. 3 in the pixel group, in other words, in the case where black dots and white dots are continuous, even if the enlargement process is performed based on the first invention, Even if the enlargement process is performed on the first related art, the output data states of the corresponding pixel groups are the same, and there is no point in adopting the first invention in particular.

そこで請求項3)に記載した発明は、対応する画素デ
ータ群の配列状態により任意の画素間隔毎に出力される
指定信号に基づいて対応する画素データの反復処理を行
う第1の拡大処理手段と、前記指定信号に基づいて前記
第1の読み出しクロックと異なる第2のクロックに切り
替えて対応する一又は複数の画素データの読出しを行う
第2の拡大処理手段を選択的に切り替え可能に構成した
事を特徴とするものである。
Therefore, the invention described in claim 3) includes a first enlargement processing unit that performs repetitive processing of corresponding pixel data based on a designation signal output at an arbitrary pixel interval according to an arrangement state of a corresponding pixel data group. The second enlargement processing means for switching to a second clock different from the first read clock based on the designation signal and reading out one or a plurality of corresponding pixel data is selectively switchable. It is characterized by the following.

そしてこのような発明は、前記第1の読み出しクロッ
クに基づいて順次シフトさせながら少なくとも出力前後
の複数の画素データを格納する一時記憶手段と、前記シ
フト毎に若しくは前記指定信号の出力毎に、一時記憶手
段に格納された複数の画素データをパラレルにロード
し、少なくとも画素データと次位の画素データが同一画
素データであるか否かを判断する判定回路とを備え、該
判定回路よりの判定出力に基づいて前記両拡大手段を選
択的に切り替え可能に構成すればよい。
Further, such an invention includes a temporary storage means for storing at least a plurality of pixel data before and after the output while sequentially shifting based on the first read clock, and a temporary storage means for each shift or each output of the designation signal. A determination circuit for loading a plurality of pixel data stored in the storage means in parallel and determining whether at least the pixel data and the next pixel data are the same pixel data, and a determination output from the determination circuit; The two enlargement means may be configured to be selectively switchable based on the above.

「実施例」 以下、図面を参照して本発明の好適な実施例を例示的
に詳しく説明する。ただしこの実施例に記載されている
構成部品の寸法、材質、形状、その相対配置などは特に
特定的な記載がない限りは、この発明の範囲をそれのみ
に限定する趣旨ではなく、単なる説明例に過ぎない。
Hereinafter, preferred embodiments of the present invention will be illustratively described in detail with reference to the drawings. However, unless otherwise specified, the dimensions, materials, shapes, relative arrangements, and the like of the components described in this embodiment are not intended to limit the scope of the present invention thereto, but are merely illustrative examples. It's just

第1図はレーザプリンタに用いられる本発明の実施例
に係る画像処理装置を示す全体ブロック図で、かかる装
置構成を簡単に説明するに、1はビデオメモリで、不図
示のコントローラより例えば所定の画像入力クロックを
用いて一頁相当分の画像データを副走査方向に拡大処理
しながらドット状に展開して格納している。
FIG. 1 is an overall block diagram showing an image processing apparatus according to an embodiment of the present invention used in a laser printer. In order to briefly explain the configuration of the apparatus, reference numeral 1 denotes a video memory, Using the image input clock, image data for one page is expanded and stored in a dot shape while being enlarged in the sub-scanning direction and stored.

21は該ビデオメモリ1に格納された画像データを一主
走査ライン毎、若しくはnビットづつパラレルに読み出
し、ライン状の画像データとして格納するシフトレジス
タで、クロック切換回路23より選択的に出力されるシフ
ト(読み出し)クロックに基づいて格納された画像デー
タを順次シフトさせながらシリアルにビデオ出力可能に
構成される。
Reference numeral 21 denotes a shift register which reads out the image data stored in the video memory 1 in one main scanning line or n bits at a time in parallel and stores it as line-shaped image data. The shift register 21 is selectively output from the clock switching circuit 23. Video data can be serially output while sequentially shifting stored image data based on a shift (read) clock.

22は判定回路で、前記シフトクロックがシフトレジス
タ21側に出力される毎に2〜nビットのデータD1〜Dnを
パラレルに読み出して出力データと次位データが連続し
た黒ドット(1)若しくは白ドット(0)である場合に
は該判定回路22より“0"の判定出力をクロック切換回路
23側に送出可能に構成している。
Reference numeral 22 denotes a determination circuit, which reads 2 to n-bit data D1 to Dn in parallel each time the shift clock is output to the shift register 21 side, and outputs black data (1) or white data in which output data and subsequent data are continuous. If it is a dot (0), the judgment output of "0" is outputted from the judgment circuit 22 to the clock switching circuit.
It can be sent to the 23 side.

24はクロック発振器で、画像入力クロックに同期する
第1の読み出しクロックと、インバータ25により該第1
の読み出しクロックIを反転し、通常の読み出しクロッ
クと同周期で且つ位相の異なる反転クロックを第2の読
み出しクロックIIとして夫々クロック切換回路23側に入
力させている。
Reference numeral 24 denotes a clock oscillator, and a first read clock synchronized with an image input clock and the first read clock generated by an inverter 25.
The read clock I is inverted, and an inverted clock having the same cycle and a different phase as the normal read clock is input to the clock switching circuit 23 as the second read clock II.

クロック切換回路23は、反復指定回路30より拡大率に
対応した画素間隔で指定信号が出力される毎に、判定回
路22より送出された“0"若しくは“1"の判定出力に基づ
いてクロック発振器24あるいはそれをインバータ25で反
転したクロックのいずれかの読出しクロックを選択的に
切り替え、対応する読み出しクロックI、IIを、シフト
レジスタ21側に送出可能に構成している。
Each time the designation signal is output from the repetition designation circuit 30 at a pixel interval corresponding to the enlargement ratio, the clock switching circuit 23 generates a clock signal based on the "0" or "1" decision output sent from the decision circuit 22. The read clock 24 or any of the clocks inverted by the inverter 25 is selectively switched so that the corresponding read clocks I and II can be transmitted to the shift register 21 side.

反復指定回路30は第5図に示すように、拡大率に対応
するビットパターンを格納するラッチレジスタ301と、
主走査開始毎若しくは適宜間隔で前記ラッチレジスタ30
1よりビットパターンがロードされる循環シフトレジス
タ302と、前記ビットパターンのビット長に対応させてM
PUよりの制御信号により前記循環シフトレジスタ302の
帰還ビット位置を選択する選択回路303からなり、そし
て前記循環シフトレジスタ302に前記シフトクロックSC
を供給する事により、該循環シフトレジスタ302の出力
端子302aより前記ビットパターンに対応する反復指定信
号が生成可能に構成している。
As shown in FIG. 5, the repetition designating circuit 30 includes a latch register 301 for storing a bit pattern corresponding to the enlargement ratio,
At each start of main scanning or at appropriate intervals, the latch register 30
A cyclic shift register 302 into which a bit pattern is loaded from 1 and M corresponding to the bit length of the bit pattern.
A selector circuit 303 for selecting a feedback bit position of the cyclic shift register 302 according to a control signal from a PU, and the shift clock SC is supplied to the cyclic shift register 302.
, The repetition designation signal corresponding to the bit pattern can be generated from the output terminal 302a of the cyclic shift register 302.

例えば前記ビットパターンを「10000001000000」と設
定する事により7ビット毎に一の間隔で約115%(B5→A
4)変倍率を有する反復指定信号が、又「1001010010
と設定する事により2〜3ビット毎に一の間隔で略141
%(A4→A3)の拡大率を有する反復指定信号を得る事が
出来る。
For example, by setting the bit pattern to “1 000000 1 000000 ”, about 115% (B5 → A
4) If the repetition designation signal having the magnification is " 1001 0 1 00 1 0 "
Approximately 141 at intervals of 2 to 3 bits by setting
% (A4 → A3) can be obtained.

次に本発明の実施例を第1図を用いて説明する。 Next, an embodiment of the present invention will be described with reference to FIG.

先ずビデオメモリ1に格納された画像データを一主走
査ライン分毎にパラレルに読み出してシフトレジスタ21
に格納した後、クロック切換回路23より選択的に出力さ
れるシフトクロックに基づいて順次シフトされながらシ
リアルにビデオされる。
First, image data stored in the video memory 1 is read out in parallel for each main scanning line,
After that, serial video is performed while being sequentially shifted based on a shift clock selectively output from the clock switching circuit 23.

そして前記シフト毎に判定回路22側に出力される毎に
出力ビットデータと次位のビットデータがパラレルロー
ドされ、両データが連続した黒ドット(1)若しくは白
ドット(0)である場合には判定回路22より“0"の判定
出力がクロック切換回路23側に送出される。
Then, every time the output bit data and the next bit data are output to the determination circuit 22 side for each shift, the output bit data and the next bit data are loaded in parallel. If both data are continuous black dots (1) or white dots (0), The determination output of “0” is sent from the determination circuit 22 to the clock switching circuit 23 side.

これにより、クロック切換回路23内でクロック切換が
行われる事なく画像入力クロックと同期するシフトクロ
ックがそのままシフトレジスタ21側に送出されるととも
に、目的の拡大率に対応するビット間隔毎に反復指定信
号が送出された場合に、例えば、D2とD3間に反復指定信
号が送出された場合、該指定信号に基づいて前記シフト
クロックの出力を1クロック分停止する事により対応す
る出力データとなる画素データD3の反復処理を行なう。
As a result, the shift clock synchronized with the image input clock is sent to the shift register 21 as it is without clock switching in the clock switching circuit 23, and the repetition designation signal is provided at every bit interval corresponding to the target magnification. Is transmitted, for example, when a repetition designation signal is transmitted between D2 and D3, the output of the shift clock is stopped for one clock based on the designation signal, and the corresponding pixel data becomes the output data. Repeat D3.

この結果、第4図(a)に示すように画素データD3の
ごとく、出力時間Tは2倍となるが、該画素データD3は
反復処理を行わない次位の出力データである画素データ
D4と同一種類である為に、該D3とD4の2ビットデータの
組み合わせによりその出力時間があたかも通常の画素デ
ータの読み出し周期の1.5倍に抑えたのと同意となり画
像歪が顕著化しない。
As a result, as shown in FIG. 4 (a), the output time T is doubled as in the case of the pixel data D3, but the pixel data D3 is the next-order pixel data which is not subjected to the repetitive processing.
Since it is the same type as D4, the combination of the two-bit data of D3 and D4 agrees that the output time is suppressed to 1.5 times the normal pixel data readout cycle, and the image distortion does not become noticeable.

一方画素データD3と次位データD4が黒ドットと白ドッ
トの組み合わせ(10若しくは01)である場合には判定回
路22より“1"の判定出力がクロック切換回路23に送出さ
れて、これによりクロック切換回路23でクロックが切り
替わり第2の読み出しクロックIIが読み出し制御回路側
に送出され、該クロックに基づいて対応する画素データ
D3と出力前の次位の画素データD4が読み出される。この
結果両画素データの出力時間Tが第4図(b)に示すよ
うに反復処理を行わない通常の画素データの読み出し周
期の1.5倍に抑える事が出来る。
On the other hand, if the pixel data D3 and the next-order data D4 are a combination of black dots and white dots (10 or 01), a determination output of "1" is sent from the determination circuit 22 to the clock switching circuit 23, and The clock is switched by the switching circuit 23, the second read clock II is sent to the read control circuit side, and the corresponding pixel data is output based on the clock.
D3 and the next pixel data D4 before output are read. As a result, as shown in FIG. 4 (b), the output time T of both pixel data can be suppressed to 1.5 times the normal pixel data read cycle in which no repetitive processing is performed.

そして前記D3とD4の2ビットのデータの読み出し後反
復指定回路30よりの信号に基づいて前記第1の読み出し
クロックIに切り換わり、以下同様な動作を繰り返す。
After reading the 2-bit data of D3 and D4, switching to the first read clock I is performed based on the signal from the repetition designating circuit 30, and the same operation is repeated thereafter.

第2図は、前記シフトレジスタ21に格納された一主走
査ライン分の画像データを一旦一時記憶手段4に格納し
た後、該一時記憶手段4に格納された画像データを読み
出す際に拡大処理を行う画像処理装置を示し、前記実施
例との差異を中心に説明する。
FIG. 2 shows that once the image data for one main scanning line stored in the shift register 21 is temporarily stored in the temporary storage means 4, the enlargement processing is performed when the image data stored in the temporary storage means 4 is read out. An image processing apparatus to be performed will be described, and the description will focus on differences from the above embodiment.

一時記憶手段4は、トグル動作を行う2組のラインバ
ッファ41、42と一対のセレクタ43、44からなり、書込み
及び読み出し制御回路6,7よりの切換え信号に基づいて
前記ラインバッファ41、42への書き込みと読み出しを並
行して行うように構成している。
The temporary storage means 4 is composed of two sets of line buffers 41 and 42 for performing a toggle operation and a pair of selectors 43 and 44. The temporary storage means 4 is connected to the line buffers 41 and 42 based on switching signals from the write and read control circuits 6 and 7. Is configured to perform writing and reading in parallel.

そして前記ラインバッファ41、42より読み出された画
像データはクロック制御回路5を介してビデオ出力可能
に構成されている。
The image data read from the line buffers 41 and 42 is configured to be video output via the clock control circuit 5.

クロック制御回路5は、クロック切換回路51よりのシ
フトクロックに基づいて画像データを順次シフトさせな
がらビデオ出力させる4ビットレジスタ50、前記データ
シフト毎に4ビットレジスタ50に格納された画素データ
群をパラレルに読み出して第3図に示す表図に対応させ
て“0"若しくは“1"の判定出力を送出する判定回路52、
該判定回路52より送出された判定出力に基づいて読出し
クロックを切り替えるクロック切換回路51からなる。
The clock control circuit 5 is a 4-bit register 50 for sequentially outputting image data while sequentially shifting image data based on the shift clock from the clock switching circuit 51, and a pixel data group stored in the 4-bit register 50 for each data shift. , And outputs a determination output of “0” or “1” in accordance with the table shown in FIG.
A clock switching circuit 51 for switching the read clock based on the determination output sent from the determination circuit 52 is provided.

尚クロック発振器24′は、画像入力クロックに同期す
る第1のクロックIを夫々シフトレジスタ21と書込み制
御回路6に送出して、該クロックに基づいてラインバッ
ファ41、42への書き込み制御を行うとともに、前記第1
のクロックIとインバータ25により反転した第2のクロ
ックIIを夫々クロック切換回路51側に送出している。
The clock oscillator 24 'sends the first clock I synchronized with the image input clock to the shift register 21 and the write control circuit 6, respectively, and controls the writing to the line buffers 41 and 42 based on the clock. , The first
And the second clock II inverted by the inverter 25 are sent to the clock switching circuit 51 side.

反復指定回路30は前記実施例と同様にMPUよりの信号
に基づいて目的とする拡大率を有する反復指定信号を送
出可能に構成している。
The repetition specifying circuit 30 is configured to transmit a repetition specifying signal having a target enlargement ratio based on a signal from the MPU as in the above-described embodiment.

次に本発明の実施例を説明する。 Next, examples of the present invention will be described.

先ず4ビットレジスタ50にはセレクタ43、44を介して
前記書き込みクロックと同期するシフトクロックIに基
づいて順次シフトされながら、出力後の画素データD1、
画素データD2出力前の次位の画素データD3、次々位のデ
ータD4が格納されており、そして前記シフト毎に前記4
ビット画素データD1〜D4をパラレルに判定回路52側にロ
ードして第2図に示すように判定回路52より“0"の判定
出力がクロック切換回路51に送出された場合には、クロ
ック切換回路51内でクロック切換が行われる事なく前記
第1のクロックIがそのまま4ビットレジスタ50と読み
出し制御回路7側に送出されるとともに、目的の拡大率
に対応するビット間隔毎に反復指定信号が送出された場
合に、該指定信号に基づいて画素データD3の反復処理を
行なう事が出来る。
First, the pixel data D1 after output is sequentially shifted into the 4-bit register 50 via the selectors 43 and 44 based on the shift clock I synchronized with the write clock.
The next pixel data D3 before the output of the pixel data D2 and the next data D4 are stored.
When the bit pixel data D1 to D4 are loaded in parallel to the determination circuit 52 side and the determination output of "0" is sent from the determination circuit 52 to the clock switching circuit 51 as shown in FIG. The first clock I is sent as it is to the 4-bit register 50 and the read control circuit 7 without clock switching in the 51, and a repetition designation signal is sent at every bit interval corresponding to the target magnification. Then, iterative processing of the pixel data D3 can be performed based on the designation signal.

この結果、第4図(a)に示すように4ビットレジス
タ50よりの画素データD3の出力時間Tが2倍となってプ
リントエンジン側に出力される点については前記実施例
と同様である。
As a result, as shown in FIG. 4 (a), the output time T of the pixel data D3 from the 4-bit register 50 is doubled and output to the print engine side in the same manner as in the previous embodiment.

一方判定回路52より“1"の判定出力がクロック切換回
路51に送出された場合には、クロック切換回路51でクロ
ックが第2のクロックIIに切換わり、該クロックが夫々
読み出し制御回路7と4ビットレジスタ50に送出される
事により、前記実施例と同様に該クロックIIに基づいて
対応する画素データD3と出力前の次位の画素データD4が
読み出される。この結果両画素データの出力時間Tが第
4図(b)に示すように反復処理を行わない通常の画素
データの読み出し周期の1.5倍に抑える事が出来る。
On the other hand, when a decision output of "1" is sent from the decision circuit 52 to the clock switching circuit 51, the clock is switched to the second clock II by the clock switching circuit 51, and the clocks are read out by the read control circuits 7 and 4 respectively. By being sent to the bit register 50, the corresponding pixel data D3 and the next pixel data D4 before output are read out based on the clock II as in the previous embodiment. As a result, as shown in FIG. 4 (b), the output time T of both pixel data can be suppressed to 1.5 times the normal pixel data read cycle in which no repetitive processing is performed.

そして前記D3とD4の2ビットのデータの読み出し後反
復指定回路30よりの信号に基づいて前記第1のクロック
Iに切り換わり、以下同様な動作を繰り返す。
After reading the 2-bit data of D3 and D4, switching to the first clock I is performed based on the signal from the repetition designating circuit 30, and the same operation is repeated thereafter.

従って前記いずれの実施例においても、判定回路52よ
りの判定出力が“0"“1"であるかと無関係に実質的に画
素データD2と出力前の次位の画素データD3とを組み合わ
せた場合その出力時間が実質的に通常の画素データの読
み出し周期の1.5倍に抑える事が出来、画像歪が顕著化
しない。又第2の実施例によれば判定される画素データ
を4ビット増加させる事が出来、一層精度よい画像制御
が可能となる。
Therefore, in any of the above embodiments, regardless of whether the judgment output from the judgment circuit 52 is “0” or “1”, when the pixel data D2 is substantially combined with the next pixel data D3 before output, The output time can be substantially suppressed to 1.5 times the normal pixel data read cycle, and the image distortion does not become noticeable. Further, according to the second embodiment, the pixel data to be determined can be increased by 4 bits, and more accurate image control can be performed.

「発明の効果」 以上記載した如く本発明によれば、装置構成が煩雑化
する事なく任意の拡大サイズに対応させて精度よく拡大
若しくは拡大画像を得る事が出来るとともに、一部の画
素クロックのみが冗長化したりする事なく、原画に極め
て近い高再現性の拡大若しくは拡大画像を得る事が出来
る。等の種々の著効を有す。
[Effects of the Invention] As described above, according to the present invention, it is possible to obtain an enlarged or enlarged image with high accuracy corresponding to any enlarged size without complicating the device configuration, and only a part of the pixel clock is used. It is possible to obtain an enlarged or enlarged image with high reproducibility extremely close to the original image without making the image redundant. And so on.

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

第1図及び第2図は本発明の各実施例に係る画像処理装
置を示す全体ブロック図、第5図は該装置に用いられる
反復指定回路を示すブロック図、第4図は前記装置内の
クロック切換回路より出力される読み出しクロックと対
応する画素データの出力時間を示すタイムチャート図、
第3図は前記装置内の4ビットレジスタに格納される画
素データの配列状態を示す表図である。
1 and 2 are an overall block diagram showing an image processing apparatus according to each embodiment of the present invention, FIG. 5 is a block diagram showing a repetition designating circuit used in the apparatus, and FIG. Time chart diagram showing the output time of pixel data corresponding to the read clock output from the clock switching circuit,
FIG. 3 is a table showing the arrangement of pixel data stored in a 4-bit register in the device.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】所定走査ライン方向における画像データを
第1の読み出しクロック(出力時間T1)を用いてシリア
ルに読み出しながら拡大処理を行う画像処理方法におい
て、 対応する画素間隔に位置する一の画素データと、該画素
データに隣接する一又は複数の画素データとを、他の画
素データと異なる第2の読み出しクロックを用いて出力
し、該画素データの出力時間Tが下記式にほぼ合致する
ように設定した事を特徴とする画像処理方法。 T=T1×[(1+n)/n] (n:前記一の画素データと、該画素データに隣接する一
又は複数の画素データの合計画素数)
An image processing method for performing an enlargement process while serially reading image data in a predetermined scanning line direction using a first read clock (output time T1), wherein one pixel data located at a corresponding pixel interval is provided. And one or more pixel data adjacent to the pixel data are output using a second read clock different from the other pixel data, so that the output time T of the pixel data substantially matches the following equation. An image processing method characterized by being set. T = T1 × [(1 + n) / n] (n: the total number of pixels of the one pixel data and one or more pixel data adjacent to the pixel data)
【請求項2】前記第2の読み出しクロックとして通常の
読み出しクロックと同周期で且つ位相の異なる反転クロ
ックを用意し、対応する画素間隔毎に画素データと次位
の画素データを前記クロックを用いて出力するようにし
た請求項1)記載の画像処理方法。
2. An inverted clock having the same cycle as that of a normal read clock and having a different phase is prepared as the second read clock, and pixel data and next-order pixel data are used for each corresponding pixel interval by using the clock. The image processing method according to claim 1, wherein the image is output.
【請求項3】任意の画素間隔毎に出力される指定信号に
基づいて画素データの画像拡大処理を行う画像処理装置
において、 前記指定信号に基づいて第1の読み出しクロックを用い
て対応する画素データの反復処理を行う第1の拡大処理
手段と、 前記指定信号に基づいて前記第1の読み出しクロックと
異なる第2のクロックに切り替えて対応する一又は複数
の画素データの読出しを行う第2の拡大処理手段とを備
え、 前記両拡大処理手段を、対応する画素データ群の配列状
態により選択的に切り替え可能に構成した事を特徴とす
る画像処理装置。
3. An image processing apparatus for performing image enlargement processing of pixel data based on a designated signal output at an arbitrary pixel interval, comprising the steps of: A first enlargement processing unit that performs repetitive processing of the above, and a second enlargement that switches to a second clock different from the first read clock based on the designation signal and reads one or a plurality of corresponding pixel data. An image processing apparatus comprising: a processing unit; and the two enlargement processing units are selectively switchable according to an arrangement state of a corresponding pixel data group.
【請求項4】前記第1の読み出しクロックに基づいて順
次シフトさせながら少なくとも出力前後の複数の画素デ
ータを格納する一時記憶手段と、 前記シフト毎に若しくは前記指定信号の出力毎に、一時
記憶手段に格納された複数の画素データをパラレルにロ
ードし、少なくとも画素データと次位の画素データが同
一画素データであるか否かを判断する判定回路とを備
え、 該判定回路よりの判定出力に基づいて前記両拡大手段を
選択的に切り替え可能に構成した請求項3)記載の画像
処理装置。
4. A temporary storage means for storing at least a plurality of pixel data before and after output while sequentially shifting based on the first read clock, and a temporary storage means for each shift or each output of the designation signal. A plurality of pixel data stored in the memory in parallel, and a determination circuit for determining whether at least the pixel data and the next pixel data are the same pixel data, based on a determination output from the determination circuit 4. An image processing apparatus according to claim 3, wherein said enlargement means is selectively switchable.
JP1134564A 1989-05-30 1989-05-30 Image processing method and apparatus Expired - Fee Related JP2918906B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1134564A JP2918906B2 (en) 1989-05-30 1989-05-30 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1134564A JP2918906B2 (en) 1989-05-30 1989-05-30 Image processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH031660A JPH031660A (en) 1991-01-08
JP2918906B2 true JP2918906B2 (en) 1999-07-12

Family

ID=15131283

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1134564A Expired - Fee Related JP2918906B2 (en) 1989-05-30 1989-05-30 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP2918906B2 (en)

Also Published As

Publication number Publication date
JPH031660A (en) 1991-01-08

Similar Documents

Publication Publication Date Title
EP0359292B1 (en) Apparatus for interpolating image signals
US4185304A (en) Electronic halftone screening
CA1135832A (en) Optical read-write system with electronically variable image size
US4503469A (en) Picture image enlarging/reducing system
KR950006621B1 (en) Image processing apparatus
US4533942A (en) Method and apparatus for reproducing an image which has a coarser resolution than utilized in scanning of the image
US20010022671A1 (en) Image processing apparatus
JP2918906B2 (en) Image processing method and apparatus
EP0454088A2 (en) Image processing apparatus
US4860117A (en) Image processing method and system using multiple image sensors producing image data segments which are combined and subjected to optical processing
JP2870804B2 (en) Image processing device
US5712714A (en) Image processing apparatus
JP3154996B2 (en) Image processing method
JP2003039733A (en) Optical scanning device and image forming apparatus
JP2858661B2 (en) Image processing method
JPH0476263B2 (en)
US5315408A (en) Image signal generating apparatus
JP3529208B2 (en) Image processing device
JPH05260285A (en) Picture output device
JP2606094B2 (en) Image sampling circuit
JP2955300B2 (en) Image processing method and apparatus
JP2875434B2 (en) Halftone signal generator
JP2577797B2 (en) Pixel density conversion circuit
JPH0379364A (en) Recorder
JPS5924584B2 (en) Original reading method

Legal Events

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