JPH04153783A - Digital image processor - Google Patents

Digital image processor

Info

Publication number
JPH04153783A
JPH04153783A JP2279686A JP27968690A JPH04153783A JP H04153783 A JPH04153783 A JP H04153783A JP 2279686 A JP2279686 A JP 2279686A JP 27968690 A JP27968690 A JP 27968690A JP H04153783 A JPH04153783 A JP H04153783A
Authority
JP
Japan
Prior art keywords
output
circuit
data
repeat
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2279686A
Other languages
Japanese (ja)
Inventor
Tatsuo Sasahara
笹原 辰夫
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 Mita Industrial Co Ltd
Original Assignee
Mita Industrial Co Ltd
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 Mita Industrial Co Ltd filed Critical Mita Industrial Co Ltd
Priority to JP2279686A priority Critical patent/JPH04153783A/en
Publication of JPH04153783A publication Critical patent/JPH04153783A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To attain the repetitive processing of an image without using a memory of large capacity by providing a repeat data generating means and a composing means which composes the image data inputted to an input means and the repeat data outputted from the repeat data generating means and outputs the composite data. CONSTITUTION:The output of a repeat data generating circuit 302 is given to an OR circuit 306 and the original image data is given to the circuit 306 respectively. Thus the circuit 306 composes the original image data and the output of the circuit 302. Meanwhile the original image data inputted to an image processing circuit 21A is given to an X direction repeat selection circuit 307 via the circuit 306. The circuit 307 is switched by the output of an X direction range detecting circuit 105 and therefore selects and outputs the A input data when the output of the circuit 105 is equal to '1', i.e., active. Thus an image can be repetitively processed by a memory of small capacity.

Description

【発明の詳細な説明】 〈産業上の利用分野〉 この発明は、画像データをディジタル的に処理する画像
処理装置に関するものである。特に、この発明は、ディ
ジタル複写機、ディジタルプリンタ、ディジタルファク
シミリ等のディジタル画像形成装置のための画像処理装
置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to an image processing device that digitally processes image data. In particular, the present invention relates to an image processing apparatus for digital image forming apparatuses such as digital copying machines, digital printers, and digital facsimiles.

〈従来の技術〉 たとえばディジタル複写機を例にとって説明すると、最
近のディジタル複写機の中には、特定領域の画像データ
を反復出力して、該特定領域の画像が主走査方向および
副走査方向に配列されたコピーを得ることができるいわ
ゆるリピート機能付の複写機が存在する。
<Prior Art> Taking a digital copying machine as an example, some recent digital copying machines repeatedly output image data of a specific area so that the image of the specific area is displayed in both the main scanning direction and the sub-scanning direction. There are copying machines with a so-called repeat function that can produce aligned copies.

従来のディジタル複写機において、かかるリピート機能
を実現するためには、リピートさせる画像を記憶するた
めの比較的容量の大きな画像メモリが必要であった。
In conventional digital copying machines, in order to realize such a repeat function, a relatively large capacity image memory is required to store images to be repeated.

〈発明が解決しようとする課題〉 このように、リピート機能実現のために、容量の大きな
画像メモリを設けなければならず、メモリのコストが高
くなるという欠点があった。
<Problems to be Solved by the Invention> As described above, in order to realize the repeat function, it is necessary to provide an image memory with a large capacity, which has the disadvantage of increasing the cost of the memory.

他のディジタル画像処理装置においても、同様に、リピ
ート機能を付加するためには、容量の大きなメモリが必
要であるという欠点があった。
Other digital image processing devices similarly have the drawback of requiring a large capacity memory in order to add a repeat function.

そこでこの発明は、従来技術の欠点を解消して、容量の
大きなメモリを用いることなくリピート処理を行うこと
ができるディジタル画像処理装置を提供することを目的
とする。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a digital image processing apparatus that can eliminate the drawbacks of the prior art and perform repeat processing without using a large capacity memory.

く課題を解決するための手段〉 この発明は、与えられるディジタル画像データを処理す
るためのディジタル画像処理装置であって、ディジタル
画像データは、ラインデータが複数本並んで構成されて
いるものにおいて、前記ディジタル画像データが時系列
的に順次入力される入力手段、入力手段に入力される先
行する画像データに対して後続する画像データが変化し
たか否かを判別し、変化が生じたときに出力を導出する
データ変化点検出手段、入力手段に入力される画像デー
タに、順次アドレスを付与するためのアドレス付与手段
、画像データをリピート処理するために必要なずらし量
を出力するものであって、ずらし量にはライン並び方向
のずらし量が含まれているずらし量出力手段、アドレス
を記憶するための記憶手段であって、記憶順と同順に、
記憶されているアドレスを順次出力することのできるア
ドレス記憶手段、記憶手段から出力されるアドレスにず
らし量出力手段から出力されるずらし量を加えてリピー
ト用アドレスを算出するリピートアドレス算出手段、ア
ドレス付与手段が付与するアドレスとリピートアドレス
算出手段で算出されたアドレスとを比較し、両者が一致
したときに一致信号を出力する一致信号出力手段、一致
信号出力手段から一致信号が出力されるごとに、アドレ
ス記憶手段から出力されるアドレスを1つ新しいものに
更新する読出し制御手段、データ変化点検出手段の出力
があるごとに、また、一致信号出力手段から一致信号が
出力されるごとに、アドレス付与手段が付与するそのと
きのアドレスを記憶手段に記憶させる書込み制御手段、
第1レベルまたは第2レベルの2値出力のいずれかを常
時導出するものであって、前記一致信号に応答して出力
レベルを反転させるリピートデータ生成手段、ならびに
入力手段へ入力された画像データおよびリピートデータ
生成手段から出力されるリピートデータを合成して出力
する合成手段、を含むことを特徴とするものである。
Means for Solving the Problems> The present invention provides a digital image processing device for processing given digital image data, where the digital image data is composed of a plurality of line data lined up. an input means into which the digital image data is sequentially inputted in chronological order; a method for determining whether or not subsequent image data has changed with respect to preceding image data input to the input means; and outputting when a change has occurred; a data change point detecting means for deriving the image data, an address assigning means for sequentially assigning addresses to the image data input to the input means, and outputting a shift amount necessary for repeat processing the image data, A shift amount output means in which the shift amount includes a shift amount in the line arrangement direction, and a storage means for storing addresses in the same order as the storage order.
Address storage means capable of sequentially outputting stored addresses, repeat address calculation means for calculating a repeat address by adding the shift amount output from the shift amount output means to the address output from the storage means, and address assignment. A match signal output means that compares the address given by the means with the address calculated by the repeat address calculation means and outputs a match signal when the two match, each time a match signal is output from the match signal output means. A read control means updates the address output from the address storage means to a new one, and an address is assigned each time there is an output from the data change point detection means, and each time a match signal is output from the match signal output means. write control means for storing the current address given by the means in the storage means;
repeat data generation means for always deriving either a first level or a second level binary output and inverting the output level in response to the coincidence signal; and image data input to the input means and The present invention is characterized in that it includes a synthesizing means for synthesizing and outputting the repeat data output from the repeat data generating means.

またこの発明は、前記ディジタル画像処理装置は、さら
に、合成手段の出力段に設けられ、各ラインデータが出
力される際に、ラインデータの一部がライン長さ方向に
反復出力されるようにしたライン長さ方向リピート手段
を含むことを特徴とするものである。
Further, in the present invention, the digital image processing device is further provided at the output stage of the combining means, so that when each line data is output, a part of the line data is repeatedly output in the line length direction. The invention is characterized in that it includes a line longitudinal direction repeating means.

さらにまたこの発明は、前記ディジタル画像処理装置に
おいて、リピートデータ生成手段は、さらに、第1レベ
ルまたは第2レベルの少なくともいずれかの出力を、第
1レベルと第2レベルとの間の中間レベルの出力に変換
する中間レベル信号出力手段を含むことを特徴とするも
のである。
Furthermore, in the digital image processing apparatus according to the present invention, the repeat data generation means further converts the output of at least one of the first level and the second level into an output of an intermediate level between the first level and the second level. It is characterized in that it includes intermediate level signal output means for converting into an output.

く作用〉 この発明によれば、入力される画像データに変化点が生
じたときに、その変化点に対応したアドレスが記憶手段
に記憶される。そして、その記憶手段から読出されるア
ドレスに所定のずらし量が加えられたアドレスが、入力
されるそのときの画像データのアドレスと比較され、両
アドレスが一致したときに一致信号が出力されて、リピ
ートデータが生成される。また、一致信号が出力される
そのときのアドレスが記憶手段に記憶される。これによ
り、画像データを反復出力するためのアドレスが特定さ
れる。
Effects> According to the present invention, when a change point occurs in input image data, an address corresponding to the change point is stored in the storage means. Then, an address obtained by adding a predetermined shift amount to the address read from the storage means is compared with the address of the input image data at that time, and when both addresses match, a match signal is output, Repeat data is generated. Further, the address at which the coincidence signal is output is stored in the storage means. This specifies the address for repeatedly outputting the image data.

〈実施例〉 以下には、この発明の一実施例を、ディジタル複写機を
例にとって説明する。
<Embodiment> An embodiment of the present invention will be described below by taking a digital copying machine as an example.

第8図は、この発明の一実施例にかかる画像処理装置が
適用されたディジタル複写機全体の概略構成図である。
FIG. 8 is a schematic diagram of the entire digital copying machine to which an image processing apparatus according to an embodiment of the present invention is applied.

ディジタル複写機には、本体11の上面に原稿12をセ
ットするためのコンタクトガラス13が備えられており
、その上には開閉自在な原稿カバー14が設けられてい
る。
The digital copying machine is equipped with a contact glass 13 for setting a document 12 on the top surface of a main body 11, and a document cover 14 that can be opened and closed is provided above the contact glass 13.

本体11の内部上方には、コンタクトガラス13の下面
に沿って矢印A1方向へ移動可能な光源15が備えられ
ている。光源15は紙面に垂直方向に延びる長手の円筒
状をしたもので、光源15によって照明された原稿12
の反射光はミラー16.17.18および集光レンズ1
9を介してCCDラインイメージセンサ20へ与えられ
る。そして、該イメージセンサ20によって原稿画像が
読取られる。
A light source 15 is provided inside and above the main body 11 and is movable along the lower surface of the contact glass 13 in the direction of arrow A1. The light source 15 has a long cylindrical shape extending perpendicular to the paper surface, and the document 12 illuminated by the light source 15
The reflected light is reflected by mirrors 16, 17, 18 and condenser lens 1.
9 to the CCD line image sensor 20. Then, the image sensor 20 reads the original image.

CCDラインイメージセンサ20は紙面に対して垂直方
向に延びる長手形状のセンサで、その長さ方向が主走査
方向Xとなっており、1ラインずつ画像データを読取る
ものである。
The CCD line image sensor 20 is a longitudinal sensor extending perpendicularly to the plane of the paper, with its length direction being the main scanning direction X, and reads image data line by line.

CCDラインイメージセンサ20で読取られた原稿画像
データは、画像処理回路21へ与えられ、後述する画像
処理が施される。そして、画像処理回路21の出力はレ
ーザダイオード22へ与えられて該ダイオード22を発
光させる。レーザダイオード22から出力されるレーザ
光はポリゴンミラー23でスキャンされ、ミラー24を
介して感光体ドラム25へ与えラレル。
The original image data read by the CCD line image sensor 20 is provided to an image processing circuit 21 and subjected to image processing described below. The output of the image processing circuit 21 is then applied to the laser diode 22, causing the diode 22 to emit light. The laser light output from the laser diode 22 is scanned by a polygon mirror 23 and applied to the photosensitive drum 25 via the mirror 24.

感光体ドラム25の周囲には帯電チャージャ26、現像
装置27、転写2分離チャージャ28、クリーナ29等
の公知の部材が配置されており、電子写真方式によって
感光体ドラム25表面に静電潜像が形成され、潜像はト
ナー像に現像される。
Known members such as a charging charger 26, a developing device 27, a two-transfer separation charger 28, and a cleaner 29 are arranged around the photoreceptor drum 25, and an electrostatic latent image is formed on the surface of the photoreceptor drum 25 by an electrophotographic method. The latent image is formed and the latent image is developed into a toner image.

そしてトナー像は、用紙カセット3oから取込まれ、レ
ジストロー−231によってタイミングが合わされて感
光体ドラム25へ与えられる用紙に転写される。そして
、トナー像が転写された用紙は搬送ベルト32で搬送さ
れ、定着装置33へ送られる。定着装置33では用紙上
のトナー像が定着され、定着が完了したコピー済用紙は
排出トレイ34へ排出される。
Then, the toner image is taken in from the paper cassette 3o, and is transferred onto the paper applied to the photoreceptor drum 25 with the timing adjusted by the registration row 231. Then, the paper onto which the toner image has been transferred is transported by a transport belt 32 and sent to a fixing device 33. The fixing device 33 fixes the toner image on the paper, and the copied paper on which the fixing has been completed is discharged to the discharge tray 34.

第9図は、上述したディジタル複写機における画像処理
関係部分の構成を示すブロック図である。
FIG. 9 is a block diagram showing the configuration of image processing related parts in the digital copying machine described above.

CCDラインイメージセンサ20で読取られた原稿画像
データは、増幅器41で増幅され、A/Dコンバータ4
2でアナログデータからディジタルデータに変換されて
、画像処理回路21へ与えられる。そして、画像処理回
路21で処理された出力画像データは、レーザダイオー
ド22へ与えられて、レーザダイオード22を発光させ
る。 さらに、クロック発振器46およびライン同期信
号発生回路45が備えられている。クロック発振器46
から出力される基準クロックCKは、タイミング発生回
路44、A/Dコンバータ42および画像処理回路21
へ与えられ、また、ライン同期信号発生回路45から出
力されるライン同期信号Hsyncは、画像処理回路2
1およびタイミング発生回路44へ与えられる。
The original image data read by the CCD line image sensor 20 is amplified by the amplifier 41 and then sent to the A/D converter 4.
2, the analog data is converted into digital data and provided to the image processing circuit 21. The output image data processed by the image processing circuit 21 is then applied to the laser diode 22, causing the laser diode 22 to emit light. Furthermore, a clock oscillator 46 and a line synchronization signal generation circuit 45 are provided. Clock oscillator 46
The reference clock CK output from the timing generation circuit 44, the A/D converter 42 and the image processing circuit 21
The line synchronization signal Hsync supplied to the image processing circuit 2 and output from the line synchronization signal generation circuit 45 is
1 and to the timing generation circuit 44.

ここに、タイミング発生回路44は、CCDラインイメ
ージセンサ20の画像データ読取タイミングおよび画像
データ出力タイミングを制御するためのものである。つ
まり、CCDラインイメージセンサ20は、り072発
振器45から出力される基準クロックCKに同期して動
作を行うとともに、ライン同期信号発生回路45から出
力されるライン同期信号Hsyncによって、ラインご
とに同期して動作を行う。画像処理回路21も、同様に
、基準クロックCKおよびライン同期信号Hsyncに
同期して動作を行う。
Here, the timing generation circuit 44 is for controlling the image data reading timing and the image data output timing of the CCD line image sensor 20. In other words, the CCD line image sensor 20 operates in synchronization with the reference clock CK output from the R072 oscillator 45, and synchronizes each line with the line synchronization signal Hsync output from the line synchronization signal generation circuit 45. perform the operation. The image processing circuit 21 similarly operates in synchronization with the reference clock CK and the line synchronization signal Hsync.

さらに、画像処理回路21は、ディジタル複写機の全体
動作を制御するためのCPU47の制御下に置かれてい
る。
Further, the image processing circuit 21 is placed under the control of a CPU 47 for controlling the overall operation of the digital copying machine.

次に、第9図に示す画像処理回路21の具体的な構成例
として、以下、画像処理回路21Aおよび21Bを取上
げて説明をする。
Next, as a specific example of the configuration of the image processing circuit 21 shown in FIG. 9, the image processing circuits 21A and 21B will be described below.

第1図は、一実施例にかかる画像処理回路21Aの構成
を示すブロック図である。まず、この画像処理回路21
Aに含まれる各構成要素をブロック単位で説明すると、
次のとおりである。
FIG. 1 is a block diagram showing the configuration of an image processing circuit 21A according to an embodiment. First, this image processing circuit 21
If we explain each component included in A block by block,
It is as follows.

101・・・X座標カウンタ このカウンタは、クロック発振器46 (第9図参照)から与えられる基準クロックCKをカウ
ントして、主走斎方向であるX方向の座標Xを計算する
ための回路である。
101...X coordinate counter This counter is a circuit for counting the reference clock CK given from the clock oscillator 46 (see FIG. 9) and calculating the coordinate X in the X direction, which is the main running direction. .

X座標カウンタ101は、ライン同期信号発生回路45
(第9図参照)から与えられるライン同期信号Hsyn
cによって、1にリセットされる。これにより、1ライ
ンごとに、X座標カウンタ101は、所定のスタート位
置かうの座標Xを計算する。
The X coordinate counter 101 is connected to the line synchronization signal generation circuit 45
Line synchronization signal Hsyn given from (see Figure 9)
It is reset to 1 by c. Thereby, the X coordinate counter 101 calculates the coordinate X of the predetermined starting position for each line.

03・・・X座標用ファーストインファーストアウトメ
モリ(X座標用FIFOメモリ)X座標カウンタ101
のカウント値を蓄えるためのメモリである。
03...First-in first-out memory for X coordinate (FIFO memory for X coordinate) X coordinate counter 101
This is a memory for storing count values.

04・・・X座標比較回路 X座標用FIFOメモリ103に蓄えられた座標値と現
在の座標Xとを比較し、−致したときに一致信号を出力
するための回路である。
04...X coordinate comparison circuit This circuit compares the coordinate value stored in the X coordinate FIFO memory 103 with the current coordinate X, and outputs a match signal when they match.

105・・・X方向範囲検出回路 後述するCPU501に設定されている範囲内に座標X
が入っているか否かを判定するための回路である。
105...X direction range detection circuit The coordinate X is within the range set in the CPU 501, which will be described later.
This is a circuit for determining whether or not the

201・・・Y座標カウンタ このカウンタは、ライン同期信号発生回路45(第9図
参照)から与えられるライン同期信号Bsyncをカウ
ントして、副走査方向であるY方向の座標y1すなわち
ライン番号yを計算するための回路である。
201...Y coordinate counter This counter counts the line synchronization signal Bsync given from the line synchronization signal generation circuit 45 (see FIG. 9) and calculates the coordinate y1 in the Y direction, which is the sub-scanning direction, that is, the line number y. This is a circuit for calculation.

Y座標カウンタ201は、1ページごとの読取開始信号
である垂直同期信号Vsyncによって、1にリセット
される。
The Y coordinate counter 201 is reset to 1 by a vertical synchronization signal Vsync, which is a reading start signal for each page.

203・・・Y座標用ファーストインファーストアウト
メモリ(Y座標用FIFOメモリ)Y座標カウンタ20
1のカウント値を蓄えるためのメモリである。
203...Y-coordinate first-in-first-out memory (Y-coordinate FIFO memory) Y-coordinate counter 20
This is a memory for storing a count value of 1.

202・・・Y座標加算回路 Y座標用FIFOメモリ203の出力値(A入力として
与えられる)に、Y方向におけるずらし量KV(B入力
として与えられる)を加算するための回路である。
202...Y-coordinate addition circuit This is a circuit for adding the shift amount KV in the Y direction (given as B input) to the output value of the Y-coordinate FIFO memory 203 (given as A input).

204・・・Y座標比較回路 Y座標加算回路202の出力値と現在の座標yとを比較
し、一致したときに一致信号を出力するための回路であ
る。
204...Y coordinate comparison circuit This circuit compares the output value of the Y coordinate addition circuit 202 and the current coordinate y, and outputs a coincidence signal when they match.

205・・・Y方向範囲検出回路 後述するCPU501に設定されている範囲内に座標y
が入っているか否かを判定するための回路である。
205...Y direction range detection circuit The coordinate y is within the range set in the CPU 501, which will be described later.
This is a circuit for determining whether or not the

301・・・座標一致論理積回路 この回路は、X座標比較回路104およびY座標比較回
路204の一致信号の論理積をとる回路である。
301 Coordinate matching logical product circuit This circuit is a circuit that calculates the logical product of the matching signals of the X coordinate comparison circuit 104 and the Y coordinate comparison circuit 204.

302・・・リピートデータ生成回路 この回路は、この例では、Dフリップフロップによって
構成されている。
302...Repeat data generation circuit This circuit is constituted by a D flip-flop in this example.

座標一致論理積回路301から出力される信号は、リピ
ートデータの変化点信号である。そこで、このフリップ
フロップ302では、変化点信号をクロック入力とする
ことにより、クロックごとに出力信号を第ルベル(たと
えばローレベル)から第2レベル(たとえばハイレベル
)に、または第2レベルから第1レベルに反転させ、リ
ピートデータを出力する。
The signal output from the coordinate matching AND circuit 301 is a change point signal of repeat data. Therefore, in this flip-flop 302, by using the change point signal as a clock input, the output signal changes from the first level (for example, low level) to the second level (for example, high level) or from the second level to the first level every clock. Invert the level and output repeat data.

リピートデータ生成回路302は、ライン同期信号Hs
yncによってリセットされ、ラインごとに出力が初期
状態、つまりこの実施例では第1レベル(ローレベル)
に戻される。
The repeat data generation circuit 302 generates a line synchronization signal Hs.
ync, and the output is set to the initial state for each line, that is, the first level (low level) in this example.
will be returned to.

306・・・論理和回路 この回路は、原画像データとY方向のリピートデータと
の論理和をとるための回路である。
306...OR circuit This circuit is a circuit for calculating the OR between the original image data and the repeat data in the Y direction.

307・・・X方向リピート用選択回路この回路は、画
像データをX方向にリピートするために必要な回路であ
って、新しい画像データを後述するX方向リピート用F
IFOメモリの入力とするか、該X方向リピート用FI
FOメモリから出力されるデータをもう1度該FIFO
メモリの人力とするかを選択するための回路である。
307...X-direction repeat selection circuit This circuit is necessary for repeating image data in the
IFO memory input or FI for X direction repeat
The data output from the FO memory is transferred to the FIFO again.
This is a circuit for selecting whether to use memory manually or not.

308・・・X方向リピート用ファーストインファース
トアウトメモリ(X方向リピート 用FIFOメモリ) 画像データをX方向にリピートするために必要なメモリ
であって、X方向の画像データを記憶するためのFIF
Oメモリである。
308...First-in-first-out memory for X-direction repeat (FIFO memory for X-direction repeat) Memory necessary for repeating image data in the X-direction, and FIF for storing image data in the X-direction.
O memory.

401・・・画像データラッチ回路 ハイレベルまたはローレベルの2値レベルで表わされる
最小単位の入力画像データ(画素)を基準クロックに同
期して順次ラッチするための回路である。
401: Image data latch circuit A circuit for sequentially latching minimum unit input image data (pixels) expressed in binary levels of high level or low level in synchronization with a reference clock.

402・・・変化点抽出回路 上記入力される画素が、たとえば黒から白(ハイレベル
からローレベル)または白から黒(ローレベルからハイ
レベル)に変化したときに、信号を出す回路である。
402... Change point extraction circuit This is a circuit that outputs a signal when the input pixel changes, for example, from black to white (from high level to low level) or from white to black (from low level to high level).

より詳しくは、画像データラッチ回路401でラッチさ
れている1クロツク前の先行する画素と、今回の画素と
を比較して、両者が一致しないときは、今回の画素が先
行する画素に対して変化したわけであるから、変化点信
号を出す回路である。
More specifically, the current pixel is compared with the previous pixel latched by the image data latch circuit 401 one clock ago, and if the two do not match, the current pixel is changed from the previous pixel. Therefore, it is a circuit that outputs a change point signal.

403・・・論理積回路 この画像処理回路では、変化点抽出回路から出力される
変化点信号がX座標用FIFOメモリ103およびY座
標用FIFOメモリ203の書込信号WCKとされてい
るが、予め定められた範囲外の場合には、当該論理積回
路403によって書込信号WCKが出力されないように
し、上記書込を禁止するようにされている。
403...Logic product circuit In this image processing circuit, the change point signal output from the change point extraction circuit is used as the write signal WCK of the X coordinate FIFO memory 103 and the Y coordinate FIFO memory 203. If it is outside the predetermined range, the AND circuit 403 prevents the write signal WCK from being output, thereby prohibiting the write.

すなわち、前述したX方向範囲検出回路105およびY
方向範囲検出回路205によって、現在の座標(x、y
)が予め定められた範囲内の場合にのみゲートが開かれ
、変化点信号が論理積回路403を通過するようにされ
ている。
That is, the aforementioned X direction range detection circuit 105 and Y
The direction range detection circuit 205 detects the current coordinates (x, y
) is within a predetermined range, the gate is opened and the change point signal passes through the AND circuit 403.

次に、第1図の画像処理回路21Aの動作について、具
体的な画像データを参照しながら説明をするO 今、CCDラインイメージセンサ20(第8図。
Next, the operation of the image processing circuit 21A shown in FIG. 1 will be explained with reference to specific image data.

第9図参照)によって読取られたデータが、第2図に示
す画像データである場合を考える。
Consider a case in which the data read by the computer (see FIG. 9) is the image data shown in FIG.

第2図において、横に延びるX方向は主走査方向、上下
に延びるY方向は副走査方向である。また、第2図にお
いて、小正方形で示す1つのマスが最小単位データ、つ
まり画素である。白マスは画素が、0(ローレベル)の
状態、黒マスは画素が、1(ハイレベル)の状態を示し
ている。
In FIG. 2, the horizontally extending X direction is the main scanning direction, and the vertically extending Y direction is the sub-scanning direction. Furthermore, in FIG. 2, one square indicated by a small square is the minimum unit of data, that is, a pixel. A white square indicates a state where the pixel is 0 (low level), and a black square indicates a state where the pixel is 1 (high level).

また、上辺および左辺に沿って付された数値は、それぞ
れ、各画素のX座標値およびY座標値を表わしている。
Further, the numerical values attached along the upper side and the left side represent the X coordinate value and Y coordinate value of each pixel, respectively.

第2図に示す画像データに対して、X方向へは全く画像
をずらさず、Y方向へのずらし量Ky−12座標の画像
処理をする場合を考える。また、画像処理は、X方向の
座標(1〜10)、Y方向の座標(1〜12)の領域の
画像に対して行うものとする。
Consider a case where image processing is performed on the image data shown in FIG. 2 without shifting the image at all in the X direction, but by shifting the amount Ky-12 in the Y direction. It is also assumed that image processing is performed on an image in an area of coordinates (1 to 10) in the X direction and coordinates (1 to 12) in the Y direction.

CCDラインイメージセンサ20で読取られ、増幅回路
41で増幅され、A/Dコンバータ42でディジタル信
号に変換された画像データは、時系列的に、画素単位で
、 D (1,1)、 D (2,1) 、 D (3,1
)D (1,2)、 D (2,2)、 D (3,2
)・・D (1,3)、 D (2,3)、 D (3
,3)・・・と画像処理回路21Aへ流れ込んでくる。
The image data read by the CCD line image sensor 20, amplified by the amplifier circuit 41, and converted to a digital signal by the A/D converter 42 is time-series, pixel by pixel, as follows: D (1, 1), D ( 2,1), D (3,1
)D (1,2), D (2,2), D (3,2
)...D (1,3), D (2,3), D (3
, 3)... flow into the image processing circuit 21A.

ここで、D (x、 y)は、座標(x、  y)にお
ける画像データを示しており、この画像データは画素で
あって、“0゛か“1°かの値を持つ。
Here, D (x, y) indicates image data at the coordinates (x, y), and this image data is a pixel and has a value of "0" or "1".

第1図に示す画像処理回路21Aは、画像データが入力
する直前にライン同期信号Hsyncおよび垂直同期信
号Vsyncによりリセットされる。
The image processing circuit 21A shown in FIG. 1 is reset by a line synchronization signal Hsync and a vertical synchronization signal Vsync immediately before image data is input.

したがって、画像データラッチ回路401はリセットさ
れており、そのQ出力は“0”である。
Therefore, the image data latch circuit 401 has been reset, and its Q output is "0".

また、最初の基準クロックCK(以下、単に「クロック
CKJと呼ぶ)が与えられる直前は、変化点抽出回路4
02のA入力には、上記画像データラッチ回路401の
Q出力“0”がセットされ、B入力には、最初の画像デ
ータD(1,1)がセットされる。よって、八人力のデ
ーターB入力のデーター〇なので、変化点抽出回路40
2の出力はノンアクティブである。
Also, immediately before the first reference clock CK (hereinafter simply referred to as "clock CKJ") is given, the change point extraction circuit 4
The Q output "0" of the image data latch circuit 401 is set to the A input of 02, and the first image data D (1, 1) is set to the B input. Therefore, since the eight-person power data B input data is 〇, the change point extraction circuit 40
The output of 2 is inactive.

また、この時点では、X座標カウンタ101およびY座
標カウンタ201とも、「1」にリセットされたままで
ある。
Furthermore, at this point, both the X coordinate counter 101 and the Y coordinate counter 201 remain reset to "1".

次に、クロック発振器46(第9図参照)から最初のク
ロックCKが与えられると、画像データラッチ回路40
1には、画像データD (1,1)がラッチされる。
Next, when the first clock CK is applied from the clock oscillator 46 (see FIG. 9), the image data latch circuit 40
1, image data D (1, 1) is latched.

よって、次のクロックCKが与えられる直前は、変化点
抽出回路402の八人力には画像データラッチ回路40
1でラッチされた画像データD(1゜1)がセットされ
、B入力には画像データD(2゜1)がセットされる。
Therefore, immediately before the next clock CK is applied, the image data latch circuit 40
Image data D (1°1) latched at 1 is set, and image data D (2°1) is set to the B input.

これら画像データD(1゜1)およびD (2,1)は
、第2図に示すとおり、共に“0”なので、変化点抽出
回路402の出力はノンアクティブである。
Since these image data D(1°1) and D(2,1) are both "0" as shown in FIG. 2, the output of the change point extraction circuit 402 is inactive.

このとき、X座標カウンタ101はクロックCKを1つ
カウントして「2」になり、第2カウンタ201は、「
1」のままである。
At this time, the X coordinate counter 101 counts one clock CK and becomes "2", and the second counter 201 counts "2".
1" remains.

同様にして、クロックCKが与えられるごとに画像デー
タラッチ回路401で画像データD(x−1,y)がラ
ッチされ、かつ、変化点抽出回路402において画像デ
ータD (x、y)が変化点か否かが判別される。
Similarly, every time the clock CK is applied, the image data latch circuit 401 latches the image data D (x-1, y), and the change point extraction circuit 402 latches the image data D (x, y) at the change point. It is determined whether or not.

最初に画像データD (x、  y)に変化点が訪れる
のは、D (4,1)のときである。
The first change point in the image data D (x, y) occurs at D (4, 1).

このとき、変化点抽出回路402のA入力には、画像デ
ータラッチ回路401でラッチされたD(3,1)がセ
ットされ、B入力には、D(4゜1)がセットされる。
At this time, D(3,1) latched by the image data latch circuit 401 is set to the A input of the change point extraction circuit 402, and D(4°1) is set to the B input.

ここに、D (3,1)は’O’ 、D (4,1)は
“1′であるから、変化点抽出回路402の出力はアク
ティブになる。
Here, since D (3,1) is 'O' and D (4,1) is '1', the output of the change point extraction circuit 402 becomes active.

また、このときのX座標カウンタ101およびY座標カ
ウンタ102の値は、それぞれ、「4」および「1」で
ある。
Further, the values of the X coordinate counter 101 and the Y coordinate counter 102 at this time are "4" and "1", respectively.

そしてこのとき、X方向範囲検出回路105のC入力へ
は「4」が与えられ、CPU501から当該X方向範囲
検出回路105のA入力およびB入力へ与えられる「1
」および「10」の範囲内と判定される。
At this time, "4" is given to the C input of the X direction range detection circuit 105, and "1" is given from the CPU 501 to the A input and B input of the X direction range detection circuit 105.
” and “10”.

また、Y方向範囲検出回路205のC入力へは「1」が
与えられるので、これも同回路205のA入力およびB
入力へ与えられる「1」および「12」の範囲内と判定
される。
Furthermore, since "1" is given to the C input of the Y direction range detection circuit 205, this also applies to the A input and B input of the same circuit 205.
It is determined that the value is within the range of "1" and "12" given to the input.

このため、X方向範囲検出回路105およびY方向範囲
検出回路205の出力は、それぞれ、“1”であり、変
化点抽出回路402の出力は、論理積回路403を通過
し、論理和回路404を介して、X座標用FIFOメモ
リ103およびY座標用FIFOメモリ203へ書込信
号WCKとして与えられ、X座標用FIFOメモリ10
3はX座標カウンタ101のカウント値「4」を取込み
、Y座標用FIFOメモリ203はY座標カウンタ20
1のカウント値「1」を取込む。
Therefore, the outputs of the X-direction range detection circuit 105 and the Y-direction range detection circuit 205 are each "1", and the output of the change point extraction circuit 402 passes through the AND circuit 403 and the OR circuit 404. The write signal WCK is applied to the X-coordinate FIFO memory 103 and the Y-coordinate FIFO memory 203 via the X-coordinate FIFO memory 10
3 takes in the count value "4" of the X coordinate counter 101, and the Y coordinate FIFO memory 203 takes in the count value "4" of the X coordinate counter 101.
The count value of 1 is taken in as "1".

次の画像データD(5,1)も変化点であるから、同様
の処理が行われ、X座標用FIFOメモリ103に「5
」が、Y座標用FIFOメモリ203 rlJが書込ま
れる。
Since the next image data D (5, 1) is also a change point, similar processing is performed and “5, 1” is stored in the X coordinate FIFO memory 103.
” is written in the Y-coordinate FIFO memory 203 rlJ.

このようにして、順次同じ処理が繰返され、X方向範囲
検出回路101およびY方向範囲検出回路205の出力
が、それぞれ“1”の範囲内で、画像データに変化点が
訪れ、変化点抽出回路402の出力がアクティブになる
ごとに、X座標用FIFOメモリ103およびY座標用
FIFOメモリ203に書込信号WCKが与えられて、
X座標カウンタ101およびY座標カウンタ201のカ
ウント値が、それぞれ取込まれる。
In this way, the same processing is repeated one after another, and when the outputs of the X-direction range detection circuit 101 and the Y-direction range detection circuit 205 are each within the range of "1", a change point occurs in the image data, and the change point extraction circuit Every time the output of 402 becomes active, a write signal WCK is given to the X-coordinate FIFO memory 103 and the Y-coordinate FIFO memory 203.
The count values of the X coordinate counter 101 and the Y coordinate counter 201 are respectively taken in.

その結果、座標y−ライン番号−13になったとき、X
座標用FIFOメモリ103の中には、(4,5,3,
6,4,5,3,6,4,6゜4.6.4,6.4.6
,4.6.4.8,5゜が蓄えられており、また、Y座
標用FIFOメモリ203の中には (1,1,2,2,3,3,5,5,6,6゜7、 7
.8.8.9. 9. 10. 10. 11. 11
、 12. 12) が蓄えられている。
As a result, when the coordinate y-line number-13 is reached,
In the coordinate FIFO memory 103, (4, 5, 3,
6,4,5,3,6,4,6゜4.6.4,6.4.6
, 4.6.4.8, 5° are stored, and (1, 1, 2, 2, 3, 3, 5, 5, 6, 6°) are stored in the Y coordinate FIFO memory 203. 7, 7
.. 8.8.9. 9. 10. 10. 11. 11
, 12. 12) is stored.

つまり、表現を変えると、X座標用FIFOメモリ10
3およびY座標用FIFOメモリ203からなる2つ1
組のメモリによって、 座標値(4,1)(5,1)(3,2)(6゜2)(4
,3)(5,3)(3,5)(6,5)(4,6)(6
,6)(4,7)(6,7)(4゜8)(6,8)(4
,9)(6,9)(4,10)(6,10)(4,11
)(8,11)(5,12)(7,12) が蓄えられているのである。
In other words, if expressed differently, the FIFO memory 10 for the X coordinate
3 and Y coordinate FIFO memory 203.
Coordinate values (4, 1) (5, 1) (3, 2) (6° 2) (4
,3)(5,3)(3,5)(6,5)(4,6)(6
,6)(4,7)(6,7)(4°8)(6,8)(4
,9)(6,9)(4,10)(6,10)(4,11
)(8,11)(5,12)(7,12) are stored.

そして、X座標カウンタ101およびY座標カウンタ2
01によってカウントされる現座標が(4,13)にな
ったとき、以下に説明するように、X座標比較回路10
4およびY座標比較回路204から一致信号が出力され
る。
Then, an X coordinate counter 101 and a Y coordinate counter 2
When the current coordinates counted by 01 become (4, 13), the X coordinate comparison circuit 10
4 and Y coordinate comparison circuit 204 output a coincidence signal.

具体的に説明すると、カウントされる現座標が、座標(
4,13)になったとき、X座標比較回路104のB入
力には「4」が、Y座標比較回路204のB入力には[
13jが与えられる。
To be more specific, the current coordinates to be counted are the coordinates (
4, 13), "4" is input to the B input of the X coordinate comparison circuit 104, and "4" is input to the B input of the Y coordinate comparison circuit 204.
13j is given.

一方、X座標用FIFOメモリ103の出力は、一番最
初に蓄積された「4」であり、それはX座標比較回路1
04のA入力へ与えられる。したがって、X座標比較回
路104の八人力とB入力とは一致し、該比較回路10
4から一致信号が出力される。
On the other hand, the output of the X-coordinate FIFO memory 103 is "4" which was accumulated first, which
It is given to the A input of 04. Therefore, the eight inputs of the X coordinate comparison circuit 104 and the B input match, and the comparison circuit 10
A coincidence signal is output from 4.

また、Y座標用FIFOメモリ203の出力は、一番最
初に蓄積された「1」であり、この出力はY座標加算回
路203のA入力へ与えられる。Y座標加算回路202
のB入力には、CPU501からずらし量Ky−12が
与えられている。よって八人力とB入力とが加算された
Y座標加算回路202の出力は「13」となり、その出
力はY座標比較回路204の八人カへ与えられる。した
がって、Y座標比較回路204のA入力とB入力とは一
致し、該比較回路204から一致信号が出力される。
Further, the output of the Y-coordinate FIFO memory 203 is the first stored “1”, and this output is given to the A input of the Y-coordinate addition circuit 203. Y coordinate addition circuit 202
A shift amount Ky-12 is given to the B input of the CPU 501. Therefore, the output of the Y-coordinate addition circuit 202 where the eight inputs and the B input are added becomes "13", and the output is given to the eight inputs of the Y-coordinate comparison circuit 204. Therefore, the A input and B input of the Y coordinate comparison circuit 204 match, and a match signal is output from the comparison circuit 204.

このように、両比較回路104および204の一致信号
が同時に出力されるから、結果として、座標一致論理積
回路301の出力がアクティブになる。
In this way, since the coincidence signals of both comparison circuits 104 and 204 are output simultaneously, the output of the coordinate coincidence AND circuit 301 becomes active as a result.

座標一致論理積回路301の出力はX座標用FIFOメ
モリ103およびY座標用FIFOメモリ203にフィ
ードバックされ、それぞれのメモリに読出信号RCKと
して与えられる。したがって、X座標用FIFOメモリ
103およびY座標用FIFOメモリ203の各最初の
データは捨てられて、各メモリの出力には次のデータ「
5」および「1」、つまり座標値(5,1)がセットさ
れる。
The output of the coordinate matching AND circuit 301 is fed back to the X-coordinate FIFO memory 103 and the Y-coordinate FIFO memory 203, and is given to each memory as a read signal RCK. Therefore, the first data in the X-coordinate FIFO memory 103 and the Y-coordinate FIFO memory 203 are discarded, and the next data "
5" and "1", that is, the coordinate values (5, 1) are set.

また、座標一致論理積回路301の出力はリピートデー
タ生成回路302ヘクロツク入力として与えられるので
、リピートデータ生成回路302のQ出力は“0”から
“1”に変化する。
Further, since the output of the coordinate coincidence AND circuit 301 is given as a clock input to the repeat data generation circuit 302, the Q output of the repeat data generation circuit 302 changes from "0" to "1".

さらに、座標一致論理積回路301の出力は論理和回路
404を介してX座標用FIFOメモリ103およびY
座標用FIFOメモリ203にフィードバックされ、そ
れぞれのメモリに書込信号WCKとして与えられる。し
たがって、このときの現座標値(4,13)は、2つ1
組からなるFIFOメモリ103および203に新たに
蓄えられる。
Furthermore, the output of the coordinate coincidence AND circuit 301 is sent to the X coordinate FIFO memory 103 and the Y coordinate through the OR circuit 404.
It is fed back to the coordinate FIFO memory 203 and given to each memory as a write signal WCK. Therefore, the current coordinate values (4, 13) at this time are two
The data is newly stored in the FIFO memories 103 and 203 consisting of a set of data.

つまり、変化点のX座標値および変化点のY座標値+n
−Y方向ずらし量KV(ただし、n−12,3,・・・
)が、2つ1組からなるFIFOメモリ103および2
03に蓄えられる。
In other words, the X coordinate value of the changing point and the Y coordinate value of the changing point + n
-Y direction shift amount KV (however, n-12, 3,...
) is a set of two FIFO memories 103 and 2.
It is stored in 03.

こうして、X座標用FIFOメモリ103には「変化点
のX座標」が、Y座標用FIFOメモリ203には「変
化点のY座標+n−Ky」が、順次座標値として書き加
えられていく。よって、座標一致論理積回路301の出
力はその座標値ごとにアクティブとなり、リピートデー
タ生成回路302へ与えられることになる。
In this way, the "X coordinate of the change point" is sequentially added to the X coordinate FIFO memory 103 and the "Y coordinate of the change point+n-Ky" to the Y coordinate FIFO memory 203 as coordinate values. Therefore, the output of the coordinate coincidence AND circuit 301 becomes active for each coordinate value, and is supplied to the repeat data generation circuit 302.

その後、カウントされる現座標が座標(5,13)にな
ったときも、同様に、座標一致論理積回路301の出力
がアクティブになり、X座標用FIFOメモリ103お
よびY座標用FIFOメモリ203に読出信号RCKが
入り、各メモリ103.203の出力は、座標値(’3
. 2)に変わり、リピートデータ生成回路302のQ
出力は“1″から0”に反転する。
Thereafter, when the current coordinates to be counted become the coordinates (5, 13), the output of the coordinate coincidence AND circuit 301 becomes active, and the output from the X coordinate FIFO memory 103 and the Y coordinate FIFO memory 203 is The read signal RCK is input, and the output of each memory 103 and 203 is the coordinate value ('3
.. 2), the Q of the repeat data generation circuit 302
The output is inverted from "1" to 0.

以下同様に処理が行われる。The same processing is performed thereafter.

それゆえ、リピートデータ生成回路302の出力を時系
列的に並べると、第3図に示すものとなる。第2図と第
3図との比較から、リピートデータ生成回路302によ
って原画像データがY方向にリピートされていることが
わかる。
Therefore, if the outputs of the repeat data generation circuit 302 are arranged in chronological order, they will be as shown in FIG. From a comparison between FIG. 2 and FIG. 3, it can be seen that the original image data is repeated in the Y direction by the repeat data generation circuit 302.

そしてリピートデータ生成回路302の出力は論理和回
路306へ与えられ、また論理和回路306には原画像
データが与えられているので、該回路306では原画像
データとリピートデータ生成回路302の出力とが合成
される。よって、その出力は第4図に示すものになる。
The output of the repeat data generation circuit 302 is given to the OR circuit 306, and since the OR circuit 306 is given the original image data, the output of the repeat data generation circuit 302 is input to the circuit 306. are synthesized. Therefore, the output is as shown in FIG.

一方、この画像処理回路21Aへ入力される原画像デー
タは、論理和回路306を介してX方向リピート用選択
回路307へ与えられている。X方向リピート用選択回
路307はX方向範囲検出回路105の出力によって切
換えられる回路であり、X方向範囲検出回路105の出
力が“1”すなわちアクティブのときにはA人カデータ
を選択して出力する。
On the other hand, the original image data input to the image processing circuit 21A is provided to the X-direction repeat selection circuit 307 via the OR circuit 306. The X-direction repeat selection circuit 307 is a circuit that is switched by the output of the X-direction range detection circuit 105, and when the output of the X-direction range detection circuit 105 is "1", that is, active, it selects and outputs the A person data.

よって、X方向リピート用FIFOメモリ308には、
上述の原画像データか与えられる。そしてX方向リピー
ト用FIFOメモリ308には、クロックCKが書込信
号WCKおよび読出信号RCKとして与えられているの
で、原画像データがクロックCKに同期して順次蓄えら
れていき、かつ、リアルタイムで原画像データが出力さ
れる。
Therefore, in the FIFO memory 308 for X-direction repeat,
The above-mentioned original image data is given. Since the clock CK is given to the X-direction repeat FIFO memory 308 as a write signal WCK and a read signal RCK, the original image data is sequentially stored in synchronization with the clock CK, and the original image data is stored in real time. Image data is output.

一方、入力される原画像データのX座標値Xががx〉1
0になると、X方向範囲検出回路105の出力は“0”
すなわちノンアクティブとなる。
On the other hand, the X coordinate value X of the input original image data is x>1
When it becomes 0, the output of the X direction range detection circuit 105 becomes “0”
In other words, it becomes non-active.

したがって、X方向リピート用選択回路308はB入力
データを選択して出力するようになる。つまり、X方向
リピート用FIFOメモリ308から読出されたデータ
が再びFIFOメモリ308へ与えられるようになる。
Therefore, the X-direction repeat selection circuit 308 selects and outputs the B input data. In other words, the data read from the X-direction repeat FIFO memory 308 is given to the FIFO memory 308 again.

それゆえ、X方向リビ−ト用FIFOメモリ308には
、繰返し同じ画像データが書込まれ、X方向の座標(1
〜10)の画像データが繰返し出力される。つまり、X
方向の画像データのリピート処理が行われる。
Therefore, the same image data is repeatedly written into the X-direction replay FIFO memory 308, and the X-direction coordinate (1
The image data of 10) to 10) are repeatedly output. In other words, X
Repeat processing of directional image data is performed.

X方向のリピート処理は、原画像データのみでなく、リ
ピートデータ生成回路302から与えられるデータに対
しても施されるため、この画像処理回路21Aの出力は
、第5図に示すものになる。
Since the repeat processing in the X direction is performed not only on the original image data but also on the data provided from the repeat data generation circuit 302, the output of the image processing circuit 21A is as shown in FIG.

第6図は、この発明の他の実施例にかかる画像処理回路
21Bの構成を示すブロック図である。
FIG. 6 is a block diagram showing the configuration of an image processing circuit 21B according to another embodiment of the invention.

第6図に示す画像処理回路21Bの構成上の特徴は、リ
ピートデータ生成回路302と論理和回路306との間
に、多値化回路303およびデイザ比較回路304の直
列接続が挿入されており、かつ、デイザ比較回路304
にデイザマトリクスメモリ305が接続されていること
である。
A feature of the configuration of the image processing circuit 21B shown in FIG. 6 is that a series connection of a multi-value conversion circuit 303 and a dither comparison circuit 304 is inserted between the repeat data generation circuit 302 and the OR circuit 306. And the dither comparison circuit 304
The dither matrix memory 305 is connected to.

多値化回路303のA入力およびB入力には、それぞれ
、CPU501からのデータが与えられている。これら
のデータは、たとえば8ビツトデータであり、16進数
表示において“77h”および“00h“ (hは16
進数表示であることを表わす符号)が与えられている。
Data from the CPU 501 is given to the A input and B input of the multi-level conversion circuit 303, respectively. These data are, for example, 8-bit data, and are expressed in hexadecimal notation as "77h" and "00h" (h is 16
A code is given to indicate that it is expressed in decimal notation.

リピートデータ生成回路302の出力“1”が多値化回
路303に与えられるとき、多値化回路303の出力は
、A入力データである“77h″になる。一方、リピー
トデータ生成回路302の出力“0”が多値化回路30
3に与えられるとき、多値化回路303の出力は、B入
力データである“00h”になる。よって、多値化回路
303がらは、′77h”という中間調濃度データまた
は“00h”という白データが出力されることになる。
When the output "1" of the repeat data generation circuit 302 is given to the multi-value conversion circuit 303, the output of the multi-value conversion circuit 303 becomes "77h" which is the A input data. On the other hand, the output “0” of the repeat data generation circuit 302 is
3, the output of the multi-level conversion circuit 303 becomes "00h" which is B input data. Therefore, the multi-value conversion circuit 303 outputs halftone density data '77h' or white data '00h'.

デイザ比較回路304では、八人力として与えられる多
値化回路303からの出力と、B入力として与えられる
デイザマトリクスメモリ305がらの出力とを比較し、
八人カデータがB入力データよりも小さいとき、すなわ
ち多値化回路303の出力データがデイザマトリクスメ
モリ305の出力データよりも小さいとき、“1”を出
力し、それ以外では“0”を出力する。
The dither comparison circuit 304 compares the output from the multi-level conversion circuit 303, which is given as an input signal, and the output from the dither matrix memory 305, which is given as the B input.
When the 8-person data is smaller than the B input data, that is, when the output data of the multilevel conversion circuit 303 is smaller than the output data of the dither matrix memory 305, it outputs "1", otherwise it outputs "0". do.

つまり、デイザ比較回路304では、A入力として与え
られる多値化回路303からの中間調濃度データ“77
h”を、デイザマトリクスメモリ305を参照して、デ
イザ表現された中間調データにするわけである。
That is, in the dither comparison circuit 304, the halftone density data "77
h'' is converted into dithered halftone data by referring to the dither matrix memory 305.

よって、論理和回路306で合成され、かつ、X方向リ
ピート用選択回路307およびX方向リピート用FIF
Oメモリ308を経て出力されるデータは、原画像デー
タとそれがY方向にリピートされた中間調データとがX
方向にリピートされた第7図に示すものになる。
Therefore, it is synthesized by the OR circuit 306, and the selection circuit 307 for X-direction repeat and the FIF for X-direction repeat
The data output via the O memory 308 is a combination of original image data and halftone data that is repeated in the Y direction.
The result is the one shown in FIG. 7, which is repeated in the direction.

なお、第7図においては、便宜上、中間調データはデイ
ザ表現ではなく、単に、最小単位画素を小さくすること
により表現されている。
Note that in FIG. 7, for convenience, the halftone data is not expressed in dither, but simply expressed by reducing the minimum unit pixel.

また、ディジタル複写機ではなく、たとえばCRTデイ
スプレィのような最小単位データ(画素)を多値化表現
できる表示装置の場合には、多値化回路303の出力を
そのまま論理和回路306に与えればよく、デイザ比較
回路304およびデイザマトリクスメモリ305は省略
することができる。
Furthermore, in the case of a display device such as a CRT display that is capable of expressing the smallest unit of data (pixel) in multiple values rather than a digital copying machine, the output of the multi-value conversion circuit 303 may be fed as is to the OR circuit 306. , dither comparison circuit 304 and dither matrix memory 305 can be omitted.

第1図または第6図に示す回路において、Y方向のみの
画像リピートが必要であれば、X方向リピート用選択回
路およびX方向リピート用FIFOメモリを省略すれば
よいことはもちろんである。
In the circuit shown in FIG. 1 or FIG. 6, if image repeat only in the Y direction is required, it goes without saying that the selection circuit for X direction repeat and the FIFO memory for X direction repeat may be omitted.

また、上述した実施例は、ディジタル複写機を例にとっ
て説明したが、この発明にかかるディジタル画像処理装
置は、ディジタル複写機以外のディジタル画像形成装置
に適用することができるし、画像形成装置以外の装置に
対しても利用することができることを申し添えておく。
Furthermore, although the above-described embodiments have been explained using a digital copying machine as an example, the digital image processing apparatus according to the present invention can be applied to digital image forming apparatuses other than digital copying machines, and can be applied to digital image forming apparatuses other than digital copying machines. It should be noted that it can also be used for equipment.

〈発明の効果〉 この発明によれば、従来装置に比べて相対的に少ない容
量のメモリで画像リピートが可能である。
<Effects of the Invention> According to the present invention, it is possible to repeat images with a relatively small memory capacity compared to conventional devices.

特に、副走査方向の画像リピートが簡単な回路で実現で
きる。
In particular, image repeat in the sub-scanning direction can be realized with a simple circuit.

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

第1図は、この発明の一実施例にかかるディジタル画像
処理回路21Aの構成例を示すブロック図である。 第2図は、処理される現画像データの一例を表わす図で
ある。 第3図は、処理された結果得られるY方向リピートデー
タの例を表わす図である。 第4図は、論理和回路306の出力として得られる画像
データの例を表わす図である。 第5図は、画像処理回路21Aの出力データの例を表わ
す図である。 第6図は、この発明の他の実施例にかかる画像処理回路
21Bの構成例を示すブロック図である。 第7図は、画像処理回路21Bの出力データの一例を表
わす図である。 第8図は、この発明の一実施例にかかる画像処理装置が
適用されたディジタル複写機全体の概略構成図である。 第9図は、この実施例にかかるディジタル複写機におけ
る画像処理関係部分の構成を示すブロック図である。 図において、21,21A、21B・・・画像処理回路
、101・・・X座標カウンタ、103・・・X座標用
FIFOメモリ、104・・X座標比較回路、105・
・・X方向範囲検出回路、201・・・Y座標カウンタ
、202・・・Y座標加算回路、203・・・Y座標用
FIFOメモリ、204・・・Y座標比較回路、205
・・・Y方向範囲検出回路、301・・・座標一致論理
積回路、302・・・リピートデータ生成回路、303
・・・多値化回路、304・・・デイザ比較回路、30
5・・・デイザマトリクスメモリ、306・・・論理和
回路、307・・・X方向リピート用選択回路、308
・・・X方向リピート用FIFOメモリ、401・・・
画像データラッチ回路、402・・・変化点抽出回路、
403・・・論理積回路、404・・・論理和回路、を
示す。
FIG. 1 is a block diagram showing an example of the configuration of a digital image processing circuit 21A according to an embodiment of the present invention. FIG. 2 is a diagram representing an example of current image data to be processed. FIG. 3 is a diagram showing an example of Y-direction repeat data obtained as a result of processing. FIG. 4 is a diagram showing an example of image data obtained as the output of the OR circuit 306. FIG. 5 is a diagram showing an example of output data of the image processing circuit 21A. FIG. 6 is a block diagram showing an example of the configuration of an image processing circuit 21B according to another embodiment of the invention. FIG. 7 is a diagram showing an example of output data of the image processing circuit 21B. FIG. 8 is a schematic diagram of the entire digital copying machine to which an image processing apparatus according to an embodiment of the present invention is applied. FIG. 9 is a block diagram showing the configuration of image processing related parts in the digital copying machine according to this embodiment. In the figure, 21, 21A, 21B...image processing circuit, 101...X coordinate counter, 103...X coordinate FIFO memory, 104...X coordinate comparison circuit, 105...
...X direction range detection circuit, 201...Y coordinate counter, 202...Y coordinate addition circuit, 203...FIFO memory for Y coordinate, 204...Y coordinate comparison circuit, 205
. . . Y direction range detection circuit, 301 . . . Coordinate matching AND circuit, 302 . . . Repeat data generation circuit, 303
. . . Multi-value conversion circuit, 304 . . . Dither comparison circuit, 30
5... Dither matrix memory, 306... OR circuit, 307... X-direction repeat selection circuit, 308
...FIFO memory for X direction repeat, 401...
Image data latch circuit, 402... change point extraction circuit,
403: AND circuit; 404: OR circuit.

Claims (1)

【特許請求の範囲】 1、与えられるディジタル画像データを処理するための
ディジタル画像処理装置であって、ディジタル画像デー
タは、ラインデータが複数本並んで構成されているもの
において、前記ディジタル画像データが時系列的に順次
入力される入力手段、 入力手段に入力される先行する画像データに対して後続
する画像データが変化したか否かを判別し、変化が生じ
たときに出力を導出するデータ変化点検出手段、 入力手段に入力される画像データに、順次アドレスを付
与するためのアドレス付与手段、画像データをリピート
処理するために必要なずらし量を出力するものであって
、ずらし量にはライン並び方向のずらし量が含まれてい
るずらし量出力手段、 アドレスを記憶するための記憶手段であって、記憶順と
同順に、記憶されているアドレスを順次出力することの
できるアドレス記憶手段、 記憶手段から出力されるアドレスにずらし量出力手段か
ら出力されるずらし量を加えてリピート用アドレスを算
出するリピートアドレス算出手段、 アドレス付与手段が付与するアドレスとリピートアドレ
ス算出手段で算出されたアドレスとを比較し、両者が一
致したときに一致信号を出力する一致信号出力手段、 一致信号出力手段から一致信号が出力されるごとに、ア
ドレス記憶手段から出力されるアドレスを1つ新しいも
のに更新する読出し制御手段、 データ変化点検出手段の出力があるごとに、また、一致
信号出力手段から一致信号が出力されるごとに、アドレ
ス付与手段が付与するそのときのアドレスを記憶手段に
記憶させる書込み制御手段、 第1レベルまたは第2レベルの2値出力のいずれかを常
時導出するものであって、前記一致信号に応答して出力
レベルを反転させるリピートデータ生成手段、ならびに 入力手段へ入力された画像データおよびリピートデータ
生成手段から出力されるリピートデータを合成して出力
する合成手段、 を含むことを特徴とするディジタル画像処理装置。 2、請求項第1項記載のディジタル画像処理装置は、さ
らに、 合成手段の出力段に設けられ、各ラインデータが出力さ
れる際に、ラインデータの一部がライン長さ方向に反復
出力されるようにしたライン長さ方向リピート手段を含
むことを特徴とするものである。 3、請求項第1項記載のディジタル画像処理装置におい
て、 リピートデータ生成手段は、さらに、第1レベルまたは
第2レベルの少なくともいずれかの出力を、第1レベル
と第2レベルとの間の中間レベルの出力に変換する中間
レベル信号出力手段を含むことを特徴とするものである
[Claims] 1. A digital image processing device for processing given digital image data, where the digital image data is composed of a plurality of line data lined up, in which the digital image data is An input means that inputs data sequentially in chronological order, and a data change that determines whether or not subsequent image data has changed with respect to the preceding image data that is input to the input means, and derives an output when a change occurs. A point detecting means, an address assigning means for sequentially assigning addresses to the image data inputted to the input means, and a shift amount necessary for repeat processing of the image data, and the shift amount includes a line. A shift amount output means that includes a shift amount in the alignment direction; an address memory means for storing addresses, and capable of sequentially outputting the stored addresses in the same order as the memory order; repeat address calculation means for calculating a repeat address by adding the shift amount output from the shift amount output means to the address output from the means; A match signal output means that compares and outputs a match signal when the two match, and a read that updates the address output from the address storage means to a new one each time a match signal is output from the match signal output means. control means; write control means for storing the current address assigned by the address assignment means in the storage means each time there is an output from the data change point detection means and every time a coincidence signal is output from the coincidence signal output means; , a repeat data generation means for always deriving either a first level or a second level binary output and inverting the output level in response to the coincidence signal, and image data input to the input means. and a synthesizing means for synthesizing and outputting the repeat data output from the repeat data generating means. 2. The digital image processing device according to claim 1 is further provided in the output stage of the synthesizing means, and when each line data is output, a part of the line data is repeatedly output in the line length direction. The present invention is characterized in that it includes a line longitudinal direction repeating means. 3. In the digital image processing apparatus according to claim 1, the repeat data generating means further converts the output of at least one of the first level and the second level into an intermediate level between the first level and the second level. The present invention is characterized in that it includes intermediate level signal output means for converting into a level output.
JP2279686A 1990-10-17 1990-10-17 Digital image processor Pending JPH04153783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2279686A JPH04153783A (en) 1990-10-17 1990-10-17 Digital image processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2279686A JPH04153783A (en) 1990-10-17 1990-10-17 Digital image processor

Publications (1)

Publication Number Publication Date
JPH04153783A true JPH04153783A (en) 1992-05-27

Family

ID=17614458

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2279686A Pending JPH04153783A (en) 1990-10-17 1990-10-17 Digital image processor

Country Status (1)

Country Link
JP (1) JPH04153783A (en)

Similar Documents

Publication Publication Date Title
US4196453A (en) Image screening system
JPH11175710A (en) Picture forming device
JPH04153783A (en) Digital image processor
JP3021019B2 (en) Digital image processing device
JP2922618B2 (en) Digital image processing device
JPH023585B2 (en)
US5764370A (en) Enlargement and reduction apparatus for an image forming apparatus
JP3021018B2 (en) Digital image processing device
JP2877603B2 (en) Image processing device
JP2752018B2 (en) Image forming device
JP3021027B2 (en) Digital image data processing device
JP3691732B2 (en) Image processing device
JP3793050B2 (en) Multiple arithmetic circuit
JP3137334B2 (en) Digital image data processing device
JPH01225284A (en) Picture processor
JP2977608B2 (en) Image edge processing device
JPH09321989A (en) Edge area detector
JP2922629B2 (en) Digital image data processing device
JPH043656A (en) Picture processor
JP3382263B2 (en) Image processing apparatus and control method thereof
JPH0626431B2 (en) Image italicization processor
JPH11306342A (en) Picture processor
JP2002014805A (en) Multiple arithmetic circuit
JPH11215359A (en) Image processor and image processing method
JPH03174871A (en) Digital picture data processor