JPH031660A - Method and apparatus for processing picture - Google Patents
Method and apparatus for processing pictureInfo
- Publication number
- JPH031660A JPH031660A JP1134564A JP13456489A JPH031660A JP H031660 A JPH031660 A JP H031660A JP 1134564 A JP1134564 A JP 1134564A JP 13456489 A JP13456489 A JP 13456489A JP H031660 A JPH031660 A JP H031660A
- Authority
- JP
- Japan
- Prior art keywords
- clock
- pixel data
- output
- data
- circuit
- 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
Links
Landscapes
- Image Processing (AREA)
- Editing Of Facsimile Originals (AREA)
Abstract
Description
【発明の詳細な説明】
「産業上の利用分野」
本発明は、画像拡大機部を有する、ファクシミリ、プリ
ンタ、イメージスキャナ等に用いられる画像処理方法及
びその装置に係り、特に画像イメージを構成する画素若
しくは画素ライン(以下これらを総称して画素データと
いう)を適宜間隔で反復処理を行いながら画像拡大を図
る画像処理方法及びその装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing method and apparatus for use in facsimiles, printers, image scanners, etc., which have an image enlarger unit, and in particular, relates to an image processing method and apparatus for composing an image. The present invention relates to an image processing method and apparatus for enlarging an image while repeatedly processing pixels or pixel lines (hereinafter collectively referred to as pixel data) at appropriate intervals.
「従来の技術」
従来よりファクシミリャイメージスキャナにおいてはイ
メージセンサにより読み取られた画像データを所定サイ
ズに拡大して他側受信機側に伝送する場合があり、又レ
ーザプリンタその他のページプリンタにおいてもビデオ
メモリに展開した画像データを所定サイズに拡大してプ
リントエンジン側に出力する場合があり、このような画
像データを所定サイズに拡大する方式として例えば主走
査ライン方向における画像データを、所定の画素クロッ
ク周波数に基づいて複数のラインバッファに交互に書き
込みと読み出しを行いながら画像処理を行う装6におい
て、前記読み出し時において画像データを所定の拡大率
に対応する間隔に位置する画素データを反復して読み出
す事により実質的に画素数の増大を図り1画像データの
拡大を図る方式が存在する。(特開昭82−24787
3号他、以下第1従来技術という)
「発明が解決しようとする課題」
しかしながらかかる第1従来技術においては。``Prior Art'' Conventionally, facsimile image scanners sometimes enlarge image data read by an image sensor to a predetermined size and transmit it to the other receiver, and laser printers and other page printers also enlarge the image data read by an image sensor and transmit it to the other receiver. There are cases where the image data developed in memory is enlarged to a predetermined size and output to the print engine side, and one method for enlarging such image data to a predetermined size is, for example, by converting image data in the main scanning line direction to a predetermined pixel clock. In the device 6 that performs image processing while alternately writing and reading data into a plurality of line buffers based on frequency, pixel data located at intervals corresponding to a predetermined magnification rate of the image data is repeatedly read out during the reading process. There is a method for expanding one image data by substantially increasing the number of pixels. (Unexamined Japanese Patent Publication No. 82-24787
(No. 3 and others, hereinafter referred to as the first prior art) "Problem to be solved by the invention" However, in the first prior art.
カウンタやレジスト手段を利用して反復間隔及び位置が
任意に設定可能である為に精度よい拡大率を得る事が出
来るが、前記反復処理手段は反復指示信号に基づいて対
応する画素データの読出しクロックを間引き、一画素分
の読み出しを停止して反復処理を行う為に、反復された
画素データの出力時間が隣接する他の画素データの出力
時間の2倍となり、結果としてその反復画素データのみ
が間延びした状態で出力される$となる為に、その部分
の画像歪が大になり画像再現性や判読性等に問題が出易
い。Since the repetition interval and position can be arbitrarily set using a counter or registration means, a highly accurate enlargement ratio can be obtained. In order to perform repeated processing by thinning out the pixel data and stopping the readout of one pixel, the output time of the repeated pixel data is twice the output time of other adjacent pixel data, and as a result, only the repeated pixel data Since the $ is output in an extended state, the image distortion in that part becomes large, which tends to cause problems in image reproducibility, legibility, etc.
かかる欠点を解消し、画像歪が生じる市なく精度よい画
像再現性を実現するには、拡大率に対応して原発振クロ
ックの分周比を変化させる事により、記憶手段への書き
込みクロックと読み出しクロックの周波数比を変化、言
い換えれば画素パターン密度を均等に拡大させる技術(
以下第2従来技術という)も存在するが、きめ細かな拡
大率を得る為にはそれだけ発振クロックを高速化せねば
ならず、特に画像の拡大サイズは例えば115%(B5
→A4) 122%(A4→84) 141%(A4→
A3)のように1桁の分周比では共通する最大公約数を
得る事が出来ず、而も精度よい拡大率を得るには各拡大
サイズ毎に夫々所定の分周比を有する分周器を用意せね
ばならず、結果として装置構成が煩雑化する等の問題が
生じる。In order to eliminate this drawback and achieve accurate image reproducibility without image distortion, it is possible to change the frequency division ratio of the original oscillation clock in accordance with the enlargement ratio, thereby reducing the clock for writing to and reading from the storage means. Technology that changes the clock frequency ratio, in other words, uniformly expands the pixel pattern density (
There is also a second prior art (hereinafter referred to as the second prior art), but in order to obtain a finer enlargement rate, the oscillation clock must be made that much faster. In particular, the enlarged size of the image is, for example, 115% (B5
→A4) 122% (A4→84) 141% (A4→
As shown in A3), it is not possible to obtain a common greatest common divisor with a single-digit frequency division ratio, and in order to obtain a highly accurate magnification ratio, a frequency divider with a predetermined frequency division ratio for each magnification size is required. must be prepared, resulting in problems such as a complicated device configuration.
本発明はかかる従来技術の欠点に鑑み、装置構成が煩雑
化する事なく又画像歪が顕著化する事なく画像再現性や
判読性の面で好ましい拡大画像を11#る4τの出来る
画像処理方法及びその装置を提供する事を目的とする。In view of the drawbacks of the prior art, the present invention provides an image processing method capable of producing 4τ enlarged images that are preferable in terms of image reproducibility and readability, without complicating the device configuration or making image distortion noticeable. The purpose is to provide such equipment.
「課題を解決する為の手段」 本発明に至った経過を説明する。"Means to solve problems" The progress that led to the present invention will be explained.
先ず前記第1従来技術のように、拡大率に対応する画素
間隔に位置する一画素のみを拡大処理する方式ではその
部分の画素の出力時間のみが2倍に拡大される為に、画
像歪が生じるのを避けられない。First, in the method of enlarging only one pixel located at the pixel interval corresponding to the enlargement ratio, as in the first prior art, only the output time of the pixel in that part is doubled, which causes image distortion. It is inevitable that it will occur.
又第2従来技術に示すように一画像ライン上における全
ての画素パターン密度を均等に拡大させる方式では拡大
率に対応する分周クロックを得るのが困難であり、拡大
精度の面で問題が出る。In addition, as shown in the second conventional technique, in a method of uniformly enlarging all pixel pattern densities on one image line, it is difficult to obtain a divided clock corresponding to the enlargement rate, which causes problems in terms of enlargement accuracy. .
そこで請求項1)に記載した本第1発明は、目的とする
拡大率に基づいて設定した画素間隔毎に、対応する画素
の拡大処理を行うも、該拡大処理を行う画素を−の画素
のみに限定する事なく、該画素間隔に位置する一の出力
画素データに隣接する画素データ(画素数:n2)をも
併せて拡大処理を行う事により、該処理画素数n(n2
+1)に対応させて該画素群の出力時間を通常画素の出
力時間(TI)に接近させ、より具体的にはその出力時
間Tが、TIX [(1+n)/n]にほぼ合致するよ
うに、他の画素データと異なる第2の読み出しクロック
を用いて出力させる事により、結果として該出力時間の
差異に起因する画像歪の発生を極力低減しようとするも
のである。Therefore, in the first invention described in claim 1), although the corresponding pixel is enlarged at each pixel interval set based on the target enlargement ratio, only the negative pixels are subjected to the enlargement process. By enlarging the pixel data (number of pixels: n2) adjacent to one output pixel data located at the pixel interval, the number of processed pixels n(n2
+1), the output time of the pixel group is made to approach the output time (TI) of the normal pixel, and more specifically, the output time T is made to approximately match TIX [(1+n)/n]. By outputting the pixel data using a second read clock different from that of other pixel data, it is intended to reduce as much as possible the occurrence of image distortion caused by the difference in output time.
例えば対応する画素間隔毎に、出力画素データと次位の
画素データの読み出しを行う場合は、前記式のnに2を
代入すればよい為に、出力時間Tが通常の読み出し時間
の1.5倍と通常画素の出力時間に接近する事になり、
そしてこのような場合は前記第2のクロックに後記実施
例に示すように通常の読み出しクロックと同周期で且つ
位相の異なる反転クロックを用いればよい。For example, when reading out the output pixel data and the next pixel data at each corresponding pixel interval, it is sufficient to substitute 2 for n in the above equation, so the output time T is 1.5 of the normal readout time. The output time will be close to that of a normal pixel,
In such a case, an inverted clock having the same cycle and a different phase as the normal read clock may be used as the second clock, as shown in the embodiment described later.
従って本第1発明は、目的とする拡大率を、第1の従来
技術と同様に画素間隔に基づいて設定する為に、精度よ
い拡大処理が可能になるとともに、該間隔位置にある画
素データ群を単に第2の読み出しクロックを用いて出力
させるのみであるから、言い換えれば第2従来技術のよ
うに目的とする拡大率に対応させて周波数の異なる多数
の読み出しクロックを用意する車なく、単に通常の読み
出しを行う第1の読み出しクロックと前記出力時間が得
られる第2の読み出しクロックを用意すればよく装置構
成が煩雑化する事はない。Therefore, in the first aspect of the present invention, since the target magnification rate is set based on the pixel spacing as in the first prior art, accurate magnification processing is possible, and the pixel data group at the spacing position is set. is simply outputted using the second readout clock.In other words, unlike the second prior art, there is no need to prepare multiple readout clocks with different frequencies corresponding to the target magnification ratio; It is sufficient to prepare a first read clock for reading out the output time and a second read clock for obtaining the output time without complicating the device configuration.
尚、前記画素群が、第3図に示すように同一画素が連続
する場合、言い換えれば黒ドツトや白ドツトが連続する
場合においては、本第1発明に基づいて拡大処理を行っ
ても、又前記第1従来技術に拡大処理を行っても、対応
する画素群の出力データ状態は同一であり、特段に本第
1発明を採用する意味がない。In addition, when the same pixel group is continuous as shown in FIG. 3, in other words, when black dots or 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 prior art, the output data states of the corresponding pixel groups remain the same, so there is no particular point in adopting the first invention.
そこで請求項3)に記載した発明は、対応する画素デー
タ群の配列状態により任意の画素間隔毎に出力される指
定信号に基づいて対応する画素データの反復処理を行う
第1の拡大処理手段と、前記指定信号に基づいて読み出
しクロックと異なる第2のクロックに切り替えて対応す
る一又は複数の画素データの読出しを行う第2の拡大処
理手段を選択的に切り替え可能に構成した事を特徴とす
るものである。Therefore, the invention described in claim 3) includes a first enlargement processing means for repeatedly processing the corresponding pixel data based on a specified signal output at every arbitrary pixel interval depending on the arrangement state of the corresponding pixel data group. , the second enlargement processing means for reading out one or more corresponding pixel data by switching to a second clock different from the readout clock based on the specified signal is configured to be selectively switchable. It is something.
そしてこのような発明は、前記読み出しクロックに基づ
いて順次シフトさせながら少なくとも出力前後の複数の
画素データを格納する一時記憶手段と、前記シフト毎に
若しくは前記指定信号の出力毎に、−時記憶手段に格納
された複数の画素データをパラレルにロードし、少なく
とも出力画素データと次位の画素データが同一画素デー
タであるか否かを判断する判定回路と、該判定回路より
の判定出力に基づいて前記両拡大手段を選択的に切り替
え可能に構成すればよい=
「実施例」
以下、図面を参照して本発明の好適な実施例を例示的に
詳しく説明する。ただしこの実施例に記載されている構
成部品の寸法、材質、形状、その相対配置などは特に特
定的な記載がない限りは、この発明の範囲をそれのみに
限定する趣旨ではなく、単なる説明例に過ぎない。Further, such an invention includes: temporary storage means for storing at least a plurality of pixel data before and after output while sequentially shifting based on the readout clock; a determination circuit that loads a plurality of pixel data stored in parallel and determines whether at least the output pixel data and the next pixel data are the same pixel data; The two enlargement means may be configured to be selectively switchable = "Embodiment" Hereinafter, preferred embodiments of the present invention will be described in detail by way of example with reference to the drawings. However, unless otherwise specified, the dimensions, materials, shapes, and relative arrangements of the components described in this example are not intended to limit the scope of this invention, but are merely illustrative examples. It's nothing more than that.
第1図はレーザプリンタに用いられる本発明の実施例に
係る画像処理装置を示す全体ブロー2り図で、かかる装
置構成を簡単に説明するに、lはビデオメモリで、不図
示のコントローラより例えば所定の画像入力クロックを
用いて一頁相当分の画像データを副走査方向に拡大処理
しながらドツト状に展開して格納している。FIG. 1 is an overall two-dimensional diagram showing an image processing apparatus according to an embodiment of the present invention used in a laser printer. To briefly explain the configuration of the apparatus, l is a video memory, and a controller (not shown) Using a predetermined image input clock, image data corresponding to one page is enlarged in the sub-scanning direction, developed into dots, and stored.
21は該ビデオメモリ1に格納された画像データを一主
走査ライン毎、若しくはnビットづつパラレルに読み出
し、ライン状の画像データとして格納するシフトレジス
タで、クロック切替回路23より選択的に出力されるシ
フト(読み出し)クロックに基づいて格納された画像デ
ータを順次シフトさせながらシリアルにビデオ出力可能
に構成される。Reference numeral 21 denotes a shift register that reads out the image data stored in the video memory 1 in parallel for each main scanning line or n bits at a time and stores it as line-shaped image data, which is selectively output from the clock switching circuit 23. It is configured to be able to serially output video while sequentially shifting stored image data based on a shift (read) clock.
22は判定回路で、前記シフトクロックがシフトレジス
タ21側に出力される毎に2〜nビツトのデータDI−
Onをパラレルに読み出して出力データと次位データが
連続した黒ドツト(1)若しくは白ドツト(0)である
場合には判定回路22より“O″の判定出力をクロー2
り切替回路23側に送出可能に構成している。Reference numeral 22 denotes a determination circuit, which outputs 2 to n bits of data DI- every time the shift clock is output to the shift register 21 side.
If the output data and the next data are consecutive black dots (1) or white dots (0) when reading out "ON" in parallel, the determination circuit 22 outputs an "O" determination output by closing 2.
It is configured so that it can be sent to the switching circuit 23 side.
24はクロック発振器で2画像入力クロックに同期する
第1の読み出しクロックと、インバータ25により該読
み出しクロックエを反転し、通常の読み出しクロックと
同周期で且つ位相の異なる反転クロックを第2の読み出
しクロック■として夫々クロック切替回路23側に入力
させている。A clock oscillator 24 generates a first readout clock synchronized with the image input clock, and an inverter 25 inverts the readout clock and generates an inverted clock having the same period and a different phase as the normal readout clock as a second readout clock. The signals are respectively input to the clock switching circuit 23 side.
クロック切替回路23は、反復指定信号発生回路30よ
り拡大率に対応した画素間隔で指定信号が出力される毎
に、判定回路22より送出された“O”若しくは“1″
の判定出力に基づいてクロック発振器24あるいはそれ
をインバータ25で反転したクロックのいずれかの読出
しクロックを選択的に切り替え、対応する読み出しクロ
ック■、■を、シフトレジスタ2!側に送出可能に構成
している。The clock switching circuit 23 selects "O" or "1" sent from the determination circuit 22 every time the repetition designation signal generation circuit 30 outputs a designation signal at a pixel interval corresponding to the enlargement ratio.
Based on the judgment output of the clock oscillator 24 or its inverted clock by the inverter 25, the read clock is selectively switched, and the corresponding read clocks ■, ■ are changed to the shift register 2! It is configured so that it can be sent to the side.
反復指定回路30は第5図に示すように、拡大率に対応
するビットパターンを格納するラッチレジスタ301
と、主走査開始毎若しくは適宜間隔で前記ラッチレジス
タ301よりビットパターンがロードされる循環シフト
レジスタ302と、前記ビットパターンのビット長に対
応させてMPUよりの制御信号により前記循環シフトレ
ジスタ302の帰還ビット位置を選択する選択回路30
3からなり、そして前記シフトレジスタ302に前記シ
フトクロックSCを供給する事により、該シフトレジス
タ302の出力端子302aより前記ビットパターンに
対応する反復指定信号が生成可能に構成している。As shown in FIG. 5, the repetition designation circuit 30 includes a latch register 301 that stores a bit pattern corresponding to the enlargement rate.
, a cyclic shift register 302 into which a bit pattern is loaded from the latch register 301 at each start of main scanning or at appropriate intervals; and a cyclic shift register 302 that is fed back by a control signal from the MPU in accordance with the bit length of the bit pattern. Selection circuit 30 for selecting bit position
3, and by supplying the shift clock SC to the shift register 302, a repetition designation signal corresponding to the bit pattern can be generated from the output terminal 302a of the shift register 302.
例えば前記ビー、ドパターンをr 1oaoooolo
oo。For example, r 1oaooooolo
oo.
00J と設定する事により7ビツト毎に−の間隔で約
115%(B5→A0変倍率を有する反復指定信号が、
又r 1oololaolaJ と設定する事により2
〜3ビツト毎に−の間隔で略141%(A4→A3)の
拡大率を有する反復指定信号を得る事が出来る。By setting 00J, the repetition designation signal with a scaling factor of approximately 115% (B5→A0) at intervals of - every 7 bits is
Also, by setting r 1oololaolaJ, 2
It is possible to obtain a repetition designation signal having an enlargement rate of approximately 141% (A4→A3) at intervals of - every 3 bits.
次に本発明の詳細な説明する。Next, the present invention will be explained in detail.
先ずビデオメモリ1に格納された画像データを一主走査
ライン分毎にパラレルに読み出してシフトレジスタ21
に格納した後、クロック切替回路23より選択的に出力
されるシフトクロックに基づいて順次シフトされながら
シリアルにビデオされる。First, the image data stored in the video memory 1 is read out in parallel for each main scanning line and transferred to the shift register 21.
After the data is stored in , it is sequentially shifted based on a shift clock selectively outputted from the clock switching circuit 23 and is serially videoed.
そして前記シフト毎に判定回路22側に出力される毎に
出力ビツトデータと次位のビットデータがパラレルにロ
ードされ、両データが連続した黒ドッ)(1)若しくは
白ドツト(0)である場合には判定回路22より“O”
の判定出力がクロック切替回路23側に送出される。Then, each time the output bit data is output to the determination circuit 22 side for each shift, the output bit data and the next bit data are loaded in parallel, and if both data are continuous black dots (1) or white dots (0), “O” from the judgment circuit 22
The determination output is sent to the clock switching circuit 23 side.
これにより、クロック切替回路23内でクロック切替が
行われる$なく画像人力クロックと同期するシフトクロ
ックがそのままシフトレジスタ21側に送出されるとと
もに、目的の拡大率に対応するビット間隔毎に反復指定
信号が送出された場合に、該指定信号に基づいて前記シ
フトクロックの出力を1クロック分停止する事により対
応する出力画素データD2の反復処理を行なう。As a result, the shift clock synchronized with the human input clock for the image without clock switching in the clock switching circuit 23 is sent as is to the shift register 21 side, and the repetition designation signal is sent at every bit interval corresponding to the target enlargement rate. is sent out, the output of the shift clock is stopped for one clock based on the designated signal, thereby repeatedly processing the corresponding output pixel data D2.
この結果、第4図に示すように出力データD2の出力時
間Tは2倍となるが、該画素データ[]2は反復処理を
行わない次位の画素データD3と同一種類である為に、
該2ビツトデータの組み合わせによりその出力時間があ
たかも通常の画素データの読み出し周期の1.5倍に抑
えたのと同意となり画像歪が顕著化しない。As a result, as shown in FIG. 4, the output time T of the output data D2 is doubled, but since the pixel data []2 is of the same type as the next pixel data D3 that is not subjected to repeated processing,
By combining the 2-bit data, the output time is suppressed to 1.5 times the normal pixel data read cycle, and image distortion does not become noticeable.
一方出力データD2と次位データD3が黒ドツトと白ド
ツトの組み合わせ(10若しくは01)である場合には
判定回路22より“l”の判定出力がクロック切替回路
23に送出されて、これによりクロック切替回路23で
クロックが切り替わり第2の読み出しクロックが読み出
し制御回路33側に送出され、該クロックに基づいて対
応する出力画素データ[12と出力前の次位の画素デー
タD3が読み出される′。On the other hand, when the output data D2 and the next data D3 are a combination of black dots and white dots (10 or 01), the determination circuit 22 sends a determination output of "1" to the clock switching circuit 23, which causes the clock The switching circuit 23 switches the clock, and a second read clock is sent to the read control circuit 33. Based on the clock, the corresponding output pixel data [12 and the next pixel data D3 before output are read out'.
この結果両画素データの出力時間Tが第4図に示すよう
に反復処理を行わない通常の画素データの読み出し周期
の1.5倍に抑える事が出来る。As a result, the output time T of both pixel data can be suppressed to 1.5 times the read cycle of normal pixel data without repetitive processing, as shown in FIG.
そして前記2ビツトのデータの読み出し後反復指定回路
30よりの信号に基づいて前記第1の読み出しクロック
に切り換わり、以下同様な動作を緑り返す。After reading the 2-bit data, the clock is switched to the first read clock based on the signal from the repetition designation circuit 30, and the same operation is repeated thereafter.
第2図は、前記シフトレジスタ21に格納された一主走
査うイン分の画像データを一旦一時記憶手段4に格納し
た後、該−時記憶手段4に格納された画像データを読み
出す際に拡大処理を行う画像処理装置を示し、前記実施
例との差異を中心に説明する。FIG. 2 shows an enlarged image when the image data for one main scan stored in the shift register 21 is temporarily stored in the temporary storage means 4, and then the image data stored in the -time storage means 4 is read out. An image processing apparatus that performs processing will be shown, and differences from the previous embodiment will be mainly explained.
一時記憶手段4は、トグル動作を行う2組のラインバッ
ファ41.42と一対のセレクタ43.44からなり、
書込み及び読み出し制御回路6.7よりの切換え信号に
基づいて前記ラインバッファ41.42への書き込みと
読み出しを並行して行うように構成している。The temporary storage means 4 consists of two sets of line buffers 41.42 that perform toggle operations and a pair of selectors 43.44.
The configuration is such that writing and reading to and from the line buffers 41 and 42 are performed in parallel based on switching signals from the write and read control circuits 6 and 7.
そして前記ラインバッファ41.42より読み出された
画像データはクロック制御回路5を介してビデオ出力可
taに構成されている。The image data read from the line buffers 41 and 42 can be output as a video via the clock control circuit 5.
クロック制御回路5は、クロック切替回路51よりのシ
フトクロックに基づいて画像データを順次シフトさせな
がらビデオ出力させる4ビツトレジスタ50、前記デー
タシフト毎に4ビツトレジスタ50に格納された画素デ
ータ群をパラレルに読み出して第3図に示す表図に対応
させて“0”若しくは“1″の判定出力を送出する判定
回路52.該判定回路52より送出された判定出力に基
づいて読出しクロックを切り替えるクロック切替回路5
1からなる。The clock control circuit 5 includes a 4-bit register 50 that sequentially shifts image data and outputs video based on a shift clock from a clock switching circuit 51, and a 4-bit register 50 that outputs a video while sequentially shifting image data based on a shift clock from a clock switching circuit 51. A determination circuit 52 which reads out the data and sends out a determination output of "0" or "1" in accordance with the table shown in FIG. a clock switching circuit 5 that switches the read clock based on the judgment output sent from the judgment circuit 52;
Consists of 1.
尚クロック発振器24°は、画像入力クロックに同期す
る第1のクロックエを夫々シフトレジスタ21と書込み
制御回路8に送出して、該クロックに基づいてラインバ
ッファ41.42への書き込み制御を行うとともに、前
記第1のクロックエとインバータ25により反転した第
2のクロック■を夫々クロック切替回路51偏に送出し
ている。Note that the clock oscillator 24 sends a first clock synchronized with the image input clock to the shift register 21 and the write control circuit 8, respectively, and controls writing to the line buffers 41 and 42 based on the clock. The first clock (E) and the second clock (2) inverted by the inverter 25 are sent to the clock switching circuit 51, respectively.
反復指定回路50は前記実施例と同様にMPtJよりの
信号に基づいて目的とする拡大率を有する反復指定信号
を送出可能に構成している。Similar to the previous embodiment, the repetition designation circuit 50 is configured to be able to send out a repetition designation signal having a desired magnification rate based on the signal from MPtJ.
次に本発明の詳細な説明する。Next, the present invention will be explained in detail.
先ず4ビツトレジスタ50にはセレクタ43.44を介
して前記書き込みクロックと同期するシフトクロックI
に基づいて順次シフトされながら、出力後の画素データ
D1、出力画素データD2 出力前の次位の画素デー
タ03.次々位のデータロ4が格納されており、そして
前記シフト毎に前記4ビツトデータロ1〜D4をパラレ
ルに判定回路52偏にロードして第2図に示すように判
定回路52より“011の判定出力がクロック切替回路
51に送出された場合には、クロック切替回路51内で
クロー2り切替が行われる車なく前記第1のクロックエ
がそのまま4ビツトレジスタ50と読み出し制御回路7
側に送出されるとともに、目的の拡大率に対応するビッ
ト間隔毎に反復指定信号が送出された場合に、該指定信
号に基づいて出力画素データD2の反復処理を行なう事
が出来る。First, the 4-bit register 50 receives a shift clock I which is synchronized with the write clock via selectors 43 and 44.
The pixel data D1 after output, the output pixel data D2, the next pixel data 03 . The 4-bit data rows 1 to D4 are loaded in parallel to the judgment circuit 52 for each shift, and the judgment circuit 52 outputs a judgment of "011" as shown in FIG. When the clock is sent to the clock switching circuit 51, there is no clock switching within the clock switching circuit 51, and the first clock is sent to the 4-bit register 50 and the readout control circuit 7 as it is.
When a repetition designation signal is sent out at each bit interval corresponding to the target enlargement ratio, the output pixel data D2 can be repeatedly processed based on the designation signal.
この結果、第4図に示すように4ビツトレジスタ50よ
りの出力データD2の出力時間Tが2倍となってプリン
トエンジン側に出力される点については前記実施例と同
様である。As a result, as shown in FIG. 4, the output time T of the output data D2 from the 4-bit register 50 is doubled and output to the print engine side, which is the same as in the previous embodiment.
一方判定回路52より“t”の判定出力がクロック切替
回路51に送出された場合には、クロック切替回路51
でクロックが第2のクロックHに切換わり、該クロック
が夫々読み出し制御回路7と4ビツトレジスタ50に送
出される事により、前記実施例と同様に該クロックHに
基づいて対応する出力画素データD2と出力前の次位の
画素データD3が読み出される。この結果両画素データ
の出力時間Tが第4図に示すように反復処理を行わない
通常の画素データの読み出し周期の1.5倍に抑える事
が出来る。On the other hand, when the judgment output of "t" is sent from the judgment circuit 52 to the clock switching circuit 51, the clock switching circuit 51
Then, the clock is switched to the second clock H, and the clock is sent to the readout control circuit 7 and the 4-bit register 50, respectively, so that the corresponding output pixel data D2 is generated based on the clock H as in the previous embodiment. Then, the next pixel data D3 before output is read out. As a result, the output time T of both pixel data can be suppressed to 1.5 times the read cycle of normal pixel data without repetitive processing, as shown in FIG.
そして前記2ビツトのデータの読み出し後反復指定回路
50よりの信号に基づいて前記第1のクロックエに切り
換わり、以下同様な動作を繰り返す。After reading the 2-bit data, the clock is switched to the first clock based on the signal from the repetition designation circuit 50, and the same operation is repeated thereafter.
従って前記いずれの実施例においても、判定回路52よ
りの判定出力が“O”1”であるかと無関係に実質的に
出力画素データD2と出力前の次位の画素データD3と
を組み合わせた場合その出力時間が実質的に通常の画素
データの読み出し周期の1.5倍に抑える事が出来、画
像歪が顕著化しない、又部2の実施例によれば判定され
る画素データを4ビツト増加させる事が出来、−層精度
よい画像制御が可能となる。Therefore, in any of the embodiments described above, regardless of whether the judgment output from the judgment circuit 52 is "O" 1, when the output pixel data D2 and the next pixel data D3 before output are substantially combined, The output time can be substantially suppressed to 1.5 times the normal pixel data readout cycle, image distortion does not become noticeable, and according to the embodiment in Part 2, the pixel data to be determined is increased by 4 bits. - Image control with high layer accuracy is possible.
「発明の効果」
以上記載した如く本発明によれば、装置構成が煩雑化す
る事なく任意の拡大サイズに対応させて精度よく拡大若
しくは拡大画像を得る事が出来るとともに、一部の画素
クロックのみが冗長化したりする事なく、原画に極めて
近い高再現性の拡大若しくは拡大画像を得る事が出来る
0等の種々の著効を有す。"Effects of the Invention" As described above, according to the present invention, it is possible to accurately enlarge or obtain an enlarged image corresponding to any enlargement size without complicating the device configuration, and only when a part of the pixel clock is used. It has various advantages such as 0, which can obtain an enlarged or enlarged image with high reproducibility that is extremely close to the original without becoming redundant.
第1図及び第2図は本発明の各実施例に係る画像処理装
置を示す全体ブロック図、第5図は該装置に用いられる
反復指定回路を示すブロック図、第4図は前記装置内の
クロック切換回路より出力される読み出しクロックと対
応する画素データの出力時間を示すタイムチャート図、
第3図は前記装置内の4ビツトレジスタに格納される画
素データの配列状態を示す表面である。1 and 2 are overall block diagrams showing an image processing device according to each embodiment of the present invention, FIG. 5 is a block diagram showing a repetition designation circuit used in the device, and FIG. 4 is a block diagram showing a repetition designation circuit used in the device. A time chart diagram showing the readout clock output from the clock switching circuit and the output time of the corresponding pixel data;
FIG. 3 is a front view showing the arrangement of pixel data stored in a 4-bit register in the device.
Claims (1)
み出しクロック(出力時間T1)を用いてシリアルに読
み出しながら拡大処理を行う画像処理方法において、対
応する画素間隔に位置する一の画素データと、該画素デ
ータに隣接する一又は複数の画素データとを、他の画素
データと異なる第2の読み出しクロックを用いて出力し
、該画素データの出力時間Tが下記式にほぼ合致するよ
うに設定した事を特徴とする画像処理方法 T=T1×[(1+n)/n] (n:前記一の画素データと、該画素データに隣接する
一又は複数の画素データの合計画素数) 2)前記第2の読み出しクロックとして通常の読み出し
クロックと同周期で且つ位相の異なる反転クロックを用
意し、対応する画素間隔毎に出力画素データと次位の画
素データを前記クロックを用いて出力するようにした請
求項1)記載の画像処理方法 3)任意の画素間隔毎に出力される指定信号に基づいて
画素データの画像拡大処理を行う画像処理装置において
、前記指定信号に基づいて第1の読み出しクロックを用
いて対応する画素データの反復処理を行う第1の拡大処
理手段と、前記指定信号に基づいて読み出しクロックと
異なる第2のクロックに切り替えて対応する一又は複数
の画素データの読出しを行う第2の拡大処理手段とを備
え、前記両拡大処理手段を、対応する画素データ群の配
列状態により選択的に切り替え可能に構成した事を特徴
とする画像処理装置 4)前記読み出しクロックに基づいて順次シフトさせな
がら少なくとも出力前後の複数の画素データを格納する
一時記憶手段と、前記シフト毎に若しくは前記指定信号
の出力毎に、一時記憶手段に格納された複数の画素デー
タをパラレルにロードし、少なくとも出力画素データと
次位の画素データが同一画素データであるか否かを判断
する判定回路と、該判定回路よりの判定出力に基づいて
前記両拡大手段を選択的に切り替え可能に構成した請求
項3)記載の画像処理装置[Claims] 1) In an image processing method in which image data in a predetermined scanning line direction is enlarged while being serially read out using a first readout clock (output time T1), one image data located at a corresponding pixel interval is pixel data and one or more pixel data adjacent to the pixel data are output using a second readout clock different from that of other pixel data, and the output time T of the pixel data approximately matches the following formula. An image processing method characterized in that T=T1×[(1+n)/n] (n: total number of pixels of the one pixel data and one or more pixel data adjacent to the pixel data) ) 2) Prepare an inverted clock having the same period as the normal read clock and a different phase as the second read clock, and output the output pixel data and the next pixel data at each corresponding pixel interval using the clock. The image processing method according to claim 1), wherein: 3) an image processing apparatus that performs image enlargement processing of pixel data based on a specified signal output at every arbitrary pixel interval; a first enlargement processing means for repeatedly processing corresponding pixel data using a readout clock; and reading out one or more corresponding pixel data by switching to a second clock different from the readout clock based on the specified signal. 4) an image processing apparatus characterized in that the image processing apparatus comprises a second enlargement processing means that performs a temporary storage means for storing at least a plurality of pixel data before and after output while sequentially shifting the data based on the output; and a plurality of pixel data stored in the temporary storage means are loaded in parallel for each shift or for each output of the specified signal. and a determination circuit for determining whether or not the output pixel data and the next pixel data are the same pixel data, and a configuration capable of selectively switching between the two enlargement means based on the determination output from the determination circuit. The image processing device according to claim 3)
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 true JPH031660A (en) | 1991-01-08 |
| JP2918906B2 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) |
-
1989
- 1989-05-30 JP JP1134564A patent/JP2918906B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2918906B2 (en) | 1999-07-12 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0359292B1 (en) | Apparatus for interpolating image signals | |
| US4503469A (en) | Picture image enlarging/reducing system | |
| US4533942A (en) | Method and apparatus for reproducing an image which has a coarser resolution than utilized in scanning of the image | |
| JPH031660A (en) | Method and apparatus for processing picture | |
| US4864413A (en) | Image processing system having a selective magnification function | |
| 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 | |
| JP2858661B2 (en) | Image processing method | |
| US5257120A (en) | Image processing apparatus | |
| US5712714A (en) | Image processing apparatus | |
| JP3154996B2 (en) | Image processing method | |
| US5615310A (en) | Circuit for resolution matching | |
| JPS61227477A (en) | Picture processor | |
| JP2955300B2 (en) | Image processing method and apparatus | |
| JP3529208B2 (en) | Image processing device | |
| JPH05505502A (en) | Expanding the image of thermal printers, etc. | |
| JPS63174470A (en) | Image reading device | |
| JP3698196B2 (en) | Image processing apparatus and image input apparatus | |
| JP2870803B2 (en) | Image processing device | |
| JP3594760B2 (en) | Image printing device | |
| JPH11120341A (en) | Digital image forming equipment | |
| JP2955301B2 (en) | Image processing method | |
| JPH06268850A (en) | Picture conversion circuit | |
| JPH02302171A (en) | Picture processing system and its apparatus | |
| JPS5924584B2 (en) | Original reading method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |