JPH01226083A - Rotation processor for image data - Google Patents
Rotation processor for image dataInfo
- Publication number
- JPH01226083A JPH01226083A JP5173688A JP5173688A JPH01226083A JP H01226083 A JPH01226083 A JP H01226083A JP 5173688 A JP5173688 A JP 5173688A JP 5173688 A JP5173688 A JP 5173688A JP H01226083 A JPH01226083 A JP H01226083A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- rotation processing
- rotated
- rotation
- bus
- 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
Links
- 238000013500 data storage Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T3/00—Geometric image transformation in the plane of the image
- G06T3/60—Rotation of a whole image or part thereof
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、イメージデータの処理に関し、特にイメージ
データの回転処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to image data processing, and particularly to an image data rotation processing apparatus.
従来技術のイメージデータ処理装置においては回転対象
イメージデータ及び回転後のイメージデータを記憶する
記憶部と、記憶部のイメージデータの読み書きを行う制
御部と、記憶部と制御部の間でイメージデータの仲介を
行うバスより構成されるイメージデータ処理装置が、イ
メージデータの記憶手段と、イメージデータの回転処理
を行う回転処理部とを有していた。In a conventional image data processing device, there is a storage unit that stores image data to be rotated and image data after rotation, a control unit that reads and writes image data in the storage unit, and a control unit that processes image data between the storage unit and the control unit. An image data processing device constituted by a bus that acts as an intermediary has an image data storage means and a rotation processing section that performs rotation processing of the image data.
ところが上述した従来のイメージデータ処理装置では、
イメージデータの回転処理をする時に。However, in the conventional image data processing device mentioned above,
When processing image data rotation.
まず、制御部は、記憶部から回転対象のイメージデータ
を読み出し9回転処理部に書き込み9次に。First, the control unit reads image data to be rotated from the storage unit and writes it to the 9th rotation processing unit.
回転処理部により2回転処理されたイメージデータを回
転処理部から読み出し、記憶部に書き込むものであった
。Image data that has been subjected to two rotations by the rotation processing section is read from the rotation processing section and written to the storage section.
即ち1回転対象のイメージデータを、記憶部から回転処
理部に転送し、さらに回転後のイメージデータを回転処
理部から記憶部に転送するため転送処理が二重に必要で
あり、処理時間がかかるという欠点がある。In other words, the image data for one rotation is transferred from the storage unit to the rotation processing unit, and the image data after rotation is further transferred from the rotation processing unit to the storage unit, so two transfer processes are required, which takes processing time. There is a drawback.
そこで2本発明の技術的課題は、上記欠点に鑑み9回転
処理を行う際のイメージデータの転送回数を少なくして
処理時間を短縮することができるイメージデータの回転
処理装置を提供することである。Therefore, in view of the above-mentioned drawbacks, it is a technical object of the present invention to provide an image data rotation processing device that can reduce the number of image data transfers and shorten the processing time when performing 9-rotation processing. .
本発明によれば9回転対象イメージデータ及び回転後イ
メージデータを記憶する記憶部と、記憶部のイメージデ
ータの読み書きを行う制御部と。According to the present invention, there is provided a storage unit that stores image data subject to nine rotations and image data after rotation, and a control unit that reads and writes image data in the storage unit.
記憶部と制御部との間でイメージデータの仲介を行う第
1のバスと、イメージデータの記憶手段を有しイメージ
データの回転処理を行う第1及び第2の回転処理部と、
該第1及び第2の回転処理部の制御を行う回転制御部と
、前記第1及び第2の回転処理部と前記制御部との間で
回転後イメージデータの仲介を行う第2のバスとを有し
、制御部は、読出し動作を行う際に、前記記憶部から回
転対象のイメージデータを第1のバスに読出し、前記第
1及び第2の回転処理部のどちらか一方に書込むと同時
に、当該他方の回転処理部からあらかじめ書込まれてい
たイメージデータの回転後のイメージデータを第2のバ
スに読出し、前記記憶部に書込むことを特徴とするイメ
ージデータ回転処理装置が得られる。a first bus that mediates image data between the storage unit and the control unit; first and second rotation processing units that have image data storage means and perform rotation processing of the image data;
a rotation control unit that controls the first and second rotation processing units; a second bus that mediates rotated image data between the first and second rotation processing units and the control unit; When performing a read operation, the control unit reads image data to be rotated from the storage unit onto a first bus, and writes the image data to one of the first and second rotation processing units. At the same time, there is obtained an image data rotation processing device characterized in that image data after rotation of image data written in advance from the other rotation processing section is read out onto a second bus and written into the storage section. .
次に1本発明について図面を参照して説明する。 Next, one embodiment of the present invention will be explained with reference to the drawings.
第1図は本発明のイメージデータ回転処理装置の構成図
である。FIG. 1 is a block diagram of an image data rotation processing apparatus according to the present invention.
記憶部1は1回転対象のイメージデータ2及び回転後の
イメージデータ3を記憶し、制御部4は。The storage unit 1 stores image data 2 for one rotation and image data 3 after rotation, and the control unit 4 stores.
第1のバス5を通して制御部4と記憶部1との間でイメ
ージデータの読書きを行う。Image data is read and written between the control section 4 and the storage section 1 through the first bus 5.
制御部4は1回転処理を行う際は、記憶部1から回転対
象のイメージデータ2を読出し2回転後のイメージデー
タ3を書込む。When performing one rotation process, the control section 4 reads image data 2 to be rotated from the storage section 1 and writes image data 3 after two rotations.
まず、制御部4が、記憶部2から回転対象のイメージデ
ータ2を読出す際は9回転対象のイメージデータ2は第
1のバス5に出力される。この時。First, when the control section 4 reads out the image data 2 to be rotated from the storage section 2, the image data 2 to be rotated nine times is output to the first bus 5. At this time.
回転制御部6は、制御部4の読出し信号を利用して、第
1の回転処理部7に5回転対象のイメージデータ2を書
込み同時に第2の回転処理部8からあらかじめ書込まれ
ていたイメージデータの回転後のイメージデータを第2
のバス7に出力する。The rotation control unit 6 uses the readout signal from the control unit 4 to write image data 2 for five rotations into the first rotation processing unit 7, and at the same time writes the image data 2 for five rotations from the second rotation processing unit 8. The image data after data rotation is transferred to the second
output to bus 7 of
通常、イメージデータを読出す時には、制御部4は、第
1のバス5に出力されているイメージデータを読出すが
1回転処理を伴う場合には、制御部4は、第2のバス9
に出力されている回転後のイメージデータを読出す。Normally, when reading image data, the control unit 4 reads the image data output to the first bus 5. However, when one rotation process is involved, the control unit 4 reads the image data output to the first bus 5.
Read out the rotated image data output to.
従って2回転処理を伴う場合には、制御部4は読出し動
作を行うだけで6回転処理されたイメージデータを読出
すことが可能である。Therefore, when two-rotation processing is involved, the control section 4 can read image data that has been processed six rotations by simply performing a readout operation.
次に、制御部4が第2の回転処理部8から読出したイメ
ージデータを記憶部1に書込む。Next, the control section 4 writes the image data read from the second rotation processing section 8 into the storage section 1 .
以上の読出し、書込みにより、イメージデータの−読み
書き単位分の回転処理が行われる。Through the reading and writing described above, image data is rotated by -read/write units.
読出し・書込みが続けて行われることにより。By reading and writing continuously.
回転対象のイメージデータ2は、第1の回転処理部7に
書込まれ、第2の回転処理部8により回転処理されたイ
メージデータが、記憶部1に書込まれる。回転処理部7
の一処理単位分のイメージデータの書込みが終わると、
2つの回転処理部7゜8は、書込みと読出しが切り換わ
り、続けて読出し書込みを行うと、記憶部1から読出さ
れたイメージデータは、第2の回転処理部8に書込まれ
ると同時に第1の回転処理部9から回転処理されたイメ
ージデータが読出され、記憶部1に書込まれる。Image data 2 to be rotated is written to the first rotation processing section 7 , and image data subjected to rotation processing by the second rotation processing section 8 is written to the storage section 1 . Rotation processing section 7
When writing of image data for one processing unit is completed,
The two rotation processing units 7-8 switch between writing and reading, and when reading and writing are performed successively, the image data read from the storage unit 1 is written to the second rotation processing unit 8 and simultaneously transferred to the second rotation processing unit 8. The rotationally processed image data is read from the rotation processing unit 9 of the first rotation processing unit 1 and written to the storage unit 1.
以上説明したように1本発明は、制御部は、読出し動作
を行う際に、記憶部から回転対象のイメージデータを第
1のバスに読出し、第1及び第2の回転処理部のどちら
か一方の回転処理部に書込むと同時に、当該他方の回転
処理部からあらかじめ書込まれていたイメージデータの
回転後のイメージデータを第2のバスに読出し、記憶部
に書込む手段を有しているため2回転処理を行う際のイ
メージデ〒りの転送回数が半分になり、処理時間を短縮
する効果がある。As explained above, in one aspect of the present invention, when performing a read operation, the control section reads image data to be rotated from the storage section onto the first bus, and transfers the image data to one of the first and second rotation processing sections. At the same time, the image data after rotation of the image data written in advance is read from the other rotation processing section onto the second bus, and the image data is written into the storage section. Therefore, the number of image data transfers when performing two-rotation processing is halved, which has the effect of shortening processing time.
第1図は2本発明の一実施例に係るイメージ回転処理装
置の構成図である。
1・・・記憶部、2・・・回転対象のイメージデータ。
3・・・回転後のイメージデータ、4・・・制御部、5
・・・第1のバス、6・・・回転制御部、7・・・第1
の回転処理部、8・・・第2の回転処理部、9・・・第
2のノクス。FIG. 1 is a block diagram of an image rotation processing apparatus according to an embodiment of the present invention. 1...Storage unit, 2...Image data to be rotated. 3... Image data after rotation, 4... Control unit, 5
...first bus, 6...rotation control section, 7...first
rotation processing unit, 8... second rotation processing unit, 9... second nox.
Claims (1)
タを記憶する記憶部と、 記憶部のイメージデータの読み書きを行う制御部と、 記憶部と制御部との間でイメージデータの仲介を行う第
1のバスと、 イメージデータの記憶手段を有しイメージデータの回転
処理を行う第1及び第2の回転処理部と、該第1及び第
2の回転処理部の制御を行う回転制御部と、 前記第1及び第2の回転処理部と前記制御部との間で回
転後イメージデータの仲介を行う第2のバスとを有し、 制御部は、読出し動作を行う際に、前記記憶部から回転
対象のイメージデータを第1のバスに読出し、前記第1
及び第2の回転処理部のどちらか一方に書込むと同時に
、当該他方の回転処理部からあらかじめ書込まれていた
イメージデータの回転後のイメージデータを第2のバス
に読出し、前記記憶部に書込むことを特徴とするイメー
ジデータの回転処理装置。(1) A storage section that stores image data to be rotated and image data after rotation, a control section that reads and writes image data in the storage section, and a first section that mediates image data between the storage section and the control section. a bus; first and second rotation processing units that have image data storage means and perform image data rotation processing; a rotation control unit that controls the first and second rotation processing units; a second bus that mediates rotated image data between the first and second rotation processing units and the control unit; image data of the first bus is read out to the first bus;
At the same time, the rotated image data of the previously written image data is read out from the other rotation processing section to the second bus, and is stored in the storage section. An image data rotation processing device characterized by writing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5173688A JPH01226083A (en) | 1988-03-07 | 1988-03-07 | Rotation processor for image data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5173688A JPH01226083A (en) | 1988-03-07 | 1988-03-07 | Rotation processor for image data |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH01226083A true JPH01226083A (en) | 1989-09-08 |
Family
ID=12895186
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5173688A Pending JPH01226083A (en) | 1988-03-07 | 1988-03-07 | Rotation processor for image data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH01226083A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58159184A (en) * | 1982-03-17 | 1983-09-21 | Nec Corp | Picture turning device |
-
1988
- 1988-03-07 JP JP5173688A patent/JPH01226083A/en active Pending
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58159184A (en) * | 1982-03-17 | 1983-09-21 | Nec Corp | Picture turning device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH0472255B2 (en) | ||
JPS6243744A (en) | Microcomputer | |
JPH01226083A (en) | Rotation processor for image data | |
JPS62119639A (en) | Program transfer device | |
JP2884620B2 (en) | Digital image processing device | |
JPS5972532A (en) | Data transfer control method | |
JPH02163862A (en) | Digital signal processor | |
JPS6361351A (en) | Data transfer method | |
JPH04130943A (en) | Memory diagnostic system | |
JPH03127204A (en) | Communication system between programmable controller and input/output device | |
JPH01314350A (en) | Ms control system | |
JPS6332642A (en) | Information processor | |
JPH02105388A (en) | Picture memory | |
JPH04373047A (en) | Memory diagnostic system | |
JPS6170651A (en) | Movement system of data array | |
JPS61235968A (en) | Data bus control system | |
JPS6037062A (en) | Memory reading-out method | |
JPH01219930A (en) | Interrupt control circuit device for indirect address system | |
JPS62214452A (en) | Memory control system | |
JPH02171949A (en) | Dma transfer system | |
JPH02257344A (en) | Cache memory and main memory control circuit | |
JPS6394786A (en) | Video signal processor | |
JPS63136243A (en) | Diagnosing system for built-in ram of information processor | |
JPH04306746A (en) | Storage element access system for storage device | |
JPH05281290A (en) | Data transfer circuit of ic tester sharing storage circuit |