JPH0581420A - Data input/output system - Google Patents

Data input/output system

Info

Publication number
JPH0581420A
JPH0581420A JP3268352A JP26835291A JPH0581420A JP H0581420 A JPH0581420 A JP H0581420A JP 3268352 A JP3268352 A JP 3268352A JP 26835291 A JP26835291 A JP 26835291A JP H0581420 A JPH0581420 A JP H0581420A
Authority
JP
Japan
Prior art keywords
data
address
processing
input
output
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
JP3268352A
Other languages
Japanese (ja)
Inventor
Toshio Akiyama
敏雄 穐山
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP3268352A priority Critical patent/JPH0581420A/en
Publication of JPH0581420A publication Critical patent/JPH0581420A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)
  • Editing Of Facsimile Originals (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To eliminate the need for a work buffer for processing by performing prescribed rotation processing or mirror image processing of image data simultaneously with the input/output operation of data. CONSTITUTION:When a CPU 12 turns on a transfer starting register after setting transverse and longitudinal sizes, the input address, the output address, etc., to a transfer condition set register 5, a transfer control part 6 reads in values set in the transfer condition set register 5 and instructs differential start to an address control part 7, an address arithmetic part 8, and a data inversion processing part 11. The address arithmetic part 8 performs the arithmetic operation by an arithmetic rule information table 9. The address control part 7 generates the input address based on the calculation result. Data is successively inputted from addresses W.H-1, W.H-2, W.H-3... in order. The data inversion processing part 11 finds it by the arithmetic rule information table 9 that the data inversion processing is required, and the data read from the input address generated by the address control part 7 is inverted every time to be outputted.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はデータ入出力方式に係
り、特にイメージデータの回転・鏡像処理を行えるデー
タ入出力方式の改良に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data input / output system, and more particularly to improvement of a data input / output system capable of rotating and mirroring image data.

【0002】[0002]

【従来の技術】従来、OCR,DTP等のデータ処理装
置において、イメージデータの回転処理・鏡像処理を行
う場合には、図11に示すように、スキャナから読み込
んだイメージデータをイメージメモリに格納し、CPU
または描画プロセッサにより回転処理等の制御を行い、
例えばプリンタにより印刷・出力していた。
2. Description of the Related Art Conventionally, in a data processing device such as an OCR or DTP, when performing rotation processing / mirror image processing of image data, as shown in FIG. 11, image data read from a scanner is stored in an image memory. , CPU
Or control the rotation processing etc. by the drawing processor,
For example, a printer prints / outputs.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来方
式の回転・鏡像処理では、処理用のワークバッファが必
要となり、CPUの負荷が大きくなり、処理が遅く、1
ページ分の処理を終了するまでは次の動作ができない等
の問題点があった。
However, in the conventional rotation / mirror image processing, a work buffer for processing is required, the load of the CPU is increased, and the processing is slow.
There is a problem that the next operation cannot be performed until the processing for the page is completed.

【0004】前記処理の具体例を図12〜図15に示
す。 図12に示すように、原稿からスキャンしたイメー
ジデータをディスプレイ上に表示する際に、原稿の上下
左右を正しくスキャナにセットしないと、意図した処理
がされない場合がある。即ち、この場合は、ディスプレ
イに倒立状態で表示される。 図13に示すように、スキャン原稿が両面原稿であ
ると、表面は正しくスキャンされても、裏面が180°
逆になる場合がある。即ち、この場合は、裏面は倒立状
態で表示される。 図14に示すように、印刷時においては、プリンタ
にセットされている用紙方向に応じて展開方向を変える
必要がある。この場合は、印刷する文字又はデータその
ものを回転すると同時に展開座標も回転する必要があ
り、煩雑な処理を要する。 図15に示すように、両面印刷を行う際には、用紙
方向によっては裏面印刷時に、180°回転させる必要
がある。即ち、この場合は、表面は正立状態で表示され
るが、裏面は倒立状態で表示される。以上の如く、スキ
ャン・プリント時には、ページ全体を回転させる場合が
多発する。
Specific examples of the above processing are shown in FIGS. As shown in FIG. 12, when the image data scanned from the document is displayed on the display, the intended processing may not be performed unless the document is correctly set in the top, bottom, left, and right. That is, in this case, the display is displayed in an inverted state. As shown in FIG. 13, when the scanned original is a double-sided original, the back side is 180 ° even if the front side is correctly scanned.
It may be reversed. That is, in this case, the back surface is displayed in an inverted state. As shown in FIG. 14, at the time of printing, it is necessary to change the development direction according to the paper direction set in the printer. In this case, it is necessary to rotate the characters to be printed or the data itself, and at the same time, to rotate the expansion coordinates, which requires complicated processing. As shown in FIG. 15, when performing double-sided printing, it may be necessary to rotate 180 ° during backside printing depending on the paper direction. That is, in this case, the front surface is displayed in an upright state, but the back surface is displayed in an inverted state. As described above, when scanning / printing, the entire page is often rotated.

【0005】しかし従来は、回転処理に時間がかかる、
回転するために1ページ分のワークメモリが必要になる
等の理由により、スキャン原稿をセットしなおす等の手
段により対応していた。また、印刷時では、用紙方向が
展開時にわかっていなければならず、「展開中に用紙を
変更された場合は、エラーメッセージを出力し、展開さ
れているデータに合った用紙を要求する」という処理が
必要であった。そこで、本発明の目的は、前記問題点を
解決するために、処理用のワークバッファが不要で、C
PUの負荷を大きくせず、処理が速く、1ページ分の処
理を終了する前でも次の動作が可能なデータ入出力方式
を提供することにある。
However, conventionally, rotation processing takes a long time,
For the reason that one page of work memory is required for rotation and the like, it has been dealt with by means such as resetting the scanned document. Also, at the time of printing, the paper orientation must be known at the time of expansion, and "If the paper is changed during expansion, an error message will be output and the paper suitable for the expanded data will be requested." Processing was required. Therefore, an object of the present invention is to eliminate the need for a work buffer for processing in order to solve the above-mentioned problems.
An object of the present invention is to provide a data input / output method in which the load of the PU is not increased, the processing is fast, and the next operation can be performed before the processing for one page is completed.

【0006】[0006]

【課題を解決するための手段】請求項1記載の発明で
は、スキャナ、プリンタ等のイメージ入出力装置と入出
力するデータを蓄えるイメージメモリを有するデータ処
理装置において、データを入出力する際のアドレスを変
換するアドレス変換装置およびデータの並びをLow
(LSB)とHigh(MSB)との間で相互反転する
データ反転装置を備え、データの入出力操作と同時にイ
メージデータを、少なくとも180°回転処理、0°鏡
像処理、180°鏡像処理のいずれかを行えるようにし
た。請求項2記載の発明では、アクセスするデータをビ
ット単位で取り出すビットデータ変換部と、変換したビ
ットデータを1バイト分蓄えるデータレジスタを備え、
少なくとも90°回転処理、180°回転処理、90°
鏡像処理、270°鏡像処理のいずれかを行えるように
した。請求項3記載の発明では、請求項2記載の発明お
いて、データレジスタを、2バイト分のシフトレジスタ
で構成し、バイトバウンダリイでないイメージデータの
回転鏡像処理を行えるようにした。
According to a first aspect of the present invention, in a data processing device having an image memory for storing data to be input / output with an image input / output device such as a scanner or a printer, an address for inputting / outputting data is set. Address translation device that translates
(LSB) and High (MSB) are provided with a data reversing device that mutually inverts each other, and at the same time as the data input / output operation, the image data is at least 180 ° rotated, 0 ° mirror image processed, or 180 ° mirror image processed. I was able to do. According to a second aspect of the present invention, a bit data conversion unit for extracting data to be accessed in bit units and a data register for storing the converted bit data for one byte are provided.
At least 90 ° rotation process, 180 ° rotation process, 90 °
Either mirror image processing or 270 ° mirror image processing can be performed. According to a third aspect of the invention, in the second aspect of the invention, the data register is composed of a shift register for 2 bytes, and the rotation mirror image processing of the image data which is not the byte boundary can be performed.

【0007】[0007]

【作用】請求項1記載のデータ入出力方式では、データ
の入出力操作と同時にイメージデータに関し、アドレス
変換装置は入出力するデータのアドレスを変換し、デー
タ反転装置はデータの並びをLow←→Highの間で
相互変換する。これにより180°回転処理等を行う。
また、請求項2記載のデータ入出力方式では、データの
入出力操作と同時にイメージデータに関し、ビットデー
タ変換部は、アクセスするデータをビット単位で取り出
し、データレジスタに前記取り出したデータを1バイト
分蓄える。この蓄えた1バイト分を送信し、以下順次、
次のデータをビット単位で取り出し、1バイト分蓄えて
送信する。請求項3記載のデータ入出力方式では、デー
タレジスタを2バイト分確保することにより、イメージ
データの横幅サイズをバイトバウンダリイにした場合に
発生する空白分をシフトして得られるデータに対して処
理を行う。
According to the data input / output method of the present invention, regarding the image data at the same time as the data input / output operation, the address conversion device converts the address of the input / output data, and the data inverting device changes the data arrangement to Low ← →. Mutual conversion between High. Thereby, 180 ° rotation processing or the like is performed.
Further, in the data input / output method according to claim 2, regarding the image data at the same time as the data input / output operation, the bit data conversion unit extracts the data to be accessed in bit units and stores the extracted data for one byte in the data register. store. This stored 1 byte is transmitted,
The next data is taken out bit by bit and stored for 1 byte and transmitted. In the data input / output method according to claim 3, by securing a data register for two bytes, processing is performed on data obtained by shifting a blank portion generated when the width size of image data is set to byte boundary. I do.

【0008】[0008]

【実施例】以下、本発明のデータ入出力方式における実
施例を図1ないし図10を参照して詳細に説明する。第1実施例 図1に第1実施例のブロック図を示す。IMAGIO1
は、デジタルPPCであるが、I/Fカードによりスキ
ャナ、プリンタ装置として使用可能である。FIFO2
は、IMAGIO1へのデータ入出力を行う。SIO3
は、IMAGIO1の制御を行う。イメージメモリ4
は、印刷しようとするイメージデータを展開し、または
スキャンしたデータを展開するメモリであり、少なくと
も1ページ分以上の容量を有する。
Embodiments of the data input / output system of the present invention will be described in detail below with reference to FIGS. First Embodiment FIG. 1 shows a block diagram of the first embodiment. IMAGIO1
Although it is a digital PPC, it can be used as a scanner or printer device by an I / F card. FIFO2
Performs data input / output to / from IMAGIO1. SIO3
Controls IMAGIO1. Image memory 4
Is a memory for developing image data to be printed or developing scanned data, and has a capacity of at least one page or more.

【0009】転送条件設定レジスタ5は、次の転送条件
をセットするレジスタである。即ち、転送タイプ(90
°回転、180°回転等)、転送するイメージデータの
横幅サイズ・縦高さサイズ・先頭アドレス、転送先のア
ドレス、転送開始/中止指定をセットする。転送制御部
6は、次に説明するアドレス制御部7,アドレス演算部
8,データ反転処理部11の制御を行う。前記アドレス
制御部7は、アドレス演算部8で計算したアドレスに基
づき、次の処理を行う。即ち、データ転送がメモリ→デ
バイスの場合は、入力先のアドレスを発生させる。逆に
データ転送がデバイス→メモリの場合は、出力先のアド
レスを発生させる。前記アドレス演算部8は、入出力先
のアドレスを計算する。計算は次に説明する演算規則情
報テーブル9に登録されている演算規則情報に基づき、
計算式のカウンタ変数をインクリメント/デクリメント
することにより行う。
The transfer condition setting register 5 is a register for setting the next transfer condition. That is, the transfer type (90
Rotation, rotation 180 °, etc.), width size / height size / start address of transfered image data, transfer destination address, transfer start / stop designation. The transfer control unit 6 controls an address control unit 7, an address calculation unit 8, and a data inversion processing unit 11 described below. The address control unit 7 performs the following processing based on the address calculated by the address calculation unit 8. That is, when the data transfer is from memory to device, the address of the input destination is generated. Conversely, if the data transfer is from device to memory, an output destination address is generated. The address calculator 8 calculates an input / output destination address. The calculation is based on the calculation rule information registered in the calculation rule information table 9 described below.
This is done by incrementing / decrementing the counter variable of the calculation formula.

【0010】前記演算規則情報テーブル9は、図2に示
すように、入出力先アドレスの計算のための情報および
データの制御方式を登録したテーブルである。演算カウ
ンタ10は、アドレス演算部8が演算を行うために必要
なカウント値を入力しておくためのレジスタである。デ
ータ反転処理部11は、データバス─デバイス間に存在
し、演算規則情報テーブル9の情報により反転が必要と
された場合のみデータのLow−High反転を行う。
As shown in FIG. 2, the calculation rule information table 9 is a table in which information and data control methods for calculating input / output destination addresses are registered. The arithmetic counter 10 is a register for inputting a count value required for the address arithmetic unit 8 to perform arithmetic operations. The data inversion processing unit 11 exists between the data bus and the device, and performs Low-High inversion of data only when inversion is required by the information of the operation rule information table 9.

【0011】次に、このように構成された第1実施例の
動作について説明する。図3に180°回転時の状態を
示す。この場合は、ヨコ=Wバイト、縦=Hドットの図
形をIMAGIO1へプリント出力するものとする。先
ず、CPU12は、転送条件設定レジスタ5にヨコ・タ
テサイズ、入力アドレス、出力アドレス等をセットした
後、転送開始レジスタをオンにする。すると、転送制御
部6は、転送条件設定レジスタ5に設定された値を読み
込み、アドレス制御部7,アドレス演算部8,データ反
転処理部11にそれぞれ作動開始を命令する。アドレス
演算部8は、演算規則情報テーブル9より図4に示す規
則により演算を行う。アドレス制御部7は、アドレス演
算部8の計算結果に基づき入力アドレスを発生させる。
図3に示すように、W・H−1のアドレスから入力し、
順次W・H−2,W・H−3〜と続く。
Next, the operation of the first embodiment thus constructed will be described. FIG. 3 shows a state at the time of 180 ° rotation. In this case, a graphic of horizontal = W bytes and vertical = H dots is to be printed out to IMAGIO1. First, the CPU 12 sets the horizontal / vertical size, the input address, the output address, etc. in the transfer condition setting register 5, and then turns on the transfer start register. Then, the transfer control unit 6 reads the value set in the transfer condition setting register 5, and instructs the address control unit 7, the address operation unit 8, and the data inversion processing unit 11 to start the operation. The address calculation unit 8 calculates from the calculation rule information table 9 according to the rule shown in FIG. The address control unit 7 generates an input address based on the calculation result of the address calculation unit 8.
As shown in Fig. 3, input from the address of WH-1,
Sequentially WH-2, WH-3 and so on.

【0012】データ反転処理部11は、演算規則情報テ
ーブル9よりデータのLow←→High反転処理を行
う必要があることを知り、アドレス制御部7の発生した
入力アドレスから読み取ったデータを毎回反転処理す
る。その反転処理したデータをFIFO2に対して出力
する。以上が一連の処理である。ここで、IMAGIO
1からのスキャン入力の場合には、前記入力アドレスの
代わりに出力アドレスとなり、アドレス制御部7は出力
アドレスを発生し、データ反転制御部11はデータを反
転した後、アドレス制御部7の発生したアドレスへデー
タを出力することになる。また、もし0°鏡像の場合に
は、アドレス演算部8の計算は図5に示すフローチャー
トにより行われる。
The data inversion processing unit 11 learns from the operation rule information table 9 that it is necessary to perform the Low ← → High inversion processing of the data, and the data read from the input address generated by the address control unit 7 is inverted every time. To do. The inverted data is output to the FIFO2. The above is a series of processing. Where IMAGIO
In the case of scan input from 1, the address becomes an output address instead of the input address, the address controller 7 generates an output address, the data inversion controller 11 inverts the data, and then the address controller 7 generates the address. Data will be output to the address. Further, in the case of a 0 ° mirror image, the calculation of the address calculation unit 8 is performed according to the flowchart shown in FIG.

【0013】第2実施例 図6に本実施例のブロック図を示す。本実施例は、前記
図1に示すデータ反転処理部11を、データ制御部13
とデータ演算部14とデータレジスタ15に置き換えた
ものであり、その他の部分は前記図1と同一である。デ
ータ制御部13は、アドレス制御部7の発生したアドレ
スに基づき、データの入力若しくはデータの出力をして
制御する。データ演算部14は、データ制御部13→デ
ータレジスタ15、またはデータレジスタ15→データ
制御部13の間でデータを加工するための演算部であ
る。データレジスタ15は、送信または受信するデータ
を、データ演算部14が加工するために一時保管してお
くためのレジスタである。
Second Embodiment FIG. 6 shows a block diagram of this embodiment. In the present embodiment, the data inversion processing unit 11 shown in FIG.
The data calculation unit 14 and the data register 15 are replaced, and other parts are the same as those in FIG. The data control unit 13 controls by inputting data or outputting data based on the address generated by the address control unit 7. The data calculation unit 14 is a calculation unit for processing data between the data control unit 13 → data register 15 or the data register 15 → data control unit 13. The data register 15 is a register for temporarily storing the data to be transmitted or received so that the data calculation unit 14 can process the data.

【0014】次に、このように構成された第2実施例の
動作について説明する。図7に90°回転時の状態を示
す。本実施例の場合のアドレス演算処理を図8に示す。
図7に示すように、90°回転の場合は、アドレスをW
(H−1)+0,W(H−2),・・・と変えていった
場合のデータのビット7のみを取り出す必要がある。デ
ータ演算部14では、読み込んだデータのビット7のみ
を取り出しデータレジスタ15へセットする。そして、
データレジスタの1バイト分が溜まった時点でようやく
データレジスタ15からデータを送信する。1ライン分
の送信が終了した場合にはデータ演算部14は次にビッ
ト6のみを取り出し、前述と同様の処理を行う。このよ
うにデータを1ビットずつ読み込むことにより90°回
転を実現する。逆に受信(スキャン)の場合には、デー
タ演算部14は、データレジスタ15にセットされたデ
ータを各ビット毎に取り出し、W(H−1)+0,W
(H−2),・・・アドレスへと1ビットずつOR処理
でデータ制御部13がイメージメモリ4へと書き込む。
Next, the operation of the second embodiment thus constructed will be described. FIG. 7 shows the state at 90 ° rotation. FIG. 8 shows the address calculation processing in the case of this embodiment.
As shown in Fig. 7, in the case of 90 ° rotation, the address is set to W
It is necessary to take out only bit 7 of the data when changing to (H-1) +0, W (H-2), .... The data operation unit 14 takes out only bit 7 of the read data and sets it in the data register 15. And
Data is finally transmitted from the data register 15 when one byte of the data register is accumulated. When the transmission for one line is completed, the data operation unit 14 then takes out only bit 6 and performs the same process as described above. In this way, 90 ° rotation is realized by reading the data bit by bit. On the contrary, in the case of reception (scan), the data operation unit 14 takes out the data set in the data register 15 for each bit, and W (H−1) + 0, W
(H-2), ... The data control unit 13 writes the data to the image memory 4 bit by bit by OR processing.

【0015】第3実施例 これまでの説明では、イメージデータの横幅サイズは全
てバイトバウンダリイ(boundary)であった。
しかし実際には、イメージの横幅は必ずしも1バイト=
8ビットで割り切れる値とは限らない。このようにバイ
トバウンダリイでない場合には、図9に示すように、そ
のまま回転しただけでは余計な空白ができてしまう可能
性がある。そこで、前記図6に示したデータレジスタ1
5を2バイト分確保する。図9に示す回転例では、WH
−1,WH−2の2バイトのデータを読み込み、イメー
ジデータの横幅サイズをバイトバウンダリイにした場合
に発生する空白分をデータ演算部14によりシフトす
る。このようにして得られた1バイトを前記第1実施例
および第2実施例で説明した「反転処理」または「ビッ
ト取り出し処理」を行うことにより、正しく反転・鏡像
処理を行う。
Third Embodiment In the above description, the horizontal width size of the image data is all byte boundary.
However, the width of the image is actually 1 byte =
The value is not necessarily divisible by 8 bits. In this way, when the bite boundary is not present, as shown in FIG. 9, there is a possibility that an extra blank may be formed just by rotating as it is. Therefore, the data register 1 shown in FIG.
Reserve 5 for 2 bytes. In the rotation example shown in FIG. 9, WH
The 2-byte data of -1, WH-2 is read, and the data calculation unit 14 shifts the blank portion generated when the horizontal width size of the image data is set to the byte boundary. By performing the "inversion processing" or "bit extraction processing" described in the first and second embodiments on the 1 byte thus obtained, the inversion / mirror image processing is correctly performed.

【0016】変形例 前記第1〜第3実施例ではメモリ←→デバイス間のイメ
ージデータ転送について説明した。しかし図10に示す
ように、デバイス側に入出力していたデータを、データ
バス側に向けることによってメモリ←→メモリ間の転送
も行えるようになる。即ち、図10に示すように、フォ
ントROM16からイメージメモリ4へのフォント展開
や、他のホストインタフェース17への入出力、または
DMAC18を用いたデータ転送等が可能となる。
Modifications In the first to third embodiments, the image data transfer between the memory and the device has been described. However, as shown in FIG. 10, by transferring the data input / output to / from the device side to the data bus side, the transfer between the memory and the memory can be performed. That is, as shown in FIG. 10, font expansion from the font ROM 16 to the image memory 4, input / output to / from another host interface 17, or data transfer using the DMAC 18 is possible.

【0017】[0017]

【発明の効果】以上説明したように請求項1記載の発明
によれば、プリンタ・スキャナ等への入出力操作と同時
にデータの回転・鏡像処理を行えるので、一度回転処理
をしてから出力または入力してから回転処理を行う場合
に比較し、性能が一段と向上し、回転処理を行う間の待
ち時間がなくなり、ワークメモリを必要としない。ま
た、印刷イメージを展開する場合、従来はCPUにおい
て回転を考慮して印字フォントの回転、印字位置の変換
等の処理を行う必要があったが、かかる煩わしい処理の
必要がない。更に、スキャン/プリント時の原稿または
用紙方向を気にすることなく処理が続行できるため、ユ
ーザーインタフェースが向上する。更に、180°回転
・0°鏡像・180°鏡像処理を行うことができる。請
求項2記載の発明によれば、請求項1記載の発明の効果
に加え、90°回転・270°回転・90°鏡像・27
0°鏡像処理を行うことができる。請求項3記載の発明
によれば、更に、イメージデータの横幅サイズがバイト
バウンダリイでなくても、正しく回転、鏡像処理を行う
ことができる。
As described above, according to the first aspect of the present invention, since the data rotation / mirror image processing can be performed simultaneously with the input / output operation to / from the printer / scanner, the rotation processing is performed once before the output or Compared with the case where rotation processing is performed after input, the performance is further improved, the waiting time between rotation processing is eliminated, and work memory is not required. Further, when the print image is developed, conventionally, it is necessary for the CPU to perform the processing such as the rotation of the print font and the conversion of the print position in consideration of the rotation, but such a troublesome processing is not necessary. Furthermore, since the processing can be continued without worrying about the orientation of the original or the paper during scanning / printing, the user interface is improved. Further, 180 ° rotation / 0 ° mirror image / 180 ° mirror image processing can be performed. According to the invention of claim 2, in addition to the effect of the invention of claim 1, 90 ° rotation, 270 ° rotation, 90 ° mirror image, 27
0 ° mirror image processing can be performed. According to the third aspect of the present invention, even if the horizontal size of the image data is not the byte boundary, the rotation and the mirror image processing can be correctly performed.

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

【図1】本発明の第1実施例のブロック図である。FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】前記ブロック図の演算規則情報テーブルの内容
を示す図である。
FIG. 2 is a diagram showing the contents of a calculation rule information table of the block diagram.

【図3】第1実施例の動作状態を示す図である。FIG. 3 is a diagram showing an operating state of the first embodiment.

【図4】第1実施例のフローチャートである。FIG. 4 is a flowchart of the first embodiment.

【図5】第1実施例の他のフローチャートである。FIG. 5 is another flowchart of the first embodiment.

【図6】本発明の第2実施例のブロック図である。FIG. 6 is a block diagram of a second embodiment of the present invention.

【図7】第2実施例の動作状態を示す図である。FIG. 7 is a diagram showing an operating state of the second embodiment.

【図8】第2実施例のフローチャートである。FIG. 8 is a flowchart of a second embodiment.

【図9】第2実施例の他の動作状態を示す図である。FIG. 9 is a diagram showing another operation state of the second embodiment.

【図10】変形例のブロック図である。FIG. 10 is a block diagram of a modified example.

【図11】従来の不都合を示す図である。FIG. 11 is a diagram showing a conventional inconvenience.

【図12】従来の不都合を示す図である。FIG. 12 is a diagram showing a conventional inconvenience.

【図13】従来の不都合を示す図である。FIG. 13 is a diagram showing a conventional inconvenience.

【図14】従来の不都合を示す図である。FIG. 14 is a diagram showing a conventional inconvenience.

【図15】従来の不都合を示す図である。FIG. 15 is a diagram showing a conventional inconvenience.

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

1 IMAGIO 4 イメージメモリ 7 アドレス制御部 8 アドレス演算部 9 演算規則情報テーブル 11 データ反転処理部 13 データ制御部 14 データ演算部 15 データレジスタ 1 IMAGIO 4 image memory 7 address control unit 8 address operation unit 9 operation rule information table 11 data inversion processing unit 13 data control unit 14 data operation unit 15 data register

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 スキャナ、プリンタ等のイメージ入出力
装置と入出力するデータを蓄えるイメージメモリを有す
るデータ処理装置において、 データを入出力する際のアドレスを変換するアドレス変
換装置およびデータの並びをLow(LSB)とHig
h(MSB)との間で相互反転するデータ反転装置を備
え、 データの入出力操作と同時にイメージデータを、少なく
とも180°回転処理、0°鏡像処理、180°鏡像処
理のいずれかを行えるようにしたことを特徴とするデー
タ入出力方式。
1. A data processing device having an image memory for storing data to be input / output to / from an image input / output device such as a scanner or a printer, an address conversion device for converting an address when data is input / output, and a row of data are set to Low. (LSB) and Hig
A data reversing device for mutually reversing with h (MSB) is provided, and at the same time as the data input / output operation, the image data can be subjected to at least 180 ° rotation processing, 0 ° mirror image processing, or 180 ° mirror image processing. A data input / output method characterized in that
【請求項2】 アクセスするデータをビット単位で取り
出すビットデータ変換部と、変換したビットデータを1
バイト分蓄えるデータレジスタを備え、 少なくとも90°回転処理、180°回転処理、90°
鏡像処理、270°鏡像処理のいずれかを行えるように
したことを特徴とする請求項1記載のデータ入出力方
式。
2. A bit data conversion unit for extracting data to be accessed in bit units, and 1 for the converted bit data.
Equipped with a data register that stores bytes, at least 90 ° rotation processing, 180 ° rotation processing, 90 °
2. The data input / output system according to claim 1, wherein either the mirror image processing or the 270 ° mirror image processing can be performed.
【請求項3】 データレジスタを、2バイト分のシフト
レジスタで構成し、バイトバウンダリイでないイメージ
データの回転鏡像処理を行えるようにしたことを特徴と
する請求項2記載のデータ入出力方式。
3. The data input / output system according to claim 2, wherein the data register is composed of a shift register for 2 bytes, and the rotation mirror image processing of the image data which is not byte boundary is performed.
JP3268352A 1991-09-19 1991-09-19 Data input/output system Pending JPH0581420A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3268352A JPH0581420A (en) 1991-09-19 1991-09-19 Data input/output system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3268352A JPH0581420A (en) 1991-09-19 1991-09-19 Data input/output system

Publications (1)

Publication Number Publication Date
JPH0581420A true JPH0581420A (en) 1993-04-02

Family

ID=17457341

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3268352A Pending JPH0581420A (en) 1991-09-19 1991-09-19 Data input/output system

Country Status (1)

Country Link
JP (1) JPH0581420A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012157072A (en) * 2012-05-09 2012-08-16 Mega Chips Corp Image processing system and imaging apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012157072A (en) * 2012-05-09 2012-08-16 Mega Chips Corp Image processing system and imaging apparatus

Similar Documents

Publication Publication Date Title
KR920003477B1 (en) Image processing apparatus
US5889893A (en) Method and apparatus for the fast rotation of an image
JPS62173509A (en) Picture display device
JPH0581420A (en) Data input/output system
JPH04252562A (en) Picture processing unit
JP2005086598A (en) Device, method, program, and circuit for processing image
US6897872B2 (en) Controller of multi function device
US6700577B1 (en) Bit string conversion device
JPH06284282A (en) Image forming device
JP2001103227A (en) Information output device
JPH0563959A (en) Method and device for processing picture
JPH052642A (en) Picture processor
JP2899284B2 (en) Image data encoding device
JPH0421469A (en) Perfect printing system
JPH05265698A (en) Information processor
JPH0863594A (en) Memory controller for digital image processing
JP2002064701A (en) Processing unit for image rotation
JPH05212915A (en) Controller for page printer
JPH04345871A (en) Control circuit for page printer
JPH05219357A (en) Facsimile equipment and its recording method
JPH04297935A (en) Input device and output device
JPH0863593A (en) Method and device for 90-degree-rotation processing of image data
JPH06274638A (en) Three-bus connection system
JPH0729449B2 (en) Printer controller
JPH02164567A (en) Page printer for information processor