JP3021019B2 - Digital image processing device - Google Patents

Digital image processing device

Info

Publication number
JP3021019B2
JP3021019B2 JP27968590A JP27968590A JP3021019B2 JP 3021019 B2 JP3021019 B2 JP 3021019B2 JP 27968590 A JP27968590 A JP 27968590A JP 27968590 A JP27968590 A JP 27968590A JP 3021019 B2 JP3021019 B2 JP 3021019B2
Authority
JP
Japan
Prior art keywords
output
data
shift amount
line
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP27968590A
Other languages
Japanese (ja)
Other versions
JPH04154270A (en
Inventor
辰夫 笹原
Original Assignee
三田工業株式会社
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 三田工業株式会社 filed Critical 三田工業株式会社
Priority to JP27968590A priority Critical patent/JP3021019B2/en
Publication of JPH04154270A publication Critical patent/JPH04154270A/en
Application granted granted Critical
Publication of JP3021019B2 publication Critical patent/JP3021019B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】 <産業上の利用分野> この発明は、画像データをディジタル的に処理する画
像処理装置に関するものである。特に、この発明は、デ
ィジタル複写機、ディジタルプリンタ、ディジタルファ
クシミリ等のディジタル画像形成装置のための画像処理
装置に関するものである。
Description: TECHNICAL FIELD The present invention relates to an image processing apparatus for digitally processing image data. In particular, the present invention relates to an image processing apparatus for a digital image forming apparatus such as a digital copying machine, a digital printer, and a digital facsimile.

<従来の技術> たとえばディジタル複写機を例にとって説明すると、
最近のディジタル複写機には、第10A図に示すような文
字「mita」という原画像を変形して、第10B図に示すよ
うな変形文字を出力できるものが存在する。
<Prior Art> For example, taking a digital copying machine as an example,
Some recent digital copiers are capable of transforming an original image of the character "mita" as shown in FIG. 10A and outputting a modified character as shown in FIG. 10B.

従来のディジタル複写機において、このような画像変
形処理を部分的に行うためには、たとえば複数本のライ
ンメモリおよびライン補正回路というかなり複雑な回路
構成が必要であった。あるいは1画面分の画像データを
全部記憶可能なページメモリが必要であった。
In a conventional digital copying machine, in order to partially perform such image deformation processing, a considerably complicated circuit configuration such as a plurality of line memories and a line correction circuit was required. Alternatively, a page memory capable of storing all image data for one screen is required.

<発明が解決しようとする課題> このように、従来のディジタル複写機で画像変形処理
をするためには、複数本のラインメモリおよび複雑な補
正回路を必要としたり、またはページメモリを必要とし
て、装置のコストが高くなるという欠点があった。
<Problems to be Solved by the Invention> As described above, in order to perform the image deformation processing in the conventional digital copying machine, a plurality of line memories and a complicated correction circuit are required, or a page memory is required. There is a disadvantage that the cost of the apparatus is increased.

他のディジタル画像処理装置においても、同様の欠点
があった。
Other digital image processing devices have similar disadvantages.

そこでこの発明は、従来技術の欠点を解消して、比較
的小容量のメモリと簡単な付属回路のみによって画像変
形処理を行うことができるディジタル画像処理装置を提
供することを目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a digital image processing apparatus which can solve the disadvantages of the prior art and can perform image deformation processing only with a relatively small-capacity memory and a simple attached circuit.

<課題を解決するための手段> 第1の発明は、与えられるディジタル画像データを処
理するためのディジタル画像処理装置であって、ディジ
タル画像データは、複数個の画素からなるラインデータ
が複数本並んで構成された2次元データであり、各画素
は基準クロックに同期して順次処理され、各ラインデー
タはライン同期信号に同期して順次処理されるものにお
いて、前記ディジタル画像データが時系列的に画素単位
で順次入力される入力手段、入力手段に入力する先行す
る画素に対して後続する画素が変化したか否かを判別
し、変化が生じたときに出力を導出するデータ変化点検
出手段、入力手段に入力される画素に、順次アドレスを
付与するためのアドレス付与手段、画像変形のために必
要なずらし量を出力するものであって、ずらし量にはラ
イン長さ方向のずらし量が含まれており、該ライン長さ
方向のずらし量は、前記基準クロックに比例して変化
し、かつ前記ライン同期信号によって初期値にリセット
されるようにされたずらし量出力手段、データ変化点検
出手段の出力があるごとに、アドレス付与手段が付与す
るそのときのアドレスにずらし量出力手段から出力され
るそのときのずらし量を付加した変形アドレスを求め、
その変形アドレスを記憶するための演算記憶手段、アド
レス付与手段が付与するアドレスと演算記憶手段に記憶
されている変形アドレスとを比較し、両者が一致したと
きに一致信号を出力する一致信号出力手段、ならびに第
1レベルまたは第2レベルの2値出力のいずれかを常時
導出するものであって、前記一致信号に応答して出力レ
ベルを反転させる変形データ生成手段、を含むことを特
徴とするものである。
<Means for Solving the Problems> A first invention is a digital image processing apparatus for processing given digital image data, wherein the digital image data includes a plurality of line data composed of a plurality of pixels. Wherein each pixel is sequentially processed in synchronization with a reference clock, and each line data is sequentially processed in synchronization with a line synchronization signal. An input means sequentially input in pixel units, a data change point detection means for determining whether or not a subsequent pixel has changed with respect to a preceding pixel input to the input means, and deriving an output when a change occurs; Address assigning means for sequentially assigning addresses to pixels input to the input means, and outputting a shift amount necessary for image deformation; The amount includes a shift amount in the line length direction, and the shift amount in the line length direction changes in proportion to the reference clock, and is reset to an initial value by the line synchronization signal. Each time there is an output of the shifted amount output means and the data change point detecting means, a deformed address is obtained by adding the current shift amount output from the shifted amount output means to the current address given by the address assigning means. ,
Arithmetic storage means for storing the modified address, a coincidence signal output means for comparing the address given by the address assigning means with the modified address stored in the arithmetic storage means and outputting a coincidence signal when the two coincide with each other And a modified data generating means for constantly deriving either the first level or the second level binary output and inverting the output level in response to the coincidence signal. It is.

また第1の発明は、前記ディジタル画像処理装置にお
いて、変形データ生成手段は、さらに、第1レベルまた
は第2レベルの少なくともいずれかの出力を、第1レベ
ルと第2レベルとの間の中間レベルの出力に変換する中
間レベル信号出力手段を含むことを特徴とするものであ
る。
According to a first aspect of the present invention, in the digital image processing device, the deformed data generating means further outputs at least one of the first level and the second level to an intermediate level between the first level and the second level. And an intermediate level signal output unit for converting the output into an output of the intermediate level.

さらにまた第1の発明は、前記ディジタル画像処理装
置において、ずらし量出力手段が出力するずらし量に
は、さらに、ライン並び方向のずらし量が含まれてお
り、該ライン並び方向のずらし量は予め定める固定量で
あることを特徴とするものである。
Still further, according to a first aspect of the present invention, in the digital image processing apparatus, the shift amount output by the shift amount output means further includes a shift amount in the line arrangement direction, and the shift amount in the line arrangement direction is set in advance. It is characterized in that it is a fixed amount to be determined.

また第1の発明は、前記ディジタル画像処理装置にお
いて、ずらし量出力手段が出力するずらし量には、さら
に、ライン並び方向のずらし量が含まれており、該ライ
ン並び方向のずらし量は、前記ライン同期信号に比例し
て変化するようにされていることを特徴とするものであ
る。
Also, in the first invention, in the digital image processing apparatus, the shift amount output by the shift amount output unit further includes a shift amount in a line arrangement direction, and the shift amount in the line arrangement direction is It is characterized in that it changes in proportion to the line synchronization signal.

第2の発明は、与えられるディジタル画像データを処
理するためのディジタル画像処理装置であって、ディジ
タル画像データは、ラインデータが複数本並んで構成さ
れており、各ラインデータはライン同期信号に同期して
順次処理されるものにおいて、前記ディジタル画像デー
タが時系列的に順次入力される入力手段、入力手段に入
力される先行する画像データに対して後続する画像デー
タが変化したか否かを判別し、変化が生じたときに出力
を導出するデータ変化点検出手段、入力手段に入力され
る画像データに、順次アドレスを付与するためのアドレ
ス付与手段、画像変形のために必要なずらし量を出力す
るものであって、ずらし量には少なくともライン並び方
向のずらし量が含まれており、該ライン並び方向のずら
し量は、ライン同期信号に比例して変化するようにされ
ているずらし量出力手段、データ変化点検出手段の出力
があるごとに、アドレス付与手段が付与するそのときの
アドレスにずらし量出力手段から出力されるずらし量を
付加した変形アドレスを求め、その変形アドレスを記憶
するための演算記憶手段、アドレス付与手段が付与する
アドレスと演算記憶手段に記憶されている変形アドレス
とを比較し、両者が一致したときに一致信号を出力する
一致信号出力手段、第1レベルまたは第2レベルの2値
出力のいずれかを常時導出するものであって、前記一致
信号に応答して出力レベルを反転させる変形データ生成
手段、1ライン分の変形データが記憶可能なラインデー
タ記憶手段、ずらし量出力手段から出力されるライン並
び方向のずらし量に基づいて、変形データを繰返し出力
する必要があるか否かを判別する判別手段、ならびに判
別手段が必要ありと判別したとき、変形データ生成手段
から導出される変形データをラインデータ記憶手段に記
憶させず、かつ、ラインデータ記憶手段に既に記憶され
ている変形データを順次読出し、判別手段が必要なしと
判別したとき、変形データ生成手段から導出される変形
データを順次ラインデータ記憶手段に記憶させてライン
データ記憶手段の記憶内容を更新させ、かつ、ラインデ
ータ記憶手段に記憶された変形データを順次読出す制御
手段、を含むことを特徴とすものである。
A second invention is a digital image processing apparatus for processing given digital image data, wherein the digital image data is constituted by arranging a plurality of line data, and each line data is synchronized with a line synchronization signal. Input means for sequentially inputting the digital image data in chronological order, and determining whether subsequent image data has changed with respect to preceding image data input to the input means. A data change point detecting means for deriving an output when a change occurs, an address assigning means for sequentially assigning an address to image data inputted to the input means, and outputting a shift amount necessary for image deformation. The shift amount includes at least the shift amount in the line arrangement direction. The shift amount in the line arrangement direction is Each time there is an output of the shift amount output means and the data change point detecting means which are changed in proportion to the signal, the shift amount output from the shift amount output means to the current address given by the address assigning means. The modified address obtained by adding the modified address is calculated, the operation storage means for storing the modified address, and the address assigned by the address assigning means are compared with the modified address stored in the operation storage means. A coincidence signal output means for outputting a signal; a modified data generation means for constantly deriving either a first level or a second level binary output, and inverting an output level in response to the coincidence signal; Based on the shift amount in the line arrangement direction output from the line data storage means and the shift amount output means capable of storing the deformation data for the line, Determination means for determining whether or not it is necessary to repeatedly output data, and when determining that the determination means is necessary, without storing the deformation data derived from the deformation data generation means in the line data storage means, and The deformed data already stored in the line data storing means is sequentially read out, and when it is determined that the determining means is unnecessary, the deformed data derived from the deformed data generating means is sequentially stored in the line data storing means, and the line data storing means is stored. And a control means for updating the stored contents and sequentially reading the deformed data stored in the line data storage means.

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

さらにまた第2の発明は、前記ディジタル画像処理装
置において、ずらし量出力手段が出力するずらし量に
は、さらに、ライン長さ方向のずらし量が含まれてお
り、該ライン長さ方向のずらし量は予め定める固定量で
あることを特徴とするものである。
Still further, according to a second aspect of the present invention, in the digital image processing apparatus, the shift amount output by the shift amount output means further includes a shift amount in the line length direction, and the shift amount in the line length direction. Is a predetermined fixed amount.

また第2の発明は、前記ディジタル画像処理装置にお
いて、ラインデータは複数個の画素からなっており、各
画素は基準クロックに同期して順次処理されるものであ
り、ずらし量出力手段が出力するずらし量には、さら
に、ライン長さ方向のずらし量が含まれており、該ライ
ン長さ方向のずらし量は、前記基準クロックに比例して
変化し、かつ前記ライン同期信号によって初期値にリセ
ットされるようにされていることを特徴とするものであ
る。
According to a second aspect of the present invention, in the digital image processing apparatus, the line data is composed of a plurality of pixels, and each pixel is sequentially processed in synchronization with a reference clock. The shift amount further includes a shift amount in the line length direction. The shift amount in the line length direction changes in proportion to the reference clock, and is reset to an initial value by the line synchronization signal. It is characterized by being made to be performed.

<作用> 第1の発明によれば、入力される画像データに変化点
が生じたときに、その変化点がデータ変化点検出手段で
検出される。そして、その変化点のアドレスに対して所
定のずらし量が付加された変形画像の変化点アドレスが
演算されかつ記憶される。そして、入力される画像デー
タのアドレスが、演算されて記憶された変形画像の変化
点アドレスと一致したときに一致信号が出力されて、変
形データ生成手段の出力レベルが反転される。変形デー
タ生成手段は、2値出力、たとえば白レベルまたは黒レ
ベルの出力を導出するものであり、変形データ変化点に
おいてその出力が反転される。よって、変形データ生成
手段の出力は、画像データが所定のずらし量だけシフト
されて変形された変形データとなる。
<Operation> According to the first aspect, when a change point occurs in the input image data, the change point is detected by the data change point detecting means. Then, a change point address of the deformed image in which a predetermined shift amount is added to the address of the change point is calculated and stored. Then, when the address of the input image data matches the change point address of the calculated and stored deformed image, a match signal is output, and the output level of the deformed data generating means is inverted. The deformed data generating means derives a binary output, for example, an output of a white level or a black level, and the output is inverted at a point where the deformed data changes. Therefore, the output of the deformed data generating means is deformed data obtained by shifting the image data by a predetermined shift amount and deforming the image data.

なぜならば、画像変形のために必要な画像のずらし量
は、ライン長さ方向に基準クロックに比例して変化可能
にされている。したがって、ライン長さ方向の変形画像
の幅を原画像の幅に対して変化させることができ、ライ
ン長さ方向に、原画像を伸ばしまたは縮めることができ
るからである。
This is because the amount of image shift required for image deformation can be changed in the line length direction in proportion to the reference clock. Therefore, the width of the deformed image in the line length direction can be changed with respect to the width of the original image, and the original image can be expanded or contracted in the line length direction.

第2の発明によれば、画像変形のために必要な画像の
ずらし量は、ライン並び方向にライン同期信号に比例し
て変化可能にされている。したがって、ライン並び方向
の画像の幅を原画像の幅に対して変化させることができ
る。
According to the second aspect, the amount of image shift required for image deformation can be changed in the line arrangement direction in proportion to the line synchronization signal. Therefore, the width of the image in the line arrangement direction can be changed with respect to the width of the original image.

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

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

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

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

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

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

感光体ドラム25の周囲には帯電チャージャ26、現像装
置27、転写,分離チャージャ28、クリーナ29等の公知の
部材が配置されており、電子写真方式によって感光体ド
ラム25表面に静電潜像が形成され、潜像はトナー像に現
像される。そしてトナー像は、用紙カセット30から取込
まれ、レジストローラ31によってタイミングが合わされ
て感光体ドラム25へ与えられる用紙に転写される。そし
て、トナー像が転写された用紙は搬送ベルト32で搬送さ
れ、定着装置33へ送られる。定着装置33では用紙上のト
ナー像が定着され、定着が完了したコピー済用紙は排出
トレイ34へ排出される。
Known members such as a charger 26, a developing device 27, a transfer / separation charger 28, and a cleaner 29 are arranged around the photoconductor drum 25. An electrostatic latent image is formed on the surface of the photoconductor drum 25 by an electrophotographic method. Once formed, the latent image is developed into a toner image. Then, the toner image is taken from the paper cassette 30, and is transferred to the paper supplied to the photosensitive drum 25 at a timing adjusted by the registration roller 31. Then, the sheet on which the toner image has been transferred is conveyed by the conveying belt 32 and sent to the fixing device 33. In the fixing device 33, the toner image on the paper is fixed, and the copied paper on which the fixing is completed is discharged to the discharge tray.

第9図は、上述したディジタル複写機における画像処
理関係部分の構成を示すブロック図である。CCDライン
イメージセンサ20で読取られた原稿画像データは、増幅
器41で増幅され、A/Dコンバータ42でアナログデータか
らディジタルデータに変換され、画像処理回路21へ与え
られる。そして、画像処理回路21で処理された出力画像
データは、レーザダイオード22へ与えられて、レーザダ
イオード22を発光させる。
FIG. 9 is a block diagram showing a configuration of a part related to image processing in the digital copying machine described above. Original image data read by the CCD line image sensor 20 is amplified by an amplifier 41, converted from analog data to digital data by an A / D converter 42, and provided to the image processing circuit 21. Then, the output image data processed by the image processing circuit 21 is provided to the laser diode 22 to cause the laser diode 22 to emit light.

さらに、クロック発振器46およびライン同期信号発生
回路45が備えられている。クロック発振器46から出力さ
れる基準クロックCKは、タイミング発生回路44、A/Dコ
ンバータ42および画像処理回路21へ与えられ、また、ラ
イン同期信号発生回路45から出力されるライン同期信号
Hsyncは、画像処理回路21およびタイミング発生回路44
へ与えられる。
Further, a clock oscillator 46 and a line synchronization signal generation circuit 45 are provided. The reference clock CK output from the clock oscillator 46 is supplied to the timing generation circuit 44, the A / D converter 42, and the image processing circuit 21, and the line synchronization signal output from the line synchronization signal generation circuit 45
Hsync is connected to the image processing circuit 21 and the timing generation circuit 44.
Given to.

ここに、タイミング発生回路44は、CCDラインイメー
ジセンサ20の画像データ読取タイミングおよび画像デー
タ出力タイミングを制御するためのものである。つま
り、CCDラインイメージセンサ20は、クロック発振器46
から出力される基準クロックCKに同期信号Hsyncによっ
て、ラインごとに同期して動作を行うとともに、ライン
同期信号発生回路45から出力されるライン同期して動作
を行う。画像処理回路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. That is, the CCD line image sensor 20 is
The operation is performed for each line in synchronization with the reference signal CK output from the synchronous circuit Hsync, and the operation is performed in line with the line output from the line synchronization signal generation circuit 45. Similarly, the image processing circuit 21 operates in synchronization with the reference clock CK and the line synchronization signal Hsync.

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

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

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

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

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

102…X座標加算回路 X座標カウンタ101で計算された座標x(A入力とし
て与えられる)に、X方向におけるずらし量Kx(B入力
として与えられる)を加算するための回路である。
102 X-coordinate addition circuit A circuit for adding a shift amount Kx (given as a B input) in the X direction to the coordinate x (given as an A input) calculated by the X-coordinate counter 101.

103…X座標用ファーストインファーストアウトメモリ
(X座標用FIFOメモリ) X座標加算回路102で加算された座標値(x+Kx)を
蓄えるためのメモリである。
103... X-coordinate first-in first-out memory (X-coordinate FIFO memory) A memory for storing the coordinate value (x + Kx) added by the X-coordinate addition circuit 102.

なお、蓄えられる座標値(x+Kx)は、X方向におけ
る画像データの変化点の座標Xnにずらし量Kxを加えた値
(Xn+Kx)、つまり変形データの変化点の座標値のみに
なるように、後述する書込信号WCKで制御されている。
Note that the stored coordinate value (x + Kx) will be a value obtained by adding the shift amount Kx to the coordinate Xn of the change point of the image data in the X direction (Xn + Kx), that is, only the coordinate value of the change point of the deformation data will be described later. Is controlled by the write signal WCK.

104…X座標比較回路 X座標用FIFOメモリ103に蓄えられた座標値(Xn+K
x)と現在の座標xとを比較し、一致したときに一致信
号を出力するための回路である。
104: X coordinate comparison circuit Coordinate values (Xn + K) stored in the X coordinate FIFO memory 103
This is a circuit for comparing x) with the current coordinate x and outputting a match signal when they match.

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

106…Kx生成回路 Kx生成回路106は、CPU501の指示に従って、画像に影
を付けるのに必要なX方向における影のずらし量Kxを算
出するための回路である。
106... Kx generation circuit The Kx generation circuit 106 is a circuit for calculating a shadow shift amount Kx in the X direction necessary for adding a shadow to an image in accordance with an instruction from the CPU 501.

より詳しく説明すると、Kx生成回路106にはクロックC
Kが与えられるようにされており、該生成回路106で生成
されるずらし量Kxは、クロックCKに同期して、たとえば
0.5ずつ増加するようにされている。Kx生成回路106で生
成されたずらし量Kxは、X座標加算回路102のB入力に
与えられる。
More specifically, the clock C is applied to the Kx generation circuit 106.
K is given, and the shift amount Kx generated by the generation circuit 106 is synchronized with the clock CK, for example,
It is made to increase by 0.5. The shift amount Kx generated by the Kx generation circuit 106 is given to the B input of the X coordinate addition circuit 102.

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

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.

202…Y座標加算回路 Y座標カウンタ201で計算された座標y(A入力とし
て与えられる)に、Y方向におけるずらし量Ky(B入力
として与えられる)を加算するための回路である。
202... Y coordinate addition circuit A circuit for adding a shift amount Ky (given as a B input) in the Y direction to the coordinate y (given as an A input) calculated by the Y coordinate counter 201.

203…Y座標用ファーストインファーストアウトメモリ
(Y座標用FIFOメモリ) Y座標加算回路202で加算された座標値(y+Ky)を
蓄えるためのメモリである。
203... Y-coordinate first-in first-out memory (Y-coordinate FIFO memory) A memory for storing the coordinate value (y + Ky) added by the Y-coordinate addition circuit 202.

なお、蓄えられる座標値(y+Ky)は、Y方向におけ
る画像データの変化点の座標Ynにずらし量Kyを加えた値
(Yn+Ky)、つまり変形データの変化点の座標値のみに
なるように、後述する書込信号WCKで制御されている。
Note that the stored coordinate value (y + Ky) is a value obtained by adding the shift amount Ky to the coordinate Yn of the change point of the image data in the Y direction (Yn + Ky), that is, only the coordinate value of the change point of the deformation data is described later. Is controlled by the write signal WCK.

204…Y座標比較回路 Y座標用FIFOメモリ203に蓄えられた座標値(Yn+K
y)と現在の座標yとを比較し、一致したときに一致信
号を出力するための回路である。
204: Y coordinate comparison circuit Coordinate values (Yn + K) stored in Y coordinate FIFO memory 203
This is a circuit for comparing y) with the current coordinate y and outputting a match signal when they match.

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

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

X座標比較回路104、Y座標比較回路204および座標一
致論理積回路301により、次の処理がなされている。
The following processing is performed by the X coordinate comparison circuit 104, the Y coordinate comparison circuit 204, and the coordinate coincidence AND circuit 301.

すなわち、現在の座標(x,y)がX座標用FIFOメモリ1
03およびY座標用FIFOメモリ203に蓄えられた変形デー
タの変化点座標値(Xn+Kx,Yn+Ky)になったか否かが
判別され、なった場合に出力が導出される構成になって
いるのである。
That is, the current coordinate (x, y) is stored in the X coordinate FIFO memory 1
It is determined whether or not the change point coordinate values (Xn + Kx, Yn + Ky) of the deformation data stored in the 03 and Y coordinate FIFO memories 203 have been reached.

302…変形データ生成回路 この回路は、この例では、Dフリップフロップによっ
て構成されている。
302... Deformed data generation circuit In this example, this circuit is configured by a D flip-flop.

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

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

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

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

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

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

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

次に、第1図の画像処理回路21Aの動作について、具
体的な画像データを参照しながら説明をする。
Next, the operation of the image processing circuit 21A in FIG. 1 will be described with reference to specific image data.

今、CCDラインイメージセンサ20(第8図,第9図参
照)によって読取られたデータが、第2図に示す画像デ
ータである場合を考える。
Now, consider the case where the data read by the CCD line image sensor 20 (see FIGS. 8 and 9) is the image data shown in FIG.

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

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

第2図に示す画像データに対して、X方向へのずらし
量Kxが、クロックCK、換言すれば座標xに同期して0.5
ずつ増加する場合を考える。
The amount of shift Kx in the X direction with respect to the image data shown in FIG.
Let's consider a case where the number increases by one.

つまり、 Kx=INT(x/2) ただし、INT()は、整数化を意味する関数である。That is, Kx = INT (x / 2) where INT () is a function meaning integer conversion.

この実施例では、X方向へのずらし量Kxが、クロック
CKに同期して0.5ずつ増えるものとしたので、後述する
ように、処理されて出力される画像は、原画像をX方向
に一様に太くした画像になる。
In this embodiment, the shift amount Kx in the X direction is determined by the clock.
Since the increment is incremented by 0.5 in synchronization with CK, the processed and output image is an image obtained by uniformly thickening the original image in the X direction, as described later.

なお、ずらし量Kxは、クロックCKに入力に比例して変
化するのであれば、その変化の割合は、任意の関数で表
わされる割合であればよい。たとえば、クロックCKに同
期して、Kxが2乗の割合で増加するものでもよい。その
場合、出力画像は、原画像を、X方向に向って次第に太
くした画像になる。
If the shift amount Kx changes in proportion to the input to the clock CK, the rate of the change may be a rate represented by an arbitrary function. For example, Kx may increase at the rate of the square of 2 in synchronization with the clock CK. In that case, the output image is an image in which the original image is gradually thickened in the X direction.

また、Y方向へのずらし量Kyは、Ky=5座標の一定と
する。
Further, the shift amount Ky in the Y direction is assumed to be constant at Ky = 5 coordinates.

さらに、画像変形処理は、X方向の座標(1〜24)、
Y方向の座標(1〜28)の領域の画像に対して行うもの
とする。
Further, the image deformation processing includes X-direction coordinates (1 to 24),
It is assumed that the processing is performed on the image in the area of the coordinates (1 to 28) in the Y direction.

第9図に示す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)… : : : : : : : : : と画像処理回路21Cへ流れ込んでくる。
Image data read by the CCD line image sensor 20 shown in FIG. 9, amplified by the amplifying circuit 41, and converted to a digital signal by the A / D converter 42 is converted in time series into 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,1) 3)::::::::::: and flows into the image processing circuit 21C.

ここで、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 “0”
Or “1”.

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

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

また、最初のクロックCKが与えられる直前は、変化点
抽出回路402のA入力には、上記画像データラッチ回路4
01のQ出力“0"がセットされ、B入力には、最初の画像
データD(1,1)=“0"がセットされる。よって、変化
点抽出回路402の出力はノンアクティブである。
Immediately before the first clock CK is applied, the A input of the change point extraction circuit 402 is connected to the image data latch circuit 4.
The Q output “0” of 01 is set, and the first image data D (1,1) = “0” is set to the B input. Therefore, the output of the change point extraction circuit 402 is non-active.

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

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

よって、次のクロックCKが与えられる直前は、変化点
抽出回路402のA入力には画像データラッチ回路401でラ
ッチされた画像データD(1,1)がセットされ、B入力
には画像データD(2,1)がセットされる。これら画像
データD(1,1)およびD(2,1)は、第2図に示すとお
り、共に“0"なので、変化点抽出回路402の出力はノン
アクティブである。
Therefore, immediately before the next clock CK is applied, the image data D (1,1) latched by the image data latch circuit 401 is set to the A input of the change point extraction circuit 402, and the image data D is input to the B input. (2,1) is set. 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 non-active.

このとき、X座標カウンタ101はクロックCKを1つカ
ウントして「2」になり、Y座標カウンタ201は「1」
のままである。
At this time, the X-coordinate counter 101 counts one clock CK to be “2”, and the Y-coordinate counter 201 has “1”.
Remains.

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

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

このとき、変化点抽出回路402のA入力には、画像デ
ータラッチ回路401でラッチされたD(3,2)がセットさ
れ、B入力には、D(4,2)がセットされる。ここに、
D(3,2)は“0"、D(4,2)は“1"であるから、変化点
抽出回路402の出力はアクティブになる。
At this time, D (3,2) latched by the image data latch circuit 401 is set to the A input of the change point extraction circuit 402, and D (4,2) is set to the B input. here,
Since D (3,2) is “0” and D (4,2) is “1”, the output of the change point extraction circuit 402 becomes active.

また、このときのX座標カウンタ101およびY座標カ
ウンタ102の値は、それぞれ、「4」および「2」であ
る。さらに、X座標加算回路102のB入力に与えられる
ずらし量Kxは、 Kx=INT(4/2)=2 であり、A入力に与えられる値は「4」であるから、A
入力に与えられる「4」とB入力に与えられる「2」と
を加算したそのA+B出力は「6」となる。また、Y座
標加算回路202は、A入力に与えられる「2」とB入力
に与えられる「Ky=5」とを加算して、そのA+B出力
は「7」となる。
At this time, the values of the X coordinate counter 101 and the Y coordinate counter 102 are "4" and "2", respectively. Further, the shift amount Kx given to the B input of the X coordinate addition circuit 102 is Kx = INT (4/2) = 2, and the value given to the A input is "4".
The A + B output obtained by adding “4” given to the input and “2” given to the B input is “6”. Further, the Y coordinate adding circuit 202 adds “2” given to the A input and “Ky = 5” given to the B input, and the A + B output becomes “7”.

さらに、X方向範囲検出回路102のC入力へは「4」
が与えられ、CPU501から該範囲検出回路105のA入力お
よびB入力へ与えられる「1」および「24」の範囲内と
判定される。
Further, "4" is input to the C input of the X direction range detection circuit 102.
Is determined to be within the range of “1” and “24” given from the CPU 501 to the A and B inputs of the range detection circuit 105.

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

このため、X方向範囲検出回路105およびY方向範囲
検出回路205の出力は、それぞれ、“1"であり、変化点
抽出回路402の出力は、論理積回路403を通過して、X座
標用FIFOメモリ103およびY座標用FIFOメモリへ書込信
号WCKとして与えられ、X座標用FIFOメモリ103はX座標
加算回路102の出力「6」を取込み、Y座標用FIFOメモ
リ203はY座標加算回路202の出力「7」を取込む。
For this reason, 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 to output the X-coordinate FIFO. The write signal WCK is given to the memory 103 and the Y-coordinate FIFO memory, and the X-coordinate FIFO memory 103 takes in the output “6” of the X-coordinate addition circuit 102. Capture the output "7".

以後同様にして、画像データD(x,y)に変化点が訪
れたときに、X座標用FIFOメモリ103およびY座標用FIF
Oメモリ203に、それぞれ、X座標加算回路102およびY
座標加算回路202の出力が取込まれる。その結果、X座
標用FIFOメモリ103の中には、 {6,13,28,36,7,13,28,34,7,15,27,34,7,15,27,34,7,1
6,25,34} が蓄えられ、Y座標用FIFOメモリ203の中には、 {7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,11,11,11,1
1,} が蓄えられていく。
Similarly, when a change point comes to the image data D (x, y), the X coordinate FIFO memory 103 and the Y coordinate FIF
The X-coordinate addition circuit 102 and the Y-coordinate
The output of the coordinate adding circuit 202 is taken. As a result, the X-coordinate FIFO memory 103 contains {6,13,28,36,7,13,28,34,7,15,27,34,7,15,27,34,7,1
6,25,34} are stored, and in the Y-coordinate FIFO memory 203, {7,7,7,7,8,8,8,8,9,9,9,9,10,10,10 10,10,11,11,11,1
1,} are stored.

つまり、2つ1組で構成されるX座標用FIFOメモリ10
3およびY座標用FIFOメモリ203によって、 座標値(6,7)(13,7)(18,7)(36,7)(7,8)(1
3,8)(28,8)(34,8)(7,9)(15,9)(27,9)(34,
9)(7,10)(15,10)(27,10)(34,10)(7,11)(1
6,11)(25,11)(34,11) が蓄えられていくのである。
In other words, the X-coordinate FIFO memory 10 composed of two pairs
The coordinate values (6,7) (13,7) (18,7) (36,7) (7,8) (1
3,8) (28,8) (34,8) (7,9) (15,9) (27,9) (34,
9) (7,10) (15,10) (27,10) (34,10) (7,11) (1
6,11) (25,11) (34,11) are stored.

そして、カウントされる現座標が(6,7)になったと
き、以下に説明するように、X座標比較回路104および
Y座標比較回路204から一致信号が出力される。
When the current coordinates to be counted become (6, 7), a coincidence signal is output from the X coordinate comparison circuit 104 and the Y coordinate comparison circuit 204 as described below.

具体的に、座標y=ライン番号=7のときの動作を、
順に説明すると、次の通りである。すなわち、X座標カ
ウンタ101およびY座標カウンタ201によって、座標(1,
7)(2,7)(3,7)(4,7)がカウントされ、座標(5,
7)で変化点を迎える。変化点を迎えたとき、X座標加
算回路102およびY座標加算回路202から出力される座標
値は(7,12)である。よって、X座標用FIFOメモリ103
およびY座標用FIFOメモリ203によって、座標値(7,1
2)が蓄えられる。
Specifically, the operation when coordinate y = line number = 7 is
This will be described in order as follows. That is, the X coordinate counter 101 and the Y coordinate counter 201 determine the coordinates (1,
7) (2,7) (3,7) (4,7) are counted and the coordinates (5,
7) is at a turning point. When the change point is reached, the coordinate values output from the X coordinate addition circuit 102 and the Y coordinate addition circuit 202 are (7, 12). Therefore, the X coordinate FIFO memory 103
And the Y-coordinate FIFO memory 203 stores coordinate values (7,1
2) is stored.

そして、X座標カウンタ101およびY座標カウンタ201
が、次の座標(6,7)をカウントしたとき、X座標比較
回路104およびY座標比較回路204から、それぞれ、一致
信号が出力される。
Then, the X coordinate counter 101 and the Y coordinate counter 201
When the next coordinate (6, 7) is counted, a match signal is output from each of the X coordinate comparison circuit 104 and the Y coordinate comparison circuit 204.

より具体的に説明すると、カウントされる現座標が
(6,7)のとき、X座標カウンタ101の出力「6」は、X
座標比較回路104へB入力として与えられる。一方、X
座標用FIFOメモリ103の出力は、一番最初に蓄えられた
「6」となっており、X座標比較回路104のA入力へ与
えられる。したがって、X座標比較回路104のA入力と
B入力は一致し、一致信号が出力される。
More specifically, when the current coordinate to be counted is (6, 7), the output “6” of the X coordinate counter 101 is X
It is provided to the coordinate comparison circuit 104 as a B input. On the other hand, X
The output of the coordinate FIFO memory 103 is “6” stored first, and is supplied to the A input of the X coordinate comparison circuit 104. Therefore, the A input and the B input of the X coordinate comparison circuit 104 match, and a match signal is output.

同じように、Y座標カウンタ201の出力「7」は、Y
座標比較回路204のB入力に与えられる。一方、Y座標
用FIFOメモリ203の出力は、一番最初に蓄積された
「7」であり、Y座標比較回路204のA入力へ与えられ
る。したがって、Y座標比較回路204のA入力とB入力
とは一致し、該比較回路204から一致信号が出力され
る。
Similarly, the output “7” of the Y coordinate counter 201 is Y
It is given to the B input of the coordinate comparison circuit 204. On the other hand, the output of the Y coordinate FIFO memory 203 is “7” stored first, and is supplied to the A input of the Y coordinate comparison circuit 204. Therefore, the A input and the B input of the Y coordinate comparison circuit 204 match, and the comparison circuit 204 outputs a match signal.

その結果、座標一致理論積回路301の出力がアクティ
ブになる。
As a result, the output of the coordinate coincidence logical product circuit 301 becomes active.

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

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

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

以下同様に処理が行われる。 Hereinafter, the same processing is performed.

そして、座標y=10になったときには、X座標用FIFO
メモリ103およびY座標用FIFOメモリ203には、それぞ
れ、 {7,15,27,34,7,16,25,34,7,16,25,34,7,10,12,18,2
4,27,28,34,7,10,12,18,24,27,28,34} {10,10,10,10,11,11,11,11,12,12,12,12,13,13,13,1
3,13,13,13,13,14,14,14,14,14,14,14,14} が蓄えられている。
When the coordinate y = 10, the X-coordinate FIFO
The memory 103 and the Y-coordinate FIFO memory 203 store {7,15,27,34,7,16,25,34,7,16,25,34,7,10,12,18,2
4,27,28,34,7,10,12,18,24,27,28,34}, 10,10,10,10,11,11,11,11,12,12,12,12,13 , 13,13,1
3,13,13,13,13,14,14,14,14,14,14,14,14 are stored.

そして、座標y=10、すなわち10ライン目において、
座標x=29になったとき、つまり現座標が(29,10)の
とき、画像データD(29,10)は変化点を迎えるが、こ
の変化点は、X方向範囲検出回路105で定められた範囲
外であるため、論理積回路105で定められた範囲外であ
るため、論理積回路403はノンアクティブ状態のままで
あり、変化点抽出回路402の出力がアクティブになって
も、そのアクティブ出力は論理積回路403を通過するこ
とができず、X座標用FIFOメモリ103およびY座標用FIF
Oメモリ203へは書込信号WCKは与えられない。よって、
X座標用FIFOメモリ103およびY座標用FIFOメモリ203
は、それぞれ、X座標加算回路102の出力およびY座標
加算回路202の出力を取込まない。
Then, at the coordinate y = 10, that is, at the tenth line,
When the coordinate x = 29, that is, when the current coordinate is (29,10), the image data D (29,10) reaches a change point. The change point is determined by the X-direction range detection circuit 105. Since it is outside the range specified by the AND circuit 105, the AND circuit 403 remains in the non-active state, and even if the output of the change point extraction circuit 402 becomes active, The output cannot pass through the AND circuit 403, and the X-coordinate FIFO memory 103 and the Y-coordinate FIF
Write signal WCK is not applied to O memory 203. Therefore,
FIFO memory 103 for X coordinate and FIFO memory 203 for Y coordinate
Do not take in the output of the X coordinate addition circuit 102 and the output of the Y coordinate addition circuit 202, respectively.

以上説明した処理が第2図の画像データに対して行わ
れる結果、変形データ生成回路302の出力を時系列的に
並べると、第3図に示すものになる。
As a result of performing the above-described processing on the image data of FIG. 2, when the outputs of the modified data generation circuit 302 are arranged in chronological order, the result is as shown in FIG.

第2図と第3図との比較から、原画像が横方向(ライ
ン長さ方向)に太らされて変形され、かつシフトされて
いることがわかる。
From the comparison between FIG. 2 and FIG. 3, it can be seen that the original image is enlarged, deformed, and shifted in the horizontal direction (line length direction).

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

第4図に示す画像処理回路21Bは、出力される変形画
像が中間調画像となるように、第1図に示す回路に対し
て多値化回路303、ディザ比較回路304およびディザマト
リクスメモリ305が付加されたものである。
The image processing circuit 21B shown in FIG. 4 includes a multi-value conversion circuit 303, a dither comparison circuit 304, and a dither matrix memory 305 with respect to the circuit shown in FIG. 1 so that the output deformed image becomes a halftone image. It has been added.

変形データ生成回路302の出力は、多値化回路303にお
いて多値化され、ディザ比較回路304で、ディザマトリ
クスメモリ305に蓄えられたディザデータと比較され、
ディザ表現された中間調データとして出力される。
The output of the deformed data generation circuit 302 is multi-valued in a multi-value conversion circuit 303, and compared with dither data stored in a dither matrix memory 305 in a dither comparison circuit 304,
It is output as dithered halftone data.

より具体的に説明すると、多値化回路303のA入力お
よびB入力には、それぞれ、CPU501からのデータが与え
られている。これらのデータは、たとえば8ビットデー
タであり、16進数表示において“77h"および“00h"(h
は16進数表示であることを表わす符号)が与えられてい
る。
More specifically, data from the CPU 501 is applied to the A input and the B input of the multi-level quantization circuit 303, respectively. These data are, for example, 8-bit data, and are "77h" and "00h" (h
Is a hexadecimal notation).

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

ディザ比較回路304では、A入力として与えられる多
値化回路303からの出力と、B入力として与えられるデ
ィザマトリクスメモリ305からの出力とを比較し、A入
力データがB入力データよりも小さいとき、すなわち多
値化回路303の出力データがディザマトリクスメモリ305
の出力データよりも小さいとき、“1"を出力し、それ以
外では“0"を出力する。
The dither comparison circuit 304 compares the output from the multi-level quantization circuit 303 provided as the A input with the output from the dither matrix memory 305 provided as the B input, and when the A input data is smaller than the B input data, That is, the output data of the multi-level conversion circuit 303 is stored in the dither matrix memory 305.
"1" is output when the output data is smaller than the output data, and "0" is output otherwise.

つまり、ディザ比較回路304では、A入力として与え
られる多値化回路303からの中間調濃度データ“77h"
を、ディザマトリクスメモリ305を参照して、ディザ表
現された中間調データにするわけである。
That is, in the dither comparison circuit 304, the halftone density data “77h” from the multi-level conversion circuit 303 given as the A input.
With reference to the dither matrix memory 305 to obtain halftone data expressed in dither.

また、ディジタル複写機ではなく、たとえばCRTディ
スプレイのような最小単位データ(画素)を多値化表現
できる表示装置の場合には、多値化回路303の出力をそ
のまま出力すればよく、ディザ比較回路304およびディ
ザマトリクスメモリ305は省略することができる。
In the case of a display device which can express multi-valued minimum unit data (pixels), such as a CRT display, instead of a digital copier, the output of the multi-value conversion circuit 303 may be output as it is, and the dither comparison circuit The 304 and the dither matrix memory 305 can be omitted.

その他の構成は第1図の回路と同様であり、同一部分
には同一の番号を付し、説明は省略する。
Other configurations are the same as those of the circuit in FIG. 1, and the same portions are denoted by the same reference numerals and description thereof will be omitted.

次に、第5図の回路は、この発明のさらに他の実施例
にかかる画像処理回路21Cの構成を示すブロック図であ
る。第5図に示す画像処理回路21Cは、影画像をY方向
に拡大することができる回路である。
Next, the circuit of FIG. 5 is a block diagram showing a configuration of an image processing circuit 21C according to still another embodiment of the present invention. The image processing circuit 21C shown in FIG. 5 is a circuit that can enlarge a shadow image in the Y direction.

そのために、この画像処理回路21Cには、第1図に示
す画像処理回路21Aに加えて、以下の回路が追加されて
いる。すなわち、 206…Ky生成回路 この回路は、Y方向における画像のずらし量Kyを計算
するためのものである。ずらし量Kyは、ライン同期信号
Hsyncに同期して、一定割合で順次変化するようにされ
ている。
For this purpose, the following circuit is added to the image processing circuit 21C in addition to the image processing circuit 21A shown in FIG. That is, 206... Ky generation circuit This circuit is for calculating the image shift amount Ky in the Y direction. The shift amount Ky is the line synchronization signal
It is designed to change sequentially at a fixed rate in synchronization with Hsync.

また、CPU501の指示に従い、Y方向のずらし量Kyを一
定値にするようにすることも可能な回路である。
In addition, the circuit is capable of setting the shift amount Ky in the Y direction to a constant value in accordance with an instruction from the CPU 501.

601…ライン番号用FIFOメモリ このFIFOメモリは、シフトされたライン番号、すなわ
ちシフトされた座標値Yを記憶するためのものである。
601... FIFO memory for line numbers This FIFO memory is for storing shifted line numbers, that is, shifted coordinate values Y.

602…ライン比較回路 この回路は、シフトされたライン番号と現座標yとを
比較し、後述する1ラインFIFOバッファメモリ604の内
容更新が必要かどうかを判定するための回路である。
602... Line Comparison Circuit This circuit is a circuit for comparing the shifted line number with the current coordinate y to determine whether or not the contents of the one-line FIFO buffer memory 604 described later need to be updated.

603…Y方向補間用選択回路 Y方向に、変形データを補間するために必要な回路で
あり、後述する1ラインFIFOバッファメモリ604の出力
を再度1ラインFIFOバッファメモリ604の入力とするべ
きか、または、ライン比較回路602から出力されてくる
新しい画像データを1ラインFIFOバッファメモリ604の
入力として、1ラインFIFOバッファメモリ604の内容を
更新すべきかを選択するための回路である。
603... Y-direction interpolation selection circuit This circuit is necessary to interpolate the deformed data in the Y direction. Whether the output of the one-line FIFO buffer memory 604 to be described later should be input to the one-line FIFO buffer memory 604 again, Alternatively, the new image data output from the line comparison circuit 602 is input to the one-line FIFO buffer memory 604 to select whether to update the contents of the one-line FIFO buffer memory 604.

604…1ラインFIFOバッファメモリ このメモリは、1ライン分の変形データを保持するた
めのメモリである。
604... One-line FIFO buffer memory This memory is a memory for holding the deformation data for one line.

以上説明した回路以外の回路構成は、第1図に示す画
像処理回路21Aと同様であり、同一部分には同一番号を
付し、ここでの説明は省略する。
The circuit configuration other than the circuit described above is the same as that of the image processing circuit 21A shown in FIG. 1, and the same portions are denoted by the same reference numerals and description thereof will be omitted.

次に、具体的な画像データを参照しながら、第5図に
示す画像処理回路21Cの動作について説明をする。
Next, the operation of the image processing circuit 21C shown in FIG. 5 will be described with reference to specific image data.

第5図に示す画像処理回路21Cに、前述した第2図に
示す画像データが与えられる場合の画像変形処理を考え
る。
Consider the image deformation processing when the image data shown in FIG. 2 is given to the image processing circuit 21C shown in FIG.

今、第2図に示す画像データに対して、X方向へのず
らし量Kxが、Kx=10座標で一定、Y方向へのずらし量Ky
が、ライン同期信号Hsync、換言すれば座標yに同期し
て0.5ずつ増加するような処理を行う場合を考える。つ
まり、第5図において、Kx生成回路106から出力される
X方向のずらし量Kxは、この実施例では一定値であっ
て、Kx=10とされている。このずらし両Kxは、クロック
CKに同期して変化するわけではない。一方、Y方向への
ずらし量Kyは、 Ky=INT(y/2) ただし、INT()は、整数化を意味する関数である。
Now, with respect to the image data shown in FIG. 2, the shift amount Kx in the X direction is constant at Kx = 10 coordinates, and the shift amount Ky in the Y direction.
However, a case is considered in which processing is performed such that it increases by 0.5 in synchronization with the line synchronization signal Hsync, in other words, the coordinate y. That is, in FIG. 5, the shift amount Kx in the X direction output from the Kx generation circuit 106 is a constant value in this embodiment, and Kx = 10. This staggered Kx is the clock
It does not change in synchronization with CK. On the other hand, the shift amount Ky in the Y direction is Ky = INT (y / 2) where INT () is a function meaning integer conversion.

とする。And

この実施例のように、Y方向へのずらし量Kyを、ライ
ン同期信号Hsyncに同期して0.5ずつ増加させると、後述
するように、変形画像は、原画像をY方向に一様に長く
した画像になる。
When the shift amount Ky in the Y direction is increased by 0.5 in synchronization with the line synchronization signal Hsync as in this embodiment, the deformed image lengthens the original image uniformly in the Y direction as described later. Become an image.

さらに、画像変形処理は、X方向の座標(1〜24)、
Y方向の座標(1〜28)の領域の画像に対して行うもの
とする。
Further, the image deformation processing includes X-direction coordinates (1 to 24),
It is assumed that the processing is performed on the image in the area of the coordinates (1 to 28) in the Y direction.

なお、この実施例では、Y方向へのずらし両Kyが、ラ
イン同期信号Hsyncに同期して0.5ずつ増えるものとした
が、ずらし量Kyは、ライン同期信号Hsyncの入力に比例
して変化するものであれば、その変化の割合は、任意の
関数で表わされる割合であればよい。たとえば、ライン
同期信号Hsyncに同期して、ずらし量Kyが2乗の割合で
増加するものでもよい。
In this embodiment, both the shifts Ky in the Y direction increase by 0.5 in synchronization with the line synchronization signal Hsync, but the shift amount Ky changes in proportion to the input of the line synchronization signal Hsync. Then, the rate of the change may be a rate represented by an arbitrary function. For example, the shift amount Ky may increase at a rate of a square in synchronization with the line synchronization signal Hsync.

第9図に示す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)… : : : : : : : : : と画像処理回路21Cへ流れ込んでくる。
Image data read by the CCD line image sensor 20 shown in FIG. 9, amplified by the amplifying circuit 41, and converted to a digital signal by the A / D converter 42 is converted in time series into 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) ...::::::::: and flows into the image processing circuit 21C.

ここで、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 “0”
Or it has the value “1”.

第5図に示す画像処理回路21Cは、最初、垂直同期信
号Vsyncによりリセットされ、また、ライン同期信号Hsy
ncにより画像データラッチ回路401はリセットされ、そ
のQ出力は“0"である。
The image processing circuit 21C shown in FIG. 5 is first reset by the vertical synchronizing signal Vsync, and the line synchronizing signal Hsy
The image data latch circuit 401 is reset by nc, and its Q output is “0”.

最初のクロックCKが与えられる直前は、変化点抽出回
路402のA入力には、上記画像データラッチ回路401のQ
出力“0"がセットされ、B入力には、最初の画像データ
D(1,1)=“0"がセットされている。よって、変化点
抽出回路402の出力はノンアクティブである。
Immediately before the first clock CK is applied, the A input of the change point extraction circuit 402 is connected to the Q input of the image data latch circuit 401.
The output “0” is set, and the first image data D (1,1) = “0” is set in the B input. Therefore, the output of the change point extraction circuit 402 is non-active.

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

次に、クロック発振器46(第9図参照)から最初のク
ロックCKが与えられると、画像データラッチ回路401に
は、画像データD(1,1)がラッチされる。よって、次
のクロックCKが与えられる直前は、変化点抽出回路402
のA入力には画像データラッチ回路401でラッチされた
画像データD(1,1)がセットされ、B入力には画像デ
ータD(1,2)がセットされる。これら画像データD
(1,1)およびD(1,2)は、第2図に示すとおり、共に
“0"なので、変化点抽出回路402の出力はノンアクティ
ブである。
Next, when the first clock CK is applied from the clock oscillator 46 (see FIG. 9), the image data latch circuit 401 latches the image data D (1,1). Therefore, immediately before the next clock CK is supplied, the change point extraction circuit 402
The image data D (1,1) latched by the image data latch circuit 401 is set to the A input of the device, and the image data D (1,2) is set to the B input. These image data D
Since (1,1) and D (1,2) are both "0" as shown in FIG. 2, the output of the change point extraction circuit 402 is non-active.

このとき、X座標カウンタ101はクロックCKを1つカ
ウントして「2」になり、Y座標カウンタ201は「1」
のままである。
At this time, the X-coordinate counter 101 counts one clock CK to be “2”, and the Y-coordinate counter 201 has “1”.
Remains.

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

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

このとき、変化点抽出回路402のA入力には、画像デ
ータラッチ回路401でラッチされたD(3,2)がセットさ
れ、B入力には、D(4,2)がセットされる。ここに、
D(3,2)は“0"、D(4,2)は“1"であるから、変化点
抽出回路402の出力はアクティブになる。
At this time, D (3,2) latched by the image data latch circuit 401 is set to the A input of the change point extraction circuit 402, and D (4,2) is set to the B input. here,
Since D (3,2) is “0” and D (4,2) is “1”, the output of the change point extraction circuit 402 becomes active.

また、このときのX座標カウンタ101およびY座標カ
ウンタ102の値は、それぞれ、「4」および「2」であ
る。さらに、X座標加算回路102のB入力に与えられる
ずらし量Kxは、Kx=10であり、B入力に与えられる値は
「4」であるから、X座標加算回路102において、A入
力に与えられる「4」とB入力に与えられる「10」とが
加算され、そのA+B出力は「14」となる。また、Y座
標加算回路202のB入力に与えられるずらし量Kyは、 Ky=INT(2/2)=1 であり、一方、A入力に与えられる値は上述の「2」で
あるから、Y座標加算回路202において、A入力に与え
られる「2」とB入力に与えられる「1」とが加算さ
れ、そのA+B出力は「3」となる。
At this time, the values of the X coordinate counter 101 and the Y coordinate counter 102 are "4" and "2", respectively. Further, the shift amount Kx given to the B input of the X coordinate adding circuit 102 is Kx = 10, and the value given to the B input is “4”. "4" and "10" given to the B input are added, and the A + B output becomes "14". Further, the shift amount Ky given to the B input of the Y coordinate addition circuit 202 is Ky = INT (2/2) = 1, while the value given to the A input is the above-mentioned "2". In the coordinate adding circuit 202, “2” given to the A input and “1” given to the B input are added, and the A + B output becomes “3”.

さらに、X方向範囲検出回路102のC入力へは「4」
が与えられ、CPU501から該範囲検出回路105のA入力お
よびB入力へ与えられる「1」および「24」の範囲内と
判定される。
Further, "4" is input to the C input of the X direction range detection circuit 102.
Is determined to be within the range of “1” and “24” given from the CPU 501 to the A and B inputs of the range detection circuit 105.

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

このため、X方向範囲検出回路105およびY方向範囲
検出回路205の出力は、それぞれ、“1"であり、変化点
抽出回路402の出力は、論理積回路403を通過して、X座
標用FIFOメモリ103およびY座標用FIFOメモリへ書込信
号WCKとして与えられ、X座標用FIFOメモリ103はX座標
加算回路102の出力「14」を取込み、Y座標用FIFOメモ
リ203はY座標加算回路202の出力「3」を取込む。
For this reason, 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 to output the X coordinate FIFO. The write signal WCK is given to the memory 103 and the Y-coordinate FIFO memory, the X-coordinate FIFO memory 103 takes in the output “14” of the X-coordinate addition circuit 102, and the Y-coordinate FIFO memory 203 receives the output “14” of the Y-coordinate addition circuit 202. Capture output "3".

以後同様にして、画像データD(x,y)に変化点が訪
れたときに、X座標用FIFOメモリ103およびY座標用FIF
Oメモリ203に、それぞれ、X座標加算回路102およびY
座標加算回路202の出力が取込まれる。その結果、X座
標用FIFOメモリ103の中には、 {14,19,29,34} が蓄えられ、Y座標用FIFOメモリ203の中には、 {3,3,3,3} が蓄えられていく。
Similarly, when a change point comes to the image data D (x, y), the X coordinate FIFO memory 103 and the Y coordinate FIF
The X-coordinate addition circuit 102 and the Y-coordinate
The output of the coordinate adding circuit 202 is taken. As a result, {14,19,29,34} is stored in the X-coordinate FIFO memory 103, and {3,3,3,3} is stored in the Y-coordinate FIFO memory 203. To go.

つまり、2つ1組で構成されるX座標用FIFOメモリ10
3およびY座標用FIFOメモリ203によって、 座標値(14,3)(19,3)(29,3)(34,3) が蓄えられていくのである。
In other words, the X-coordinate FIFO memory 10 composed of two pairs
The coordinate values (14,3) (19,3) (29,3) (34,3) are stored by the 3 and Y coordinate FIFO memory 203.

一方、ライン番号用FIFOメモリ601には、ライン同期
信号Hsyncが書込信号WCKとして与えられている。このた
め、最初のライン同期信号Hsyncにより、ライン番号用F
IFOメモリ601には、そのときのY座標加算回路202の出
力「1」が書込まれる。しかし、この値「1」は、遅延
回路701を介して最初に与えられる垂直同期信号Vsyncに
よってリセットされるので、ライン番号用FIFOメモリ60
1の記憶内容はクリアされる。
On the other hand, the line synchronization signal Hsync is given to the line number FIFO memory 601 as the write signal WCK. For this reason, the line number F
The output “1” of the Y coordinate adding circuit 202 at that time is written in the IFO memory 601. However, since this value “1” is reset by the vertical synchronization signal Vsync first given through the delay circuit 701, the line number FIFO memory 60
The stored contents of 1 are cleared.

その後、ライン番号用FIFOメモリ601には、ライン同
期信号Hsyncがあるごとに、Y座標加算回路202の出力が
蓄えられていく。ここで、Y座標加算回路202の出力
は、ライン同期信号Hsyncに応じて、 2+Ky(2/2)=3 3+Ky(3/2)=4 4+Ky(4/2)=6 5+Ky(5/2)=7 : : : : と変化していくので、ライン番号用FIFOメモリ601に
は、Y方向へのずらし量Ky=INT(y/2)が加えられた座
標y、すなわちライン番号「3」「4」「6」「7」…
が記憶されていく。
Thereafter, the output of the Y coordinate addition circuit 202 is stored in the line number FIFO memory 601 each time the line synchronization signal Hsync is present. Here, the output of the Y coordinate adding circuit 202 is 2 + Ky (2/2) = 33 + Ky (3/2) = 44 + Ky (4/2) = 65 + Ky (5/2) according to the line synchronization signal Hsync. = 7 :::::, so the line number FIFO memory 601 stores the coordinate y to which the shift amount Ky = INT (y / 2) in the Y direction is added, that is, the line numbers "3" and "3". 4 ”,“ 6 ”,“ 7 ”...
Is stored.

次に、カウントされる現座標がy=3のときの動作
を、順を追って説明する。
Next, the operation when the current coordinate to be counted is y = 3 will be described step by step.

座標y=3のとき、ラインの最初に与えられるライン
同期信号Hsyncにより、Y座標カウンタ201は「3」をカ
ウントし、また、Ky生成回路206は、ずらし量Ky=INT
(3/2)=1を生成する。よって、Y座標加算回路202の
A入力には「3」が与えられ、B入力には「1」が与え
られるので、その出力は「4」となる。そして、Y座標
加算回路202から出力される「4」はライン番号用FIFO
メモリ601に取込まれて記憶される。
When the coordinate y = 3, the Y coordinate counter 201 counts “3” by the line synchronization signal Hsync given at the beginning of the line, and the Ky generation circuit 206 sets the shift amount Ky = INT.
(3/2) = 1 is generated. Therefore, "3" is given to the A input and "1" is given to the B input of the Y coordinate addition circuit 202, so that the output is "4". "4" output from the Y coordinate addition circuit 202 is a line number FIFO.
It is taken into the memory 601 and stored.

また、ライン番号用FIFOメモリ601の出力は、一番最
初に蓄えられた「3」となっており、それはライン比較
回路602のA入力に与えられる。一方、ライン比較回路6
01のB入力にはY座標カウンタ201の出力「3」が与え
られるから、ライン比較回路602のA入力およびB入力
が共に「3」となり、ライン比較回路602から画像更新
信号が出力される。
The output of the line number FIFO memory 601 is “3” stored first, which is supplied to the A input of the line comparison circuit 602. On the other hand, the line comparison circuit 6
Since the output "3" of the Y coordinate counter 201 is given to the B input of 01, both the A input and the B input of the line comparison circuit 602 become "3", and the line comparison circuit 602 outputs an image update signal.

画像更新信号は、ライン番号用FIFOメモリ601に読出
信号RCKとして与えられる。したがって、ライン番号用F
IFOメモリ601の最初のデータは捨てられて、該メモリ60
1の出力には次のデータ「4」がセットされる。
The image update signal is supplied to the line number FIFO memory 601 as a read signal RCK. Therefore, F for line number
The first data of the IFO memory 601 is discarded and the memory 60
The next data “4” is set in the output of “1”.

画像更新信号は、また、Y方向補間用選択回路603に
選択切換信号として与えられる。
The image update signal is also supplied to the Y-direction interpolation selection circuit 603 as a selection switching signal.

一方、座標y=3のときにも、座標y=1および2の
ときと同様に、変化点におけるデータがX座標用FIFOメ
モリ103およびY座標用FIFOメモリ203に取込まれてい
く。
On the other hand, also at the coordinate y = 3, the data at the change point is taken into the X coordinate FIFO memory 103 and the Y coordinate FIFO memory 203 as in the case of the coordinates y = 1 and 2.

すなわち、X座標カウンタ101およびY座標カウンタ2
01によって、座標(1,3)(2,3)(3,3)(4,3)がカウ
ントされ、座標(5,3)で変化点を迎える。変化点を迎
えたとき、X座標加算回路102およびY座標加算回路202
によって出力される座標値は(15,4)である。よって、
X座標用FIFOメモリ103およびY座標用FIFOメモリ203に
よって、座標値(15,4)が蓄えられる。
That is, the X coordinate counter 101 and the Y coordinate counter 2
According to 01, coordinates (1,3) (2,3) (3,3) (4,3) are counted, and a change point is reached at coordinates (5,3). When a change point is reached, the X coordinate adding circuit 102 and the Y coordinate adding circuit 202
Is (15,4). Therefore,
The X-coordinate FIFO memory 103 and the Y-coordinate FIFO memory 203 store coordinate values (15, 4).

さらに、X座標カウンタ101およびY座標カウンタ201
によってカウントされる座標は、 (6,3)(7,3)(8,3) と進み、座標(9,3)で変化点を迎え、X座標用FIFOメ
モリ103およびY座標用FIFOメモリ203に、座標値(19,
4)が蓄えられる。
Further, an X coordinate counter 101 and a Y coordinate counter 201
The coordinates counted by (6,3) (7,3) (8,3) advance to the changing point at the coordinates (9,3), and the X coordinate FIFO memory 103 and the Y coordinate FIFO memory 203 Has the coordinates (19,
4) is stored.

そして、X座標カウンタ101およびY座標カウンタ201
によってカウントされる座標は、さらに、 (10,3)(11,3)(12,3)(13,3) と進む。
Then, the X coordinate counter 101 and the Y coordinate counter 201
The coordinates counted by (1) are further advanced to (10,3) (11,3) (12,3) (13,3).

次いで、カウントされる現座標が、座標(14,3)にな
ったとき、X座標比較回路104およびY座標比較回路204
から一致信号が出力される。
Next, when the counted current coordinate becomes the coordinate (14,3), the X coordinate comparison circuit 104 and the Y coordinate comparison circuit 204
Outputs a match signal.

より具体的に説明すると、現座標が(14,3)のとき、
X座標カウンタ101の出力「14」は、X座標比較回路104
のB入力へ与えられる。一方、X座標用FIFOメモリ103
の出力は、一番最初に蓄えられた「14」となっており、
X座標比較回路104のA入力へ与えられる。したがっ
て、X座標比較回路104のA入力とB入力とは一致し、
一致信号が出力される。
More specifically, when the current coordinate is (14,3),
The output “14” of the X coordinate counter 101 is
To the B input. On the other hand, the X coordinate FIFO memory 103
Output is the first stored “14”,
The signal is supplied to the A input of the X coordinate comparison circuit 104. Therefore, the A input and the B input of the X coordinate comparison circuit 104 match,
A match signal is output.

同様に、Y座標カウンタ201の出力「3」は、Y座標
比較回路204のB入力へ与えられる。一方、Y座標用FIF
Oメモリ203の出力は、一番最初に蓄積さられた「3」で
あり、Y座標比較回路204のA入力へ与えられる。した
がって、Y座標比較回路204のA入力とB入力とは一致
し、該比較回路204から一致信号が出力される。
Similarly, the output “3” of the Y coordinate counter 201 is given to the B input of the Y coordinate comparison circuit 204. On the other hand, FIF for Y coordinate
The output of the O memory 203 is “3” stored first, and is supplied to the A input of the Y coordinate comparison circuit 204. Therefore, the A input and the B input of the Y coordinate comparison circuit 204 match, and the comparison circuit 204 outputs a match signal.

その結果、座標一致論理積回路301の出力がアクティ
ブになる。
As a result, the output of the coordinate coincidence AND circuit 301 becomes active.

座標一致論理積回路301の出力はX座標用FIFOメモリ1
03およびY座標用FIFOメモリ203にフィードバックさ
れ、それぞれのメモリに読出信号RCKとして与えられ
る。したがって、X座標用FIFOメモリ103およびY座標
用FIFOメモリ203の各最初のデータは捨てられて、各メ
モリの出力には次のデータ「19」および「3」、つまり
座標値(19,3)がセットされる。
The output of the coordinate coincidence AND circuit 301 is the X-coordinate FIFO memory 1
The signal is fed back to the 03 and Y coordinate FIFO memory 203 and is given to each memory as a read signal RCK. Therefore, the first data of the X-coordinate FIFO memory 103 and the first data of the Y-coordinate FIFO memory 203 are discarded, and the next data “19” and “3”, that is, the coordinate values (19, 3) are output from each memory. Is 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 modified data generation circuit 302, the Q output of the modified data generation circuit 302 is inverted from “0” to “1”.

その後、現座標が(19,3)になったときも、同様に、
座標一致論理積回路301の出力がアクティブになり、X
座標用FIFOメモリ103およびY座標用FIFOメモリ203に読
出信号RCKが入り、各メモリ103,203の出力値は(29,3)
に変わり、変形データ生成回路302のQ出力は“1"から
“0"に反転する。
Then, when the current coordinate becomes (19,3), similarly,
The output of the coordinate matching AND circuit 301 becomes active, and X
The read signal RCK is input to the coordinate FIFO memory 103 and the Y coordinate FIFO memory 203, and the output values of the memories 103 and 203 are (29, 3).
And the Q output of the modified data generation circuit 302 is inverted from “1” to “0”.

以下同様に処理が行われる。 Hereinafter, the same processing is performed.

ところで、座標y=3のとき、すなわち3ライン目に
おいては、上述したように、ライン比較回路602から出
力される画像更新信号がY方向補間用選択回路603に与
えられている。
By the way, when the coordinate y = 3, that is, at the third line, the image update signal output from the line comparison circuit 602 is given to the Y-direction interpolation selection circuit 603 as described above.

この選択回路603は、画像更新信号が与えられている
ライン期間中は、変形データ生成回路302からの信号が
選択回路603の出力になるように、接続状態を切換え
る。
The selection circuit 603 switches the connection state so that the signal from the modified data generation circuit 302 becomes the output of the selection circuit 603 during the line period in which the image update signal is supplied.

よって、座標y=3のとき、変形データ生成回路302
から出力されるデータは、順次1ラインFIFOバッファメ
モリ604に蓄えられていき、該メモリ604には1ライン分
の変形データが蓄えられる。
Therefore, when the coordinate y = 3, the deformation data generation circuit 302
Are sequentially stored in a one-line FIFO buffer memory 604, and one line of deformed data is stored in the memory 604.

他方、ライン比較回路602において、ライン番号用FIF
Oメモリ601の出力とY座標カウンタ201の出力とが一致
していないと判別されたとき、換言すれば、現座標yが
Y方向へのずらし量Kyが加えられたライン番号と一致し
ていないときには、ライン比較回路602から画像更新信
号は出力されない。
On the other hand, in the line comparison circuit 602, the line number FIF
When it is determined that the output of the O memory 601 does not match the output of the Y coordinate counter 201, in other words, the current coordinate y does not match the line number to which the shift amount Ky in the Y direction has been added. At times, no image update signal is output from the line comparison circuit 602.

そしてこのときには、Y方向補間用選択回路603は、
B入力が出力となるように、接続が切換わる。つまり、
1ラインFIFOバッファメモリ604の出力が再度該バッフ
ァメモリ604に書込まれるように、接続が切換わるので
ある。
At this time, the selection circuit 603 for Y-direction interpolation
The connection is switched so that the B input becomes an output. That is,
The connection is switched so that the output of the one-line FIFO buffer memory 604 is written into the buffer memory 604 again.

なお、1ラインFIFOバッファメモリ604には、クロッ
クCKが書込信号WCKおよび読出信号RCKとして与えられて
いるので、その内容は、クロックCKに同期して、順次シ
フトされていく。
Since the clock CK is given to the one-line FIFO buffer memory 604 as the write signal WCK and the read signal RCK, the contents are sequentially shifted in synchronization with the clock CK.

そしてその後、現座標がy=10のとき、X座標用FIFO
メモリ103およびY座標用FIFOメモリ203には、それぞ
れ、 {15,21,27,33,15,17,18,22,26,28,29,33,15,17,18,22,
26,28,29,33} {10,10,10,10,12,12,12,12,12,12,12,12,13,13,13,1
3,13,13,13,13,} が蓄えられている。
Then, when the current coordinate is y = 10, the FIFO for the X coordinate is used.
The memory 103 and the Y coordinate FIFO memory 203 store 、 15,21,27,33,15,17,18,22,26,28,29,33,15,17,18,22,
26,28,29,33} {10,10,10,10,12,12,12,12,12,12,12,12,13,13,13,1
3,13,13,13,13,} are stored.

そして、カウントされる現座標がy=10の10ライン目
において、カウントされる現座標x=29になったとき、
つまり現座標(29,10)になったとき、画像データD(2
9,10)は変化点を迎えるが、この変化点は、X方向範囲
検出回路105で定められた範囲外であるため、論理積回
路403はノンアクティブ状態のままであり、変化点抽出
回路402の出力がアクティブになっても、そのアクティ
ブ出力は論理積回路403を通過することができず、X座
標用FIFOメモリ103およびY座標用FIFOメモリ203へ書込
信号WCKが与えられない。よって、X座標用FIFOメモリ1
03およびY座標用FIFOメモリ203は、それぞれ、X座標
加算回路102の出力「39」およびY座標加算回路202の出
力「15」を取込まない。
Then, when the counted current coordinate becomes x = 29 on the 10th line of y = 10,
That is, when the current coordinates (29, 10) are reached, the image data D (2
(9, 10) reaches a change point, but since this change point is outside the range defined by the X-direction range detection circuit 105, the AND circuit 403 remains in the non-active state, and the change point extraction circuit 402 Becomes active, the active output cannot pass through the AND circuit 403, and the write signal WCK is not supplied to the X-coordinate FIFO memory 103 and the Y-coordinate FIFO memory 203. Therefore, the X coordinate FIFO memory 1
03 and the Y-coordinate FIFO memory 203 do not receive the output “39” of the X-coordinate addition circuit 102 and the output “15” of the Y-coordinate addition circuit 202, respectively.

以上説明した処理が第2図の画像データに対して行わ
れる結果、1ラインFIFOバッファメモリ604の出力を時
系列的に並べると、第6図に示す画像データが得られ
る。
As a result of the above-described processing being performed on the image data shown in FIG. 2, when the outputs of the one-line FIFO buffer memory 604 are arranged in time series, the image data shown in FIG. 6 is obtained.

第2図および第6図の比較から、原画像が縦方向(ラ
イン並び方向)へ太くなるように変形され、かつシフト
されていることがわかる。
From the comparison between FIG. 2 and FIG. 6, it can be seen that the original image is deformed and shifted so as to become thicker in the vertical direction (line arrangement direction).

第5図の回路においては、Kx生成回路106から出力さ
れるX方向のずらし量Kxは、Kx=10で一定としたが、Y
方向へのずらし両Kyをライン同期信号Hsyncに同期させ
て変化されるのに加えて、X方向へのずらし量Kxがクロ
ックCKに同期させて変化させてもよい。X方向へのずら
し量KxおよびY方向へのずらし量Kyを共に変化させる
と、生成される変形データは、原画像データに対してX
方向およびY方向の双方に変形された画像となる。
In the circuit of FIG. 5, the shift amount Kx in the X direction output from the Kx generation circuit 106 is constant at Kx = 10,
In addition to changing both the shifts Ky in the direction in synchronization with the line synchronization signal Hsync, the shift amount Kx in the X direction may be changed in synchronization with the clock CK. When the shift amount Kx in the X direction and the shift amount Ky in the Y direction are both changed, the deformed data generated is X
The image is transformed in both the direction and the Y direction.

第7図は、第5図の画像処理回路21Cを応用した画像
処理回路21Dを示す。第7図に示す画像処理回路21Dの特
徴は、変形画像が中間調で表現できるようにされている
ことである。このために、1ラインFIFOバッファメモリ
604の出力段に多値化回路303、ディザ比較回路304およ
びディザマトリツクスメモリ305が付加されている。
FIG. 7 shows an image processing circuit 21D to which the image processing circuit 21C of FIG. 5 is applied. A feature of the image processing circuit 21D shown in FIG. 7 is that a deformed image can be expressed in halftone. For this purpose, one line FIFO buffer memory
A multi-level conversion circuit 303, a dither comparison circuit 304, and a dither matrix memory 305 are added to the output stage of 604.

なお、これら多値化回路303、ディザ比較回路304およ
びディザマトリツクスメモリ305の構成および動作につ
いては、先に説明した第4図の回路のものと同様であ
り、ここでの詳しい説明については省略する。
Note that the configurations and operations of the multivalued circuit 303, the dither comparison circuit 304, and the dither matrix memory 305 are the same as those of the circuit of FIG. 4 described above, and a detailed description thereof will be omitted. I do.

以上説明した各画像処理回路21A,21B,21Cおよび21Dに
おいて、X方向へのずらし量Kxを、クロックCKではなく
ライン同期信号Hsyncによって変化させれば、出力画像
として斜体文字を得ることができる。
In each of the image processing circuits 21A, 21B, 21C and 21D described above, if the shift amount Kx in the X direction is changed not by the clock CK but by the line synchronization signal Hsync, italic characters can be obtained as output images.

以上の各実施例においては、X方向範囲検出回路105
およびY方向範囲検出回路205によって、画像処理を行
うべき画像領域が指定されているが、処理を行うべき画
像領域を指定する必要かない場合には、これらX方向範
囲検出回路105および/またはY方向範囲検出回路205を
省略してもよい。
In each of the above embodiments, the X direction range detection circuit 105
The image area to be subjected to the image processing is specified by the Y-direction range detection circuit 205. However, when it is not necessary to specify the image area to be processed, the X-direction range detection circuit 105 and / or the Y direction The range detection circuit 205 may be omitted.

なお、変形範囲が制限されておらず、全面の画像に対
して変形を行う場合、画面終端部の画像アドレスに変形
の為のずらし量を加えた場合のアドレス値が画面の最大
アドレスよりも大きくなるので、その分の余裕をFIFOメ
モリに持たせておく必要がある。
When the deformation range is not limited and the entire image is deformed, an address value obtained by adding a shift amount for the deformation to the image address at the end of the screen is larger than the maximum address of the screen. Therefore, it is necessary to have a margin for that in the FIFO memory.

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

<発明の効果> この発明によれば、従来装置に比べて相対的に少ない
容量のメモリおよび簡単な回路で、画像に対して種々の
変形処理を行うことができる。
<Effects of the Invention> According to the present invention, various deformation processes can be performed on an image with a memory and a simple circuit having a relatively smaller capacity than those of the conventional device.

また、任意の領域の画像に対してのみ変形処理を行う
ことができる。
Further, the deformation process can be performed only on an image in an arbitrary area.

それゆえ、この発明によれば、低価格で多様な画像処
理、特に多様な画像変形処理を行うことができるディジ
タル画像処理装置を提供することができる。
Therefore, according to the present invention, it is possible to provide a digital image processing apparatus capable of performing various image processing at low cost, in particular, various image deformation processing.

【図面の簡単な説明】 第1図は、この発明の一実施例にかかるディジタル画像
処理回路21Aの構成例を示すブロック図である。 第2図は、処理される現画像データの一例を表わす図で
ある。 第3図は、処理された結果得られる変形データの例を表
わす図である。 第4図は、この発明の他の実施例にかかる画像処理回路
21Bの構成例を示すブロック図である。 第5図は、この発明のさらに他の実施例にかかる画像処
理回路21Cの構成例を示すブロック図である。 第6図は、第5図に示す画像処理回路によって得られる
変形データの一例を表わす図である。 第7図は、この発明のさらに他の実施例にかかる画像処
理回路21Dの構成例を示すブロック図である。 第8図は、この発明の一実施例にかかる画像処理装置が
適用されたディジタル複写機全体の概略構成図である。 第9図は、この一実施例にかかるディジタル複写機にお
ける画像処理関係部分の構成を示すブロック図である。 第10A図および第10B図は、画像変形処理を説明するため
の図である。 図において、21,21A,21B,21D…画像処理回路、101…X
座標カウンタ、102…X座標加算回路、103…X座標用FI
FOメモリ、104…X座標比較回路、105…X方向範囲検出
回路、201…Y座標カウンタ、202…Y座標加算回路、20
3…Y座標用FIFOメモリ、204…Y座標比較回路、205…
Y方向範囲検出回路、301…座標一致論理積回路、302…
変形データ生成回路、401…画像データラッチ回路、402
…変化点抽出回路、403…論理積回路、303…多値化回
路、304…ディザ比較回路、305…ディザマトリクスメモ
リ、106…Kx生成回路、206…Ky生成回路、601…ライン
番号用FIFOメモリ、602…ライン比較回路、603…Y方向
補間用選択回路、604…1ラインFIFOバッファメモリ、
を示す。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a configuration example of a digital image processing circuit 21A according to one embodiment of the present invention. FIG. 2 is a diagram showing an example of current image data to be processed. FIG. 3 is a diagram illustrating an example of deformed data obtained as a result of the processing. FIG. 4 is an image processing circuit according to another embodiment of the present invention.
21B is a block diagram illustrating a configuration example of 21B. FIG. 5 is a block diagram showing a configuration example of an image processing circuit 21C according to still another embodiment of the present invention. FIG. 6 is a diagram showing an example of deformed data obtained by the image processing circuit shown in FIG. FIG. 7 is a block diagram showing a configuration example of an image processing circuit 21D according to still another embodiment of the present invention. FIG. 8 is a schematic configuration diagram of an entire digital copying machine to which the image processing apparatus according to one embodiment of the present invention is applied. FIG. 9 is a block diagram showing a configuration of a part related to image processing in the digital copying machine according to the embodiment. FIG. 10A and FIG. 10B are diagrams for explaining the image deformation processing. In the figure, 21, 21A, 21B, 21D ... image processing circuit, 101 ... X
Coordinate counter, 102: X-coordinate addition circuit, 103: FI for X-coordinate
FO memory, 104: X coordinate comparison circuit, 105: X direction range detection circuit, 201: Y coordinate counter, 202: Y coordinate addition circuit, 20
3 ... Y coordinate FIFO memory, 204 ... Y coordinate comparison circuit, 205 ...
Y direction range detection circuit, 301 ... Coordinate coincidence AND circuit, 302 ...
Deformation data generation circuit, 401 ... Image data latch circuit, 402
... change point extraction circuit, 403 ... AND circuit, 303 ... multi-value circuit, 304 ... dither comparison circuit, 305 ... dither matrix memory, 106 ... Kx generation circuit, 206 ... Ky generation circuit, 601 ... FIFO memory for line number , 602: a line comparison circuit, 603, a selection circuit for Y-direction interpolation, 604, a one-line FIFO buffer memory,
Is shown.

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】与えられるディジタル画像データを処理す
るためのディジタル画像処理装置であって、ディジタル
画像データは、複数個の画素からなるラインデータが複
数本並んで構成された2次元データであり、各画素は基
準クロックに同期して順次処理され、各ラインデータは
ライン同期信号に同期して順次処理されるものにおい
て、 前記ディジタル画像データが時系列的に画素単位で順次
入力される入力手段、 入力手段に入力する先行する画素に対して後続する画素
が変化したか否かを判別し、変化が生じたときに出力を
導出するデータ変化点検出手段、 入力手段に入力される画素に、順次アドレスを付与する
ためのアドレス付与手段、 画像変形のために必要なずらし量を出力するものであっ
て、ずらし量にはライン長さ方向のずらし量が含まれて
おり、該ライン長さ方向のずらし量は、前記基準クロッ
クに比例して変化し、かつ前記ライン同期信号によって
初期値にリセットされるようにされたずらし量出力手
段、 データ変化点検出手段の出力があるごとに、アドレス付
与手段が付与するそのときのアドレスにずらし量出力手
段から出力されるそのときのずらし量を付加した変形ア
ドレスを求め、その変形アドレスを記憶するための演算
記憶手段、 アドレス付与手段が付与するアドレスと演算記憶手段に
記憶されている変形アドレスとを比較し、両者が一致し
たときに一致信号を出力する一致信号出力手段、ならび
に 第1レベルまたは第2レベルの2値出力のいずれかを常
時導出するものであって、前記一致信号に応答して出力
レベルを反転させる変形データ生成手段、 を含むことを特徴とするディジタル画像処理装置。
1. A digital image processing apparatus for processing given digital image data, wherein the digital image data is two-dimensional data in which a plurality of line data including a plurality of pixels are arranged. Wherein each pixel is sequentially processed in synchronization with a reference clock, and each line data is sequentially processed in synchronization with a line synchronization signal, wherein the digital image data is sequentially input in pixel units in time series; A data change point detecting unit that determines whether a subsequent pixel has changed with respect to a preceding pixel input to the input unit, and derives an output when a change occurs. Address assigning means for assigning an address, for outputting a shift amount necessary for image deformation, wherein the shift amount is shifted in the line length direction. The shift amount in the line length direction changes in proportion to the reference clock and is reset to an initial value by the line synchronization signal. Each time there is an output of the point detection means, a modified address is obtained by adding the current shift amount output from the shift amount output means to the current address assigned by the address assigning means, and stores the modified address. Arithmetic storage means, a match signal output means for comparing an address assigned by the address assigning means with a modified address stored in the arithmetic storage means and outputting a match signal when the two match, and a first level or a second level A modified data generating means for constantly deriving one of the binary outputs of the level, and inverting the output level in response to the coincidence signal; A digital image processing apparatus comprising:
【請求項2】請求項第1項記載のディジタル画像処理装
置において、 変形データ生成手段は、さらに、第1レベルまたは第2
レベルの少なくともいずれかの出力を、第1レベルと第
2レベルとの間の中間レベルの出力に変換する中間レベ
ル信号出力手段を含むことを特徴とするものである。
2. The digital image processing apparatus according to claim 1, wherein said modified data generating means further comprises a first level or a second level.
An intermediate level signal output means for converting an output of at least one of the levels into an output of an intermediate level between the first level and the second level is provided.
【請求項3】請求項第1項記載のディジタル画像処理装
置において、 ずらし量出力手段が出力するずらし量には、さらに、ラ
イン並び方向のずらし量が含まれており、該ライン並び
方向のずらし量は予め定める固定量であることを特徴と
するものである。
3. The digital image processing apparatus according to claim 1, wherein the shift amount output by the shift amount output means further includes a shift amount in the line arrangement direction. The amount is a predetermined fixed amount.
【請求項4】請求項第1項記載のディジタル画像処理装
置において、 ずらし量出力手段が出力するずらし量には、さらに、ラ
イン並び方向のずらし量が含まれており、該ライン並び
方向のずらし量は、前記ライン同期信号に比例して変化
するようにされていることを特徴とするものである。
4. The digital image processing apparatus according to claim 1, wherein the shift amount output by the shift amount output means further includes a shift amount in the line arrangement direction, and the shift amount in the line arrangement direction is different. The amount is adapted to change in proportion to the line synchronization signal.
【請求項5】与えられるディジタル画像データを処理す
るためのディジタル画像処理装置であって、ディジタル
画像データは、ラインデータが複数本並んで構成されて
おり、各ラインデータはライン同期信号に同期して順次
処理されるものにおいて、 前記ディジタル画像データが時系列的に順次入力される
入力手段、 入力手段に入力される先行する画像データに対して後続
する画像データが変化したか否かを判別し、変化が生じ
たときに出力を導出するデータ変化点検出手段、入力手
段に入力される画像データに、順次アドレスを付与する
ためのアドレス付与手段、 画像変形のために必要なずらし量を出力するものであっ
て、ずらし量には少なくともライン並び方向のずらし量
が含まれており、該ライン並び方向のずらし量は、ライ
ン同期信号に比例して変化するようにされているずらし
量出力手段、 データ変化点検出手段の出力があるごとに、アドレス付
与手段が付与するそのときのアドレスにずらし量出力手
段から出力されるずらし量を付加した変形アドレスを求
め、その変形アドレスを記憶するための演算記憶手段、 アドレス付与手段が付与するアドレスと演算記憶手段に
記憶されている変形アドレスとを比較し、両者が一致し
たときに一致信号を出力する一致信号出力手段、 第1レベルまたは第2レベルの2値出力のいずれかを常
時導出するものであって、前記一致信号に応答して出力
レベルを反転させる変形データ生成手段、 1ライン分の変形データが記憶可能なラインデータ記憶
手段、 ずらし量出力手段から出力されるライン並び方向のずら
し量に基づいて、変形データを繰返し出力する必要があ
るか否かを判別する判別手段、ならびに 判別手段が必要ありと判別したとき、変形データ生成手
段から導出される変形データをラインデータ記憶手段に
記憶させず、かつ、ラインデータ記憶手段に既に記憶さ
れている変形データを順次読出し、判別手段が必要なし
と判別したとき、変形データ生成手段から導出される変
形データを順次ラインデータ記憶手段に記憶させてライ
ンデータ記憶手段の記憶内容を更新させ、かつ、ライン
データ記憶手段に記憶された変形データを順次読出す制
御手段、 を含むことを特徴とするディジタル画像処理装置。
5. A digital image processing apparatus for processing given digital image data, wherein the digital image data is constituted by a plurality of line data, each line data being synchronized with a line synchronizing signal. Input means for sequentially inputting the digital image data in chronological order, and determining whether subsequent image data has changed with respect to preceding image data input to the input means. A data change point detecting means for deriving an output when a change occurs, an address assigning means for sequentially assigning an address to image data inputted to the input means, and outputting a shift amount necessary for image deformation. The shift amount includes at least the shift amount in the line arrangement direction, and the shift amount in the line arrangement direction is the line synchronization direction. A shift amount output means which is changed in proportion to a signal, and a shift amount output from the shift amount output means to the current address given by the address assigning means each time there is an output of the data change point detecting means. The modified address obtained by adding the modified address is calculated, and the address assigned by the address assigning means is compared with the modified address stored in the arithmetic storage means. A coincidence signal output means for outputting a signal; a modified data generation means for constantly deriving either a first level or a second level binary output, and inverting an output level in response to the coincidence signal; The line data storage means capable of storing the deformation data for the lines, the deformation based on the shift amount in the line arrangement direction output from the shift amount output means Determination means for determining whether or not it is necessary to repeatedly output data, and when determining that the determination means is necessary, the deformation data derived from the deformation data generation means is not stored in the line data storage means, and The deformed data already stored in the line data storing means is sequentially read out, and when it is determined that the determining means is unnecessary, the deformed data derived from the deformed data generating means is sequentially stored in the line data storing means, and the line data storing means is stored. Control means for updating the stored contents of the above and sequentially reading out the deformed data stored in the line data storage means.
【請求項6】請求項第5項記載のディジタル画像処理装
置において、 変形データ生成手段は、さらに、第1レベルまたは第2
レベルの少なくともいずれかの出力を、第1レベルと第
2レベルとの間の中間レベルの出力に変換する中間レベ
ル信号出力手段を含むことを特徴とするものである。
6. The digital image processing apparatus according to claim 5, wherein the deformed data generating means further comprises a first level or a second level.
An intermediate level signal output means for converting an output of at least one of the levels into an output of an intermediate level between the first level and the second level is provided.
【請求項7】請求項第5項記載のディジタル画像処理装
置において、 ずらし量出力手段が出力するずらし量には、さらに、ラ
イン長さ方向のずらし量が含まれており、該ライン長さ
方向のずらし量は予め定める固定量であることを特徴と
するものである。
7. The digital image processing apparatus according to claim 5, wherein the shift amount output by the shift amount output means further includes a shift amount in the line length direction. The shift amount is a predetermined fixed amount.
【請求項8】請求項第5項記載のディジタル画像処理装
置において、 ラインデータは複数個の画素からなっており、各画素は
基準クロックに同期して順次処理されるものであり、 ずらし量出力手段が出力するずらし量には、さらに、ラ
イン長さ方向のずらし量が含まれており、該ライン長さ
方向のずらし量は、前記基準クロックに比例して変化
し、かつ前記ライン同期信号によって初期値にリセット
されるようにされていることを特徴とするものである。
8. A digital image processing apparatus according to claim 5, wherein the line data is composed of a plurality of pixels, each of which is sequentially processed in synchronization with a reference clock. The shift amount output by the means further includes a shift amount in the line length direction, and the shift amount in the line length direction changes in proportion to the reference clock, and is changed by the line synchronization signal. It is characterized by being reset to an initial value.
JP27968590A 1990-10-17 1990-10-17 Digital image processing device Expired - Lifetime JP3021019B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27968590A JP3021019B2 (en) 1990-10-17 1990-10-17 Digital image processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27968590A JP3021019B2 (en) 1990-10-17 1990-10-17 Digital image processing device

Publications (2)

Publication Number Publication Date
JPH04154270A JPH04154270A (en) 1992-05-27
JP3021019B2 true JP3021019B2 (en) 2000-03-15

Family

ID=17614446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27968590A Expired - Lifetime JP3021019B2 (en) 1990-10-17 1990-10-17 Digital image processing device

Country Status (1)

Country Link
JP (1) JP3021019B2 (en)

Also Published As

Publication number Publication date
JPH04154270A (en) 1992-05-27

Similar Documents

Publication Publication Date Title
JPH11261809A (en) Digital copying machine
JPH11175710A (en) Picture forming device
JP3164744B2 (en) Image forming device
JP5460532B2 (en) Image processing apparatus and image forming apparatus
JP3021019B2 (en) Digital image processing device
JP2922618B2 (en) Digital image processing device
JPH04153783A (en) Digital image processor
JP3021018B2 (en) Digital image processing device
JPH023585B2 (en)
JP3801840B2 (en) Image processing device
JP3021027B2 (en) Digital image data processing device
JP3877416B2 (en) Image processing apparatus and image processing method
JP2877603B2 (en) Image processing device
JP3137334B2 (en) Digital image data processing device
JP3638168B2 (en) Image data storage device
JP2922629B2 (en) Digital image data processing device
JP3691732B2 (en) Image processing device
JP2977608B2 (en) Image edge processing device
JPH09321989A (en) Edge area detector
JP3079145B2 (en) Image processing device
JPH0591260A (en) Picture reader
JPH03174875A (en) Digital picture data processor
JPH0626431B2 (en) Image italicization processor
JPH03174873A (en) Digital picture data processor
JPH03174871A (en) Digital picture data processor