JPS63156260A - Virtual storage controller for image data - Google Patents

Virtual storage controller for image data

Info

Publication number
JPS63156260A
JPS63156260A JP61302792A JP30279286A JPS63156260A JP S63156260 A JPS63156260 A JP S63156260A JP 61302792 A JP61302792 A JP 61302792A JP 30279286 A JP30279286 A JP 30279286A JP S63156260 A JPS63156260 A JP S63156260A
Authority
JP
Japan
Prior art keywords
image data
address
block
image
virtual storage
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
JP61302792A
Other languages
Japanese (ja)
Inventor
Ryoichi Aizawa
良一 相沢
Yasuhiko Yogoshi
余越 康彦
Toshio Ogasawara
小笠原 俊雄
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61302792A priority Critical patent/JPS63156260A/en
Publication of JPS63156260A publication Critical patent/JPS63156260A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten a loss time and to realize efficient use by dividing an image equally into plural blocks according to its attribute, and specifying the position and size of a block in the original image and rolling in and out the image in block units. CONSTITUTION:The image data 9 in an actual storage device 3 is divided into plural blocks according to its attribute and rolled out in a virtual storage device 4. For the purpose, an address control circuit 1 specifies block size by a block size specifying means 10 to divide the image 9 equally, and specifies the position address of a block. An image data address arithmetic means 13 inputs in-block address specification information successively by block position addresses, converts it into an image data address specifying a picture element in an image data buffer 2, and outputs it to a buffer 1. Then image data of a necessary block is rolled in from the device 4. Thus, only a necessary block is rolled in and out to shorten the loss time and improve the use efficiency.

Description

【発明の詳細な説明】 〔概   要〕 本発明は、実記憶装置と仮想記憶装置間で、画像データ
の仮想記憶制御を行う仮想記憶制御装置において、1枚
の画像データを画像の性質(あらかじめわかっている胚
性)に従って、複数の長方形又は正方形のブロックに等
分割してブロック単位でアクセスする手段、特に実記憶
装置と仮想記憶装置間で入出力を行う画像データ上のブ
ロック位置を任意に設定する手段を有することにより、
必要なブロックのみについての仮想記憶制御を行うこと
を可能とし、ロールイン/ロールアウトの時間的ロスを
短縮し、効率的な仮想記憶装置の使用を可能とする画像
データの仮想記1.I!制御装置である。
[Detailed Description of the Invention] [Summary] The present invention provides a virtual storage control device that performs virtual storage control of image data between a real storage device and a virtual storage device. A means of equally dividing into multiple rectangular or square blocks and accessing them in block units according to known embryonic characteristics, especially a method of arbitrarily changing the block position on image data that is input/output between a real storage device and a virtual storage device. By having the means to set
Virtual storage of image data that enables virtual storage control for only necessary blocks, reduces time loss during roll-in/roll-out, and enables efficient use of virtual storage 1. I! It is a control device.

〔産業上の利用分野〕[Industrial application field]

本発明は画像データの仮想記憶制御を効率的に行うこと
のできる仮想記憶装置に関する。
The present invention relates to a virtual storage device that can efficiently control virtual storage of image data.

〔従来の技術〕[Conventional technology]

コンピュータ画像処理を行う場合、画像情報は1画素毎
に1ビツト〜数ビツトが必要であり、高1W像度の処理
を行うためには、1枚の画像につき例えば256X25
6画素というように多くの画素を必要とする。このため
、画像処理には大容量のメモリが必要となり、従来、D
RAM(ダイナミ・ツクRAM)などのICメモリが使
用されている。
When performing computer image processing, image information requires 1 bit to several bits for each pixel, and in order to perform processing with a high 1W image resolution, for example, 256 x 25 bits per image is required.
It requires a large number of pixels, such as 6 pixels. For this reason, image processing requires a large amount of memory, and conventionally, D
IC memory such as RAM (dynamic RAM) is used.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、処理の複雑化に伴って、ますます大容量のDR
AMが要求されており、これは装置の小型化という要求
と相反するという問題点を生じていた。
However, as processing becomes more complex, the capacity of DR becomes larger and larger.
AM has been required, and this has created a problem in that it conflicts with the demand for miniaturization of the device.

上記問題点を解決するため、仮想記f、αの概念を利用
することが考えられる。従来の仮想記憶装置は、一般的
なプログラムに対するものであり、このようなプログラ
ムはデータロがそれほど膨大ではなく、また処理速度も
高速性を要求されるものは少ないため、プログラム実行
時間中に、データを仮想記憶装置から実メモリ上にロー
ルイン、又は実メモリから仮想記憶装置にロールアウト
することができるため、ロールイン/ロールアウトによ
る時間的ロスをユーザにわからないようにすることがで
きた。
In order to solve the above problem, it is possible to use the concept of virtual letters f and α. Conventional virtual storage devices are for general programs, and since such programs do not have very large amounts of data and are not required to have high processing speed, the data is stored during the program execution time. can be rolled in from the virtual storage device to the real memory, or rolled out from the real memory to the virtual storage device, making it possible to make the time loss due to roll-in/roll-out invisible to the user.

しかし、このような仮想記憶装置に対して、大容量の画
像データを適用する場合、データ量が膨大であるためロ
ールイン/ロールアウトによる時間的ロスがユーザに見
えてしまう。また、画像データは各画素毎に演算を行っ
てすぐに表示をしたりする場合が多いため、ロールイン
/ロールアウトによる時間的ロスは演算速度、表示速度
に大さな16MEを与えてしまうという問題点を有して
いた。
However, when a large amount of image data is applied to such a virtual storage device, time loss due to roll-in/roll-out becomes visible to the user because the amount of data is enormous. In addition, since image data is often calculated for each pixel and displayed immediately, the time loss due to roll-in/roll-out adds a large 16 ME to the calculation speed and display speed. It had some problems.

本発明は上記問題点を解決するために、1枚の画像をそ
の応性に従って複数のブロックに等分割し、該ブロック
単位で仮想記憶制御を行うことにより、ロールイン/ロ
ールアウトによる時間的ロスを短縮し、効率的な仮想記
憶装置の使用を可能とする画像データの仮想記憶制御装
置を提供することを目的とする。
In order to solve the above problems, the present invention divides one image equally into a plurality of blocks according to its responsiveness, and performs virtual memory control for each block, thereby reducing time loss due to roll-in/roll-out. It is an object of the present invention to provide a virtual storage control device for image data that enables efficient use of a virtual storage device.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記問題点を解決するために、第1図に示す基
本的構成を有する。実記憶装置3と仮想記憶装置4間に
は、データバス7.8、マルチプレクサ5、及びデバイ
ダ6を介して画像データバッファ2が配置される。該バ
ンファには1枚分の画像データ9が一時記憶される。画
像データバッファ2内の画像データ9に対するアドレス
制御は、アドレス制御手段1からの画像データアドレス
18によって制御される。
In order to solve the above problems, the present invention has a basic configuration shown in FIG. 1. An image data buffer 2 is arranged between the real storage device 3 and the virtual storage device 4 via a data bus 7.8, a multiplexer 5, and a divider 6. Image data 9 for one sheet is temporarily stored in the buffer. Address control for the image data 9 in the image data buffer 2 is controlled by the image data address 18 from the address control means 1.

アドレス制御回路1は、ブロックサイズ指定手段10.
、該手段からのブロックサイズ14.15を各々入力す
るブロック位置アドレス指定手段11及びアドレスカウ
ンタであるブロック内アドレス指定手段12、さらに該
両手段からのブロック位置アドレス16及びブロック内
アドレス17及び前記ブロックサイズ14.15を入力
し画像データアドレス18を出力する画像データアドレ
ス演算手段13とによって構成される。
The address control circuit 1 includes block size specifying means 10.
, a block position addressing means 11 which inputs the block size 14.15 from said means, and an intra-block addressing means 12 which is an address counter, and further a block position address 16 and an intra-block address 17 from said means and said block. The image data address calculation means 13 inputs the size 14.15 and outputs the image data address 18.

〔作   用〕[For production]

第1図の構成において、まず実記憶装置3から1枚分の
画像データ9は、データバス7、マルチプレクサ5を介
して画像データバッファ2に一時記憶される。次に、こ
の画像データ9は、その°両像の応性、例えば「縦縞で
ある」、「綱かいかたまりが整然と並んでいるjなどの
性質に従って、複数の長方形又は正方形のブロックに等
分割され、プ1コフク単位でデバイダ6、データバス8
を介して仮想記憶装置4ヘロールアウトされる。
In the configuration shown in FIG. 1, first, one sheet of image data 9 is temporarily stored from the real storage device 3 into the image data buffer 2 via the data bus 7 and the multiplexer 5. Next, this image data 9 is equally divided into a plurality of rectangular or square blocks according to the characteristics of both images, such as ``vertical stripes'' and ``the rope clusters are arranged in an orderly manner.'' Divider 6, data bus 8 for each bus
The data is rolled out to the virtual storage device 4 via.

そのために、アドレス制御回路1内において、まず、ユ
ーザがブロックサイズ指定手段10により、横方向(X
方向)及び縦方向(X方向)のブロックサイズ14.1
5を指定する6次に、該サイズのブロックで画像データ
9を等分別した時の各ブロックの画像データ中の位置ア
ドレスが、ブロック位置アドレス指定手段11において
ブロック単位で例えば若い番号順に、ブロック0、ブロ
ック1、ブロック2、・・・と指定される。一方、ブロ
ック内アドレス指定手段12においては、各ブロック毎
にブロック内の各i!iiiのアドレスが、各ブロック
の先頭をアドレス0として順次指定される。この動作は
、前記ブロックサイズ14.15から求まる画素数分の
アドレスを、アドレスカウンタによってインクリメント
することにより行う0次に、画像データアドレス演算手
段13は、ブロック位置アドレス指定手段11からの各
ブロック位置アドレス16毎に、ブロック内アドレス指
定手段12からのブロック内アドレス指定手段17を順
次入力し、画像データバッファ2内の画像データ9の対
応する各プロ7り内の各画素を指定する画像データアド
レス18に変換して画像データバッファ2へ出力する。
For this purpose, in the address control circuit 1, the user first specifies the block size in the horizontal direction (X
direction) and vertical direction (X direction) block size 14.1
Specify 5.6 Next, when the image data 9 is equally divided into blocks of this size, the position address in the image data of each block is determined by the block position address designating means 11 in block units, for example, in order of the smallest number, block 0. , block 1, block 2, and so on. On the other hand, in the intra-block addressing means 12, each i! The addresses of iii are sequentially specified with the beginning of each block being address 0. This operation is performed by incrementing addresses for the number of pixels determined from the block size 14.15 using an address counter. For each address 16, the intra-block address specification means 17 from the intra-block address specification means 12 is sequentially input, and the image data address specifies each pixel in each corresponding program 7 of the image data 9 in the image data buffer 2. 18 and output to the image data buffer 2.

上記動作により、仮想記憶装置4への画1象データ9の
1フールアウトは、例えばブロックO、ブロック1、・
・・というようにブロック単位で行われる。一方、画像
データ9中の一部、すなわち特定のブロックのみの演算
を行えばよいような処理が起動された場合には、該当す
るブロックのみを仮想記憶装置4からデータバス8、マ
ルチプレクサ5を介して画像データバッファ2ヘロール
インする。この時、元の画像への該ブロックのはめこみ
は、前記ロールアウトの場合と全く同様にアドレスを制
御することにより行なわれ、デバイダ6、データバス7
を介して実記憶装置3へ転送される。
By the above operation, one full-out of one image data 9 to the virtual storage device 4 is performed, for example, block O, block 1, .
This is done on a block-by-block basis. On the other hand, when a process is started that only requires calculation of a part of the image data 9, that is, a specific block, only the corresponding block is transferred from the virtual storage device 4 via the data bus 8 and the multiplexer 5. and rolls into image data buffer 2. At this time, the block is inserted into the original image by controlling the address in exactly the same way as in the rollout case, and the divider 6, data bus 7
The data is transferred to the real storage device 3 via.

以上の動作により、大きな画像の中の一部の演算のみを
行えばよいような場合には、必要なブロックのみをロー
ルインすればよく、仮想記f、α1DIJ 711をす
1率よく行うことが可能となる。
With the above operation, when it is necessary to perform calculations on only a part of a large image, it is sufficient to roll in only the necessary blocks, and the virtual memory f, α1 DIJ 711 can be performed at a high rate. It becomes possible.

〔実  施  例〕〔Example〕

以下、本発明の実施例につき詳細に説明を行う。 Hereinafter, embodiments of the present invention will be described in detail.

(画像データアドレス演算手段の構成(第2図))まず
、本発明による画像データの仮想記憶制御装置の基本的
な構成は、第1図に示した通りであり、その構成は前記
したので省略する。次に、第2図は第1図の画像データ
アドレス演算手段13の具体的な実施例の構成を示した
図である。第1図のブロック位置アドレス指定手段11
からのブロック位置アドレス16は、ブロック先頭アド
レス演算回路19に入力し、ここではX方向ブロック先
頭アドレス24、及びX方向ブロック先頭アドレス25
が演算され、各々X方向画像データアドレス演算回路2
1、及びX方向画像データアドレス演算回路22に出力
される。一方、第1図のブロック内アドレス指定手段1
2からのブロック内アドレス17は、ブロック内アドレ
ス分離回路20に入力し、ここではブロック内アドレス
17がX方向ブロック内アドレス26、及びy方向ブロ
ック内アドレス27に分離され、各々X方向画像データ
アドレス演算回路21、及びX方向画像データアドレス
演算回路22に出力される。xl及びX方向画像データ
アドレス演算回路21、及び22においては、各々、X
方向画像データアドレス28、及びX方向画像データア
ドレス29が演算され、共に画像データアドレス合成回
路23に入力する。ここでは、前記X、及びX方向画像
データアドレス28、及び29が1つの画像データアド
レス18に合成され、第1図の画像データバッファ2へ
出力される。
(Configuration of image data address calculation means (Figure 2)) First, the basic configuration of the image data virtual storage control device according to the present invention is as shown in Figure 1, and since the configuration has been described above, it will be omitted. do. Next, FIG. 2 is a diagram showing the configuration of a specific embodiment of the image data address calculation means 13 of FIG. 1. Block position addressing means 11 in FIG.
The block position address 16 from is input to the block start address calculation circuit 19, and here the X direction block start address 24 and the X direction block start address 25 are input.
are calculated, and each X-direction image data address calculation circuit 2
1, and is output to the X-direction image data address calculation circuit 22. On the other hand, the intra-block addressing means 1 in FIG.
The intra-block address 17 from 2 is input to an intra-block address separation circuit 20, where the intra-block address 17 is separated into an X-direction intra-block address 26 and a y-direction intra-block address 27, each of which is an X-direction image data address. It is output to the arithmetic circuit 21 and the X-direction image data address arithmetic circuit 22. In the xl and X direction image data address calculation circuits 21 and 22,
A direction image data address 28 and an X direction image data address 29 are calculated and both are input to the image data address synthesis circuit 23. Here, the X and X direction image data addresses 28 and 29 are combined into one image data address 18 and output to the image data buffer 2 in FIG.

(画像データの仮想記憶制御装置の動作(第3図〜第1
1図)) 次に上記第1図及び第2図の実施例の動作につき説明を
行う。第3図は、実記憶装置3(第1図)上の画像デー
タを仮想記憶装置4ヘロールア、ウドする場合の原理を
示している。第3図において、まず実記憶装W13上に
ある1枚の画像データ9は、2閂画素(X方向)×29
画素(X方向)(M。
(Operation of image data virtual storage control device (Figs. 3 to 1)
(Fig. 1)) Next, the operation of the embodiment shown in Figs. 1 and 2 will be explained. FIG. 3 shows the principle of transferring image data on the real storage device 3 (FIG. 1) to the virtual storage device 4. In FIG. 3, one piece of image data 9 on the real storage device W13 is composed of 2 bar pixels (in the X direction)×29
Pixel (X direction) (M.

Nは0以上の整数)の画素数を有し、画像イメージ上の
左上を原点Oとして、画素毎に矢印24の方向に0から
順にアドレスが2進数で割当てられているとする。これ
を画1象データアドレス18と定義し、第5図(f1)
に示すように(M+N)ビットの2進数で表現する。第
3図の矢印24のようにアドレスを付した場合、・第5
図(a)の下位MピントがX方向の原点Oからの画素単
位のアドレス値(距δ1i)、上位NビットがX方向の
原点0からのii!ii素単位のアドレス値(距Fi(
t)を示す。
It is assumed that the number of pixels is (N is an integer greater than or equal to 0), and addresses are assigned in binary numbers to each pixel in order from 0 in the direction of arrow 24, with the upper left of the image as the origin O. This is defined as image data address 18, and is shown in Fig. 5 (f1).
It is expressed as a binary number of (M+N) bits as shown in . If the address is attached as shown by arrow 24 in Figure 3, ・5th
In figure (a), the lower M focus is the pixel unit address value (distance δ1i) from the origin O in the X direction, and the upper N bits are ii! from the origin 0 in the X direction! ii address value in prime units (distance Fi(
t).

上記画像データ9は、まず第1図の画像データバッファ
2にデータバス7、マルチプレクサ5を介して一時記憶
される。この時の格納アドレスも、第5図(a)と同様
であるとする。次に、この画像データ9は、その画像の
応性、例えば「縦縞である」、「綱かいかたまりが整然
と並んでいるjなどの性質に従って、第3図の9′で示
すように複数の長方形又は正方形のブロックに等分割さ
れ、各ブロック毎に同図矢印26の方向に読み出され、
ブロック単位で第1図のデバイダ6、データバス8を介
して仮想記憶装置4ヘロールアウトされる。この結果、
画像データ9は仮想記憶装置4に第3図に示すようにブ
ロック別に記憶される。なお、画像データ9と9′は説
明の都合士別に描いであるが、実際には同じものを表し
ている。
The image data 9 is first temporarily stored in the image data buffer 2 shown in FIG. 1 via the data bus 7 and multiplexer 5. It is assumed that the storage address at this time is also the same as that shown in FIG. 5(a). Next, this image data 9 is divided into a plurality of rectangles or rectangles as shown at 9' in FIG. It is equally divided into square blocks, and each block is read out in the direction of arrow 26 in the figure.
The data is rolled out block by block to the virtual storage device 4 via the divider 6 and data bus 8 in FIG. As a result,
The image data 9 is stored in the virtual storage device 4 in blocks as shown in FIG. Although image data 9 and 9' are drawn separately for convenience of explanation, they actually represent the same thing.

上記動作を実現するために、まず、各ブロックは第3図
に示すように2″′L画素(X方向)×27画−m(X
方向)  (m、 nは各々0≦m≦M、  0≦n≦
Nを満たす整数)の画素数を有するものとし、第1図の
ブロックサイズ指定手段10において、X方向ブロック
サイズ14、及びX方向ブロックサイズをm、nの値と
してユーザが指定ず墨。
In order to realize the above operation, first, each block is divided into 2''L pixels (X direction) x 27 pixels - m (X
direction) (m and n are respectively 0≦m≦M, 0≦n≦
In the block size specifying means 10 of FIG. 1, the user specifies the X-direction block size 14 and the X-direction block size as the values of m and n.

次に、第3図の9′に示すように原点0に接するブロッ
クをアドレスOとして、矢印25の方向にブロック単位
のアドレスを2進数で割当て、これをブロック位置アド
レス16と定義する。この時、X方向のプロ+7 り数
ハ2’/2″’ −2”−”= 2Ky方向のブロック
数は2N/21″−2°−n =29  と表せるので
、ブロック位置アドレス16は第5回出)に示、ずよう
に(k−1jりビットの2進数で表現できる。そして第
3図の矢印25のようにアドレスを付した場合、第5図
(b)の下位にビットがX方向の原点0からのブローツ
タ単位のアドレス値(距!a) 、上位lビットがX方
向の原点0からのブロック単位のアドレス値(距離)を
示す。これをもとにして、画像データバッファ2に一時
記憶されている画像データ9 (又は9′)から、ブロ
ックサイズ指定手段10で指定した大きさのブロックを
単位としてどのブロックをロールアウトするかが、第1
図のブロック位置アドレス指定手段11によってブロッ
ク位置アドレス16が指定されることにより決定される
Next, as shown at 9' in FIG. 3, the block adjacent to the origin 0 is set as address O, and an address in block units is assigned in binary numbers in the direction of arrow 25, and this is defined as block position address 16. At this time, the number of blocks in the It can be expressed as a binary number of (k - 1j bits) as shown in (5th occurrence).And when an address is attached as shown in the arrow 25 in Fig. 3, the bit is in the lower part of Fig. 5 (b). The address value (distance!a) in block units from the origin 0 in the X direction, the upper l bit indicates the address value (distance) in block units from the origin 0 in the X direction.Based on this, the image data buffer The first step is to determine which block is to be rolled out from the image data 9 (or 9') temporarily stored in the block size specifying means 10.
The block position address 16 is determined by being specified by the block position address designating means 11 shown in the figure.

次に、ブロック位置アドレス16が決定されたら、各ブ
ロック内のアドレスを決定する。そめために、第4図に
示すように各ブロック内を左上を原点OBとして、画素
毎に矢印27の方向にOから順にアドレスを2進数で割
当て、これをブロック内アドレス17と定義する。これ
により、ブロック内アドレス17は第5図(C)に示す
ように(m+H)ビットの2進数で表現できミ第4図の
矢印27のようにアドレスを付した場合、第5図(C)
の下位mビットがX方向の各ブロックの原点OB・から
の画素単位のアドレス値(距離)、上位nビットがX方
向の原点OBからの画素単位のアドレス値(距ym)を
示す。これをもとに、ブロック位置アドレス16で指定
される各ブロック毎に、第1図のブロック内アドレス指
定手段12においてブロック内アドレス17が1ブロッ
ク分順次指定され、これが各ブロック内の画像データの
ロールアウトのためのアドレス指定に用いられる。なお
、この動作は、ブロックナイズ指定手段10によって指
定されたX方向、及びX方向ブロックサイズ14.15
から求まる画素数分のアドレスを、アドレスカウンタに
よってOから順次インクリメントすることにより行われ
る。
Next, once the block position address 16 is determined, the addresses within each block are determined. To do this, as shown in FIG. 4, addresses are assigned in binary numbers to each pixel in order from O in the direction of arrow 27 within each block, with the upper left as the origin OB, and this is defined as intra-block address 17. As a result, the intra-block address 17 can be expressed as a binary number of (m+H) bits as shown in FIG. 5(C).
The lower m bits indicate the address value (distance) in units of pixels from the origin OB of each block in the X direction, and the upper n bits indicate the address value (distance ym) in units of pixels from the origin OB in the X direction. Based on this, for each block specified by the block position address 16, the intra-block address 17 is sequentially specified for one block in the intra-block address specifying means 12 of FIG. Used for addressing for rollouts. Note that this operation is performed in the X direction specified by the block size specifying means 10 and in the X direction block size of 14.15.
This is done by sequentially incrementing addresses for the number of pixels found from 0 using an address counter.

上記ブロック位置アドレス16、及びブロック内アドレ
ス17により、特定のブロックの各画像データを指定で
きるが、これだけでは画像テークバッファ2上の画像デ
ータ9 (又は9′)の対応するブロックの各画像デー
タ(例えば、第3図9′の矢印26で示されるブロック
)を直接指定することはできない。そのために、第1図
の画像データアドレス演算手段13により、ブロック位
置アドレス16及びブロック内アドレス17を画像デー
タアドレス18に変換する。
Each image data of a specific block can be specified using the above-mentioned block position address 16 and intra-block address 17, but each image data (of the block corresponding to image data 9 (or 9') on the image take buffer 2) For example, the block indicated by arrow 26 in FIG. 39' cannot be directly specified. For this purpose, the image data address calculation means 13 shown in FIG. 1 converts the block position address 16 and the intra-block address 17 into an image data address 18.

ブロック位置アドレス16及びブロック内アドレス17
から、対応する画像データアドレス18を求めるために
は、第6図に示すように、各ブロックの原点OB、すな
わちブロックの先頭のアドレスをX方向及びX方向別々
に求め、各方向毎にブロック内アドレス17のX方向成
分、及びX方向成分を加算すればよい。
Block position address 16 and intra-block address 17
In order to obtain the corresponding image data address 18, as shown in FIG. What is necessary is to add the X-direction component and the X-direction component of address 17.

X方向ブロック位置アドレスは、第6図に示すように、
ブロック位置アドレスのX方向成分(第5図[b)参照
)を2パ倍、すなわちブロックのX方向画素数倍すれば
よく、これは第7図24に示すように、下位mビットに
0を埋め、上位にビットにブロック位置アドレスのX方
向成分を挿入することにより求めることができる。同様
に、X方向ブロック先頭アドレスは、第6図に示すよう
にブロック位置アドレスのX方向成分(第5図(b)参
照)を2′倍、すなわちブロックのX方向画素数倍すれ
ばよく、これは第7図25に示すように、下位nビット
にOを埋め、上位βビットにブロック位置アドレスのX
方向成分を挿入することにより求めることができる。以
上の処理は、第2図のブロック先頭アドレス演算回路」
9において実行される。
The X direction block position address is as shown in FIG.
The X-direction component of the block position address (see Figure 5 [b)] can be multiplied by 2p, that is, the number of pixels in the X-direction of the block, as shown in Figure 7.24. This can be determined by filling in the block position address and inserting the X-direction component of the block position address into the upper bits. Similarly, the X-direction block start address can be obtained by multiplying the X-direction component of the block position address (see FIG. 5(b)) by 2', that is, the number of pixels in the X-direction of the block, as shown in FIG. As shown in Figure 7 25, this means that the lower n bits are filled with O, and the upper β bits are filled with the block position address X.
It can be determined by inserting the directional component. The above processing is performed by the block start address calculation circuit shown in Figure 2.
9.

次に、ブロック内アドレス分離回路20においては、ブ
ロック内アドレス17が、第5図(C)で示したmビッ
トのX方向成分、及びnビットのX方向成分と分離され
、各々第7図26.27に示すように上位ににピント、
及びlビットの0が挿入される。
Next, in the intra-block address separation circuit 20, the intra-block address 17 is separated into the m-bit X-direction component shown in FIG. 5(C) and the n-bit X-direction component shown in FIG. Focus on the top as shown in .27,
and l bits of 0 are inserted.

そして、X方向画像データアドレス演算回路21におい
て、第7図のX方向ブロック先頭アドレス24と、X方
向ブロック内アドレス26とが加算され、X方向画像デ
ータアドレス28が求まる。
Then, in the X-direction image data address arithmetic circuit 21, the X-direction block start address 24 and the X-direction intra-block address 26 in FIG. 7 are added, and the X-direction image data address 28 is determined.

同様に、X方向画像データアドレス演算回路22におい
て、第7図のX方向ブロック先頭アドレス25と、y方
向ブロック内アドレス27とが加算され、X方向画像デ
ータアドレス29が求まる。
Similarly, the X-direction image data address arithmetic circuit 22 adds the X-direction block start address 25 and the y-direction intra-block address 27 in FIG. 7 to determine the X-direction image data address 29.

上記処理によって求まったX方向、及びy方向画像デー
タアドレス28、及び29は、画像データアドレス合成
回路23において、第7図18に示すように下位ビット
、及び上位ビットに合成され、第1図の画像データバッ
ファ2の対応するアドレスが参照される。
The X-direction and Y-direction image data addresses 28 and 29 obtained through the above processing are combined into lower bits and upper bits as shown in FIG. 7 and 18 in the image data address combining circuit 23. The corresponding address in the image data buffer 2 is referenced.

上記動作により、ブロック位置アドレス16が指定され
、更に各ブロック毎にブロック内アドレスが順次指定さ
れることにより、画像データバッファ2に記憶されてい
る画像データ9 (または9′)上の対応するブロック
内の各画像デニタのアドレスが第3図矢印26のように
指定され、各画像データが仮想記憶装置4へ出力される
By the above operation, the block position address 16 is specified, and the intra-block address is sequentially specified for each block, so that the corresponding block on the image data 9 (or 9') stored in the image data buffer 2 is The address of each image monitor within is specified as shown by the arrow 26 in FIG. 3, and each image data is output to the virtual storage device 4.

第8図は、上記ブロック位置アドレス16、ブロック内
アドレス17と画像データアドレス18との関係を示し
た図である。同図より、第1図の画像データアドレス演
算手段13は、ブロック内アドレス17のX方向成分が
画像データアドレス18のX方向成分の下位ビットに、
ブロック位置アドレス16のX方向成分が同じく上位ピ
ントになりミ更にブロック内アドレス17のX方向成分
が画像データアドレス18のX方向成分の下位ビフ]・
に、ブロック位置アドレス16のX方向成分が同じく上
位ビットになるように動作する。
FIG. 8 is a diagram showing the relationship between the block position address 16, intra-block address 17, and image data address 18. From the figure, the image data address calculation means 13 of FIG.
The X-direction component of the block position address 16 also becomes the upper focus, and the X-direction component of the block address 17 becomes the lower Biff of the X-direction component of the image data address 18].
Similarly, the X-direction component of the block position address 16 is operated to become the upper bit.

第9図(J1)は、第3図の画像データ9が、24×2
4−16×16画素からなる場合を示しており、第9回
出)は第10図(11)に示すように2’X2’−2X
8jl!ii素のブロックで第9図(a)の画像データ
を分割した例を示している。この場合、ブロック位置ア
ドレスは同図(b)に各々示す通りであり、アンダーラ
インを引いであるビットがX方向成分、その他がX方向
成分である。また、この場合のブロック内アドレスは第
10図(a)に示すように割り当てられる。この場合も
アンダーラインを引いであるビットがX方向成分、その
他がX方向成分である。
Figure 9 (J1) shows that the image data 9 in Figure 3 is 24x2
This shows the case of 4-16 x 16 pixels, and the 9th issue) is 2'X2'-2X as shown in Figure 10 (11).
8jl! This shows an example in which the image data of FIG. 9(a) is divided into ii element blocks. In this case, the block position addresses are as shown in FIG. 4B, with the underlined bits being the X-direction components and the others being the X-direction components. Further, the intra-block addresses in this case are allocated as shown in FIG. 10(a). In this case as well, the underlined bits are the X-direction components, and the others are the X-direction components.

そしζ、このような場合、第1図の画像データアドレス
演算手段13は、第8図に対応して第11図(a)に示
すようなアドレス変換動作を行う。
In such a case, the image data address calculation means 13 of FIG. 1 performs an address conversion operation as shown in FIG. 11(a) corresponding to FIG. 8.

第io図(bl 〜(n)は、第9図(alの画像デー
タを等分割するための他のブロックの例を示しており、
それに対応して画像データアドレス演算手段13は、第
11図(bl〜(81に示すアドレス変換動作を行う。
Figure io (bl - (n) shows examples of other blocks for equally dividing the image data of Figure 9 (al),
Correspondingly, the image data address calculation means 13 performs the address conversion operation shown in FIG.

以上の動作は、実記憶装置3(第1図)から仮想記憶装
置4への画像データのロールアウトの動作について説明
してものであるが、逆に仮想記憶装置4から実記憶袋!
23へのロールインを行う場合には、必要とするブロッ
クのみが第12図に示すように仮想記憶装置4からデー
タバス28、マルチプレクサ5を介して画像データバッ
ファ2へ読み出される。この時、アドレス指定は前記ロ
ールアウト時と全く同様にしてブロック位置アドレス1
6と、ブロック内アドレス17 (第1図)を指定する
ことにより行なわれ、対応する画像位置へはめ込まれ、
デバイダ6、データバス7を介して実記憶装置3へ転送
される。
The above operation describes the operation of rolling out image data from the real storage device 3 (FIG. 1) to the virtual storage device 4, but conversely, from the virtual storage device 4 to the real storage bag!
23, only the necessary blocks are read out from the virtual storage device 4 to the image data buffer 2 via the data bus 28 and multiplexer 5, as shown in FIG. At this time, the address specification is done in exactly the same way as during the rollout, and the block position address 1
6 and the intra-block address 17 (Fig. 1), the image is inserted into the corresponding image position,
The data is transferred to the real storage device 3 via the divider 6 and data bus 7.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、1枚の大きな画像をその属性に従って
複数のブロックに自由に等分割することができ、それに
より、各ブロックの原画像上の位置とサイズを指定する
だけで、ブロック単位でロールイン/ロールアウトを行
うことができる。これにより、必要なブロックのみをロ
ールイン/ロールアウトすることにより、時間的ロスを
短縮し、効率的な仮想記te:i装置の使用が可能とな
る。更に、それにより実メモリを大容量にする必要がな
くなり、装置の小型化が可能となる。
According to the present invention, one large image can be freely and equally divided into multiple blocks according to its attributes, and by simply specifying the position and size of each block on the original image, You can roll in/roll out. As a result, by rolling in/rolling out only necessary blocks, time loss can be shortened and the virtual memory te:i device can be used efficiently. Furthermore, this eliminates the need to increase the capacity of the real memory, making it possible to downsize the device.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、本発明による画像データの仮想記憶装置の基
本構成図、 第2図は、画像データアドレス演算手段の構成図、 第3図は、本発明による画像データのロールアウト動作
の原理説明図、 ff14図は、ブロック内アドレスの説明図、第5図(
a)、 (b)、 (C)は、各アドレスのビット構成
説明図、 第6図は、アドレス変換動作の原理説明図、第7図は、
画像データアドレス演算手段の動作説明図、 第8図は、ブロック位置アドレス、ブロック内アドレス
と画像データアドレスの関係図、第9図(al、 (b
)は、画像データの一構成例と分割例を示した図、 第10図(+1)〜(e)は、ブロック形状の例を示し
た図、 第11図(a)〜(81は、各ブロック形状におけるブ
ロック位置アドレス、ブロック内アドレスと画像データ
アドレスの関係図、 第12図は、本発明による画像データのロールイン動作
の原理説明図である。 1・・・アドレス制御手段、 2・・・画像データバッファ、 3・・・実記憶装置、 4・・・仮想記憶装置、 9・・・画像データ、 10・・・ブロックサイズ指定手段、 11・・・ブロック位置アドレス指定手段、12・・・
ブロック内アドレス指定手段、13・・・画像データア
ドレス演算手段、14・・・X方向ブロックサイズ、 15・・・X方向ブロックサイズ、 16・・・)゛ロンク位置アドレス、 17・・・ブロック内アドレス、 18・・・画像データアドレス、 19・・・ブロック先頭アドレス演算回路、20・・・
ブロック内アドレス分離回路、21・・・X方向ii!
j@!アドレス演算回路、22・・・y方向画像アドレ
ス演算回路、23・・・画像データアドレス合成回路。
FIG. 1 is a basic configuration diagram of a virtual storage device for image data according to the present invention, FIG. 2 is a configuration diagram of an image data address calculation means, and FIG. 3 is an explanation of the principle of the image data rollout operation according to the present invention. Figure ff14 is an explanatory diagram of addresses within a block, Figure 5 (
a), (b), and (C) are diagrams explaining the bit configuration of each address. Figure 6 is a diagram explaining the principle of address conversion operation. Figure 7 is:
FIG. 8 is an explanatory diagram of the operation of the image data address calculation means, and FIG.
) is a diagram showing an example of the configuration and division of image data, Figures 10 (+1) to (e) are diagrams showing examples of block shapes, and Figures 11 (a) to (81 are each 12 is a diagram illustrating the principle of the roll-in operation of image data according to the present invention. 1. Address control means; 2. - Image data buffer, 3... Real storage device, 4... Virtual storage device, 9... Image data, 10... Block size specification means, 11... Block position address specification means, 12...・
Intra-block address designation means, 13... Image data address calculation means, 14... X-direction block size, 15... X-direction block size, 16...) Long position address, 17... In-block Address, 18... Image data address, 19... Block start address calculation circuit, 20...
Intra-block address separation circuit, 21...X direction ii!
j@! Address calculation circuit, 22... Y-direction image address calculation circuit, 23... Image data address synthesis circuit.

Claims (1)

【特許請求の範囲】 1)実記憶装置(3)と仮想記憶装置(4)間で画像デ
ータの仮想記憶制御を行う仮想記憶制御装置において、 1枚の画像データ(9)を画像の属性に従って複数の長
方形又は正方形のブロックに等分割し任意のブロック毎
に前記画像データ(9)上のアドレスを制御するアドレ
ス制御手段(1)と、該手段からのアドレスデータに従
って前記実記憶装置(3)と前記仮想記憶装置(4)間
での前記画像データ(9)の授受を任意のブロック単位
で行う画像データ入出力手段(2)とを有することを特
徴とする画像データの仮想記憶制御装置。 2)前記アドレス制御手段(1)は、前記画像データ(
9)を等分割するブロックのサイズ(14、15)を指
定するブロックサイズ指定手段(10)と、 該ブロックサイズ(14、15)を有する前記画像デー
タ(9)上の各ブロックの位置アドレス(16)を任意
に指定するブロック位置アドレス指定手段(11)と、 前記ブロックサイズ(14、15)を有する1つのブロ
ック内の各画素のアドレス(17)を順次指定するブロ
ック内アドレス指定手段(12)と、 前記ブロック位置アドレス(16)及び前記ブロック内
アドレス(17)から前記画像データ(9)上の対応す
る任意のブロック内の各画素のアドレスを順次演算し画
像データアドレス(18)として前記画像入出力手段(
2)に出力する画像データアドレス演算手段(13)と
によって構成されることを特徴とする特許請求の範囲第
1項記載の画像データの仮想記憶制御装置。 3)前記画像データアドレス演算手段(13)は、前記
ブロック位置アドレス(16)から前記画像データ(9
)上の対応するブロックの先頭画素の画像データアドレ
ス(24、25)を画像イメージ上の互いに直交する2
方向(x、y方向)に分離して演算するブロック先頭ア
ドレス演算回路(19)と、 前記ブロック内アドレス(17)を前記2方向(x、y
方向)の各ブロック内アドレス(26、27)に分離す
るブロック内アドレス分離回路(20)と、 前記ブロック先頭アドレス(24、25)に前記ブロッ
ク内アドレス(26、27)を前記2方向(x、y方向
)毎に順次加算することにより前記画像データ(9)上
の対応するブロック内の各画素の前記2方向(x、y方
向)毎の画像データアドレス(28、29)を順次演算
する画像データアドレス演算回路(21、22)と、 前記2方向(x、y方向)毎の画像データアドレス(2
8、29)を合成して前記画像データアドレス(18)
として前記画像データ入出力手段(2)に出力する画像
データアドレス合成回路(23)とによって構成される
ことを特徴とする特許請求の範囲第2項記載の画像デー
タの仮想記憶制御装置。 4)前記画像データ入出力手段(2)は、前記画像デー
タ(9)を1枚分一時記憶する画像バッファであること
を特徴とする特許請求の範囲第1項記載の画像データの
仮想記憶制御装置。
[Claims] 1) In a virtual storage control device that performs virtual storage control of image data between a real storage device (3) and a virtual storage device (4), a piece of image data (9) is stored according to image attributes. an address control means (1) that equally divides into a plurality of rectangular or square blocks and controls the address on the image data (9) for each arbitrary block; and the real storage device (3) according to the address data from the means. and image data input/output means (2) for transmitting and receiving the image data (9) between the virtual storage device (4) in units of arbitrary blocks. 2) The address control means (1) controls the image data (
block size specifying means (10) for specifying the size (14, 15) of blocks to be equally divided into the block size (14, 15); 16), and intra-block addressing means (12) for sequentially specifying the address (17) of each pixel in one block having the block size (14, 15). ), and sequentially calculates the address of each pixel in a corresponding arbitrary block on the image data (9) from the block position address (16) and the intra-block address (17), and calculates the address of each pixel in the corresponding arbitrary block on the image data (9) as the image data address (18). Image input/output means (
2) A virtual storage control device for image data according to claim 1, characterized in that it is constituted by an image data address calculation means (13) for outputting image data to an image data address calculation means (13). 3) The image data address calculation means (13) calculates the image data (9) from the block position address (16).
) are the image data addresses (24, 25) of the first pixel of the corresponding block on the image, which are orthogonal to each other.
A block start address arithmetic circuit (19) that performs calculations separately in directions (x, y directions);
an intra-block address separation circuit (20) that separates the intra-block addresses (26, 27) into each block address (26, 27) in the two directions (x direction); , y direction) to sequentially calculate the image data address (28, 29) of each pixel in the corresponding block on the image data (9) in each of the two directions (x, y direction). Image data address calculation circuits (21, 22) and image data addresses (2) for each of the two directions (x, y directions).
8, 29) and the image data address (18).
3. The image data virtual storage control device according to claim 2, further comprising an image data address synthesis circuit (23) which outputs the image data to the image data input/output means (2). 4) Virtual storage control of image data according to claim 1, wherein the image data input/output means (2) is an image buffer that temporarily stores one image of the image data (9). Device.
JP61302792A 1986-12-20 1986-12-20 Virtual storage controller for image data Pending JPS63156260A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61302792A JPS63156260A (en) 1986-12-20 1986-12-20 Virtual storage controller for image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61302792A JPS63156260A (en) 1986-12-20 1986-12-20 Virtual storage controller for image data

Publications (1)

Publication Number Publication Date
JPS63156260A true JPS63156260A (en) 1988-06-29

Family

ID=17913174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61302792A Pending JPS63156260A (en) 1986-12-20 1986-12-20 Virtual storage controller for image data

Country Status (1)

Country Link
JP (1) JPS63156260A (en)

Similar Documents

Publication Publication Date Title
US10832462B2 (en) Image synthesis method, image chip, and image device
KR100261688B1 (en) Apparatus for displaying on screen television being created pixel arthmetic by using display scan memory for horizontal scanning
US4868557A (en) Video display apparatus
EP1847965A1 (en) Plotting device and plotting method
JPH09245179A (en) Computer graphic device
JPS62203285A (en) Conversion circuit for raster processing
JPH0218594A (en) Display controller
JPS63156260A (en) Virtual storage controller for image data
EP1308899A2 (en) Image processing apparatus
JPH0425555B2 (en)
JPH02118780A (en) Rectangular area arithmetic unit for raster picture
JPH0571113B2 (en)
JP3014395B2 (en) 3D image display system
JPH07271966A (en) Data storage method, and scroll method and data output method using the method
JPH02158884A (en) Image memory device and multiprocessor image processor
JPS61138329A (en) Display controller
JPS644187B2 (en)
JP3264941B2 (en) Image display control method and apparatus
JPS638693A (en) Multi-processor for line drawing display
JPS6224296A (en) Animation display unit
JPS6129512B2 (en)
JPS62141588A (en) Multiwindow display system
JPS63195696A (en) Fast lithography
JPH04101285A (en) Picture generating processor
JP2003225392A (en) Image transfer device of pachinko game machine