JPH03117171A - Picture processing system and its equipment - Google Patents

Picture processing system and its equipment

Info

Publication number
JPH03117171A
JPH03117171A JP1252048A JP25204889A JPH03117171A JP H03117171 A JPH03117171 A JP H03117171A JP 1252048 A JP1252048 A JP 1252048A JP 25204889 A JP25204889 A JP 25204889A JP H03117171 A JPH03117171 A JP H03117171A
Authority
JP
Japan
Prior art keywords
main scanning
address
scanning line
data
register
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
JP1252048A
Other languages
Japanese (ja)
Other versions
JP2955300B2 (en
Inventor
Katsumi Nagata
勝美 永田
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 JP1252048A priority Critical patent/JP2955300B2/en
Publication of JPH03117171A publication Critical patent/JPH03117171A/en
Application granted granted Critical
Publication of JP2955300B2 publication Critical patent/JP2955300B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To facilitate the thinning processing in the subscanning direction by transferring both address signals at an adjacent main scanning line position to a picture memory, reading a couple of picture element data with at least plural bits or over, applying control while taking OR of the both picture element data and transferring a signal to a shift register applying serial conversion based on a video clock. CONSTITUTION:At first under the control of an MPU 1, a line interval corresponding to a picture reduction rate from the MPU 1 is set to a main register 131, a page head initial address data is inputted to the register 131, a thinning request signal is outputted from a main control section, the MPU 1 and the system bus line are disconnected, the picture transfer operation is transited and the processing operation of A is implemented. As a result, an n-bit picture data in the current main scanning line is stored to an n-bit register 141 and an n-bit picture data on a succeeding relevant main scanning line is stored in other n-bit register 142 respectively and the content of the registers is ORed by an OR circuit 143 to apply interleave control to the picture data.

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は、画像縮小機能を有するファクシミリ、プリン
タ、イメージスキャナ等に用いられる画像処理方式に係
り、特に主走査方向における画素ラインを適宜間隔で間
引きながら副走査方向に画像縮小を図る画像処理方式と
その装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image processing method used in facsimiles, printers, image scanners, etc. that have an image reduction function. The present invention relates to an image processing method and device for reducing an image in the sub-scanning direction while thinning it out.

「従来の技術」 従来より、ビデオメモリにドツト状に展開した画像デー
タを、水平同期信号に基づいて一走査ライン(若しくは
nビット)づつラインバッファメモリ側に一旦ロードし
た後、該ロードされたラインデータをビデオクロックに
基づいてプリントエンジン側にシリアル出力し、以下水
平同期信号が入力される毎に前記動作を繰返しなから一
頁若しくは所定バンド幅の画像データをプリントエンジ
ン側に出力するように構成した、例えばレーザプリンタ
その他のページプリンタに用いられる画像処理方式は公
知である。
``Prior Art'' Conventionally, image data developed in a dot shape in a video memory is once loaded into a line buffer memory one scanning line (or n bits) at a time based on a horizontal synchronizing signal, and then the loaded line Data is serially outputted to the print engine side based on the video clock, and the above operation is repeated every time a horizontal synchronization signal is input, and image data of one page or a predetermined bandwidth is outputted to the print engine side. Image processing methods used in, for example, laser printers and other page printers are well known.

この種の処理装置において、主走査方向と組合せて若し
くは単独で、副走査方向に画素密度の縮小処理を必要と
する場合があり、かかる画素密度縮小方式として、1頁
分の画像データをビデオメモリに展開格納しておき、そ
の後縮小率(s−1/S)に対応する所定間隔S毎に走
査線単位で画素データを自動的に間引きながら副走査方
向の画素密度の縮小を図る方式、又循環して書込と読み
出しが行なわれる3本以上のラインメモリを用意し、該
ラインメモリの書込と読み出しを選択して行ないながら
副走査方向の画素密度の縮小を図る方式が存在するが、
いずれも画素データを走査線単位で間引くいわゆる単純
間引き方式である為に、間引き位置に孤立した画素ライ
ンがあった場合に該画素ラインがそのまま消去されてし
まい、画像の再現性や判読性に大きな問題が生じる。
In this type of processing device, there are cases where it is necessary to reduce the pixel density in the sub-scanning direction, either in combination with the main-scanning direction or alone. A method in which the pixel data is expanded and stored in the sub-scanning direction, and then the pixel data is automatically thinned out in units of scanning lines at predetermined intervals S corresponding to the reduction ratio (s-1/S), and the pixel density in the sub-scanning direction is reduced; There is a method in which three or more line memories are prepared in which writing and reading are performed in a cyclic manner, and the pixel density in the sub-scanning direction is reduced while selectively writing and reading from the line memories.
Since both are so-called simple thinning methods that thin out pixel data in units of scanning lines, if there is an isolated pixel line at the thinning position, that pixel line will be erased as is, which will have a negative impact on image reproducibility and readability. A problem arises.

かかる欠点を解消する為に、間引き位置に存在する画素
ラインに隣接する次位(前位)の画素ラインとの間で対
応する主走査アドレス位置にあるドツト毎に論理和を採
りながら間引き制御を行う必要があるが、主走査方向に
おける間引き制御と異なり、論理和を取る2つのドツト
間のアドレス位置が連続していない為に、その間引き制
御が困難であり、又例え間引き制御が可能である場合に
おいても回路構成の煩雑化と高速処理に制約を受けやす
い。
In order to eliminate this drawback, thinning control is performed by calculating the logical sum for each dot at the corresponding main scanning address position between the pixel line existing at the thinning position and the next (previous) pixel line adjacent to the pixel line existing at the thinning position. However, unlike thinning control in the main scanning direction, thinning control is difficult because the address positions between the two dots that are ORed are not consecutive, and even if thinning control is possible. Even in some cases, the circuit configuration becomes complicated and high-speed processing is easily restricted.

例えば少なくとも1主走査ライン分の画像データを格納
し得るシフトレジスタを用い、プリントエンジン側より
の水平同期信号に基づいて1主走査ライン分の画像デー
タをビデオメモリよりシフトレジスタに吐き出した後、
ビデオクロックに同期させてシリアル変換させながらプ
リント出力させるようにした画像処理装置において、前
記シフトレジスタと別個に、1主走査ライン分の画像デ
ータを格納し得るラインバッファを用意し、間引き処理
を行なう際に前記間引き位置に存在する画素ラインと該
画素ラインに隣接する次位の画素ラインを、データ出力
する前にあらかじめ前記シフトレジスタとラインバッフ
ァ(以下両バッファという)に格納しておき、ビデオク
ロックに基づいてシリアル出力を行なう際に前記両バッ
ファの先頭位置よりドツト毎に順次論理和を採りながら
プリントエンジン側にデータ出力する事により間引き制
御を行なうように構成する事も可能であるが(かかる方
式は新規である)、 かかる方式では前記両バッファのドツト位置が主走査ア
ドレスと対応関係にある為に、その先頭位置より順次読
み出す事により自動的に副走査方 − 向の間引き制御が可能になると言う長所を有するが、本
方式は1走査ライン分のメモリ容量(L)を有するシフ
トレジスタを用いた装置にのみ適用されるもので例えば
前記りを分割(L : nXm) したnピッドシフト
レジスタを用いた装置には適用し・得ず、その適用範囲
が限定される。
For example, using a shift register that can store image data for at least one main scanning line, after discharging one main scanning line's worth of image data from the video memory to the shift register based on a horizontal synchronization signal from the print engine side,
In an image processing device that performs print output while performing serial conversion in synchronization with a video clock, a line buffer capable of storing image data for one main scanning line is prepared separately from the shift register, and thinning processing is performed. In this case, the pixel line existing at the thinning position and the next pixel line adjacent to the pixel line are stored in the shift register and line buffer (hereinafter referred to as both buffers) in advance before data output, and the video clock It is also possible to perform thinning control by outputting data to the print engine side while sequentially ORing each dot from the head position of both buffers when serial output is performed based on the above. In this method, since the dot positions of both buffers have a correspondence with the main scanning address, it is possible to automatically control thinning in the sub-scanning direction by sequentially reading from the top position. However, this method is applicable only to a device using a shift register having a memory capacity (L) for one scanning line; for example, an n-pid shift register in which the above is divided (L: nXm). It cannot be applied to devices using

而も前記装置においてはシフトレジスタの他に一走査う
イン分のラインバッファを用意せねばならず、而も前位
のデータ出力後、対応する水平同期信号が出力されるま
での間に前記両バッファにメモリ読み込みを行なわなけ
ればならず、その制御が煩雑化し且つ高速化に対応し得
ない。
However, in the above device, in addition to the shift register, a line buffer for one scan must be prepared, and both of the above-mentioned It is necessary to read the memory into the buffer, which complicates the control and cannot support high speed.

本発明は係る従来技術の欠点に鑑み、回路構成が煩雑化
する事なく高速処理にて、論理和を取りながら副走査方
向の間引き処理を容易に行なう事の出来る画像処理方式
とその装置を提供する事を目的とする。
In view of the shortcomings of the prior art, the present invention provides an image processing method and an apparatus thereof that can easily perform thinning processing in the sub-scanning direction while performing logical ORing at high speed without complicating the circuit configuration. The purpose is to do.

又本発明の他の目的はビデオメモリより一走査ラインづ
つ読み出す装置のみに限定される事なく、nビットずつ
読み出す装置にも容易に適用可能な − 画像処理方式とその装置を提供する事を目的とする。
Another object of the present invention is to provide an image processing method and its device, which is not limited to a device that reads out one scanning line at a time from a video memory, but can be easily applied to a device that reads out n bits at a time. shall be.

「課題を解決する為の手段」 本発明は主走査画素ラインの所定アドレス位置にある画
像データと、該主走査画素ラインに隣接する次位(前位
)の画素ラインの所定アドレス位置にある画像データと
はアドレス位置が連続していないが、アドレス−が単に
1走査ライン分(L)ずれているのみで、従って下記第
1式に基づいて前記アドレス位置は容易に演算出来る点
に着目したものである。
"Means for Solving the Problem" The present invention provides image data at a predetermined address position of a main scanning pixel line and an image data at a predetermined address position of the next (previous) pixel line adjacent to the main scanning pixel line. Although the address positions are not consecutive with the data, the address position is simply shifted by one scanning line (L), so the address position can be easily calculated based on the following formula 1. It is.

Bn= An+ L (Bo= Ao±L)・・・・・
弓)Bn:次位(前位)の走査ラインにおけるnビット
アドレスデータ (Bo:先頭アドレスデータ)An:
現位の走査ラインにおけるnビットアドレスデータ(A
O:先頭アドレスデータ) 即ち本発明は第1図に示す基本構成図から明らかなよう
に、任意の主走査ライン間隔毎に生成される間引き要求
信号に基づいて、対応する主走査ライン位置におけるア
ドレス信号と、該アドレス信号を演算処理して隣接する
主走査ラインにおける対応アドレス信号とを画像メモリ
側に転送するアドレス転送部Aと、該アドレス転送によ
り少なくとも複数ビット以上の一対の画素データを読み
出し、該両画素データの論理和を取りながら間弓き制御
を行い、核間引き制御後の画素データをシフトレジスタ
140に格納する間引き制御部Bからなるものである。
Bn= An+ L (Bo= Ao±L)...
Bn: n-bit address data in the next (previous) scanning line (Bo: start address data) An:
n-bit address data (A
O: leading address data) That is, as is clear from the basic configuration diagram shown in FIG. an address transfer unit A that transfers the signal and a corresponding address signal in an adjacent main scanning line to an image memory side by arithmetic processing of the address signal, and reads out a pair of pixel data of at least a plurality of bits or more by the address transfer; It consists of a thinning control unit B that performs thinning control while calculating the logical sum of both pixel data, and stores the pixel data after nuclear thinning control in the shift register 140.

そして前記アドレス転送部Aは、例えば主走査ライン位
置におけるアドレス信号を繰り返し格納する記憶手段1
31と、該アドレス信号を演算処理して隣接する主走査
ラインにおける対応アドレス信号を生成するアドレス変
換手段134と、任意の主走査ライン間隔毎に生成され
る間引き要求信号に基づいて前記両アドレス信号を連続
的に画像メモリ側に転送する手段、例えば、マルチプレ
クサMPXから構成される。
The address transfer unit A includes a storage unit 1 that repeatedly stores address signals at main scanning line positions, for example.
31, an address conversion means 134 for processing the address signal to generate a corresponding address signal in an adjacent main scanning line, and converting both address signals based on a thinning request signal generated at each arbitrary main scanning line interval. It consists of a means for continuously transferring the image data to the image memory side, for example, a multiplexer MPX.

又聞引き制御部Bも前記一対の画素データを一時記憶さ
せる一対のレジスタ141.142、該レジスタ141
.142に格納されている画素データを論理和を取りな
がら間引き制御を行う論理和回路143及び間引き制御
後の画素データをビデオクロックに同期させて例えばプ
リントエンジン側に転送するシフトレジスタ140から
構成される。
In addition, the listening control unit B also has a pair of registers 141 and 142 for temporarily storing the pair of pixel data, and the register 141.
.. 142, and a shift register 140 that synchronizes the pixel data after the thinning control with the video clock and transfers it to the print engine side, for example. .

この場合前記記憶手段131を、データ読み出し毎に格
納されたアドレス信号がnビットづつアドレス更新され
るカウンタ機能付記憶手段で構成する事により、容易に
一走査うイン分のアドレス信号を自動的に生成出来、言
い換えれば前記記憶手段をnビットレジスタで構成した
場合でも容易に1走査ライン分の画像データの間引き処
理が可能となる。
In this case, by configuring the storage means 131 as a storage means with a counter function in which the stored address signal is updated by n bits each time data is read, the address signal for one scan can be automatically stored. In other words, even when the storage means is configured with an n-bit register, image data for one scanning line can be easily thinned out.

「効果」 本発明は演算処理にて、隣接する主走査ラインにおける
対応アドレス信号を生成可能である為に、特に−走査ラ
イン分のラインバッファを用いる事なく、ドツト若しく
は所定ビット単位で主走査アドレス位置にある画像デー
タとアドレス位置が連続していない次位(前位)の主走
査画素ラインにおける対応アドレス位置にある画像デー
タの読み − 出しが可能であり、この結果−走査ライン分のシフトレ
ジスタを用いる装置のみに限定される事なく、前記主走
査ラインを分割したnビットシフトレジスタを用いた装
置にも容易に適用可能であり、汎用性を有す。
"Effects" Since the present invention can generate corresponding address signals for adjacent main scanning lines through arithmetic processing, it is possible to generate main scanning addresses in units of dots or predetermined bits without using line buffers for -scanning lines. It is possible to read the image data at the corresponding address position in the next (previous) main scanning pixel line whose address position is not continuous with the image data at the position, and as a result, the shift register for the scanning line is The present invention is not limited only to devices using the above, but can also be easily applied to devices using an n-bit shift register in which the main scanning line is divided, and has versatility.

又本発明によれば画像メモリ側に前記両アドレス信号を
連続的に転送するのみで自動的に間引き制御を行う一対
の画像データの読み出しが可能であり、而も該画像デー
タはドツト単位ではなくnビット単位で間引き制御が可
能である為に、極めて高速化が実現できる。
Furthermore, according to the present invention, it is possible to read out a pair of image data for which thinning control is automatically performed simply by continuously transferring both of the address signals to the image memory side, and the image data is not read in units of dots. Since thinning control is possible in units of n bits, extremely high speed can be achieved.

又主走査ラインを分割したnビット単位で前記両画像デ
ータの読み出しが可能である事はその分メモリ容量の低
減につながり、又前記画像データの読み出しと間引き制
御は間引き要求信号に基づいて一連の流れとして行う事
が出来るために制御回路が煩雑化する事もない。
Furthermore, the ability to read out both image data in units of n bits obtained by dividing the main scanning line leads to a corresponding reduction in memory capacity, and the readout and thinning control of the image data is performed in a series of steps based on the thinning request signal. The control circuit does not become complicated because it can be performed as a flow.

等の種々の著効を有す。It has various effects such as

「実施例」 以下、図面を参照して本発明の好適な実施例を0 − 例示的に詳しく説明する。ただしこの実施例に記載され
ている構成部品の寸法、材質、形状、その相対配置など
は特に特定的な記載がない限りは、この発明の範囲をそ
れのみに限定する趣旨ではなく、単なる説明例に過ぎな
い。
"Embodiments" 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.

第2図は本発明が組込まれる画像処理装置の全体ブロッ
ク図で、その回路構成を簡単に説明するに、 lは例え
ば不図示のROM内に格納された所定の命令プログラム
に基づいて本システムの全体制御を司る。MPU、  
2は所定バンド幅の画像データが格納可能なメモリ容量
を有するビデオメモリ、3は前記ビデオメモリ2に格納
された画像データの副走査方向の拡大縮小処理を行ない
ながらプリントエンジン側に出力する制御部である。
FIG. 2 is an overall block diagram of an image processing device into which the present invention is incorporated. To briefly explain its circuit configuration, l is a block diagram of an image processing device incorporating the present invention. In charge of overall control. MPU,
2 is a video memory having a memory capacity capable of storing image data of a predetermined bandwidth; 3 is a control unit that performs scaling processing of the image data stored in the video memory 2 in the sub-scanning direction and outputs it to the print engine side; It is.

そして前記MPUIとビデオメモリ2は他の不図示のR
OM、Iloその他のデバイスとともにアドレスバスS
Ba、データバスSBb、コントロールバスSBcから
なるシステムパスラインSBを介して接続されており、
公知の様にMPUIの制御下若しくは他のデバイスから
出力されるDMA要求信号に基づいて不図示のフォント
ROMを介して読み出された文字パターンを前記システ
ムパスラインを介してビデオメモリ2の所定アドレス位
置にドツト展開可能に構成されている。
The MPUI and video memory 2 are connected to other R
Address bus S along with OM, Ilo and other devices
It is connected via a system path line SB consisting of a bus, a data bus SBb, and a control bus SBc.
As is well known, a character pattern read out via a font ROM (not shown) under the control of the MPUI or based on a DMA request signal output from another device is sent to a predetermined address in the video memory 2 via the system path line. It is configured so that a dot can be developed at any position.

一方前記制御部3はシステムパスラインSBから分岐さ
れたローカルアドレスバスLBa、ローカルデータバス
LBb、ローカルコントロールバスLBcからなるロー
カルパスラインLBを介して前記MPUI若しくはビデ
オメモリ2とアクセス可能に構成されており、例えば、
前記制御部3がMPUI側より縮小率(s−1/s)を
読み込む場合、MPUIの制御下でMPUIより出力さ
れるアドレス信号を例えばアドレスデコーダを介して制
御部3側で収受する事により、システムデータバスを介
してデータの送受が可能であり、一方前記制御部3がビ
デオメモリ2とアクセスする場合には、先ず制御部3よ
りDMA要求信号をMPUI側に出力する事により、該
MPUIとシステムパスラインSBを切り離すとともに
、制御部3がバスマスターとなり、これにより制御部3
はローカルアドレスバスLBaを介してビデオメモリ2
にアドレス信号を出力する事により指定されたアドレス
の画像データを制御部3側に転送する事が可能である。
On the other hand, the control unit 3 is configured to be able to access the MPUI or the video memory 2 via a local path line LB consisting of a local address bus LBa, a local data bus LBb, and a local control bus LBc branched from the system path line SB. For example,
When the control unit 3 reads the reduction rate (s-1/s) from the MPUI side, the control unit 3 side receives an address signal output from the MPUI under the control of the MPUI, for example, via an address decoder. Data can be sent and received via the system data bus. On the other hand, when the control unit 3 accesses the video memory 2, the control unit 3 first outputs a DMA request signal to the MPUI side. At the same time as disconnecting the system path line SB, the control unit 3 becomes the bus master, and as a result, the control unit 3
is connected to video memory 2 via local address bus LBa.
By outputting an address signal to the controller 3, it is possible to transfer image data at a designated address to the control unit 3 side.

次に画像データの拡大若しくは縮小処理を行なう前記制
御部3の詳細構成について第3図に基づいて説明する。
Next, the detailed configuration of the control section 3 that performs image data enlargement or reduction processing will be explained based on FIG. 3.

尚、本実施例は制御部3内のシフトレジスタ等のメモリ
容量の削減を図るビデオメモリ2内の主走査画素ライン
Lを分割してnビットづつ(L:nX1)転送されるよ
う構成しているが本発明はこれのみに限定される事なく
1走査ラインづつ転送される装置にも適用可能である事
は言うまでもない。
In this embodiment, the main scanning pixel line L in the video memory 2 is divided and transferred n bits at a time (L:nX1) in order to reduce the memory capacity of the shift register and the like in the control unit 3. However, it goes without saying that the present invention is not limited to this, but can also be applied to an apparatus that transfers one scanning line at a time.

そしてかかる制御部3の構成は、例えば前記したDMA
要求信号の出力若しくはMPUI側等よりの各種制御信
号を受けて後記する各種制御動作を司る、LSIからな
る主制御部11、 水平同期信号をカウントしながら所望の縮小率(s −
17s )若しくは拡大率(t+17t)に対応するラ
イン間隔s、を毎に主走査画素ラインの間引き若3 − しくは重複要求信号を主制御部ll側に出力する信号生
成部12、 前記主制御部11よりの制御信号に基づいてビデオメモ
リ2より読み出すべき画像データのアドレス信号を生成
するアドレス生成部13、該アドレス信号に基づいて読
み出された画像データをシリアル変換しながらプリント
エンジン側にビデオ出力を行なうシリアル変換部14か
らなり、これらの各ブロックについて詳細に説明する。
The configuration of the control unit 3 is, for example, the above-mentioned DMA.
A main control unit 11 consisting of an LSI, which receives the output of a request signal or various control signals from the MPUI side, etc. and controls various control operations to be described later, calculates the desired reduction rate (s -
17s) or a line spacing s corresponding to the enlargement rate (t+17t), a signal generation unit 12 that outputs a thinning or duplication request signal of main scanning pixel lines to the main control unit 11 every time; An address generation unit 13 generates an address signal for image data to be read out from the video memory 2 based on a control signal from the video memory 2, and outputs a video to the print engine side while serially converting the image data read out based on the address signal. Each of these blocks will be explained in detail.

信号生成部12は、MPUI側より出力された画像縮小
率若しくは拡大率に対応するライン間隔値s、tを一時
記憶するレジスタ121と、該レジスタ121より読み
出された間隔値s、tを水平同期信号が入力される都度
、カウントダウンさせるカウンタ122からなり、該カ
ウント値が0になった時に、画像ライン重複要求信号を
主制御部11側に出力するとともに、該信号出力の都度
前記レジスタ121に記憶している間隔値s、tをカウ
ンタ122側にロードし、以下繰返し前記動作を行なう
The signal generation unit 12 has a register 121 that temporarily stores the line spacing values s and t corresponding to the image reduction rate or enlargement rate output from the MPUI side, and a register 121 that temporarily stores the line spacing values s and t that are read from the register 121 and horizontally stores the line spacing values s and t that are output from the MPUI side. It consists of a counter 122 that counts down each time a synchronization signal is input, and when the count value reaches 0, it outputs an image line duplication request signal to the main control unit 11 side, and also outputs an image line duplication request signal to the register 121 each time the signal is output. The stored interval values s and t are loaded into the counter 122, and the above operation is repeated thereafter.

尚間隔値s、tは同一ではなく、前記レジスタ1214
− に複数の間隔値s l、 s 2を設定し交互にカウン
タ122側にロードするように構成してもよい。
Note that the interval values s and t are not the same, and the interval values s and t are not the same.
- A plurality of interval values s l and s 2 may be set and alternately loaded to the counter 122 side.

アドレス生成部13は、カウンタ機能を有する主レジス
タ131と、現在走査中における主走査ラインの先頭ア
ドレスデータを退避格納する退避用レジスタ133と、
該退避レジスタ133に格納されている先頭アドレスデ
ータを、下記第1式に基ずいて演算処理を行なう事によ
り次位の主走査ラインにおける先頭アドレスデータに変
換する第1のアドレス変換器132と、縮小処理の場合
に使用し、主レジスタ131に格納されているアドレス
データを、下記第1式に基ずいて演算処理を行なう事に
より次位の主走査ラインにおける対応アドレスデータに
変換するる第2のアドレス変換器134と、主制御部1
1よりの制御信号に基づいて、ローカルデータバスLB
bを介してMPUIより出力された先頭アドレスデータ
と、前記第1のアドレス変換器132若しくは退避用レ
ジスタ133に格納されているアドレスデータとを選択
するMPX+及びMPX2 (マルチプレクサ)と、 
前記主レジスタ131と第2のアドレス変換器134に
格納されているアドレスデータとを選択的に画像メモリ
側に転送するMPX3とからなり、 該MPX3から出力されたアドレスデータによりビデオ
メモリ2内の指定アドレス位置にあるnビット画像デー
タを、データバスLBbを介してシリアル変換部14側
に転送させる事が可能となる。
The address generation unit 13 includes a main register 131 having a counter function, a save register 133 that saves and stores the start address data of the main scanning line currently being scanned.
a first address converter 132 that converts the first address data stored in the save register 133 into the first address data of the next main scanning line by performing arithmetic processing based on the first equation below; A second process is used for reduction processing, and converts the address data stored in the main register 131 into corresponding address data in the next main scanning line by performing arithmetic processing based on the first equation below. address converter 134 and main control unit 1
Based on the control signal from 1, the local data bus LB
MPX+ and MPX2 (multiplexers) that select the start address data output from the MPUI via b and the address data stored in the first address converter 132 or the save register 133;
It consists of an MPX 3 that selectively transfers the address data stored in the main register 131 and the second address converter 134 to the image memory side, and the address data output from the MPX 3 specifies the designation in the video memory 2. It becomes possible to transfer the n-bit image data at the address position to the serial converter 14 side via the data bus LBb.

シリアル変換部14は、一対のnビットレジスタ141
.142と、該画レジスタの内容を論理和をとってnビ
ットシフトレジスタ140側に転送するOR回路143
からなり、ビデオクロックに同期して生成される主制御
部11よりの制御信号に基づいて前記シフトレジスタ1
40にnビットづつ転送された拡大若しくは縮小処理後
の画像データをビデオクロックに同期させてプリントエ
ンジン側にシリアル出力可能に構成されている。
The serial converter 14 includes a pair of n-bit registers 141
.. 142 and an OR circuit 143 that logically ORs the contents of the image register and transfers the result to the n-bit shift register 140 side.
The shift register 1
The image data after enlargement or reduction processing transferred n bits at a time to 40 can be serially outputted to the print engine side in synchronization with the video clock.

次にかかる実施例の作用を拡大処理を行なう場合と縮小
処理を行なう場合に分けて説明する。
Next, the operation of this embodiment will be explained separately for the case of performing enlargement processing and the case of performing reduction processing.

先に拡大処理方法について説明する。First, the enlargement processing method will be explained.

先ずMP旧の制御下で、肝門側よりデータバスLBbを
介して前記レジスタ121に画像拡大率に対応するライ
ン間隔値tを、又MPXI及びMPX2を介して主レジ
スタ131に頁先頭の初期アドレスデータAOを入力さ
せる。
First, under the control of the MP old, the line spacing value t corresponding to the image enlargement rate is sent to the register 121 from the liver side via the data bus LBb, and the initial address of the top of the page is sent to the main register 131 via MPXI and MPX2. Input data AO.

前記設定が終了後、主制御部11よりDMA要求信号を
出力してMPUIとシステムパスラインSBを切り離す
事により、制御部3がバスマスターとなり、これにより
後記する画像転送動作に移行される。
After the above settings are completed, the main control section 11 outputs a DMA request signal and disconnects the MPUI from the system path line SB, so that the control section 3 becomes the bus master, thereby shifting to the image transfer operation described later.

即ち プリントエンジン側より水平同期信号が制御部3
側に出力されると、カウンタ122内の値が(5−1)
にカウントダウンするとともに、主制御部11側よりの
制御信号に基づいて、主レジスタ131に格納されてい
る初期アドレスを退避レジスタ133とともに、MPX
3を介してビデオメモリ2側に転送させる。
That is, the horizontal synchronization signal is sent from the print engine to the control unit 3.
When output to the side, the value in the counter 122 becomes (5-1)
At the same time, based on the control signal from the main control unit 11 side, the initial address stored in the main register 131 is saved in the MPX along with the save register 133.
3 to the video memory 2 side.

そして前記初期アドレスデータAOの転送により対応す
るnビット画像データをビデオメモリ2よリ一のnビッ
トレジスタ141に転送して、主レジスタ131に格納
されている初期アドレスデータが1ビツトづつカウント
アツプされる。
Then, by transferring the initial address data AO, the corresponding n-bit image data is transferred from the video memory 2 to the n-bit register 141, and the initial address data stored in the main register 131 is counted up bit by bit. Ru.

7− そして前記レジスタに転送されたnビット画像データは
OR回路143を介してシフトレジスタ140に転送し
た後主制御部11よりの制御信号に基づいてプリントエ
ンジン側にシリアル出力されるとともに、前記カウント
アツプされたアドレスデータAnをビデオメモリ2側に
送信して、前記転送後のnビットレジスタ141に該ア
ドレスに対応する画像データを格納する。
7- Then, the n-bit image data transferred to the register is transferred to the shift register 140 via the OR circuit 143, and then serially outputted to the print engine side based on the control signal from the main control unit 11, and The uploaded address data An is transmitted to the video memory 2 side, and the image data corresponding to the address is stored in the n-bit register 141 after the transfer.

以下−主走査ライン分の画像データがプリントエンジン
側に出力されるまで前記動作を繰返すが、この間は水平
同期信号が出されていない為に退避用レジスタ133内
の先頭アドレスデータは更新される事がない。
Below - The above operation is repeated until the image data for the main scanning line is output to the print engine side, but since the horizontal synchronization signal is not output during this time, the start address data in the save register 133 is updated. There is no.

モして一主走査ライン分のデータ出力後にプリントエン
ジン側より水平同期信号が出力されると、MPX 1が
切換わって第一のアドレス変換器132に格納されてい
る次位の先頭アドレスデータが主レジスタ131にロー
ドされ、以下前記動作を繰返す。(かかる動作は縮小処
理を行なう場合にも同様に行なわれるためにA処理と名
付ける)8 そして、t−1回分の走査ライン分の画像データがプリ
ントエンジン側に出力後を回目の水平同期信号が出力さ
れると、カウンタ122のカウント値がアンダーフロー
されて主制御部11側に拡大要求信号が出力され、これ
により主制御部11側よりの制御信号に基づいてMPX
 1を閉じMPX2を切換える事により、退避用レジス
タ133に格納されている現位の走査ラインにおける先
頭アドレスデータSOが主レジスタ131にロードされ
ることになる。
When a horizontal synchronizing signal is output from the print engine side after outputting data for one main scanning line, MPX 1 is switched and the next leading address data stored in the first address converter 132 is output. The data is loaded into the main register 131, and the above operation is repeated thereafter. (This operation is called A processing because it is performed in the same way when performing reduction processing.) 8 Then, after the image data for t-1 scan lines is output to the print engine side, the horizontal synchronization signal is output for the 1st time. When it is output, the count value of the counter 122 underflows and an enlargement request signal is output to the main control section 11 side.
By closing MPX1 and switching MPX2, the start address data SO in the current scanning line stored in the save register 133 is loaded into the main register 131.

この結果該アドレスデータがビデオメモリ2側に転送さ
れることによりS走査ライン分の画像データが再度nビ
ットレジスタ141,142側に転送されて、主走査画
像データラインが重複してプリントエンジン側に出力さ
れる事となり、画像の拡大処理が行なわれる事となる。
As a result, the address data is transferred to the video memory 2 side, and the image data for S scanning lines is transferred again to the n-bit registers 141, 142 side, and the main scanning image data lines are overlapped and transferred to the print engine side. The image will be output, and the image will be enlarged.

以下前記動作を繰返す事により、所望の拡大倍率に対応
した画像処理が可能となる。
Thereafter, by repeating the above operations, image processing corresponding to the desired enlargement magnification becomes possible.

次に縮小処理方法について説明する。Next, a reduction processing method will be explained.

先ずMPUIの制御下で、MPUI側より前記レジスタ
121に画像縮小率に対応するライン間隔値Sを、又主
レジスタ131に頁先頭の初期アドレスデータAOを入
力させた後、主制御部11よりDMA要求信号を出力し
てMP旧とシステムパスラインを切り離して画像転送動
作に移行し、前記Aの処理動作が行なわれる。
First, under the control of the MPUI, the MPUI side inputs the line spacing value S corresponding to the image reduction rate into the register 121 and the initial address data AO of the top of the page into the main register 131, and then the main controller 11 inputs the DMA A request signal is output, the old MP and the system path line are separated, the image transfer operation is started, and the processing operation A is performed.

そして、前記Aの処理動作に基づいてS−1回分の走査
ライン分の画像データがプリントエンジン側に出力され
た後S回目の水平同期信号によりカウンタ122のカウ
ント値がアンダーフローされると、主制御部ll側に縮
小要求信号が出され、これにより第2のアドレス変換器
134の演算処理が開始され、主レジスタ131に格納
されて順次nビットづつアドレス更新される現位の主走
査ラインにおけるアドレスデータと、該アドレスデータ
に基づいて第2のアドレス変換器134により演算処理
された次位の主走査ラインにおける対応アドレスデータ
とをMPX3を介して選択的に画像メモリ側に転送され
る。
Then, when the count value of the counter 122 underflows due to the S-th horizontal synchronization signal after the image data for S-1 scan lines is output to the print engine side based on the processing operation of A, the main A reduction request signal is issued to the control unit 11 side, which starts the arithmetic processing of the second address converter 134, and the data in the current main scanning line is stored in the main register 131 and the address is sequentially updated by n bits. The address data and the corresponding address data in the next main scanning line, which has been arithmetic-processed by the second address converter 134 based on the address data, are selectively transferred to the image memory side via the MPX 3.

この結果、−のnビットレジスタ141には現位の主走
査ラインにおけるnビット画像データが、又他のnビッ
トレジスタ142には対応する次位の主走査ラインにお
けるnビット画像データが夫々格納される事となり、そ
して該両レジスタの内容をOR回路143により論理和
をとることにより画像データがnビットづつ間引き制御
が行なわれ、核間引き制御後の画像データをnビットシ
フトレジスタ140側に転送され、ビデオクロックに同
期してプリントエンジン側にシリアルに出力させながら
、該シリアル出力毎に前記動作を繰返す事により、l走
査542分の間引き制御が円滑に行なわれ、所定の画像
縮小処理が行なわれる事となる。
As a result, n-bit image data for the current main scanning line is stored in the - n-bit register 141, and n-bit image data for the corresponding next main scanning line is stored in the other n-bit registers 142. Then, by logically ORing the contents of both registers by the OR circuit 143, the image data is thinned out by n bits at a time, and the image data after the nucleus thinning control is transferred to the n-bit shift register 140 side. By repeating the above operation for each serial output while serially outputting it to the print engine in synchronization with the video clock, thinning control for 1 scan of 542 minutes is performed smoothly, and a predetermined image reduction process is performed. It happens.

以下前記動作を繰返す事により、所望の縮小倍率に対応
した画像処理が可能となる。
By repeating the above operations, image processing corresponding to the desired reduction magnification becomes possible.

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

第1図は本発明の基本構成図、第2図はレーザプリンタ
に用いられる本発明の実施例に係る画像処理装置を示す
全体ブロック図、第3図は本発明の要部構成たる間引き
制御部を示す詳細ブロック図である。 1−
Fig. 1 is a basic configuration diagram of the present invention, Fig. 2 is an overall block diagram showing an image processing device according to an embodiment of the present invention used in a laser printer, and Fig. 3 is a thinning control section which is the main part of the present invention. It is a detailed block diagram showing the. 1-

Claims (1)

【特許請求の範囲】 1)、対応する主走査ライン位置におけるアドレス信号
を演算処理して隣接する主走査ラインにおける対応アド
レス信号を生成した後、任意の主走査ライン間隔毎に生
成される間引き要求信号に基づいて、前記隣接する主走
査ライン位置における両アドレス信号を画像メモリ側に
転送して少なくとも複数ビット以上の一対の画素データ
を読み出し、該両画素データの論理和を取りながら間引
き制御を行い、ビデオクロックに基づいてシリアル変換
を行うシフトレジスタ側に転送する事を特徴とする画像
処理方式 2)任意の主走査ライン間隔毎に生成される間引き要求
信号に基づいて、対応する主走査ライン位置におけるア
ドレス信号と、該アドレス信号を演算処理して隣接する
主走査ラインにおける対応アドレス信号とを画像メモリ
側に転送するアドレス転送部と、該アドレス転送により
少なくとも複数ビット以上の一対の画素データを読み出
し、該両画素データの論理和を取りながら間引き制御を
行い、該間引き制御後の画素データをシフトレジスタに
格納する間引き制御部からなり、該シフトレジスタに格
納された画素データをビデオクロックに基づいてシリア
ル出力可能に構成した事を特徴とする画像処理装置 3)「対応する主走査ライン位置におけるアドレス信号
」の生成部が、データ読み出し毎に格納されたアドレス
信号を所定ビットづつアドレス更新されるカウンタ機能
付記憶手段である請求項2)記載の画像処理装置
[Claims] 1) A thinning request that is generated at every arbitrary main scanning line interval after processing the address signal at the corresponding main scanning line position to generate a corresponding address signal in the adjacent main scanning line. Based on the signal, both address signals at the adjacent main scanning line positions are transferred to the image memory side, a pair of pixel data of at least a plurality of bits or more is read out, and thinning control is performed while calculating the logical sum of the two pixel data. , an image processing method characterized in that data is transferred to a shift register that performs serial conversion based on a video clock 2) Based on a thinning request signal generated at each arbitrary main scanning line interval, the corresponding main scanning line position is determined. an address transfer unit that transfers an address signal in the image memory side and a corresponding address signal in an adjacent main scanning line after arithmetic processing of the address signal; and a pair of pixel data of at least a plurality of bits or more is read out by the address transfer. , a thinning control unit that performs thinning control while calculating the logical sum of both pixel data, and stores the pixel data after the thinning control in a shift register, and controls the pixel data stored in the shift register based on the video clock. Image processing device characterized by being configured to be capable of serial output 3) The generation unit of the "address signal at the corresponding main scanning line position" is a counter whose address is updated by predetermined bits of the stored address signal every time data is read. The image processing device according to claim 2), which is a functional storage means.
JP1252048A 1989-09-29 1989-09-29 Image processing method and apparatus Expired - Fee Related JP2955300B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1252048A JP2955300B2 (en) 1989-09-29 1989-09-29 Image processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1252048A JP2955300B2 (en) 1989-09-29 1989-09-29 Image processing method and apparatus

Publications (2)

Publication Number Publication Date
JPH03117171A true JPH03117171A (en) 1991-05-17
JP2955300B2 JP2955300B2 (en) 1999-10-04

Family

ID=17231846

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1252048A Expired - Fee Related JP2955300B2 (en) 1989-09-29 1989-09-29 Image processing method and apparatus

Country Status (1)

Country Link
JP (1) JP2955300B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006329245A (en) * 2005-05-24 2006-12-07 Piolax Inc Pressure on-off valve

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006329245A (en) * 2005-05-24 2006-12-07 Piolax Inc Pressure on-off valve

Also Published As

Publication number Publication date
JP2955300B2 (en) 1999-10-04

Similar Documents

Publication Publication Date Title
JP3221085B2 (en) Parallel processing unit
EP0570146B1 (en) Full color image output terminal interface
JPH03117171A (en) Picture processing system and its equipment
US5712714A (en) Image processing apparatus
JP2955301B2 (en) Image processing method
US5774234A (en) Image data processing apparatus
JPS61129975A (en) Printer control circuit
JPH11168610A (en) Image processor
JP2993618B2 (en) Image processing method
JP3165750B2 (en) Printing equipment
JP2705580B2 (en) Printer image data resolution doubling circuit
JP3380393B2 (en) Image forming device
JP2000137803A (en) Interface device and image forming device
JP2870803B2 (en) Image processing device
JP2858661B2 (en) Image processing method
JPH09331445A (en) Image processor
JPS62164130A (en) Picture processor
JP2985303B2 (en) Recording device area recognition method
JPS63249663A (en) Printer control apparatus
JP2552305Y2 (en) Image data transfer device
JPH047965A (en) Printer controller
JPH05212913A (en) Image forming device
JPH0818770A (en) Electrophotographic printer
JPH01268375A (en) Printer
JPS634749B2 (en)

Legal Events

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