JP2839768B2 - Image rotation circuit - Google Patents

Image rotation circuit

Info

Publication number
JP2839768B2
JP2839768B2 JP3258788A JP25878891A JP2839768B2 JP 2839768 B2 JP2839768 B2 JP 2839768B2 JP 3258788 A JP3258788 A JP 3258788A JP 25878891 A JP25878891 A JP 25878891A JP 2839768 B2 JP2839768 B2 JP 2839768B2
Authority
JP
Japan
Prior art keywords
image data
output
unit
data
bit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP3258788A
Other languages
Japanese (ja)
Other versions
JPH0573670A (en
Inventor
潤一 白井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Corp
Original Assignee
Kyocera Corp
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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP3258788A priority Critical patent/JP2839768B2/en
Publication of JPH0573670A publication Critical patent/JPH0573670A/en
Application granted granted Critical
Publication of JP2839768B2 publication Critical patent/JP2839768B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はビットマップ対応の画像
データを90度単位で回転し得ると共に、必要に応じて
鏡像をも形成し得る画像回転回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image rotation circuit capable of rotating image data corresponding to a bit map in units of 90 degrees and forming a mirror image as required.

【0002】[0002]

【従来の技術】従来よりプリンタ若しくはOCR等に文
字出力を行なう場合、これを右縦書き若しくは左縦書き
に変換して出力する場合があり、この為文字フォント若
しくは光学的文字読取り装置から読み出したn×nのビ
ット画像データを90°若しくは270°回転させる必
要がある。又必要に応じて文字を下から上に向けて記載
する場合には、原画像データを180°反転させて出力
させる場合もある。(これを上下反転という) 更にロゴ等を作成する場合や写真のネガ等を作成する場
合に、前記文字をミラー反転させて、いわゆる鏡像を作
成する必要がある場合もある。
2. Description of the Related Art Conventionally, when a character is output to a printer or an OCR or the like, there is a case where the character is converted into a right vertical writing or a left vertical writing and output. It is necessary to rotate the n × n bit image data by 90 ° or 270 °. When writing characters from bottom to top as necessary, the original image data may be inverted 180 ° and output. (This is referred to as upside down.) Further, when creating a logo or the like or a negative of a photograph or the like, it may be necessary to mirror-invert the characters to create a so-called mirror image.

【0003】そしてこのような全ての回転若しくは鏡像
の形成をハードウエア的に可能とする回転回路は従来存
在せず、ソフトウエアによって画像データの回転処理を
行っていた。例えば上記方法の1例として 回転対象の
原画像データの格納領域Wと、回転後の画像データの格
納領域Xを設け、該格納領域Xをクリアした後、原画像
格納領域Wから原画像を1ビットづつ読み出しながら、
対応する夫々のビットについて各回転角度に対応させて
回転後の領域Xにおけるアドレス位置を演算してそのア
ドレス位置における領域Xにおけるビットを1に書換え
る作業を該格納領域Wの全てのビットに対して行う方法
があった。
Conventionally, there has not been a rotation circuit that enables all such rotations or the formation of a mirror image by hardware, and rotation processing of image data is performed by software. For example, as an example of the above method, a storage area W of the original image data to be rotated and a storage area X of the rotated image data are provided, and after clearing the storage area X, the original image is stored in the original image storage area W by one. While reading bit by bit,
The operation of calculating the address position in the area X after rotation corresponding to each rotation angle for each corresponding bit and rewriting the bit in the area X at that address position to 1 is performed for all the bits of the storage area W. There was a way to do it.

【0004】しかしながら上記ソフトウエアによる回転
処理は処理時間が長くかかり結果的に文字認識に時間が
かかると云う問題があった。一方、ハードウエア的に画
像データの回転画像を得る方法として90°若しくは2
70°を選択的に回転可能にした技術が提案されてい
る。
However, there is a problem that the rotation processing by the above software takes a long processing time and consequently takes a long time for character recognition. On the other hand, as a method for obtaining a rotated image of image data by hardware, 90 ° or 2 °
A technique has been proposed in which 70 ° can be selectively rotated.

【0005】例えば特開平2ー199594号において
は、図8(A)に示すように、画像データ保持部51よ
り読み出した各列のデータをアドレス順(以下昇順とい
う)に列方向に読み出しを行なう90度回転用の第一の
マルチプレクサ52と、前記画像データ保持部51より
読み出した各列のデータをアドレスと逆順(以下降順と
いう)に列方向に読み出しを行なう270度回転用の第
二のマルチプレクサ53とを用意し、その読み出しを選
択信号に基づいて選択する事により、90°と、270
°の回転データを出力可能にした技術と、更に図8
(B)に示すように、中間データ保持部54より読み出
した各列のデータをアドレス順に列方向に読み出しを行
なう90°回転用の第一のマルチプレクサ55の前に、
90°と、270°の選択信号に基づいて、原画像デー
タをそのまま若しくはアドレスの末尾より原画像データ
を逆方向に読み出しながら180°回転させる選択反転
入力制御部56を設け、該中間データ保持部54に原画
像データがそのまま保持された場合は前記マルチプレク
サ55より90°回転データが出力され、一方、前記制
御部56を介して中間データ保持部54に180°反転
データが保持された場合はその90°回転により前記マ
ルチプレクサ55より270°回転データが出力される
よう構成し、これにより90°と、270°の回転デー
タを出力可能にした技術が夫々提案されている。
For example, in Japanese Patent Application Laid-Open No. 2-199594, as shown in FIG. 8A, data of each column read from the image data holding unit 51 is read in a column direction in an address order (hereinafter referred to as ascending order). A first multiplexer 52 for 90-degree rotation, and a second multiplexer for 270-degree rotation for reading the data of each column read from the image data holding unit 51 in the column direction in the reverse order of the address (hereinafter referred to as descending order). 53, and the reading thereof is selected based on the selection signal, so that 90 ° and 270
8 ° rotation data output technology and Fig. 8
As shown in (B), before the first multiplexer 55 for 90 ° rotation that reads the data of each column read from the intermediate data holding unit 54 in the column direction in the order of addresses,
Based on the selection signals of 90 ° and 270 °, a selection inversion input control unit 56 for rotating the original image data by 180 ° while reading the original image data as it is or in the reverse direction from the end of the address is provided. When the original image data is held as it is by the multiplexer 55, the 90 ° rotation data is output from the multiplexer 55. On the other hand, when the 180 ° inverted data is held in the intermediate data holding unit 54 via the control unit 56, A technique has been proposed in which the multiplexer 55 outputs 270 ° rotation data by 90 ° rotation, thereby making it possible to output 90 ° and 270 ° rotation data.

【0006】[0006]

【発明が解決しようとする課題】さて前記図8(A)に
示す技術では、90°回転、270°回転の画像を得る
ために各々専用のマルチプレクサ52,53を設けてい
るために回路規模が大きくなり、更に0°、180°回
転も同様の構成で実現可能であるが、回転角度毎にマル
チプレクサを必要とするため回路の大規模化、複雑化を
伴うという問題点がある。この為図8(B)に示す技術
では、選択的に180°回転入力させる制御部56を設
け、90°回転のマルチプレクサ551つで90°、2
70°の2つの回転データを得るように構成している
が、該技術において270°回転データを得るためには
中間データ保持部54への書込をアドレスの末尾より逆
方向に行なわなければならない為にアドレス管理が必要
となりソフトウエアの負担が増大する。
In the technique shown in FIG. 8A, dedicated multiplexers 52 and 53 are provided for obtaining images rotated 90 ° and 270 °, respectively, so that the circuit scale is reduced. Although the rotation can be increased and the rotation of 0 ° and 180 ° can be realized with the same configuration, there is a problem that a circuit is required to be large-scale and complicated because a multiplexer is required for each rotation angle. For this reason, in the technique shown in FIG. 8B, a control unit 56 for selectively inputting a 180 ° rotation is provided, and a 90 ° rotation multiplexer 551 provides 90 °, 2
Although it is configured to obtain two rotation data of 70 °, in this technique, in order to obtain 270 ° rotation data, writing to the intermediate data holding unit 54 must be performed in the reverse direction from the end of the address. Therefore, address management is required, and the load on software increases.

【0007】又90°と270°で中間データ保持部5
4への書込手順が異なるために、同じ画像データの90
°と270°の両方の回転画像を得ようとすると、各回
転毎に、中間データ保持部54の内容を書換えなければ
ならず、処理時間の増大につながるという問題点があっ
た。更に前記いずれの技術も90°と270°の2つの
回転角しか得られず、180°回転データや鏡像が得ら
れない。
At 90 ° and 270 °, the intermediate data holding unit 5
4 because the writing procedure for the same image data is different.
If an attempt is made to obtain rotated images at both the angles of 270 ° and 270 °, the contents of the intermediate data holding unit 54 must be rewritten for each rotation, which leads to an increase in processing time. Further, in each of the above techniques, only two rotation angles of 90 ° and 270 ° can be obtained, and 180 ° rotation data and a mirror image cannot be obtained.

【0008】確かに前記第2の従来技術においては、中
間データ保持部54に180°回転データが保持される
ために、これをそのまま出力させる事により180°回
転データは得られるが、特に近年のように、ロゴ等を作
成する場合や写真のネガ等を作成する場合に、前記文字
をミラー反転させて、いわゆる鏡像を作成する必要があ
る場合もあるが、前記の構成ではこの様な鏡像を得よう
とすると更に多数のマルチプレクサや中間データ保持部
を必要とし、回路構成が極めて煩雑化する。
Certainly, in the second prior art, since the 180 ° rotation data is held in the intermediate data holding unit 54, 180 ° rotation data can be obtained by directly outputting the 180 ° rotation data. As described above, when creating a logo or the like or a negative of a photograph, it may be necessary to mirror the characters to create a so-called mirror image, but in the above configuration, such a mirror image is required. Attempting to achieve this requires a greater number of multiplexers and intermediate data holding units, and makes the circuit configuration extremely complicated.

【0009】本発明はかかる従来技術の問題点に鑑み、
回路の大規模化、複雑化を伴う事なく、而もソフトウエ
アの煩雑化を避けつつ、短処理時間で、同一回路から9
0°毎のあらゆる回転画像とその鏡像を得る事を可能な
らしめる画像回転回路を提供する事を目的とする。
The present invention has been made in view of the above problems of the prior art,
It does not require a large-scale and complicated circuit, and avoids the complexity of software.
It is an object of the present invention to provide an image rotation circuit which makes it possible to obtain every rotation image at every 0 ° and its mirror image.

【0010】[0010]

【課題を解決する為の手段】本発明は、ドットマトリッ
クス状の原画像データを保持する原画像保持部と、前記
原画像データ保持部の画像データを列単位で順次選択す
る列ビット選択部と、前記原画像データ保持部の画像デ
ータを行単位で順次選択する行ビット選択部と、第1の
選択信号に基づいて前記各ビット選択部よりの出力をア
ドレス昇順に若しくは降順に出力するかを制御する読み
出し制御部と、第2の制御信号に基づいて前記いずれか
のビット選択部よりのデータ出力の選択を行なうセレク
タ部と、第3の制御信号に基づいて前記セレクタ部より
の出力を順列若しくは逆列方向に出力させるかを選択す
る配列制御部とを具え、前記制御信号を適宜組合せる事
により、原画像データを90°単位で回転させた回転デ
ータ若しくはその鏡像を生成可能に構成した事を特徴と
するものである。
According to the present invention, there is provided an original image holding section for holding original image data in a dot matrix form, and a column bit selecting section for sequentially selecting the image data of the original image data holding section in column units. A row bit selection unit for sequentially selecting the image data of the original image data holding unit in row units, and whether to output the output from each of the bit selection units based on a first selection signal in ascending or descending address order. A read control unit for controlling, a selector unit for selecting a data output from any one of the bit selection units based on a second control signal, and an output from the selector unit based on a third control signal. Or an array control unit for selecting whether to output in the reverse column direction, and by appropriately combining the control signals, the rotation data obtained by rotating the original image data in units of 90 ° or its rotation data. It is characterized in that the produced configured to be able to image.

【0011】[0011]

【作用】次に前記技術手段の作用について図1に基づい
て説明する。先ず光学的読取り装置若しくは文字フォン
ト等より読取られたn×nのドットマトリックス状の原
画像データは書込制御部1の制御によって画像データ保
持部2にマトリックス状に書込まれる。一方前記画像デ
ータ保持部2に書込まれたデータは画像データ保持部2
の各列単位で順次列ビット選択部4に、又各行単位で順
次行ビット選択部5に入力される。そして前記各ビット
選択部4、5よりの出力は第2の制御信号(THR)に
基づいて選択的にセレクタ部6に出力されるが、この際
前記ビット選択部4、5よりのデータ出力のアドレス選
択を行なう読み出し制御部3側では第1の制御信号(I
NV)に基づいて、そのデータ出力を各列(行)毎にア
ドレス昇順に若しくは降順に出力するかのアドレス制御
を行なう。
Next, the operation of the above technical means will be described with reference to FIG. First, original image data in the form of an n × n dot matrix read from an optical reading device or a character font is written in a matrix in the image data holding unit 2 under the control of the writing control unit 1. On the other hand, the data written in the image data holding unit 2 is
Are sequentially input to the column bit selection unit 4 in units of columns, and are sequentially input to the row bit selection unit 5 in units of rows. The outputs from the bit selection units 4 and 5 are selectively output to the selector unit 6 based on a second control signal (THR). On the read control unit 3 side that performs address selection, the first control signal (I
Based on NV), address control is performed to determine whether to output the data output for each column (row) in ascending order or descending order.

【0012】この結果、例えば第2の制御信号(TH
R)の出力がHの場合に列ビット選択部4、Lの場合に
行ビット選択部5を出力するように構成し、一方第1の
制御信号(INV)の出力がLの場合に読み出し制御部
3よりアドレス昇順の選択信号が、又Hの場合にアドレ
ス降順の選択信号が出力されるように構成した場合、図
7に示すように、(INV)Lで且つ(THR)Hの場
合は原画像データがそのまま(A)、また(INV)L
で且つ(THR)Lの場合は90°回転の画像データ
(B)が得られるが、(INV)Hで且つ(THR)H
の場合は180°回転の画像データ(C)ではなく、そ
の鏡像(G)が更に、(INV)Hで且つ(THR)L
の場合は270°回転の画像データ(D)ではなく、鏡
像の90°回転の画像データ(F)が、得られてしま
う。
As a result, for example, the second control signal (TH
When the output of R) is H, the column bit selector 4 is output, and when it is L, the row bit selector 5 is output. On the other hand, when the output of the first control signal (INV) is L, read control is performed. When the selection signal in the address ascending order is output from the unit 3 and the selection signal in the address descending order is output when the signal is H, as shown in FIG. 7, when (INV) L and (THR) H, Original image data as is (A) and (INV) L
And (THR) L, image data (B) rotated by 90 ° is obtained, but (INV) H and (THR) H
In the case of, the mirror image (G) is not (INV) H and (THR) L instead of the image data (C) rotated by 180 °.
In the case of (2), not the image data (D) rotated by 270 ° but the image data (F) rotated by 90 ° of the mirror image is obtained.

【0013】従って270°回転及び180°回転の画
像データを得るには、更に第3の処理が必要がある。そ
こで本発明は第3の制御信号(MIR)に基づいて前記
セレクタ部6よりの出力を順列若しくは逆列方向に出力
させるかを選択する配列制御部7を設けている。即ち前
記(INV)Hで且つ(THR)Hの場合は(MIR)
をHにする事により、鏡像(G)ではなく180°回転
の画像データ(C)が得られ、(MIR)をLにする事
により、その鏡像が得られる。また、(INV)Hで且
つ(THR)Lの場合は(MIR)をHにする事によ
り、鏡像の90°回転の画像データ(F)ではなく、2
70°回転の画像データ(D)が得られ、(MIR)を
Lにする事により、鏡像の90°回転の画像データ
(F)を得ることができる。
Therefore, in order to obtain image data rotated by 270 ° and 180 °, a third process is further required. Therefore, the present invention is provided with an array control unit 7 for selecting whether to output the output from the selector unit 6 in the forward or reverse direction based on the third control signal (MIR). That is, in the case of (INV) H and (THR) H, (MIR)
Is set to H, the image data (C) rotated by 180 ° is obtained instead of the mirror image (G). By setting (MIR) to L, the mirror image is obtained. Further, in the case of (INV) H and (THR) L, by setting (MIR) to H, the image data (F) obtained by rotating the mirror image by 90 ° can be used instead of (F).
The image data (D) rotated by 70 ° is obtained, and by setting (MIR) to L, the image data (F) obtained by rotating the mirror image by 90 ° can be obtained.

【0014】又同様に(INV)L、(THR)Hの場
合、(MIR)をHにする事により、原画像データの鏡
像(E)が、又(INV)L、(THR)Lの場合は
(MIR)をHにする事により、270°回転の画像デ
ータの鏡像(F)が夫々得られ、従って本発明によれば
ソフトウエア的処理を必要とする事なく、単に3つの制
御信号の組合せで、ビットマップ対応の原画像データを
90度単位で回転し得ると共に、必要に応じて鏡像をも
形成し得る。
Similarly, in the case of (INV) L and (THR) H, the mirror image (E) of the original image data is set to (INV) L and (THR) L by setting (MIR) to H. By setting (MIR) to H, mirror images (F) of the image data rotated by 270 ° can be obtained respectively. Therefore, according to the present invention, only three control signals of the three control signals can be obtained without software processing. In combination, the original image data corresponding to the bitmap can be rotated in units of 90 degrees, and a mirror image can be formed if necessary.

【0015】[0015]

【実施例】以下、図面を参照して本発明の好適な実施例
を例示的に詳しく説明する。図1は本発明の画像回転回
路にかかる実施例の全体構成図であり、既に前記作用の
項で説明したのでその重複を避けながら説明する。図1
において、1はn×nのドットマトリックス状の原画像
データの書込みを制御する書込み制御部で、本実施例に
おいては、説明の煩雑化を避けるために原画像を4*4
のドットマトリックスで構成する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be illustratively described in detail below with reference to the drawings. FIG. 1 is an overall configuration diagram of an embodiment according to an image rotation circuit of the present invention, which has already been described in the section of operation, and will be described while avoiding the duplication. FIG.
In this embodiment, reference numeral 1 denotes a writing control unit for controlling the writing of the original image data in the form of an nxn dot matrix.
It consists of a dot matrix.

【0016】2は4*4ビットのメモリーで構成した、
前記原画像データを保持する画像データ保持部、3は第
1の制御信号(INV)によって後記する夫々のビット
選択部4、5にアドレスの昇順又は降順の選択信号を出
力する読み出し制御部3、4及び5は前記原画像データ
保持部の画像データを列単位(行単位)で順次選択しつ
つ前記選択信号に従って原データを列方向(行方向)に
おけるアドレスの昇順又は降順に読み出す列ビット選択
部4と行ビット選択部5、6は第2の制御信号(TH
R)に基づいて前記いずれかのビット選択部よりのデー
タ出力の選択を行なうセレクタ部、7は第3の制御信号
(MIR)に基づいて前記セレクタ部6よりの出力を順
列若しくは逆列方向に出力させるかを選択する配列制御
部7である。
2 is a 4 * 4 bit memory,
An image data holding unit 3 for holding the original image data, a read control unit 3 for outputting a selection signal in ascending or descending order of address to respective bit selection units 4 and 5 described later by a first control signal (INV); 4 and 5 are column bit selection units for sequentially selecting image data in the original image data holding unit in column units (row units) and reading out the original data in ascending or descending order of addresses in a column direction (row direction) according to the selection signal. 4 and the row bit selection units 5 and 6 output the second control signal (TH
R) based on a third control signal (MIR). The selector unit 7 selects the data output from any one of the bit selection units based on the third control signal (MIR). An array control unit 7 for selecting whether to output.

【0017】以下に、図1の全体構成図における各構成
部につき更に詳しく説明する。図2は原画像データ保持
部の回路構成を示し、4*4のフリップフロップ12
(n*n)からなる単一データ保持素子をマトリックス
状に構成し、書込み制御部3よりのライトイネーブルW
Eに基づいて文字フォント等より読み出した書込みデー
タD0〜D3を行単位で順次書込みを行なうよう構成さ
れている。
Hereinafter, each component in the overall configuration diagram of FIG. 1 will be described in more detail. FIG. 2 shows a circuit configuration of the original image data holding unit, showing a 4 * 4 flip-flop 12.
A single data holding element composed of (n * n) is formed in a matrix, and a write enable W
Write data D0 to D3 read from a character font or the like based on E are sequentially written in line units.

【0018】図4の書込み制御部はアドレスデコーダ1
0とゲート回路11(n)からなり、該アドレスデコー
ダ10に送信された書込アドレスA0,A1基づいて、該
アドレスデコーダ10よりのデコード信号がORゲート
11(n)に出力されると、信号RWに同期して該OR
ゲート11(n)からはWE(n)が各々出力される。
The write control unit shown in FIG.
0 and a gate circuit 11 (n). When a decode signal from the address decoder 10 is output to the OR gate 11 (n) based on the write addresses A0 and A1 transmitted to the address decoder 10, the signal The OR is synchronized with RW
WE (n) is output from the gate 11 (n).

【0019】読み出し制御部3は図5に示すように、Χ
ORゲート13(0、1)とアドレスデコーダ14から構
成され、ΧORゲート13(0、1)にはアドレス信号A
0,A1が第1の制御信号(INV)とともにΧORゲー
ト13(0、1)に印加され、前記制御信号(INV)がL
の時はアドレス昇順に、アドレスデコーダ14より選択
信号SEL1〜4が順次出力され、一方制御信号(IN
V)がHの時は前記アドレス降順に、アドレスデコーダ
14より選択信号SEL1〜4が順次出力されるよう構
成している。
The read control unit 3, as shown in FIG.
An OR gate 13 (0, 1) and an address decoder 14 are provided.
0 and A1 are applied to the OR gate 13 (0, 1) together with the first control signal (INV), and the control signal (INV) is
In this case, the selection signals SEL1 to SEL4 are sequentially output from the address decoder 14 in the ascending order of the address.
When V) is H, the address decoder 14 sequentially outputs the selection signals SEL1 to SEL4 in the address descending order.

【0020】図3は、列ビット選択部4と行ビット選択
部5とセレクタ部6の回路構成を示し、これらは原画像
データ保持部2の列数(行数)に対応させてn組(4
組)の列ビット選択回路15(n)と行ビット選択回路
16(n)とセレクタ回路17(n)からなり、より具
体的には第4列(左から4列目)のビットデータを選択
する列ビット選択部15(0)の出力と上から4行目のビ
ットデータを選択する行ビット選択部16(3)と、第2
の制御信号(THR)H/Lに基づいて前記いずれかの
選択部よりのビットデータRCD0を選択するセレクタ
回路17(0)からなる第1の組合せ、と以下順次第3列
と3行目、第2列と2行目、第1列と1行目夫々の組合
せからなる。
FIG. 3 shows a circuit configuration of the column bit selection unit 4, the row bit selection unit 5, and the selector unit 6, which correspond to the number of columns (the number of rows) of the original image data holding unit 2 by n sets ( 4
(Set) column bit selection circuit 15 (n), row bit selection circuit 16 (n), and selector circuit 17 (n), and more specifically, selects bit data of the fourth column (fourth column from the left). And a row bit selector 16 (3) for selecting the bit data of the fourth row from the top,
A first combination of a selector circuit 17 (0) for selecting the bit data RCD0 from any one of the selection units based on the control signal (THR) H / L, It is composed of a combination of the second column and the second row, and a combination of the first column and the first row.

【0021】そして各セレクタ回路17(0〜3)には第2
の制御信号(THR)がHの場合に、列ビット選択部1
5(0〜3)よりセレクト信号SEL(1〜4)により選択さ
れたビットデータRCD(0〜3)が、又Lの場合に行ビ
ット選択部16(0〜3)よりセレクト信号SEL(1〜4)
により選択されたビットデータRCD(0〜3)が夫々選
択的に出力されるよう構成している。即ちTHR信号H
/Lに基づいて各セレクタ部6から列ビット選択部の出
力か行ビット選択部5内のセレクト信号SEL(1〜4)に
より選択されたビットデータが出力可能に構成されてお
り、そしてこの場合制御信号(THR)は共通して各デ
ータセレクタ回路17(0〜3)に出力されているため
に、該4つのデータセレクタ回路(0〜3)より行若しく
は列単位のnビットデータが出力される事になる。
Each selector circuit 17 (0-3) has a second
When the control signal (THR) is H, the column bit selection unit 1
5 (0 to 3), the bit data RCD (0 to 3) selected by the select signal SEL (1 to 4), and in the case of L, the select signal SEL (1) from the row bit selector 16 (0 to 3). ~Four)
, The bit data RCD (0 to 3) selected are output selectively. That is, the THR signal H
/ L, the bit data selected from the output of the column bit selection unit or the selection signal SEL (1 to 4) in the row bit selection unit 5 can be output from each selector unit 6. In this case, Since the control signal (THR) is commonly output to the data selector circuits 17 (0 to 3), the four data selector circuits (0 to 3) output n-bit data in row or column units. Will be.

【0022】そして前記列ビット選択回路15(0〜3)
と前記行ビット選択回路16(0〜3)よりのデータの出
力順序は各選択部毎に印加される選択信号SEL(1〜4)
に基づいて決定され、前記したように制御信号(IN
V)がLの時はアドレス昇順に選択信号SEL1〜4が
順次印加され、一方制御信号(INV)がHの時は前記
アドレス降順に選択信号SEL1〜4が順次印加される
ように構成している。
The column bit selection circuit 15 (0 to 3)
And the output order of the data from the row bit selection circuits 16 (0 to 3) is the selection signal SEL (1 to 4) applied to each selection unit.
And the control signal (IN
When V) is L, the selection signals SEL1 to SEL4 are sequentially applied in ascending address order, while when the control signal (INV) is H, the selection signals SEL1 to SEL4 are sequentially applied in descending address order. I have.

【0023】配列制御部7は図6に示すように4つのセ
レクタ18(0〜3)で構成され,各セレクタ18(n)には前
記セレクタ回路17(0〜3)よりの出力RCD((0〜
3))がA端子に、これとは逆に前記セレクタ回路17
(3〜0)よりの出力RCD(3〜0)がB端子に夫々印加さ
れており、言換えれば順配列と逆配列に夫々印加され、
そして各セレクタ18(0〜3)に印加される第3の制御信
号MIRがLの場合A端子よりRCD(n)の出力が順
配列で、又Hの場合に逆配列で夫々原画像を含む4種類
の回転画像及び4種類の鏡像が各列単位D(0〜3)で出
力される事となる。
The array control section 7 comprises four selectors 18 (0 to 3) as shown in FIG. 6, and each selector 18 (n) outputs the output RCD (( 0-
3)) is connected to the A terminal, and conversely, the selector circuit 17 is connected to the A terminal.
Outputs RCD (3 to 0) from (3 to 0) are respectively applied to the B terminal, in other words, applied to the forward arrangement and the reverse arrangement, respectively.
When the third control signal MIR applied to each selector 18 (0-3) is L, the output of the RCD (n) from the A terminal is in the forward arrangement, and when it is H, the output of the RCD (n) includes the original image in the reverse arrangement Four types of rotated images and four types of mirror images are output for each column unit D (0 to 3).

【0024】従って本実施例によれば、前記発明の作用
に示す如く第1の制御信号INV,第2の制御信号TH
R,第3の制御信号MIRの各信号をHまたはLに制御
する事によって図7に示すように、1つの原画像を含む
4種類の回転画像及び4種類の鏡像を得る事が出来る。
尚本実施例は説明を簡単にするために原画像データの構
成を4*4ビットとしたが、本発明は上記ビット構成に
拘束されるものではなくn*nビットの如何なる構成に
よっても実現可能である。
Therefore, according to the present embodiment, the first control signal INV and the second control signal TH
By controlling each of the R and third control signals MIR to H or L, four types of rotated images including one original image and four types of mirror images can be obtained as shown in FIG.
In this embodiment, the configuration of the original image data is 4 * 4 bits for the sake of simplicity. However, the present invention is not limited to the above bit configuration and can be realized by any configuration of n * n bits. It is.

【0025】[0025]

【効果】以上記載した如く本発明によれば、回路の大規
模化、複雑化を伴う事なく、又アドレス管理等のソフト
ウエア的処理を必要とせず、短処理時間で而もハード構
成のみで90°単位のあらゆる回転画像とその鏡像を得
る事を可能ならしめる等の種々の著効を有す。
As described above, according to the present invention, there is no need for software processing such as address management or the like without increasing the scale and complexity of the circuit, and the processing time is short and only the hardware configuration is used. It has various remarkable effects such as making it possible to obtain all rotated images in 90 ° units and their mirror images.

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

【図1】本発明の実施例の全体構成図である。FIG. 1 is an overall configuration diagram of an embodiment of the present invention.

【図2】図1の画像データ保持部の詳細回路構成を示
す。
FIG. 2 shows a detailed circuit configuration of an image data holding unit in FIG.

【図3】図1の列ビット選択部と行ビット選択部及びセ
レクタ部の詳細回路構成を示す。
FIG. 3 shows a detailed circuit configuration of a column bit selection unit, a row bit selection unit, and a selector unit of FIG.

【図4】図1の書込み制御部の回路構成を示すものであ
る。
FIG. 4 illustrates a circuit configuration of a write control unit in FIG. 1;

【図5】図1の読み出し制御部の回路構成を示す。FIG. 5 shows a circuit configuration of a read control unit in FIG.

【図6】図1の配列制御部7の回路構成を示すものであ
る。
FIG. 6 shows a circuit configuration of an array control unit 7 in FIG.

【図7】本発明の実施例によって得られる回転画像とそ
の鏡像を示す。
FIG. 7 shows a rotated image obtained by an embodiment of the present invention and its mirror image.

【図8】従来技術にかかる回転回路のブロック図を示
す。
FIG. 8 shows a block diagram of a rotation circuit according to the prior art.

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

1 書込制御部 2 画像データ保持部 3 読み出し制御部 4 列ビット選択部 5 行ビット選択部 6 セレクタ部 7 配列制御部 DESCRIPTION OF SYMBOLS 1 Write control part 2 Image data holding part 3 Read control part 4 Column bit selection part 5 Row bit selection part 6 Selector part 7 Array control part

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06T 3/00 - 3/60 B41J 2/485 G09G 5/24 640 H04N 1/387──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06T 3/00-3/60 B41J 2/485 G09G 5/24 640 H04N 1/387

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ドットマトリックス状の原画像データを
保持する原画像保持部と、 前記原画像データ保持部の画像データを列単位で順次選
択する列ビット選択部と、 前記原画像データ保持部の画像データを行単位で順次選
択する行ビット選択部と、 第1の選択信号に基づいて前記各ビット選択部よりの出
力をアドレス昇順に若しくは降順に出力するかを制御す
る読み出し制御部と、 第2の制御信号に基づいて前記いずれかのビット選択部
よりのデータ出力の選択を行なうセレクタ部と、 第3の制御信号に基づいて前記セレクタ部よりの出力を
順列若しくは逆列方向に出力させるかを選択する配列制
御部とを具え、 前記制御信号を適宜組合せる事により、原画像データを
90°単位で回転させた回転データ若しくはその鏡像を
生成可能に構成した事を特徴とする画像回転回路。
An original image holding unit for holding original image data in a dot matrix form; a column bit selecting unit for sequentially selecting image data of the original image data holding unit in units of columns; A row bit selection unit for sequentially selecting image data in row units; a read control unit for controlling whether to output the output from each bit selection unit in ascending or descending address order based on a first selection signal; A selector for selecting the data output from any one of the bit selectors based on the control signal of No. 2 and whether the output from the selector is output in the forward or reverse direction based on a third control signal. And an array control unit for selecting the image data. By appropriately combining the control signals, it is possible to generate rotated data obtained by rotating the original image data in units of 90 ° or a mirror image thereof. Image rotation circuit, characterized in that the.
JP3258788A 1991-09-11 1991-09-11 Image rotation circuit Expired - Fee Related JP2839768B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3258788A JP2839768B2 (en) 1991-09-11 1991-09-11 Image rotation circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3258788A JP2839768B2 (en) 1991-09-11 1991-09-11 Image rotation circuit

Publications (2)

Publication Number Publication Date
JPH0573670A JPH0573670A (en) 1993-03-26
JP2839768B2 true JP2839768B2 (en) 1998-12-16

Family

ID=17325085

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3258788A Expired - Fee Related JP2839768B2 (en) 1991-09-11 1991-09-11 Image rotation circuit

Country Status (1)

Country Link
JP (1) JP2839768B2 (en)

Also Published As

Publication number Publication date
JPH0573670A (en) 1993-03-26

Similar Documents

Publication Publication Date Title
JPH0827604B2 (en) Image display system
JPH0773920B2 (en) n × n bit dot matrix 90 ° rotation circuit
JPH0636311B2 (en) Dual port VRAM memory
US6633975B1 (en) Data processing system having plurality of processors and executing series of processings in prescribed order
JP2839768B2 (en) Image rotation circuit
JP2507361B2 (en) Image information processing device
US4935897A (en) Semiconductor memory device suitable for use as a dot image buffer for a printer
JPS59226584A (en) Printer of television receiver
JPH11306343A (en) Rotational processing device for two-dimensional data
JPS6045290A (en) Image memory controller
JPS62236076A (en) Access system for frame buffer memory
JPH05505502A (en) Expanding the image of thermal printers, etc.
JP2883374B2 (en) Mirror image circuit
JP3427586B2 (en) Data processing device and storage device
JP4165391B2 (en) Image processing method and image processing apparatus
JPH061449B2 (en) Image memory for image editing
KR960006883B1 (en) Static random access memory
JPH0299339A (en) Data recording apparatus
JPH05207264A (en) Picture memory device for longitudinal lateral size conversion
JPH0245174A (en) Line printer
JPS633352B2 (en)
JPH0863595A (en) Method and device for rotation processing of image
JPH09218946A (en) Image rotation circuit
JPH0689335A (en) Memory device
JPS62123874A (en) Dot pattern magnifying system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees