JPH06295335A - Picture data storage device - Google Patents
Picture data storage deviceInfo
- Publication number
- JPH06295335A JPH06295335A JP5081667A JP8166793A JPH06295335A JP H06295335 A JPH06295335 A JP H06295335A JP 5081667 A JP5081667 A JP 5081667A JP 8166793 A JP8166793 A JP 8166793A JP H06295335 A JPH06295335 A JP H06295335A
- Authority
- JP
- Japan
- Prior art keywords
- address
- image
- picture
- image data
- storage device
- 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
Landscapes
- Memory System (AREA)
- Controls And Circuits For Display Device (AREA)
- Image Input (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は画像データの記憶装置に
関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image data storage device.
【0002】[0002]
【従来の技術】近年、画像イメージの表示、加工のため
に画像データの記憶装置が使用されている。2. Description of the Related Art In recent years, image data storage devices have been used for displaying and processing image images.
【0003】以下、図面を参照しながら上記した従来の
画像記憶装置の一例について説明する。図3は従来の画
像データ記憶装置を用いて画像データの表示装置を構成
した時の構成図である。図3において、31は画像デー
タを保持する画像メモリである。32は画像メモリ31
に保持されている画像データを表示する画像表示装置で
ある。An example of the above-mentioned conventional image storage device will be described below with reference to the drawings. FIG. 3 is a configuration diagram when a display device for image data is configured using a conventional image data storage device. In FIG. 3, reference numeral 31 is an image memory that holds image data. 32 is an image memory 31
An image display device for displaying the image data stored in.
【0004】図4は画像メモリ31に画像イメージが記
録されるときに画像表示装置32に表示される画素にど
のようなアドレスが割り付けられているかを示してお
り、データ1バイトが画像データの1画素に対応してい
る。従来の画像記憶装置ではアドレスの増える方向が列
方向に固定されており、画像の左上を0として、ある任
意の画素のアドレスは、その左隣の画素のアドレスに1
を加えたアドレスで、一番左の画素のアドレスは1行上
の一番右の画素のアドレスに1を加えたアドレスになっ
ている。FIG. 4 shows what kind of address is assigned to a pixel displayed on the image display device 32 when an image image is recorded in the image memory 31, and 1 byte of data is 1 of image data. Corresponds to the pixel. In the conventional image storage device, the direction in which the address increases is fixed in the column direction, and the upper left corner of the image is 0, and the address of a given pixel is 1 in the address of the pixel next to the left.
The address of the leftmost pixel is the address obtained by adding 1 to the address of the rightmost pixel on one row.
【0005】以上のように構成された画像データ記憶装
置についてその機能について説明する。画像メモリ31
のあるアドレスに1バイトのデータが書き込まれると、
そのデータは、 (X座標)=(メモリのアドレス)mod(X方向の画
素数) (Y座標)=(メモリのアドレス)/(X方向の画素
数) で示される画像イメージの位置に書き込んだデータに対
応する色の点として保される。また画像イメージ内のあ
る画素は (アドレス)=(X座標)+(Y座標)×(X方向の画
素数) で示されるアドレスによってアクセスできる。The function of the image data storage device configured as described above will be described. Image memory 31
When 1 byte of data is written to a certain address,
The data was written in the position of the image image indicated by (X coordinate) = (address of memory) mod (number of pixels in X direction) (Y coordinate) = (address of memory) / (number of pixels in X direction) Preserved as color points corresponding to the data. Further, a pixel in the image can be accessed by an address represented by (address) = (X coordinate) + (Y coordinate) × (number of pixels in X direction).
【0006】[0006]
【発明が解決しようとする課題】しかしながら上記のよ
うな構成では、画像データを上下反転や、90度の回転
を行なった画像を描く場合、各画素についてアドレスの
変換を行なわなくてはならず、コンピュータによって画
像を取り扱う場合ソフトウエアへの負担が大きくなると
いう問題点を有していた。However, in the above configuration, when an image in which the image data is vertically inverted or rotated by 90 degrees is drawn, the address conversion must be performed for each pixel, There is a problem in that when the image is handled by the computer, the load on the software becomes large.
【0007】本発明は上記問題点に鑑み、画像メモリへ
のアドレスを変換することによって画像メモリ上の画像
イメージの向きを変更することのできる機構を提供する
ことを目的とする。In view of the above problems, it is an object of the present invention to provide a mechanism capable of changing the orientation of an image on the image memory by converting an address to the image memory.
【0008】[0008]
【課題を解決するための手段】上記問題を解決するため
に本発明の画像データ記憶装置は、画像データへのアド
レス信号を画像データの行アドレスと列アドレスに分け
る機能と、前記列アドレスと、行アドレスを交換する機
能と、前記行アドレスと列アドレスに演算を施す機能と
を有するアドレス変換手段を備えたものである。In order to solve the above problems, an image data storage device of the present invention has a function of dividing an address signal for image data into a row address and a column address of the image data, and the column address. It is provided with an address converting means having a function of exchanging row addresses and a function of performing an operation on the row addresses and the column addresses.
【0009】[0009]
【作用】本発明は、上記した構成により画像メモリへの
アドレスを列アドレスと行アドレスに分け、行アドレス
に演算を施すことによって上下の反転したアドレス、列
アドレスに演算を施すことによって左右の反転したアド
レス、行アドレスと列アドレスを交換することによっ
て、左上隅の点からの対角線を軸に裏返したアドレスを
得ることができる。これらを組み合わせることによって
任意の向きの画像イメージを得ることができる。According to the present invention, the address to the image memory is divided into the column address and the row address by the above-mentioned structure, and the row address is operated to invert the address vertically, and the column address is operated to invert the left and right. By exchanging the address, the row address and the column address, it is possible to obtain the address which is turned upside down on the diagonal line from the point at the upper left corner. By combining these, it is possible to obtain an image in any orientation.
【0010】[0010]
【実施例】以下本発明の一実施例の画像データ記憶装置
について、図面を参照しながら説明する。図1は本発明
の実施例における画像データ記憶装置を用いた画像デー
タの表示装置の構成図である。図1において、11は5
12ドット×512ドットの画像データを保持する画像
メモリである。12は画像データへのアドレスを変換す
るアドレス変換手段である。13は画像メモリ12のイ
メージを表示する画像データの表示装置である。図2は
アドレス変換手段12のブロック図である。2aは、行
アドレスに (行方向のドット数)−(行アドレス) なる演算を施すためのインバータである。2bは、列ア
ドレスに (列方向のドット数)−(列アドレス) なる演算を施すためのインバータである。2c、2dは
それぞれ行アドレス、列アドレスの演算を施したもの
と、演算を行なわないものを選択するセレクタである。
2e、2fは行アドレスと列アドレスを交換するかどう
かを選択するセレクタである。2g、2h、2iは、各
セレクタの出力を決めるためのコントロール入力であ
る。以上のように構成された画像データ記憶装置につい
て図面を参照しながら説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS An image data storage device according to an embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an image data display device using an image data storage device according to an embodiment of the present invention. In FIG. 1, 11 is 5
The image memory holds image data of 12 dots × 512 dots. Reference numeral 12 is an address conversion means for converting an address into image data. Reference numeral 13 is an image data display device for displaying an image in the image memory 12. FIG. 2 is a block diagram of the address conversion means 12. Reference numeral 2a is an inverter for performing an operation of (number of dots in row direction)-(row address) on the row address. Reference numeral 2b is an inverter for performing an operation of (number of dots in the column direction)-(column address) on the column address. Reference numerals 2c and 2d denote selectors for selecting whether the row address and the column address are calculated or not.
Reference numerals 2e and 2f are selectors for selecting whether to exchange the row address and the column address. 2g, 2h, 2i are control inputs for determining the output of each selector. The image data storage device configured as described above will be described with reference to the drawings.
【0011】まず、図4はアドレス変換手段によって何
も変換が行なわれていないときに画像イメージの各画素
に割り付けられているアドレスを示しており、従来の画
像データ記憶装置と同じである。この状態で、画像メモ
リに対して画像データを書き込むと従来と同じ画像イメ
ージが得られる。行アドレスに対する演算を行なうかど
うかを選択するセレクタ2cをコントロール入力2gで
切替えて行アドレスに演算を施すと上下が逆さまになっ
たアドレスの割り付けが行なわれ、この状態で、画像メ
モリに対して画像データを書き込むと上下が逆さまにな
った画像イメージが得られる。First, FIG. 4 shows an address assigned to each pixel of an image image when no conversion is performed by the address conversion means, which is the same as the conventional image data storage device. In this state, if the image data is written in the image memory, the same image image as the conventional one can be obtained. When the selector 2c for selecting whether or not to perform the operation on the row address is switched by the control input 2g to perform the operation on the row address, the upside down address is allocated, and in this state, the image is stored in the image memory. When you write the data, you can get an image that is upside down.
【0012】同様に、列アドレスに対する演算を行なう
かどうかを選択するセレクタ2dをコントロール入力2
hによって切替えれば左右の逆さまになった画像イメー
ジが得られる。Similarly, the selector 2d for selecting whether or not to perform the operation on the column address is set to the control input 2
If switched by h, the left and right upside down images can be obtained.
【0013】また、行アドレスと列アドレスの交換を行
なうかどうかを選択するセレクタ2e、2fをコントロ
ール入力2iによって切替えて列アドレスと行アドレス
を交換すると、左上隅の点からの対角線を軸に裏返した
アドレスの割り付けが行なわれ、この状態で画像メモリ
に対して画像データを書き込むと左上隅の点からの対角
線を軸に裏返した画像イメージが得られる。When the column address and the row address are exchanged by switching the selectors 2e and 2f for selecting whether to exchange the row address and the column address by the control input 2i, the diagonal line from the point at the upper left corner is turned upside down. Addresses are assigned, and when image data is written to the image memory in this state, an image image is obtained by turning over the diagonal line from the point at the upper left corner.
【0014】これらを組み合わせて、例えば列アドレス
に対して演算を施し、行アドレスと列アドレスの交換を
行なうと図5で示されるような右へ90度回転したアド
レスの割り付けが行なわれ、この状態で画像メモリに対
して画像データを書き込むと右へ90度回転した画像イ
メージが得られる。When these are combined to perform an operation on, for example, a column address to exchange a row address and a column address, an address rotated 90 degrees to the right as shown in FIG. 5 is assigned. When the image data is written in the image memory at, an image image rotated 90 degrees to the right is obtained.
【0015】[0015]
【発明の効果】以上のように本発明によれば、向きの違
う画像イメージを描画する場合でもアドレス変換手段に
対する操作を行なうだけで、描画するプログラム自身の
変更は行なう必要がなく、その実用的効果は大きい。As described above, according to the present invention, even when an image image with a different orientation is drawn, it is not necessary to change the drawing program itself by merely operating the address conversion means, and it is practical. The effect is great.
【図1】本発明の実施例における画像データ記憶装置に
画像データを表示するための表示装置を組み合わせた時
の構成図FIG. 1 is a configuration diagram when a display device for displaying image data is combined with an image data storage device according to an embodiment of the present invention.
【図2】本発明の実施例における画像データ記憶装置の
アドレス変換手段の動作説明のための回路図FIG. 2 is a circuit diagram for explaining the operation of the address conversion means of the image data storage device in the embodiment of the present invention.
【図3】従来の画像データ記憶装置に画像データを表示
するための表示装置を組み合わせた時の構成図FIG. 3 is a configuration diagram when a display device for displaying image data is combined with a conventional image data storage device.
【図4】画像メモリに画像イメージが記録されるときに
各画素に対しどのようにアドレスが割り付けられている
かを示す図FIG. 4 is a diagram showing how an address is assigned to each pixel when an image image is recorded in an image memory.
【図5】実施例で示されるアドレス変換が行なわれ、画
像メモリ11に画像イメージが記録されるときに各画素
に対しどのようにアドレスが割り付けられているかを示
す図FIG. 5 is a diagram showing how an address is assigned to each pixel when an image is recorded in the image memory 11 after the address conversion shown in the embodiment is performed.
11 画像メモリ 12 アドレス変換手段 13 画像表示装置 31 画像メモリ 32 画像表示装置 11 image memory 12 address conversion means 13 image display device 31 image memory 32 image display device
Claims (1)
タへのアドレス信号を画像データの行アドレスと列アド
レスに分ける機能と、前記列アドレスと、行アドレスを
交換する機能と、前記行アドレスと列アドレスに演算を
施す機能とを有するアドレス変換手段を備えたことを特
徴とする画像データ記憶装置。1. A memory for holding image data, a function for dividing an address signal to the image data into a row address and a column address of the image data, a function for exchanging the column address and the row address, and the row address. An image data storage device comprising an address conversion unit having a function of performing an operation on a column address.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5081667A JPH06295335A (en) | 1993-04-08 | 1993-04-08 | Picture data storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5081667A JPH06295335A (en) | 1993-04-08 | 1993-04-08 | Picture data storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH06295335A true JPH06295335A (en) | 1994-10-21 |
Family
ID=13752694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5081667A Pending JPH06295335A (en) | 1993-04-08 | 1993-04-08 | Picture data storage device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH06295335A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7333097B2 (en) | 1996-02-05 | 2008-02-19 | Seiko Epson Corporation | Display apparatus and method capable of rotating an image |
JP2015022765A (en) * | 2013-07-17 | 2015-02-02 | インフィネオン テクノロジーズ アーゲーInfineon Technologies Ag | Memory access using address bit permutation |
-
1993
- 1993-04-08 JP JP5081667A patent/JPH06295335A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7333097B2 (en) | 1996-02-05 | 2008-02-19 | Seiko Epson Corporation | Display apparatus and method capable of rotating an image |
JP2015022765A (en) * | 2013-07-17 | 2015-02-02 | インフィネオン テクノロジーズ アーゲーInfineon Technologies Ag | Memory access using address bit permutation |
US9323654B2 (en) | 2013-07-17 | 2016-04-26 | Infineon Technologies Ag | Memory access using address bit permutation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3952641B2 (en) | Image processing apparatus and image processing system | |
JPH09245179A (en) | Computer graphic device | |
JPH02208690A (en) | Display memory and image processing device with the same | |
US5461680A (en) | Method and apparatus for converting image data between bit-plane and multi-bit pixel data formats | |
JP2000148578A (en) | Storage device and image data processor | |
JPH06295335A (en) | Picture data storage device | |
JP2990163B1 (en) | Memory display | |
JPS61149989A (en) | Semiconductor memory | |
KR100252648B1 (en) | Graphics system and method of graphics drawing | |
JPS6113288A (en) | Access control circuit for image frame memory | |
JPS62236076A (en) | Access system for frame buffer memory | |
JPH11134248A (en) | Integrated circuit for image data storage, image data storing method thereof, and image data storage device | |
JPH03196189A (en) | Image signal processor | |
JPH05313644A (en) | Image memory | |
TW202127227A (en) | Image display system and method thereof | |
JPH0253797B2 (en) | ||
JPH05257793A (en) | Computer system | |
JPH0497390A (en) | Displaying device | |
JPS636684A (en) | Multi-image control device | |
JPH04128890A (en) | Frame memory control method for bit map display device | |
JPH06223577A (en) | Sram | |
JPH10124657A (en) | Parallel writing memory and parallel writing memory system | |
JPH0695272B2 (en) | Image display device | |
JPH051951B2 (en) | ||
JPH0831276B2 (en) | Semiconductor memory |