JPS63138443A - Picture memory device - Google Patents

Picture memory device

Info

Publication number
JPS63138443A
JPS63138443A JP28431086A JP28431086A JPS63138443A JP S63138443 A JPS63138443 A JP S63138443A JP 28431086 A JP28431086 A JP 28431086A JP 28431086 A JP28431086 A JP 28431086A JP S63138443 A JPS63138443 A JP S63138443A
Authority
JP
Japan
Prior art keywords
plane
data
pixel
memory
word
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
JP28431086A
Other languages
Japanese (ja)
Inventor
Masatoshi Hino
樋野 匡利
Koji Fukuda
浩至 福田
Kuniaki Tabata
邦晃 田畑
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP28431086A priority Critical patent/JPS63138443A/en
Publication of JPS63138443A publication Critical patent/JPS63138443A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)

Abstract

PURPOSE:To easily change the number of planes and to realize accesses in both a plane unit and a picture element unit by securing such a mechanism for a picture memory that realizes accesses for each picture element in a plane unit structure. CONSTITUTION:In a write mode with access of picture unit, data are written by a pixel/plane converting circuit 50 into the corresponding bit position in a single word of a write register 30-i for each plane. At the same time, the mask data is produced to show only said bit position is valid. Then the data on the read address of a memory plane 10-i is read out and only the data on the effective bit position is replaced by an arithmetic circuit 40-i containing a mask. Then the replaced data is written into the plane 10-i. In a read mode, the data on the corresponding address is read out of each plane for each word. Then only the valid bits are selected out of each word data by a plane/pixel converting circuit 110, then read out after reconstitution.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は画像メモリ装置に係シ、特に画素単位の処理と
プレーン単位の処理、双方に対して効率的な画像メモリ
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an image memory device, and particularly to an image memory device that is efficient for both pixel-by-pixel processing and plane-by-plane processing.

〔従来の技術〕[Conventional technology]

1画素が複数ビットから成る多値画像の画像メモリへの
記憶方法としては、「アイ・イー・イー・イー、コンピ
ュータ グラフィックス アンドアプリケーションズ 
3月、1984年、第48頁から第65頁(IEEE 
 CG&A、 MAR,CH11984、pp48〜6
5)」において論じられている様に、プレーン単位に記
憶する方法と、画素単位に記憶する2つの方法がある。
A method for storing multivalued images in which each pixel consists of multiple bits in image memory is described in the IE Computer Graphics and Applications
March, 1984, pp. 48-65 (IEEE
CG&A, MAR, CH11984, pp48-6
As discussed in Section 5), there are two methods: one for storing in plane units and the other for storing in pixel units.

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

上記従来技術のうち、プレーン単位に記憶する方法は、
画像メモリのプレーン数の変更を容易に実現できるのに
対して、画業単位に記憶する方法では、メモリ上の画素
の配置を変えなければならず、変更が困難である。
Among the above conventional techniques, the method of storing in units of planes is as follows:
While it is possible to easily change the number of planes in the image memory, the method of storing data in units of drawings requires changing the arrangement of pixels on the memory, which is difficult to change.

しかし、プレーン単位構成では、1ワ一ド分に満たない
画素数、例えば、1画素だけを書き換えたい、という場
合、その画素のデータを含む1ワ一ド分のデータを読み
出し、対応するビットのみを変更した後に、メモリに書
き込む、いわゆるリード・モディファイ・ライト処理を
、プレーンの数だけ繰シ返さねばならず、効率が悪かっ
た。
However, in a plane unit configuration, if you want to rewrite less than one pixel, for example, just one pixel, read out one word of data including the data of that pixel, and only the corresponding bit. After changing the plane, the so-called read-modify-write process of writing to the memory had to be repeated for the number of planes, which was inefficient.

また、実行する処理の面から考えると1文字や図形デー
タを扱う場合には、プレーン単位のアクセスが効率的で
あるが1画像を扱う場合には、画素単位のアクセスが必
須である。
Furthermore, in terms of processing to be executed, access in units of planes is efficient when handling one character or graphic data, but access in units of pixels is essential when handling one image.

本発明の目的は、プレーン数の変更が容易で。An object of the present invention is to easily change the number of planes.

プレーン単位、画素単位、両方のアクセスが可能な1画
像メモリ装置を提供することにある。
The object of the present invention is to provide a single image memory device that can be accessed both plane by plane and pixel by pixel.

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

上記目的は、画像メモリを、プレーン単位構成とするプ
レーン単位の構成で、画素単位のアクセスを実現するた
めの機構として、各プレーンごとに、マスク付きの演算
回路と、データの読み出し書き込み時に、プレーン単位
アクセスの場合は。
The above purpose is to configure the image memory in a plane-by-plane configuration, and as a mechanism to realize pixel-by-pixel access, an arithmetic circuit with a mask is installed in each plane, and a plane For unit access.

そのまま1画素単位アクセスの場合は1画素データを1
ビツトずつ、即ちプレーン単位に分解する、ピクセス→
プレーン変換回路、プレーン単位のデータから対応する
画素のビットを取シ出し、画素データに変換するプレー
ン−ピクセル変換回路を設けることにより、達成される
In the case of 1 pixel unit access, 1 pixel data is 1
Pixels that are decomposed bit by bit, that is, plane by plane →
This is achieved by providing a plane conversion circuit and a plane-pixel conversion circuit that extracts bits of corresponding pixels from data in units of planes and converts them into pixel data.

〔作用〕[Effect]

前述の様に構成された画像メモリ装置は、プレーン単位
であるためプレーン数の変更に容易に対応可能である。
Since the image memory device configured as described above is arranged in units of planes, it can easily accommodate changes in the number of planes.

プレーン単位アクセスの場合は、プレーンを選択して、
そのまま、書き込み、読み出しを実行できる。
For per-plane access, select a plane and click
Writing and reading can be performed as is.

画素単位アクセスの場合は、書き込み時には。For pixel unit access, when writing.

ビクセル−プレーン変換回路によシ、各プレーンごとの
書き込みレジスタの1ワード中の対応するビット位置に
書き込まれると同時に、その位置だけが有効であること
を表わす、マスクデータが生成される。次に、メモリ・
プレーンの書き込みアドレスのデータが読み出され、マ
スク付き演算回路により、有効なビット位置のデータの
みが置き換えられ、メモリ・プレーンに書き込まれる。
The pixel-to-plane converter circuit generates mask data that is written to the corresponding bit position in a word of the write register for each plane, indicating that only that position is valid. Next, the memory
The data at the write address of the plane is read, and only the data at valid bit positions is replaced by the masked arithmetic circuit and written to the memory plane.

読み出し時には、各プレーンから、対応するアドレスの
データが1ワードずつ読み出され、プレーン→ビクセル
変換回路により、各ワードデータ中から有効なビットだ
けが選択、再構成されて、読み出される。
At the time of reading, data at the corresponding address is read one word at a time from each plane, and only valid bits are selected and reconfigured from each word data by the plane-to-pixel conversion circuit and read out.

以上の様にして、プレーン構成のメモリに対して、プレ
ーン単位、画素単位のアクセスを実現できる。
In the manner described above, access to the plane-configured memory can be realized in units of planes and units of pixels.

〔実施例〕〔Example〕

以下、本発明の一実施例を説明する。 An embodiment of the present invention will be described below.

第1図は、実施例の構成図である。画素メモリ、は、を
枚のメモリ・プレーンlO−θ〜1O−t−1から成る
プレーン単位構成で、各画素のデータは、第2図に示す
様に記憶される。ここで、画1象データのi行j列の画
素をp(i、j)、そのにビット目(プレーンkに対応
)のブータラ、p(i、j)、kと表わすことにする。
FIG. 1 is a configuration diagram of an embodiment. The pixel memory has a plane unit configuration consisting of memory planes lO-θ to 1O-t-1, and the data of each pixel is stored as shown in FIG. Here, the pixel in the i-th row and j-column of the image data is expressed as p(i, j), and the bit-th (corresponding to plane k) pixel is expressed as p(i, j), k.

従って、1ワードをnビットとした場合、メモリ・プレ
ーンOの最初の1ワードは、p(0,0)、o〜p(0
,n  x)、oのnビットから構成される。
Therefore, if one word is n bits, the first word of memory plane O is p(0,0), op(0
, n x), and o.

また、説明を簡単化するため、n=a−1とする。Further, to simplify the explanation, it is assumed that n=a-1.

(a、l、、nは自然数)n\a・tでも同様に考える
ことができる。
(a, l, , n are natural numbers) n\a/t can be considered in the same way.

画素単位アクセス時とプレーン単位アクセス時の1ワー
ドのデータ構成は、それぞれ第3図(a)。
The data structure of one word during pixel-by-pixel access and plane-by-plane access is shown in FIG. 3(a).

(b)に示す様になる。即ち、画素単位アクセス時、1
ワードのデータは、p(i、j)〜p(isJ−)−a
−1)の3画素分のデータで構成され、プレーン単位ア
クセス時には、p (” I J’ )〜p(i’。
The result will be as shown in (b). That is, when accessing pixel by pixel, 1
Word data is p(i,j)~p(isJ-)-a
-1), and when accessing by plane, p("I J') to p(i').

j’+n−1)の1画素分のデータのうち、あるにビッ
ト目だけ、つまシ、プレーンにのデータだけで構成され
る。
Of the data for one pixel of j'+n-1), it is composed of only the data for the first bit, the edge, and the plane.

画像メモリへの書き込みは、プレーン単位アクセスの場
会、マルチプレクサMPX20により。
Writing to the image memory is performed by the multiplexer MPX20 in the case of plane-based access.

指、定されたメモリ・プレーン117)IFき込みレジ
スタW几30−1に書き込まれ、演算回路40−iを通
り、メモリ・プレーンiに書き込まれる。
The specified memory plane 117) is written to the IF write register W 30-1, passes through the arithmetic circuit 40-i, and is written to the memory plane i.

画素単位アクセスの場合は・ビクセル−プレーン変換回
路50で、データ変換される。このときの変換の内容を
第4図に示す。1画素tビットからなる3画素分のデー
タaXt=nビットが、各画ダ゛ 素の第iビット目だけを集めたnビットのデータの組、
を組に再構成される。再構成されたデータは1画素アド
レスに応じて、nビット中の定まる位置に挿入される。
In the case of pixel-by-pixel access, data is converted by the pixel-plane conversion circuit 50. The contents of the conversion at this time are shown in FIG. Data aXt for 3 pixels consisting of 1 pixel and t bits = n bits is a set of n-bit data in which only the i-th bit of each pixel is collected,
are reconfigured into pairs. The reconstructed data is inserted into a predetermined position among n bits according to one pixel address.

これと同時に、その部分だけが有効であることを示、す
。マスクデータが生成される。この様にして変換、再構
成されたtブレーン分のデータは、各プレーンの書き込
みレジスタW几30−1に書き込まれる。次に、各メモ
リ・プレーンの書き込みアドレスのデータ、各1ワ一ド
分、計tワードが、読み出しレジスタ8几60−iに読
み出される。書き込みレジスタW几3〇−iと読み出し
レジスタ60−1のデータは、演算回路40−1におい
て、マスク・レジスタ7〇−iに従い有効ビット位置だ
けに演算が施された後、各メモリ・プレーンに査き込ま
れる。
At the same time, it indicates that only that part is valid. Mask data is generated. The t-brane data converted and reconstructed in this way is written to the write register W 30-1 of each plane. Next, the data at the write address of each memory plane, one word each, a total of t words, is read into the read register 8 60-i. The data in the write register W 30-i and the read register 60-1 is operated on only valid bit positions according to the mask register 70-i in the arithmetic circuit 40-1, and then transferred to each memory plane. Get caught up in.

画像メモリの読み出しは、プレーン単位アクセスの場曾
、対応するアドレスの1ワ一ド分のデータが、各プレー
ンよ勺読み出しレジスタR860−iに読み出され、セ
レクタSEL、9Gにおいて、指定プレーンのデータだ
け選択され、読み出される。
When reading the image memory, in the case of plane-based access, data for one word of the corresponding address is read out from each plane to the readout register R860-i, and the data of the specified plane is read out by the selector SEL, 9G. only selected and read.

画素単位アクセスの場合も、同様に、対応するアドレス
の1ワ一ド分のデータが、各プレーンより読み出しレジ
スタRR160−iに読み出される。
In the case of pixel unit access, data for one word of the corresponding address is similarly read from each plane to the read register RR160-i.

次に、とのtワードのデータに対して、プレーン−ピク
セル変換回路110において、第4図に示す変換が施さ
れ、1ワ一ド分の画素単位構成のデータに再構成されて
読み出される。
Next, the t-word data is subjected to the conversion shown in FIG. 4 in the plane-pixel conversion circuit 110, and is reconfigured into one word of pixel unit data and read out.

第1図中の、セレクタ5o−i、セレクタ100は、そ
れぞれ、書き込み時、読み出し時に、プレーン単位アク
セス・モードか、画素単位アクセス・モードかの選択を
行なう機爺を持つ。
Selectors 5o-i and selector 100 in FIG. 1 each have the ability to select between plane-by-plane access mode and pixel-by-pixel access mode during writing and reading.

メモリ・プレーンに対しては、プレーン単位アクセス時
と画素単位アクセス時では、異なった論理アドレスが与
えられる。この2種類の論理アドレスは、アドレス変換
部1’20において、メモリ・プレーンの物理アドレス
に変換される。
Different logical addresses are given to a memory plane when accessing by plane and when accessing by pixel. These two types of logical addresses are translated into physical addresses of the memory plane in the address translation unit 1'20.

第5図に、1画素8ビツト、  1024行X1024
列の画像メモリの場合の、論理アドレスの例を示す。画
1家メモリはI FdByteの容量になシ、0〜FF
FFF(16)のアドレス空間を占める。ここでは1画
像メモリの先頭アドレスを0としたが、一定オフセット
をつけても同様である。図中のアドレスは16進数であ
る。
In Figure 5, 1 pixel is 8 bits, 1024 rows x 1024
An example of logical addresses is shown for a column image memory. Image 1 memory has a capacity of I FdByte, 0 to FF
Occupies address space of FFF(16). Here, the starting address of one image memory is set to 0, but the same effect can be applied even if a fixed offset is added. Addresses in the figure are hexadecimal numbers.

プレーン単位アクセスの場合、各プレーンに、同一アド
レスを割り轟て、プレーン指定で区別する方法もあるが
、ここでは、プレーン単位に、別アドレスを割シ当てる
方法とした。
In the case of plane-by-plane access, there is a method of allocating the same address to each plane and distinguishing them by plane designation, but here we have adopted a method of allocating different addresses to each plane.

ここで、画素単位アドレスADDRp+g からプレー
ン単位アドレスADDRm I−−−への変換は、次式
で表わすことができる。
Here, the conversion from the pixel unit address ADDRp+g to the plane unit address ADDRm I--- can be expressed by the following equation.

ADD凡、!11.=〔ADD几yt−/8]+プレー
ン・・N、 X 20000 (16) 〔〕は、ガウス記号 ADDRp+、 / 8の剰余は、対応するアドレスの
データ内のビット位置である。
ADD,! 11. =[ADDRp+yt-/8]+plane...N,

即ち、画素単位アドレス123(16)のプレーン1の
データは、123 (16)/8(16)= 24 (
16)・・・3(16)よシ、ブレーン単位アドレス2
0024 (16)のM8Bから数えて第3番目のビッ
トとなる。
That is, the data of plane 1 at pixel unit address 123 (16) is 123 (16)/8 (16) = 24 (
16)...3 (16) Yoshi, Brain unit address 2
0024 (16) This is the third bit counting from M8B.

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

本発明によれば、以下の効果がある。 According to the present invention, there are the following effects.

α)同一メモリに対して、プレーン単位のアク七′ス°
と画素単位のアクセスを行なうことができるので、文字
、図形や画像データを混在して扱う際に1文字、図形デ
ータはプレーン単位で、画像データは画素単位で、とい
う様に、処理内容に応じ九効率的な、メモリ使用が実現
できる。
α) Access to the same memory in units of planes
and can perform pixel-by-pixel access, so when handling a mixture of text, graphics, and image data, you can access one character, graphics data in plane units, and image data in pixel units, depending on the processing content. 9. Efficient memory usage can be achieved.

(2)  物理的な構成は、プレーン構成となっており
、画像メモリのプレーン数の変更を容易に実現できる。
(2) The physical configuration is a plane configuration, and the number of planes of the image memory can be easily changed.

(3)  画像メモリのプレーン数が変更された場せ。(3) If the number of planes in the image memory has been changed.

プレーン単位アクセスは、周辺回路の修正は。Plane unit access and modification of peripheral circuits.

はとんどなく実現できる。画素単位アクセスも、ピクセ
ルニブレーン変換部を拡張するだけで、実現でき、拡張
性にすぐれている。
is almost achievable. Pixel-by-pixel access can also be achieved simply by expanding the pixel nib lane conversion section, providing excellent expandability.

(4)各メモリ・プレーンに演算回路を持っているので
、演算処理を行ないながらの書き込みを行なうことがで
きる。これにより、ランター・オペレーションを容易に
実現することができる。
(4) Since each memory plane has an arithmetic circuit, writing can be performed while performing arithmetic processing. This makes it possible to easily implement random operations.

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

第1図は、本発明の一実施例の構成図、第2図は、メモ
リ・プレーンへの画素データの割り付けを示す図、第3
図は、画素単位、プレーン単位。 それぞれの場合の1ワードデータの構成を示す図。 第4図は、ピクセル→ブレーン変換の説明図、第5図は
、画素単位アクセス時とプレーン単位アクセス時の論理
アドレスの割シ当て例を示す図である。 10−i・・・メモリ・プレーン、30−i・・・書き
込みレジスタ、40−4・・・演算回路% 50・・・
ピクセル−プレーン変換回路、6Q−i・・・読み出し
レジスタ、70−i・・・マスク・レジスタ、110・
・・ブレーン−ビクセル変換回路、120・・・アドレ
ス変換部。
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a diagram showing the allocation of pixel data to a memory plane, and FIG.
The figures are pixel by pixel and plane by plane. The figure which shows the structure of 1 word data in each case. FIG. 4 is an explanatory diagram of pixel->brane conversion, and FIG. 5 is a diagram showing an example of logical address assignment during pixel-by-pixel access and plane-by-plane access. 10-i...Memory plane, 30-i...Write register, 40-4...Arithmetic circuit% 50...
Pixel-plane conversion circuit, 6Q-i...readout register, 70-i...mask register, 110.
...Brain-pixel conversion circuit, 120...address conversion section.

Claims (1)

【特許請求の範囲】[Claims] 1、1ビットx行y列のメモリ・プレーンl枚で構成さ
れ、各メモリ・プレーンはワード単位のランダム・アク
セス・メモリよりなる画像メモリ装置において、ワード
中の任意のビットに対して選択的にアクセスできる第1
の手段と、lビット1画素の複数画素データを、各ビッ
ト位置ごとのデータの組、l組に再構成し、上記第1の
手段によりメモリプレーンに書き込む第2の手段を設け
たことを特徴とする画像メモリ装置。
In an image memory device consisting of l memory planes with 1, 1-bit x row and y column, each memory plane consisting of a word-based random access memory, selectively accessing any bit in the word. The first accessible
and a second means for reconfiguring the plurality of pixel data of l bits and one pixel into data sets for each bit position, l sets, and writing them into the memory plane by the first means. image memory device.
JP28431086A 1986-12-01 1986-12-01 Picture memory device Pending JPS63138443A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28431086A JPS63138443A (en) 1986-12-01 1986-12-01 Picture memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28431086A JPS63138443A (en) 1986-12-01 1986-12-01 Picture memory device

Publications (1)

Publication Number Publication Date
JPS63138443A true JPS63138443A (en) 1988-06-10

Family

ID=17676883

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28431086A Pending JPS63138443A (en) 1986-12-01 1986-12-01 Picture memory device

Country Status (1)

Country Link
JP (1) JPS63138443A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03226847A (en) * 1990-01-31 1991-10-07 Sharp Corp Computer system
JPH0553755A (en) * 1991-08-23 1993-03-05 Fujitsu Ltd Method and device for write into bit map memory of image processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03226847A (en) * 1990-01-31 1991-10-07 Sharp Corp Computer system
JPH0553755A (en) * 1991-08-23 1993-03-05 Fujitsu Ltd Method and device for write into bit map memory of image processor

Similar Documents

Publication Publication Date Title
US4561072A (en) Memory system handling a plurality of bits as a unit to be processed
US7219200B2 (en) Method of accessing matrix data with address translation circuit that enables quick serial access in row or column directions
US4434502A (en) Memory system handling a plurality of bits as a unit to be processed
KR910002202B1 (en) Boundary-free conductor
JPS6318227B2 (en)
JPH0466079B2 (en)
EP0276110B1 (en) Semiconductor memory device
JPH01283676A (en) Read-out processing system for window image data
JPS63138443A (en) Picture memory device
US4559611A (en) Mapping and memory hardware for writing horizontal and vertical lines
Fujita et al. IMAP: integrated memory array processor
EP0295186B1 (en) Boundary-free semiconductor memory device having a plurality of slide access memories
JP3185278B2 (en) Orthogonal memory
JPH05152542A (en) Storage device and its addressing method
JP2633251B2 (en) Image memory device
JPH0346833B2 (en)
JPH0553898A (en) Function memory
JPS6057446A (en) Data memory
JPH0467280A (en) Parallel data processor
JPS5852773A (en) Matrix transposition system of electronic computer
JPH02137040A (en) Picture processor
Aho et al. XOR-scheme implementations in configurable parallel memory
JPS61157954A (en) Memory device
JPH01321573A (en) Picture data converting circuit
JPS5991574A (en) Circuit for converting data array