JPH06105118A - Facsimile equipment - Google Patents

Facsimile equipment

Info

Publication number
JPH06105118A
JPH06105118A JP4250900A JP25090092A JPH06105118A JP H06105118 A JPH06105118 A JP H06105118A JP 4250900 A JP4250900 A JP 4250900A JP 25090092 A JP25090092 A JP 25090092A JP H06105118 A JPH06105118 A JP H06105118A
Authority
JP
Japan
Prior art keywords
rotation processing
image data
page
memory
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP4250900A
Other languages
Japanese (ja)
Inventor
Toshifumi Nakamura
利文 中村
Susumu Yamamoto
進 山本
Takenori Obara
丈典 小原
Kenichi Sonobe
賢一 園部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP4250900A priority Critical patent/JPH06105118A/en
Publication of JPH06105118A publication Critical patent/JPH06105118A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To record received picture data rotated by 90 deg. onto recording paper by using a picture memory having a small capacity. CONSTITUTION:When picture data rotated by 90 deg. are recorded, an expander 16 is used to expand the picture data of n-lines and the expanded data are stored in an n-line buffer 17, and then a 1st start/stop signal 21 stops the expander 16. Simultaneously a 2nd start/stop signal 22 starts a rotation processing section 18 to sequentially read picture data from the n-line buffer 17 and the data are fed to the rotation processing section 18. The rotation processing section 18 rotates the picture data by 90 deg. in the unit of n-bitXn-bit and outputted to a page memory 19. An address control section 24 writes the picture data from the rotation processing section 18 to a prescribed position on the page memory 19 corresponding to the state that the picture area for one page is rotated by 90 deg..

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、受信した画像データを
90度回転して記録することのできるファクシミリ装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a facsimile apparatus which can record received image data by rotating it by 90 degrees.

【0002】[0002]

【従来の技術】従来のファクシミリ装置では、受信原稿
と同一サイズで縦横の方向の違う記録紙がセットされて
いる場合に、受信原稿より大きい記録紙に両脇に余白を
つけて等倍で記録するか、受信原稿より小さい記録紙に
縮小して記録していた。また、画像データを90度回転
して記録する方法も提案されている。
2. Description of the Related Art In a conventional facsimile apparatus, when a recording paper having the same size as the received original and different in the vertical and horizontal directions is set, the recording paper larger than the received original is printed at a normal size with margins on both sides. Or, it was recorded on a recording paper smaller than the received original. A method of rotating image data by 90 degrees and recording the image data has also been proposed.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
画像データの回転処理方式では、例えば特開平3−36
671号公報に示されるように、原画像データを記憶す
る画像メモリと回転処理後の画像データを記憶する画像
メモリの2つの画像メモリを必要としていたため、画像
メモリが大容量になるという問題点があった。
However, in the conventional image data rotation processing method, for example, Japanese Patent Application Laid-Open No. 3-36 is used.
As disclosed in Japanese Patent Publication No. 671 Gazette, two image memories, an image memory for storing the original image data and an image memory for storing the image data after the rotation processing, are required, so that the image memory becomes large in capacity. was there.

【0004】そこで本発明の目的は、受信原稿と同一サ
イズで縦横の方向の違う記録紙がセットされている場合
等に受信画像データを90度回転して記録紙に記録する
ことができると共に、画像メモリの容量を少なくするこ
とのできるファクシミリ装置を提供することにある。
Therefore, an object of the present invention is to rotate the received image data by 90 degrees and record it on the recording paper when the recording paper having the same size as the received original and different in the vertical and horizontal directions is set. It is an object of the present invention to provide a facsimile apparatus that can reduce the capacity of the image memory.

【0005】[0005]

【課題を解決するための手段】請求項1記載の発明のフ
ァクシミリ装置は、画像データを受信する受信手段と、
この受信手段によって受信された画像データを伸長する
伸長手段と、この伸長手段による伸長後の所定量の画像
データに対して90度の回転処理を行う回転処理手段
と、伸長手段による伸長後の画像データを回転処理に必
要なライン数分記憶するラインメモリと、回転処理手段
による回転処理後の画像データを1ページ分記憶するペ
ージメモリと、伸長手段による伸長後の画像データが回
転処理に必要なライン数分だけラインメモリに記憶され
た後に、このラインメモリに記憶された画像データを読
み出して回転処理手段へ送り回転処理を行わせる回転処
理制御手段と、ページメモリに対して、1ページの画像
領域を90度回転させた状態に対応する所定の位置に回
転処理後の画像データを格納するための書き込みアドレ
スを供給するアドレス制御手段と、ページメモリに格納
された画像データに基づいて画像の記録を行う記録手段
とを備えたものである。
According to a first aspect of the present invention, there is provided a facsimile apparatus including a receiving means for receiving image data,
Decompression means for decompressing the image data received by the receiving means, rotation processing means for performing 90 degree rotation processing on a predetermined amount of image data after decompression by the decompression means, and image after decompression by the decompression means. A line memory that stores data for the number of lines required for rotation processing, a page memory that stores one page of image data after rotation processing by the rotation processing means, and image data after expansion by the expansion means are necessary for rotation processing. After the image data stored in the line memory is stored in the line memory for the number of lines, the rotation processing control means for performing the rotation processing by sending the image data to the rotation processing means and the image of one page for the page memory. An address for supplying a write address for storing the image data after the rotation processing to a predetermined position corresponding to a state where the area is rotated by 90 degrees. And control means, in which a recording means for recording an image based on the image data stored in the page memory.

【0006】このファクシミリ装置では、受信手段によ
って受信された画像データは伸長手段によって伸長さ
れ、回転処理に必要なライン数分だけラインメモリに格
納される。このラインメモリに回転処理に必要なライン
数分だけ画像データが格納されると、回転処理制御手段
によってラインメモリから画像データが読み出され回転
処理手段へ送られ、この回転処理手段によって90度の
回転処理が行われる。この回転処理後の画像データは、
アドレス制御手段から供給される書き込みアドレスに従
ってページにメモリに格納され、ページメモリに1ペー
ジ全体を90度回転させた画像データが格納される。そ
して、このページメモリに格納された画像データに基づ
いて、記録手段によって画像の記録が行われる。
In this facsimile apparatus, the image data received by the receiving means is expanded by the expanding means and stored in the line memory by the number of lines required for the rotation processing. When the image data corresponding to the number of lines necessary for the rotation processing is stored in this line memory, the rotation processing control means reads the image data from the line memory and sends it to the rotation processing means. Rotation processing is performed. The image data after this rotation processing is
The page is stored in the memory in accordance with the write address supplied from the address control means, and the image data obtained by rotating one page by 90 degrees is stored in the page memory. Then, based on the image data stored in the page memory, the recording means records the image.

【0007】請求項2記載の発明のファクシミリ装置
は、請求項1記載の発明における受信手段、伸長手段、
回転処理手段、ラインメモリ、ページメモリ、アドレス
制御手段および記録手段の他に、伸長手段による伸長後
の画像データが回転処理に必要なライン数分だけライン
メモリに記憶された後に、伸長手段の伸長動作を一時停
止させ、ラインメモリに記憶された画像データを読み出
して回転処理手段へ送り回転処理を行わせる回転処理起
動手段と、回転処理手段によってラインメモリに記憶さ
れた画像データの回転処理が全て終了した後に、回転処
理手段の動作を一時停止させ、伸長手段の伸長動作を再
開させる伸長動作起動手段とを備えたものである。
According to a second aspect of the present invention, there is provided a facsimile apparatus, wherein the receiving means, the expanding means, and
In addition to the rotation processing means, the line memory, the page memory, the address control means and the recording means, the image data after the expansion by the expansion means is stored in the line memory for the number of lines required for the rotation processing, and then the expansion means is expanded. The rotation processing starting means for temporarily stopping the operation, reading the image data stored in the line memory and sending it to the rotation processing means to perform the rotation processing, and the rotation processing for the image data stored in the line memory by the rotation processing means are all After completion, the operation of the rotation processing means is temporarily stopped and the expanding operation of the expanding means is restarted.

【0008】このファクシミリ装置では、ラインメモリ
に回転処理に必要なライン数分だけ画像データが格納さ
れると、回転処理起動手段によって、伸長手段の伸長動
作が一時停止されると共に、ラインメモリから画像デー
タが読み出され回転処理手段へ送られ、この回転処理手
段によって90度の回転処理が行われる。回転処理手段
によってラインメモリに記憶された画像データの回転処
理が全て終了すると、伸長動作起動手段によって、回転
処理手段の動作が一時停止されると共に、伸長手段の伸
長動作が再開される。
In this facsimile apparatus, when the image data corresponding to the number of lines necessary for the rotation processing is stored in the line memory, the rotation processing starting means suspends the expansion operation of the expansion means, and the image is read from the line memory. The data is read and sent to the rotation processing means, and 90 degrees rotation processing is performed by this rotation processing means. When the rotation processing means completes all the rotation processing of the image data stored in the line memory, the decompression operation starting means suspends the operation of the rotation processing means and restarts the decompression operation of the decompression means.

【0009】請求項3記載の発明のファクシミリ装置
は、請求項1記載の発明における受信手段、伸長手段、
回転処理手段、ページメモリ、アドレス制御手段および
記録手段の他に、それぞれ伸長手段による伸長後の画像
データを回転処理に必要なライン数分記憶する2つのラ
インメモリと、伸長手段による伸長後の画像データを回
転処理に必要なライン数分ずつ交互に2つのラインメモ
リに格納させると共に画像データの格納が終了したライ
ンメモリから画像データを読み出して回転処理手段へ送
り回転処理を行わせるラインメモリ制御手段とを備えた
ものである。
According to a third aspect of the present invention, there is provided a facsimile machine which comprises a receiving means, an expanding means, and
In addition to the rotation processing means, the page memory, the address control means, and the recording means, two line memories for storing the image data expanded by the expansion means for the number of lines required for the rotation processing, and the image expanded by the expansion means, respectively. Line memory control means for storing data in two line memories alternately by the number of lines required for rotation processing, reading the image data from the line memory where the storage of the image data is completed, and sending it to the rotation processing means for rotation processing. It is equipped with and.

【0010】このファクシミリ装置では、ラインメモリ
制御手段によって、伸長手段による伸長後の画像データ
は回転処理に必要なライン数分ずつ交互に2つのライン
メモリに格納され、画像データの格納が終了したライン
メモリから画像データが読み出され回転処理手段へ送ら
れ回転処理が行われる。従って、伸長動作と回転処理動
作が停止することなく行われる。
In this facsimile apparatus, the line memory control means alternately stores the image data expanded by the expansion means in two line memories by the number of lines required for the rotation processing, and the line for which the storage of the image data is completed is stored. The image data is read from the memory and sent to the rotation processing means for rotation processing. Therefore, the expansion operation and the rotation processing operation are performed without stopping.

【0011】[0011]

【実施例】以下、図面を参照して本発明の実施例につい
て説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】図1は本発明の第1実施例のファクシミリ
装置の概略の構成を示すブロック図である。このファク
シミリ装置は、回線に接続される網制御部11と、この
網制御部11に接続されたモデム12と、このモデム1
2に接続された符号記憶部13と、この符号記憶部13
に接続された圧縮器14および伸長器16とを備えてい
る。圧縮器14には読取部15が接続されている。一
方、伸長器16の後段には、nラインバッファ17、回
転処理部18、ページメモリ19および記憶部20が順
に接続されている。また、ファクシミリ装置は、更に、
伸長器16に対して第1の起動/停止信号21を与える
と共に、回転処理部18に対して第2の起動/停止信号
22を与える制御部23と、nラインバッファ17とペ
ージメモリ19に対して書き込みアドレスおよび読み出
しアドレスを供給するアドレス制御部24とを備えてい
る。なお、アドレス制御部24は制御部23によって動
作が制御されるようになっている。また、制御部23
は、中央処理装置と、この中央処理装置が実行するプロ
グラムを格納すると共にワーキングエリアとなるメモリ
とを有している。
FIG. 1 is a block diagram showing the schematic arrangement of a facsimile apparatus according to the first embodiment of the present invention. This facsimile apparatus includes a network control unit 11 connected to a line, a modem 12 connected to the network control unit 11, and a modem 1
2 is connected to the code storage unit 13, and the code storage unit 13
And a compressor 14 and an expander 16 connected to the. A reading unit 15 is connected to the compressor 14. On the other hand, the n-line buffer 17, the rotation processing unit 18, the page memory 19, and the storage unit 20 are sequentially connected to the subsequent stage of the decompressor 16. In addition, the facsimile machine
A control unit 23 for giving a first start / stop signal 21 to the decompressor 16 and a second start / stop signal 22 for the rotation processing unit 18, an n-line buffer 17, and a page memory 19. And an address control section 24 for supplying a write address and a read address. The operation of the address controller 24 is controlled by the controller 23. In addition, the control unit 23
Has a central processing unit and a memory serving as a working area for storing a program executed by the central processing unit.

【0013】回転処理部18はnビット×nビットの画
像データを90度回転するものであり、構成および動作
は後で詳しく説明する。nラインバッファ17は、伸長
器16による伸長後の画像データを、回転処理部18に
よる回転処理に必要なnライン分記憶するものである。
また、ページメモリ19は回転処理部18からの画像デ
ータを1ページ分記憶するものである。
The rotation processing unit 18 rotates n-bit × n-bit image data by 90 degrees, and its configuration and operation will be described in detail later. The n-line buffer 17 stores the image data decompressed by the decompressor 16 for n lines necessary for the rotation processing by the rotation processing unit 18.
The page memory 19 stores the image data from the rotation processing unit 18 for one page.

【0014】次に、本実施例のファクシミリ装置の動作
の概要を説明する。送信時は、読取部15で原稿を読み
取って得られた画像データが圧縮器14で符号化され、
符号記憶部13に一旦蓄積された後、読み出されてモデ
ム12で変調され、網制御部11を介して回線に送出さ
れる。受信時は、網制御部11を介して受信された画像
データがモデム12で復調され、符号記憶部13に一旦
蓄積された後、読み出されて伸長器16で伸長され、n
ラインバッファ17、回転処理部18を経て、ページメ
モリ19に1ページ分格納される。そして、このページ
メモリ19に格納された画像データに基づいて、記録部
20で画像の記録が行われる。
Next, an outline of the operation of the facsimile apparatus of this embodiment will be described. At the time of transmission, the image data obtained by reading the document by the reading unit 15 is encoded by the compressor 14,
After being temporarily stored in the code storage unit 13, it is read out, modulated by the modem 12, and transmitted to the line via the network control unit 11. At the time of reception, the image data received via the network control unit 11 is demodulated by the modem 12, temporarily stored in the code storage unit 13, then read and expanded by the expander 16, and n
One page is stored in the page memory 19 through the line buffer 17 and the rotation processing unit 18. Then, based on the image data stored in the page memory 19, the recording unit 20 records an image.

【0015】受信原稿と同一サイズで縦横の方向の違う
記録紙がセットされている場合のよに、画像データを9
0度回転して記録する場合には、制御部23は、まず第
1の起動/停止信号21によって伸長器16を起動状態
とすると共に、第2の起動/停止信号22によって回転
処理部18を停止状態とする。この状態で、伸長器16
は符号記憶部13に蓄積されている符号化された画像デ
ータを読み出し、順次伸長してnラインバッファ17に
格納していく。
As in the case where a recording paper having the same size as the received original and different in the vertical and horizontal directions is set, the image data is set to 9
When recording the image by rotating it by 0 degrees, the control unit 23 first activates the expander 16 by the first start / stop signal 21, and the rotation processing unit 18 by the second start / stop signal 22. Set to the stopped state. In this state, the expander 16
Reads the coded image data accumulated in the code storage unit 13, sequentially expands and stores it in the n-line buffer 17.

【0016】伸長器16がnライン分の画像データをn
ラインバッファ17に格納すると、制御部23は第1の
起動/停止信号21によって伸長器16を停止状態とす
ると共に、第2の起動/停止信号22によって回転処理
部18を起動状態とし、更にアドレス制御部24に対し
て回転処理に必要なアドレスの発生を指示する。アドレ
ス制御部24はnラインバッファ17に読み出しアドレ
スを供給して、このnラインバッファ17から画像デー
タを順次読み出し、回転処理部18に供給する。回転処
理部18はnラインバッファ17から供給された画像デ
ータをnビット×nビット単位で90度回転してページ
メモリ19に出力する。アドレス制御部24はページメ
モリ19に書き込みアドレスを供給して、回転処理部1
8からの画像データを、1ページの画像領域を90度回
転させた状態に対応するページメモリ19上の所定の位
置に書き込む。
The decompressor 16 converts the image data of n lines into n
When stored in the line buffer 17, the control unit 23 puts the decompressor 16 in the stopped state by the first start / stop signal 21, and puts the rotation processing unit 18 in the started state by the second start / stop signal 22, and further The control unit 24 is instructed to generate an address necessary for the rotation processing. The address controller 24 supplies a read address to the n-line buffer 17, sequentially reads image data from the n-line buffer 17, and supplies the image data to the rotation processor 18. The rotation processing unit 18 rotates the image data supplied from the n-line buffer 17 by 90 degrees in units of n bits × n bits and outputs it to the page memory 19. The address control unit 24 supplies the write address to the page memory 19, and the rotation processing unit 1
The image data from 8 is written in a predetermined position on the page memory 19 corresponding to a state in which the image area of one page is rotated by 90 degrees.

【0017】回転処理部18がnラインバッファ17に
格納された画像データの回転処理を全て終了すると、制
御部23は第1の起動/停止信号21によって伸長器1
6を再び起動状態とすると共に、第2の起動/停止信号
22によって回転処理部18を停止状態とする。
When the rotation processing section 18 completes all the rotation processing of the image data stored in the n-line buffer 17, the control section 23 responds to the first start / stop signal 21 by the decompressor 1.
6 is activated again, and the rotation processor 18 is deactivated by the second activation / stop signal 22.

【0018】以上の動作を繰り返すことにより、1ペー
ジ分の画像データが90度回転されてページメモリ19
に格納される。そして、このページメモリ19に格納さ
れた画像データに基づいて記録部20で画像の記録を行
うことにより、受信画像を90度回転した画像が記録さ
れる。
By repeating the above operation, the image data for one page is rotated by 90 degrees, and the page memory 19 is rotated.
Stored in. Then, the recording unit 20 records an image based on the image data stored in the page memory 19 to record an image obtained by rotating the received image by 90 degrees.

【0019】なお、90度回転処理を行わない場合に
は、nラインバッファ17および回転処理部18、また
は回転処理部18のみを迂回してページバッファ19に
画像データを書き込めば良い。
When the 90-degree rotation processing is not performed, the image data may be written in the page buffer 19 by bypassing the n-line buffer 17 and the rotation processing section 18, or only the rotation processing section 18.

【0020】このように本実施例では、受信原稿と同一
サイズで縦横の方向の違う記録紙がセットされている場
合に受信画像データを90度回転して記録紙に記録する
ことができると共に、画像メモリとしては1画面分のペ
ージメモリ19とnラインバッファ17だけで済むの
で、画像メモリの容量を少なくすることができる。
As described above, in this embodiment, when the recording paper having the same size as the received original and different in the vertical and horizontal directions is set, the received image data can be rotated by 90 degrees and recorded on the recording paper. Since the page memory 19 for one screen and the n-line buffer 17 are sufficient as the image memory, the capacity of the image memory can be reduced.

【0021】図2は本発明の第2実施例のファクシミリ
装置の概略の構成を示すブロック図である。本実施例
は、第1実施例における一つのnラインバッファ17の
代わりに2つのnラインバッファ171 、172 を設け
ると共に、伸長器16からの画像データをnラインバッ
ファ171 、172 の一方に選択的に供給するセレクタ
26と、nラインバッファ171 、172 の一方の出力
を選択的に回転処理部18に供給するセレクタ27とを
設けたものである。各セレクタ26、27はそれぞれ制
御部23からの切換信号S1 、S2 によって、nライン
毎に交互に切り換えられるようになっている。また、本
実施例では、第1の起動/停止信号21と第2の起動/
停止信号22は同時に起動状態、停止状態となるように
なっている。
FIG. 2 is a block diagram showing the schematic arrangement of a facsimile apparatus according to the second embodiment of the present invention. In this embodiment, two n line buffers 17 1 and 17 2 are provided instead of the one n line buffer 17 in the first embodiment, and the image data from the decompressor 16 is stored in the n line buffers 17 1 and 17 2 . A selector 26 selectively supplying one of the outputs and a selector 27 selectively supplying one output of the n-line buffers 17 1 and 17 2 to the rotation processing unit 18 are provided. The selectors 26 and 27 are adapted to be switched alternately every n lines by switching signals S 1 and S 2 from the control section 23. Further, in this embodiment, the first start / stop signal 21 and the second start / stop signal 21
The stop signal 22 is set to the activated state and the stopped state at the same time.

【0022】本実施例において、画像データを90度回
転して記録する場合には、制御部23は、第1の起動/
停止信号21および第2の起動/停止信号22によって
伸長器16および回転処理部18を起動状態とすると共
に、切換信号S1 によってセレクタ26にてnラインバ
ッファ171 側を選択し、切換信号S2 によってセレク
タ27にてnラインバッファ172 側を選択する。この
状態で、伸長器16は符号記憶部13に蓄積されている
符号化された画像データを読み出し、順次伸長してライ
ンメモリ171 に格納していく。
In the present embodiment, when the image data is recorded by rotating it by 90 degrees, the control unit 23 controls the first start / start.
With the start state expander 16 and the rotation unit 18 by the stop signal 21 and the second start / stop signal 22, selects the n-line buffer 17 1 side by the selector 26 by the switching signal S 1, the switching signal S In accordance with 2 , the selector 27 selects the n-line buffer 17 2 side. In this state, the decompressor 16 reads out the coded image data accumulated in the code storage unit 13, sequentially decompresses it, and stores it in the line memory 17 1 .

【0023】伸長器16がnライン分の画像データをn
ラインメモリ171 に格納すると、制御部23は切換信
号S1 、S2 によってセレクタ26にてnラインバッフ
ァ172 側を選択し、セレクタ27にてnラインバッフ
ァ171 側を選択するように切り換え、更にアドレス制
御部24に対して回転処理に必要なアドレスの発生を指
示する。この状態で、伸長器16は伸長した画像データ
をラインメモリ172に格納していき、同時に、アドレ
ス制御部24はnラインバッファ171 に読み出しアド
レスを供給して、このnラインバッファ171 から画像
データを順次読み出し、回転処理部18に供給する。回
転処理部18はnラインバッファ171から供給された
画像データをnビット×nビット単位で90度回転して
ページメモリ19に出力する。アドレス制御部24はペ
ージメモリ19に書き込みアドレスを供給して、回転処
理部18からの画像データを、1ページの画像領域を9
0度回転させた状態に対応するページメモリ19上の所
定の位置に書き込む。
The decompressor 16 converts the image data of n lines into n
When stored in the line memory 17 1 , the control unit 23 switches the selector 26 to select the n line buffer 17 2 side by the switching signals S 1 and S 2 , and the selector 27 to select the n line buffer 17 1 side. Further, the address controller 24 is instructed to generate an address necessary for the rotation processing. In this state, the decompressor 16 will store the image data expanded in the line memory 17 2, at the same time, the address control section 24 supplies a read address to the n-line buffer 17 1, From the n-line buffer 17 1 The image data is sequentially read and supplied to the rotation processing unit 18. The rotation processing unit 18 rotates the image data supplied from the n-line buffer 17 1 by 90 degrees in units of n bits × n bits and outputs the rotated image data to the page memory 19. The address control unit 24 supplies the write address to the page memory 19 so that the image data from the rotation processing unit 18 can be transferred to the image area of one page by nine.
Writing is performed at a predetermined position on the page memory 19 corresponding to the state of being rotated by 0 degree.

【0024】回転処理部18がnラインバッファ171
に格納された画像データの回転処理を全て終了すると、
制御部23は切換信号S1 、S2 によって、書き込み、
読み出しを行うnラインバッファを切り換えて上記と同
様の動作を行わせ、以下同様に、nライン毎に交互にn
ラインバッファを切り換えて、1ページ分の画像データ
を処理する。
The rotation processing unit 18 uses the n-line buffer 17 1
When all the rotation processing of the image data stored in
The control unit 23 writes by the switching signals S 1 and S 2 ,
The n-line buffer for reading is switched to perform the same operation as described above, and thereafter, similarly, n lines are alternately alternated for n lines.
The line buffer is switched to process one page of image data.

【0025】このように本実施例では、伸長器16と回
転処理部18を停止させることなく連続的に動作させて
処理を行うので、第1実施例に比べて処理速度が速くな
る。
As described above, in this embodiment, the decompressor 16 and the rotation processing section 18 are continuously operated without being stopped for processing, so that the processing speed is higher than that in the first embodiment.

【0026】その他の構成、作用および効果は第1実施
例と同様である。
Other configurations, operations and effects are similar to those of the first embodiment.

【0027】次に、本発明の第1実施例および第2実施
例に共通する部分の構成について詳しく説明する。
Next, the structure of the parts common to the first and second embodiments of the present invention will be described in detail.

【0028】図3はアドレス制御部24の構成を示すブ
ロック図である。このアドレス発生部4は、9個のレジ
スタ41〜49と、制御部23からの選択信号ASEL
に応じてレジスタ41〜49の各出力のうちの一つを選
択して出力するマルチプレクサ(以下、MUXと記
す。)52と、制御部23からの選択信号BSELに応
じてレジスタ41〜49の各出力のうちの一つを選択し
て出力するMUX53と、MUX52、53の各出力を
それぞれA、Bとして入力し、所定の演算を行って演算
結果をCとして出力する算術論理演算器(以下、ALU
と記す。)54とを備えている。ALU54は、制御部
23からの信号FUNCTIONによって、以下の5つ
の機能のうちの一つを選択して実行するようになってい
る。6つの機能とは、「C=A+B」、「C=A−
B」、「C=A+1」、「C=A−1」、「C=A」で
ある。なお、ALU54の演算結果Cはアドレス58と
して出力される。また、ALU54は演算結果Cの他
に、後述する一致信号59を制御部23に出力する。
FIG. 3 is a block diagram showing the configuration of the address controller 24. The address generator 4 includes nine registers 41 to 49 and a selection signal ASEL from the controller 23.
A multiplexer (hereinafter referred to as MUX) 52 that selects and outputs one of the outputs of the registers 41 to 49 according to the above, and each of the registers 41 to 49 according to a selection signal BSEL from the control unit 23. An MUX 53 that selects and outputs one of the outputs, and an arithmetic logic calculator that inputs the outputs of the MUXs 52 and 53 as A and B, respectively, and performs a predetermined calculation and outputs the calculation result as C (hereinafter, ALU
Is written. ) 54 and. The ALU 54 is adapted to select and execute one of the following five functions according to a signal FUNCTION from the control unit 23. The six functions are "C = A + B" and "C = A-
B ”,“ C = A + 1 ”,“ C = A−1 ”, and“ C = A ”. The calculation result C of the ALU 54 is output as the address 58. In addition to the calculation result C, the ALU 54 outputs a coincidence signal 59 described later to the control unit 23.

【0029】アドレス制御部24は、更に、制御部23
からのイニシャルデータINIとALU54の演算結果
Cとを入力し、制御部23からの選択信号SELに応じ
て一方を選択して、各レジスタ41〜49に出力するM
UX55と、制御部23からの選択信号CSELをデコ
ードして各レジスタ41〜51に対して選択信号57を
与えるデコーダ56とを備えている。
The address control unit 24 further includes a control unit 23.
The initial data INI and the calculation result C of the ALU 54 are input, one is selected according to the selection signal SEL from the control unit 23, and M is output to each of the registers 41 to 49.
It is provided with a UX 55 and a decoder 56 which decodes a selection signal CSEL from the control unit 23 and gives a selection signal 57 to each of the registers 41 to 51.

【0030】なお、各レジスタ41〜49に格納される
データの内容については、後で説明する。
The contents of the data stored in each of the registers 41 to 49 will be described later.

【0031】次に、回転処理部18について説明する。Next, the rotation processing section 18 will be described.

【0032】図4は回転処理部18が入出力するデータ
を示す説明図である。この図に示すように、回転処理部
18は、ラインバッファ17(第2実施例におけるライ
ンバッファ171 、172 を含む。)から入力データD
Iを入力し、ページバッファ19へ出力データDOを出
力する。また、回転処理部18は、制御部23からクロ
ックCLK、リセット信号/RST、ライトクロックW
RCLKおよびリードクロックRDCLKを入力し、制
御部23へ信号WR16ENDと信号RD16ENDと
を出力するようになっている。なお、回転処理部18で
はライトクロックWRCLKおよびリードクロックRD
CLKに基づいて書き込みおよび読み出しが行われるの
で、これらライトクロックWRCLKおよびリードクロ
ックRDCLKが、図1および図2における第2の起動
/停止信号22に対応する。
FIG. 4 is an explanatory diagram showing data input / output by the rotation processing unit 18. As shown in this figure, the rotation processing unit 18 receives input data D from the line buffer 17 (including the line buffers 17 1 and 17 2 in the second embodiment).
I is input, and output data DO is output to the page buffer 19. Further, the rotation processing unit 18 receives the clock CLK, the reset signal / RST, and the write clock W from the control unit 23.
The RCLK and the read clock RDCLK are input and the signal WR16END and the signal RD16END are output to the control unit 23. The rotation processing unit 18 uses the write clock WRCLK and the read clock RD.
Since writing and reading are performed based on CLK, these write clock WRCLK and read clock RDCLK correspond to the second start / stop signal 22 in FIGS. 1 and 2.

【0033】図5は回転処理部18の構成を示すブロッ
ク図である。この図に示すように、回転処理部18は、
マトリックス状に配列された16×16個のフリップフ
ロップ(以下、FFと記す。)を有し、入力データDI
を入力し保持するFF部61と、このFF部61の各F
Fのうちの16個毎に設けられた16個のMUXからな
るMUX部62と、このMUX部62の各MUXの出力
を一方の入力とし、リードクロックRDCLKを他方の
入力とするアンドゲート63とを備えている。このアン
ドゲート63の出力が出力データDOとなる。
FIG. 5 is a block diagram showing the structure of the rotation processing unit 18. As shown in this figure, the rotation processing unit 18 is
Input data DI having 16 × 16 flip-flops (hereinafter referred to as FF) arranged in a matrix.
FF unit 61 for inputting and holding and each F of this FF unit 61
An MUX unit 62 including 16 MUXs provided for every 16 units of F, and an AND gate 63 having one input of the output of each MUX of the MUX unit 62 and the other input of the read clock RDCLK. Is equipped with. The output of the AND gate 63 becomes the output data DO.

【0034】また、回転処理部18は、更に、クロック
CLKのタイミングでライトクロックWRCLKをカウ
ントするライトアドレスカウンタ64と、このライトア
ドレスカウンタ64が出力するライトアドレスをデコー
ドしてFF部61に対するクロックを出力するデコーダ
65と、このデコーダ65の出力とライトクロックWR
CLKとを入力してFF部61に対するクロック67を
出力するアンドゲート66と、クロックCLKのタイミ
ングでリードクロックRDCLKをカウントするリード
アドレスカウンタ68と、このリードアドレスカウンタ
68が出力するリードアドレスをデコードしてMUX部
62に対する選択信号70を出力するデコーダ69とを
備えている。
Further, the rotation processing section 18 further decodes the write address counter 64 which counts the write clock WRCLK at the timing of the clock CLK and the write address output from the write address counter 64 to generate a clock for the FF section 61. Output decoder 65, output of this decoder 65 and write clock WR
An AND gate 66 that inputs CLK and outputs a clock 67 to the FF unit 61, a read address counter 68 that counts the read clock RDCLK at the timing of the clock CLK, and a read address that this read address counter 68 outputs are decoded. And a decoder 69 that outputs a selection signal 70 to the MUX unit 62.

【0035】ライトアドレスカウンタ64とリードアド
レスカウンタ68は共に、リセット信号/RSTにより
“0”にクリアされ、ライトアドレスカウンタ64はラ
イトクロックWRCLKを16個カウントすると信号W
R16ENDを出力し、リードアドレスカウンタ68は
リードクロックRDCLKを16個カウントすると信号
RD16ENDを出力する。
Both the write address counter 64 and the read address counter 68 are cleared to "0" by the reset signal / RST, and the write address counter 64 counts 16 write clocks WRCLK and outputs the signal W.
R16END is output, and the read address counter 68 outputs a signal RD16END after counting 16 read clocks RDCLK.

【0036】図6は回転処理部18のFF部61とMU
X部62を示すブロック図である。なお、入力データD
Iは入力データDI0 〜DI15からなり、出力データD
Oは出力データDO0 〜DO15からなるものとする。こ
の図に示すように、FF部61は、それぞれ入力データ
DI0 〜DI15のうちの一つを入力する16個ずつのF
F700 〜7015、710 〜7115、…、850 〜85
15を有している。このうち、FF700 、710 、…、
850 はライトアドレスWRADが“0”のときにデー
タを入力し、同様に、FF701 〜851 、…、FF7
15〜8515も、それぞれライトアドレスWRADが
“1”、…“15”のときにデータを入力する。
FIG. 6 shows the FF unit 61 of the rotation processing unit 18 and the MU.
FIG. 6 is a block diagram showing an X section 62. The input data D
I consists of input data DI 0 to DI 15 and output data D
It is assumed that O is composed of output data DO 0 to DO 15 . As shown in this figure, the FF unit 61 has 16 Fs each receiving one of the input data DI 0 to DI 15.
F70 0 ~70 15, 71 0 ~71 15, ..., 85 0 ~85
Have 15 . Of these, FFs 70 0 , 71 0 , ...
85 0 inputs data when the write address WRAD is “0”, and similarly, FFs 70 1 to 85 1 , ..., FF 7
0 15 to 85 15 also input data when the write address WRAD is “1”, ...

【0037】また、MUX部62は16個のMUX62
0 〜6215を有し、MUX620 はFF700 〜850
のうちの一つの出力を選択して出力データDO0 として
出力する。MUX621 はFF701 〜851 のうちの
一つの出力を選択して出力データDO1 として出力す
る。以下同様にしてMUX622 〜6215も、それぞれ
対応する16個のFFのうちの一つの出力を選択して出
力データDO2 〜DO15として出力する。これらMUX
620 〜6215は、リードアドレスRDADが“0”の
ときにFF700 〜7015のデータを出力し、同様に、
リードアドレスRDADが“1”、…“15”のときに
FF710 〜7115、…、850 〜8515のデータを出
力する。
In addition, the MUX unit 62 includes 16 MUXs 62.
Has 0 ~62 15, MUX62 0 is FF70 0 to 85 0
One of the outputs is selected and output as output data DO 0 . MUX 62 1 to output as the output data DO 1 selects one of the output of the FF70 1 to 85 1. Similarly, the MUXs 62 2 to 62 15 also select one of the corresponding 16 FFs and output it as output data DO 2 to DO 15 . These MUX
62 0 to 62 15 output the data of the FFs 70 0 to 70 15 when the read address RDAD is “0”, and similarly,
When the read address RDAD is "1", ..., "15", the data of the FFs 71 0 to 71 15 , ..., 85 0 to 85 15 are output.

【0038】次に、図7を参照して、回転処理部18の
動作について説明する。図7(a)、(b)において1
6×16個の各マスはFF部61の各FFを示してい
る。また、図7(a)における縦軸はライトアドレスW
RADを示し、横軸は入力データDI0 〜DI15を示
し、図7(b)における縦軸はリードアドレスRDAD
を示し、横軸は出力データDO0 〜DO15を示してい
る。
Next, the operation of the rotation processing section 18 will be described with reference to FIG. 1 in FIGS. 7A and 7B
Each 6 × 16 cell represents each FF of the FF unit 61. The vertical axis in FIG. 7A indicates the write address W.
RAD is shown, the horizontal axis shows the input data DI 0 to DI 15, and the vertical axis in FIG. 7B shows the read address RDAD.
And the horizontal axis represents the output data DO 0 to DO 15 .

【0039】図7(a)に示すように、FF部61に入
力データを書き込むときは、入力データDI0 〜DI15
は、“0”から順にインクリメントするライトアドレス
WRADに従って、このライトアドレスWRADに対応
する位置に書き込まれる。一方、図7(b)に示すよう
に、FF部61から出力データを読み出すときは、
“0”から順にインクリメントするリードアドレスRD
ADに従って、このリードアドレスRDADに対応する
位置から出力データDO0 〜DO15が読み出される。な
お、ライトアドレスWRAD、リードアドレスRDAD
は共に“15”から“0に戻る。図6に示す構成から分
かるように、出力データを読み出すときには、データを
書き込むときとは直交する方向に1列ずつデータを読み
出すため、図7(b)に示すように、入力データを90
度回転させたデータが出力されることになる。このよう
にして、回転処理部18では、16ビット×16ビット
のデータを1ブロックとして、ブロック単位で90度の
回転処理を行う。
As shown in FIG. 7A, when writing the input data into the FF section 61, the input data DI 0 to DI 15 are input.
Is written in a position corresponding to the write address WRAD according to the write address WRAD which is sequentially incremented from "0". On the other hand, as shown in FIG. 7B, when the output data is read from the FF unit 61,
Read address RD that is sequentially incremented from "0"
According to AD, the output data DO 0 to DO 15 are read from the position corresponding to this read address RDAD. The write address WRAD and the read address RDAD
Both return from “15” to “0. As can be seen from the configuration shown in FIG. 6, when reading output data, data is read out column by column in the direction orthogonal to the time when data is written, so that FIG. As shown in
The rotated data will be output. In this way, the rotation processing unit 18 performs rotation processing of 90 degrees in block units, with 16-bit × 16-bit data as one block.

【0040】図8は回転処理部18の書き込み時の動作
を示すタイミングチャートである。書き込み時には、
(c)に示す入力データDI15〜DI0 は、(b)に示
すライトクロックWRCLKに応じて、(d)に示すラ
イトアドレスWRADに対応するFFに書き込まれる。
また、ライトアドレスカウンタ64は、(a)に示すク
ロックCLKのタイミングでライトクロックWRCLK
をカウントし、(d)に示すライトアドレスWRADを
インクリメントし、ライトクロックWRCLKを16個
カウントすると(e)に示す信号WR16ENDを出力
する。
FIG. 8 is a timing chart showing the write operation of the rotation processing section 18. When writing,
The input data DI 15 to DI 0 shown in (c) are written in the FF corresponding to the write address WRAD shown in (d) in response to the write clock WRCLK shown in (b).
Further, the write address counter 64 has the write clock WRCLK at the timing of the clock CLK shown in (a).
Is counted, the write address WRAD shown in (d) is incremented, and 16 write clocks WRCLK are counted, the signal WR16END shown in (e) is output.

【0041】図9は回転処理部18の読み出し時の動作
を示すタイミングチャートである。読み出し時には、
(b)に示すリードクロックRDCLKに応じて、
(d)に示すリードアドレスRDADに対応するFFか
ら、(c)に示す出力データDO15〜DO0 が読み出さ
れる。また、リードアドレスカウンタ68は、(a)に
示すクロックCLKのタイミングでリードクロックRD
CLKをカウントし、(d)に示すリードアドレスRD
ADをインクリメントし、リードクロックRDCLKを
16個カウントすると(e)に示す信号RD16END
を出力する。
FIG. 9 is a timing chart showing the read operation of the rotation processing section 18. When reading,
According to the read clock RDCLK shown in (b),
The output data DO 15 to DO 0 shown in (c) are read from the FF corresponding to the read address RDAD shown in (d). The read address counter 68 also reads the read clock RD at the timing of the clock CLK shown in (a).
Read address RD shown in (d) after counting CLK
When AD is incremented and 16 read clocks RDCLK are counted, a signal RD16END shown in (e) is obtained.
Is output.

【0042】次に図10を参照して、本発明の実施例に
おいて1ページ分の画像データを90度回転させるとき
の動作の概要について説明する。
Next, with reference to FIG. 10, an outline of the operation for rotating one page of image data by 90 degrees in the embodiment of the present invention will be described.

【0043】図10において(a)は原画像の画像領域
を示し、(b)は原画像を90度回転させた回転処理後
の画像の画像領域を示している。伸長器16によって伸
長処理が行われた原画像データは、X方向(主走査方
向)のワード数がSXWであるとする。この原画像デー
タは、16ライン毎にnラインバッファバッファ17に
格納され、図中“1”〜“8”の数字で示す順番に従っ
て、16ビット×16ビットのブロック単位でnライン
バッファ17から読み出され、回転処理部18に送られ
る。この回転処理部18で回転処理された画像データ
は、原画像に対して画像領域を90度回転させた状態に
おける各ブロックの配置に従って、ページメモリ19に
格納される。このページメモリ19において、X方向の
ワード数がDXWで、Y方向のライン数がDYLである
とする。また、原画像データのラインバッファ17にお
ける先頭ラインの先頭ワードのアドレスをSADとす
る。また、回転処理後の画像データのページメリ19に
おける最終ラインの先頭ワードのアドレスをDADとす
る。
In FIG. 10, (a) shows the image area of the original image, and (b) shows the image area of the image after the rotation processing in which the original image is rotated by 90 degrees. It is assumed that the original image data subjected to the decompression processing by the decompressor 16 has the number of words in the X direction (main scanning direction) of SXW. This original image data is stored in the n-line buffer buffer 17 every 16 lines, and is read from the n-line buffer 17 in 16-bit × 16-bit block units according to the order indicated by the numbers “1” to “8” in the figure. It is taken out and sent to the rotation processing unit 18. The image data rotated by the rotation processing unit 18 is stored in the page memory 19 according to the arrangement of each block in a state where the image area is rotated 90 degrees with respect to the original image. In this page memory 19, it is assumed that the number of words in the X direction is DXW and the number of lines in the Y direction is DYL. Further, the address of the first word of the first line in the line buffer 17 of the original image data is SAD. Further, the address of the first word of the last line in the page memory 19 of the image data after the rotation processing is DAD.

【0044】このように本発明の実施例では、回転処理
部18で回転処理したブロックの画像データを、原画像
に対して画像領域を90度回転させた状態における各ブ
ロックの配置に従ってページメモリ19に格納すること
によって、1ページ分の画像データ全体を90度回転す
る。
As described above, in the embodiment of the present invention, the page memory 19 is arranged according to the arrangement of each block in the state where the image area of the block rotated by the rotation processing unit 18 is rotated by 90 degrees with respect to the original image. The entire image data for one page is rotated by 90 degrees.

【0045】ここで、図3の各レジスタ41〜49に格
納されるデータの内容について説明する。レジスタ41
には前述のアドレスSADの設定値SADRが格納され
る。レジスタ42には「DAD+DXW×(DYL−
1)」の設定値DADRが格納される。なお、この設定
値DADRのアドレスは、図10に示すように、ページ
メモリ19において最初に画像データを書き込むアドレ
スである。レジスタ43には原画像データのX方向のワ
ード数SXWの設定値SXWRが格納される。レジスタ
44には回転処理後の画像データのX方向のワード数D
XWの設定値DXWRが格納される。レジスタ45には
回転処理後の画像データのY方向のライン数DYLの設
定値DYLRが格納される。なお、このDYLRは“1
6”の倍数でなければならない。レジスタ46〜49に
はそれぞれ内部処理で使用するデータSADP、DAD
P、DXWP、DYLPが格納される。
The contents of the data stored in the registers 41 to 49 of FIG. 3 will be described. Register 41
Stores the set value SADR of the address SAD described above. The register 42 stores “DAD + DXW × (DYL−
1) ”set value DADR is stored. The address of the set value DADR is an address where the image data is first written in the page memory 19, as shown in FIG. The register 43 stores the set value SXWR of the word number SXW in the X direction of the original image data. The register 44 stores the word number D in the X direction of the image data after the rotation processing.
The set value DXWR of XW is stored. The register 45 stores the set value DYLR of the number of lines DYL in the Y direction of the image data after the rotation processing. In addition, this DYLR is "1.
It must be a multiple of 6 ". Registers 46 to 49 have data SADP and DAD used in internal processing, respectively.
P, DXWP, and DYLP are stored.

【0046】一例として、A4縦の400dpiの原画
像をA4横の400dpiの回転処理後の画像に変換す
る場合、SXWR=3456/16=216、DXWR
=4864/16=304、DYLR=SXWR×16
となる。
As an example, when converting an A4 vertical 400 dpi original image into an A4 horizontal 400 dpi rotated image, SXWR = 3456/16 = 216, DXWR
= 4864/16 = 304, DYLR = SXWR × 16
Becomes

【0047】次に図11を参照して、本発明の実施例に
おいて1ページ分の画像データを90度回転させるとき
の動作を詳しく説明する。
Next, with reference to FIG. 11, the operation for rotating one page of image data by 90 degrees in the embodiment of the present invention will be described in detail.

【0048】図11は本発明の実施例の動作を示すフロ
ーチャートである。この動作では、まずステップ(以
下、Sと記す。)101で、DXWPをクリアする。次
にS102で、伸長器16により16ラインの伸長処理
を行い、DYLPをクリアし、DADRをDADPと
し、DADRをインクリメントする。ここで、DADR
をインクリメントするのは、図10に示すようにページ
メモリ19において例えばブロック“1”〜“4”の書
き込みが終了した後にブロック“5”に進むためであ
る。なお、伸長器16による16ラインの伸長処理が終
わると、第1実施例では第1の起動/停止信号21によ
って伸長器16を停止すると共に第2の起動/停止信号
22によって回転処理部18を起動する。第2実施例で
は、別個のnラインバッファ171 、172 を用いて伸
長器16による伸長処理とS102以降の回転処理が並
行して行われる。
FIG. 11 is a flow chart showing the operation of the embodiment of the present invention. In this operation, first, in step (hereinafter referred to as S) 101, DXWP is cleared. Next, in S102, the decompressor 16 decompresses 16 lines, clears DYLP, sets DADR to DADP, and increments DADR. Where DADR
Is incremented in order to proceed to the block "5" after the writing of the blocks "1" to "4" is completed in the page memory 19 as shown in FIG. When the expansion processing of 16 lines by the expander 16 is completed, the expander 16 is stopped by the first start / stop signal 21 and the rotation processing unit 18 is stopped by the second start / stop signal 22 in the first embodiment. to start. In the second embodiment, the expansion processing by the expander 16 and the rotation processing after S102 are performed in parallel by using separate n line buffers 17 1 and 17 2 .

【0049】次にS103で、SADRをSADPと
し、SADRをインクリメントする。ここで、SADR
をインクリメントするのは、図10に示すようにライン
バッファ17において1ブロックの読み出しが終了した
後に次のブロックに進むためである。
Next, in step S103, SADR is set to SADP, and SADR is incremented. Where SADR
Is incremented in order to proceed to the next block after the reading of one block is completed in the line buffer 17 as shown in FIG.

【0050】次にS104で、ラインバッファ17にお
けるSADPのアドレスのメモリからデータを1ワード
読み出して、回転処理部18に書き込む。また、次のラ
インの読み出しのために、SADP+SXWRをSAD
Pとする。次にS105で、回転処理部18からの信号
WR16ENDがイネーブルか否かを判断する。信号W
R16ENDがイネーブルということは、回転処理部1
8に対する16回の書き込みが終了したということであ
る。信号WR16ENDがイネーブルではない場合
(“N”)はS104へ戻り、信号WR16ENDがイ
ネーブルの場合(“Y”)はS106へ進む。従って、
S104は16回繰り返されることになり、1ブロック
分のデータがnラインバッファ17から回転処理部18
へ書き込まれることになる。
Next, in S 104, one word of data is read from the memory of the SADP address in the line buffer 17 and written in the rotation processing section 18. In addition, SADP + SXWR is SAD for reading the next line.
Let P. Next, in S105, it is determined whether or not the signal WR16END from the rotation processing unit 18 is enabled. Signal W
If R16END is enabled, it means that the rotation processing unit 1
This means that writing 16 times to 8 has been completed. If the signal WR16END is not enabled (“N”), the process returns to S104, and if the signal WR16END is enabled (“Y”), the process proceeds to S106. Therefore,
Since S104 is repeated 16 times, one block of data is transferred from the n-line buffer 17 to the rotation processing unit 18.
Will be written to.

【0051】次にS106では、回転処理部18からデ
ータを1ワード読み出して、ページメモリ19における
DADPのアドレスに書き込む。また、次のデータの書
き込みのために、DADP−DXWRをDADPとし、
DYLPをインクリメントする。次にS107で回転処
理部18からの信号RD16ENDがイネーブルか否か
を判断する。信号RD16ENDがイネーブルというこ
とは、回転処理部18の16回の読み出しが終了したと
いうことである。信号RD16ENDがイネーブルでは
ない場合(“N”)はS106へ戻り、信号RD16E
NDがイネーブルの場合(“Y”)はS108へ進む。
従って、S106は16回繰り返されることになり、1
ブロック分のデータが回転処理部18からページメモリ
19へ書き込まれることになる。
Next, in S106, one word of data is read from the rotation processing unit 18 and written in the address of DADP in the page memory 19. In order to write the next data, DADP-DXWR is set to DADP,
Increment DYLP. Next, in S107, it is determined whether or not the signal RD16END from the rotation processing unit 18 is enabled. When the signal RD16END is enabled, it means that the rotation processing unit 18 has finished reading 16 times. If the signal RD16END is not enabled (“N”), the process returns to S106 and the signal RD16E is returned.
If ND is enabled (“Y”), the process proceeds to S108.
Therefore, S106 is repeated 16 times, and 1
The block data is written from the rotation processing unit 18 to the page memory 19.

【0052】次にS108では、DYLRとDYLPが
等しいか否かを判断する。DYLRとDYLが等しいと
いうことは、回転処理後の画像データにおけるY方向の
ライン数分、すなわち図10の例ではブロック“1”〜
“4”等の4ブロック分の処理が終了したということで
ある。この場合(“Y”)はS109へ進む。DYLR
とDYLが等しくない場合(“N”)はS103へ戻
り、次のブロックについて回転処理部18に対する書き
込みと読み出しを行う。
Next, in S108, it is determined whether or not DYLR and DYLP are equal. The fact that DYLR and DYL are equal means that the number of lines in the Y direction in the image data after the rotation processing, that is, in the example of FIG.
This means that the processing for 4 blocks such as "4" has been completed. In this case (“Y”), the process proceeds to S109. DYLR
And DYL are not equal (“N”), the process returns to S103, and writing and reading are performed on the rotation processing unit 18 for the next block.

【0053】次にS109ではDXWPをインクリメン
トし、S110で、DXWRとDXWPが等しいか否か
を判断する。DXWRとDXWPが等しいということ
は、ページメモリ19に対して1ページ分の画像データ
の書き込みが終了したということである。この場合
(“Y”)は1ページ分の回転処理を終了する。DXW
RとDXWPが等しくない場合(“N”)はS102へ
戻り、処理を続行する。S110からS102へ戻る
際、第1実施例では第1の起動/停止信号21によって
伸長器16を起動すると共に第2の起動/停止信号22
によって回転処理部18を停止し、第2実施例では、セ
レクタ26、27を切り換える。
Next, in S109, DXWP is incremented, and in S110, it is determined whether or not DXWR and DXWP are equal. The fact that DXWR and DXWP are equal means that writing of one page of image data into the page memory 19 has been completed. In this case (“Y”), the rotation process for one page is completed. DXW
If R and DXWP are not equal (“N”), the process returns to S102 and continues the process. When returning from S110 to S102, in the first embodiment, the expander 16 is activated by the first start / stop signal 21 and the second start / stop signal 22 is activated.
Thus, the rotation processing unit 18 is stopped, and the selectors 26 and 27 are switched in the second embodiment.

【0054】なお、DXWPのクリアや、SADR、D
ADR、SXWR、DXWR、DYLRの設定は次によ
うにして行う。すなわち、図3のアドレス制御部24に
おいて、制御部23からの選択信号SELによってMU
X55においてイニシャルデータINI側を選択し、制
御部23からの選択信号CSELによって設定値を書き
込むレジスタを指定し、制御部23からイニシャルデー
タINIとして送られてきた各設定値を対応するレジス
タに書き込む。
Note that DXWP clearing, SADR, D
ADR, SXWR, DXWR, and DYLR are set as follows. That is, in the address control unit 24 of FIG. 3, the MU is selected by the selection signal SEL from the control unit 23.
At X55, the initial data INI side is selected, the register to write the setting value is designated by the selection signal CSEL from the control unit 23, and each setting value sent from the control unit 23 as the initial data INI is written to the corresponding register.

【0055】また、S102、S103、S104、S
106、S109における演算処理は、図3のアドレス
制御部24において、選択信号SELによってMUX5
5においてALU54側を選択し、選択信号ASEL、
BSELによってALU54の入力A、Bとなるレジス
タの出力を選択し、選択信号CSELによって書き込む
レジスタを選択し、FUNCTIONによってALU5
4において該当する機能を選択することによって実現さ
れる。また、S108、S110における判断では、A
LU54において2つの入力を比較させ、一致する場合
に一致信号59を出力させ、この一致信号59に基づい
て制御部23にて判断する。
Further, S102, S103, S104, S
The arithmetic processing in 106 and S109 is performed by the address control unit 24 of FIG.
5, the ALU 54 side is selected and the selection signal ASEL,
The BSEL selects the output of the register that becomes the inputs A and B of the ALU 54, the select signal CSEL selects the register to be written, and the FUNCTION selects ALU5.
This is realized by selecting the corresponding function in 4. Further, in the determination in S108 and S110, A
The LU 54 compares the two inputs, outputs a match signal 59 when they match, and the control unit 23 determines based on the match signal 59.

【0056】[0056]

【発明の効果】以上説明したように請求項1または2記
載の発明によれば、受信原稿と同一サイズで縦横の方向
の違う記録紙がセットされている場合等に受信画像デー
タを90度回転して記録紙に記録することができると共
に、画像メモリとしては1画面分のページメモリと、回
転処理に必要なライン数分だけ記憶するラインメモリだ
けで済むので、画像メモリの容量を少なくすることがで
きるという効果がある。
As described above, according to the invention described in claim 1 or 2, the received image data is rotated by 90 degrees when a recording paper having the same size as the received original but different in the vertical and horizontal directions is set. The size of the image memory can be reduced by using the page memory for one screen and the line memory for storing the number of lines required for the rotation processing. There is an effect that can be.

【0057】また、請求項3記載の発明によれば、2つ
のラインメモリを設けたことにより、伸長手段と回転処
理手段を停止させることなく連続的に動作させて処理を
行うことができるので、上記効果に加え、処理速度が速
くなるという効果がある。
According to the third aspect of the invention, since the two line memories are provided, the decompression means and the rotation processing means can be operated continuously without stopping, and processing can be performed. In addition to the above effects, there is an effect that the processing speed becomes faster.

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

【図1】 本発明の第1実施例のファクシミリ装置の概
略の構成を示すブロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a facsimile apparatus according to a first embodiment of the present invention.

【図2】 本発明の第2実施例のファクシミリ装置の概
略の構成を示すブロック図である。
FIG. 2 is a block diagram showing a schematic configuration of a facsimile apparatus according to a second embodiment of the present invention.

【図3】 図1および図2におけるアドレス制御部の構
成を示すブロック図である。
FIG. 3 is a block diagram showing a configuration of an address control unit in FIGS. 1 and 2.

【図4】 図1および図2の回転処理部が入出力するデ
ータを示す説明図である。
FIG. 4 is an explanatory diagram showing data input and output by the rotation processing unit of FIGS. 1 and 2.

【図5】 図1および図2の回転処理部の構成を示すブ
ロック図である。
5 is a block diagram showing a configuration of a rotation processing unit in FIGS. 1 and 2. FIG.

【図6】 図5の回転処理部のFF部とMUX部を示す
ブロック図である。
6 is a block diagram showing an FF unit and a MUX unit of the rotation processing unit of FIG.

【図7】 図5の回転処理部の動作を示す説明図であ
る。
FIG. 7 is an explanatory diagram showing an operation of the rotation processing unit of FIG.

【図8】 図5の回転処理部の書き込み時の動作を示す
タイミングチャートである。
FIG. 8 is a timing chart showing an operation at the time of writing in the rotation processing unit of FIG.

【図9】 図5の回転処理部の読み出し時の動作を示す
タイミングチャートである。
9 is a timing chart showing an operation at the time of reading by the rotation processing unit of FIG.

【図10】 本発明の実施例において1ページ分の画像
データを90度回転させるときの動作を示す説明図であ
る。
FIG. 10 is an explanatory diagram showing an operation when rotating one page of image data by 90 degrees in the embodiment of the present invention.

【図11】 本発明の実施例において1ページ分の画像
データを90度回転させるときの動作を示すフローチャ
ートである。
FIG. 11 is a flowchart showing an operation when rotating one page of image data by 90 degrees in the embodiment of the present invention.

【符号の説明】[Explanation of symbols]

16…伸長器、17…nラインバッファ、18…回転処
理部、19…ページメモリ、23…制御部、24…アド
レス制御部
16 ... Decompressor, 17 ... N line buffer, 18 ... Rotation processing unit, 19 ... Page memory, 23 ... Control unit, 24 ... Address control unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 園部 賢一 埼玉県岩槻市府内3丁目7番1号 富士ゼ ロックス株式会社岩槻事業所内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Kenichi Sonobe 3-7-1 Fuchu, Iwatsuki City, Saitama Prefecture Fuji Xerox Co., Ltd. Iwatsuki Office

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 画像データを受信する受信手段と、 この受信手段によって受信された画像データを伸長する
伸長手段と、 この伸長手段による伸長後の所定量の画像データに対し
て90度の回転処理を行う回転処理手段と、 前記伸長手段による伸長後の画像データを前記回転処理
に必要なライン数分記憶するラインメモリと、 前記回転処理手段による回転処理後の画像データを1ペ
ージ分記憶するページメモリと、 前記伸長手段による伸長後の画像データが前記回転処理
に必要なライン数分だけ前記ラインメモリに記憶された
後に、このラインメモリに記憶された画像データを読み
出して前記回転処理手段へ送り回転処理を行わせる回転
処理制御手段と、 前記ページメモリに対して、1ページの画像領域を90
度回転させた状態に対応する所定の位置に前記回転処理
後の画像データを格納するための書き込みアドレスを供
給するアドレス制御手段と、 前記ページメモリに格納された画像データに基づいて画
像の記録を行う記録手段とを具備することを特徴とする
ファクシミリ装置。
1. A receiving means for receiving image data, a decompressing means for decompressing the image data received by the receiving means, and a rotation processing of 90 degrees with respect to a predetermined amount of image data decompressed by the decompressing means. Rotation processing means for performing the rotation processing, a line memory for storing the image data expanded by the expansion means for the number of lines necessary for the rotation processing, and a page for storing the image data after the rotation processing by the rotation processing means for one page. After the memory and the image data decompressed by the decompression means are stored in the line memory by the number of lines required for the rotation processing, the image data stored in the line memory is read and sent to the rotation processing means. Rotation processing control means for performing rotation processing, and an image area of one page is set to 90 in the page memory.
Address control means for supplying a write address for storing the image data after the rotation processing to a predetermined position corresponding to a state of being rotated by a degree, and recording an image based on the image data stored in the page memory. A facsimile apparatus comprising: a recording unit for performing.
【請求項2】 画像データを受信する受信手段と、 この受信手段によって受信された画像データを伸長する
伸長手段と、 この伸長手段による伸長後の所定量の画像データに対し
て90度の回転処理を行う回転処理手段と、 前記伸長手段による伸長後の画像データを前記回転処理
に必要なライン数分記憶するラインメモリと、 前記回転処理手段による回転処理後の画像データを1ペ
ージ分記憶するページメモリと、 前記伸長手段による伸長後の画像データが前記回転処理
に必要なライン数分だけ前記ラインメモリに記憶された
後に、前記伸長手段の伸長動作を一時停止させ、前記ラ
インメモリに記憶された画像データを読み出して前記回
転処理手段へ送り回転処理を行わせる回転処理起動手段
と、 前記ページメモリに対して、1ページの画像領域を90
度回転させた状態に対応する所定の位置に前記回転処理
後の画像データを格納するための書き込みアドレスを供
給するアドレス制御手段と、 前記回転処理手段によって前記ラインメモリに記憶され
た画像データの回転処理が全て終了した後に、前記回転
処理手段の動作を一時停止させ、前記伸長手段の伸長動
作を再開させる伸長動作起動手段と、 前記ページメモリに格納された画像データに基づいて画
像の記録を行う記録手段とを具備することを特徴とする
ファクシミリ装置。
2. Receiving means for receiving image data, decompressing means for decompressing the image data received by the receiving means, and rotation processing of 90 degrees with respect to a predetermined amount of image data decompressed by the decompressing means. Rotation processing means for performing the rotation processing, a line memory for storing the image data expanded by the expansion means for the number of lines necessary for the rotation processing, and a page for storing the image data after the rotation processing by the rotation processing means for one page. After the memory and the image data after being expanded by the expanding means are stored in the line memory by the number of lines required for the rotation processing, the expanding operation of the expanding means is temporarily stopped and stored in the line memory. Rotation processing starting means for reading out image data and sending it to the rotation processing means to perform rotation processing; and one page image for the page memory. Area 90
Address control means for supplying a write address for storing the image data after the rotation processing to a predetermined position corresponding to a state of being rotated once, and rotation of the image data stored in the line memory by the rotation processing means. After all the processing is completed, the operation of the rotation processing means is temporarily stopped and the decompression operation starting means for resuming the decompression operation of the decompression means and the recording of the image based on the image data stored in the page memory are performed. A facsimile apparatus comprising a recording unit.
【請求項3】 画像データを受信する受信手段と、 この受信手段によって受信された画像データを伸長する
伸長手段と、 この伸長手段による伸長後の所定量の画像データに対し
て90度の回転処理を行う回転処理手段と、 それぞれ前記伸長手段による伸長後の画像データを前記
回転処理に必要なライン数分記憶する2つのラインメモ
リと、 前記回転処理手段による回転処理後の画像データを1ペ
ージ分記憶するページメモリと、 前記伸長手段による伸長後の画像データを前記回転処理
に必要なライン数分ずつ交互に2つのラインメモリに格
納させると共に画像データの格納が終了したラインメモ
リから画像データを読み出して前記回転処理手段へ送り
回転処理を行わせるラインメモリ制御手段と、 前記ページメモリに対して、1ページの画像領域を90
度回転させた状態に対応する所定の位置に前記回転処理
後の画像データを格納するための書き込みアドレスを供
給するアドレス制御手段と、 前記ページメモリに格納された画像データに基づいて画
像の記録を行う記録手段とを具備することを特徴とする
ファクシミリ装置。
3. Receiving means for receiving image data, decompressing means for decompressing the image data received by this receiving means, and rotation processing of 90 degrees with respect to a predetermined amount of image data decompressed by this decompressing means. Rotation processing means for performing the above, two line memories for respectively storing the image data expanded by the expansion means for the number of lines required for the rotation processing, and the image data after the rotation processing by the rotation processing means for one page. A page memory for storing and image data after expansion by the expansion means are alternately stored in two line memories by the number of lines required for the rotation processing, and the image data is read from the line memory after the storage of the image data. Line memory control means for sending the rotation processing means to the rotation processing means, and a page memory for the page memory. 90 image areas
Address control means for supplying a write address for storing the image data after the rotation processing to a predetermined position corresponding to a state of being rotated by a degree, and recording an image based on the image data stored in the page memory. A facsimile apparatus comprising: a recording unit for performing.
JP4250900A 1992-09-21 1992-09-21 Facsimile equipment Pending JPH06105118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4250900A JPH06105118A (en) 1992-09-21 1992-09-21 Facsimile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4250900A JPH06105118A (en) 1992-09-21 1992-09-21 Facsimile equipment

Publications (1)

Publication Number Publication Date
JPH06105118A true JPH06105118A (en) 1994-04-15

Family

ID=17214705

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4250900A Pending JPH06105118A (en) 1992-09-21 1992-09-21 Facsimile equipment

Country Status (1)

Country Link
JP (1) JPH06105118A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6643415B1 (en) 1998-01-29 2003-11-04 Nec Corporation Method and apparatus for rotating image data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6643415B1 (en) 1998-01-29 2003-11-04 Nec Corporation Method and apparatus for rotating image data

Similar Documents

Publication Publication Date Title
JP2545482B2 (en) Interface device transfer parameter setting method
JP3022903B2 (en) Image rotation device
JPH06105118A (en) Facsimile equipment
JPH06152926A (en) Facsimile equipment
JPH06105119A (en) Picture rotating device
US6985624B2 (en) Image processing apparatus and its method
JPH09214746A (en) Image output system and image forming device
JP2849804B2 (en) Memory access interface circuit and memory access method
JPH0743668B2 (en) Access control device
JP2845746B2 (en) Micro program controller
JPH07175648A (en) Microprogram controller
JPH08241404A (en) Image processor
JP2837477B2 (en) Multiplex control of bitmap memory
JPH1040165A (en) Data read method and read buffer
JPH05258052A (en) Two-dimentional data rotation register circuit
JP2624659B2 (en) Superimposed block decoding device
JPH08317216A (en) Expansion circuit
JPS6230053A (en) Dot type face enlargement and reduction system
JPH05131674A (en) Recorder
JPH0520181A (en) Main storage controller
JPH07320053A (en) Image rotation processor
JPH07105347A (en) Image data high-speed processing unit
JPS62279449A (en) Data transfer equipment
JPH08202615A (en) Storage
JPH0373072A (en) High-speed picture processing circuit