JPH03237684A - Picture storage device - Google Patents

Picture storage device

Info

Publication number
JPH03237684A
JPH03237684A JP2034167A JP3416790A JPH03237684A JP H03237684 A JPH03237684 A JP H03237684A JP 2034167 A JP2034167 A JP 2034167A JP 3416790 A JP3416790 A JP 3416790A JP H03237684 A JPH03237684 A JP H03237684A
Authority
JP
Japan
Prior art keywords
row
data
column
memory cell
selection
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
JP2034167A
Other languages
Japanese (ja)
Inventor
Isao Yoshino
吉野 勲
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 JP2034167A priority Critical patent/JPH03237684A/en
Publication of JPH03237684A publication Critical patent/JPH03237684A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify software constitution by reading picture element data in the direction of a row to which row selection data, column selection data and a row selection signal are supplied and in which a picture element is set to be a head, and reading picture element data in the direction of a column to which row selection data, column selection data and a column selection signal are supplied and in which the picture element is set to be the head. CONSTITUTION:A memory cell in the p-th row of a memory cell array 1 is selected in correspondence with row selection data (p) and memory cells from a q-th column to a q+a-th column in the memory cell array 1 are selected in correspondence with column selection data (q). Then, data on the memory cells in the p-th row q-th to q+a-th columns, which are selected by a row selection means 2 and an intra-row selection means 3 are read in correspondence with a row direction selection signal. The memory cell in the q-th column in the memory cell array 1 is selected in correspondence with column selection data (q) and the memory cells from the p-th row to the p+a-th row are selected in correspondence with row selection data (p). Then, data on the memory cells in p-th to p+a-th columns q-th column, which are selected by a column selection means 5 and an intra-column selection means 6 are read. Thus, software constitution becomes simple.

Description

【発明の詳細な説明】[Detailed description of the invention] 【概要】【overview】

画像記憶装置に関し、 画像処理を行う場合のメモリアクセス回数を少なくし、
かつ、画像処理のソフトウェア構成を簡単にすることを
目的とし、 M行N列のメモリセルを備えたメモリセルアレイと、行
選択データpに応じて、該メモリセルアレイの第p行の
該メモリセルを選択する行選択手段と、列選択データq
に応じて、該メモリセルアレイの第q列から第(q+a
)列までの該メモリセルを選択する行内選択手段と、行
方向選択信号に応じて、該行選択手段及び該行内選択手
段により選択された第p行第q〜(q+a)列の該メモ
リセルのデータを読出す行データ読出し手段と、列選択
データqに応じて、該メモリセルアレイの第q列の該メ
モリセルを選択する列選択手段と、行選択データpに応
じて、該メモリセルアレイの第p行から第(p+a)行
までの該メモリセルを選択する列内選択手段と、列方向
選択信号に応じて、該列選択手段及び該列内選択手段に
より選択された第p〜(p+a)行第q列の該メモリセ
ルのデータを読出す列データ読出し手段とを有し、該行
選択手段及び該行内選択手段は該行方向選択信号により
有効になり、該列選択手段及び該列内選択手段は該列方
向選択信号により有効になるように構成す′る。
Regarding image storage devices, it is possible to reduce the number of memory accesses when performing image processing,
In addition, for the purpose of simplifying the software configuration of image processing, a memory cell array including memory cells in M rows and N columns, and a memory cell in the p-th row of the memory cell array are selected according to row selection data p. Row selection means and column selection data q
from the qth column to the (q+a)th column of the memory cell array according to
), and the memory cells in the pth row and qth to (q+a) columns selected by the row selection means and the intrarow selection means in response to a row direction selection signal. row data reading means for reading out the data of the memory cell array; column selection means for selecting the memory cell in the qth column of the memory cell array according to the column selection data q; Intra-column selection means for selecting the memory cells from the p-th row to the (p+a)-th row; ) column data reading means for reading the data of the memory cell in the qth column; the row selection means and the intra-row selection means are enabled by the row direction selection signal; The internal selection means is configured to be enabled by the column direction selection signal.

【産業上の利用分野】 本発明は半導体製の画像記憶装置に関する。[Industrial application field] The present invention relates to a semiconductor image storage device.

【従来の技術】[Conventional technology]

従来の画像記憶装置では、画像上の画素走査方向と、画
像記憶装置上のアドレス方向とが、一意的に対応してい
た。 第6図は、画像上の画素と、画像記憶装置のメモリマツ
プ上の画素記憶位置との関係を示す。 この画像は、256X256個の画素からなり、X方向
及びY方向を図のようにとると、任意の画素は座標(i
、j)で表される。画素(i、j)のメモリマツプ上の
記憶位置は、画像をX方向に走査したときの位置に対応
している。これは、画素が2次元上に配置されているの
に対し、メモリマツプ上のアドレスが1次元的かつ一意
的に配置されていることに起因している。このため、X
方向に沿って画像を処理するのは容易である。 しかし、Y方向に沿って画像を処理する場合には、画像
上の画素が連続してY方向に配列されているにも係わら
ず、メモリマツプ上の記憶位置が飛び飛びとなるため、
画像処理が複雑になるとともに、画像記憶装置に対する
アクセス回数が多くなり、処理時間が長くなるという問
題点があった。 例えば第5図に示す如く、20X10画素のウィンド1
1内に物体領域12があり、ウィンド11内をX方向及
びY方向に走査して画像処理を行う場合、Y方向の走査
については第7図に示す如く処理を行っていた。 (20)ウィンド11の第5図左上隅の画素のアドレス
AO及びビットiにそれぞれ初期値96.6を代入し、 (21)処理アドレスAにAOを代入し、(22〉アド
レスAのデータを読出して、その第1ビツトについて処
理を行う。 (23〉次の画素を処理するために、アドレスAに32
を加えた値を新たなアドレスAとし、ウィンド11上の
Y座標であるカウンタJをインクリメントする。 (24)j≦jOであればステップ22へ戻る。 ここに、JOは、ウィンド11のY方向画素数である。 j>jOとなれば、 (25)次の列を処理するために、ビットlをインクリ
メントする。 (26)AO<99であれば、すなわち、最終列でなけ
れば、 (27)i≦7であるかどうかを判定する。 1≦7であれば、ステップ21へ戻る。 1〉7であれば、 (28)ビットlに0を代入し、列先頭アドレスAOを
インクリメントして、ステップ21へ戻る。 以上の処理を繰り返し、ステップ26でA099と判定
された場合には、 (29)i≦2であるかどうかを判定し、1≦2であれ
ば、ステップ21へ戻る。 i>2であれば、処理を終了する。
In conventional image storage devices, the pixel scanning direction on the image and the address direction on the image storage device uniquely correspond. FIG. 6 shows the relationship between pixels on an image and pixel storage locations on the memory map of the image storage device. This image consists of 256x256 pixels, and if the X and Y directions are taken as shown in the figure, any pixel has the coordinate (i
, j). The storage position of pixel (i, j) on the memory map corresponds to the position when the image is scanned in the X direction. This is because the pixels are arranged two-dimensionally, whereas the addresses on the memory map are arranged one-dimensionally and uniquely. For this reason, X
It is easy to process images along directions. However, when processing an image along the Y direction, even though the pixels on the image are consecutively arranged in the Y direction, the storage locations on the memory map are scattered.
There are problems in that the image processing becomes complicated, the number of accesses to the image storage device increases, and the processing time becomes longer. For example, as shown in FIG. 5, a window 1 of 20×10 pixels
When there is an object area 12 in the window 1 and image processing is performed by scanning the inside of the window 11 in the X and Y directions, the scanning in the Y direction is performed as shown in FIG. (20) Assign the initial value 96.6 to the address AO and bit i of the pixel in the upper left corner of FIG. 5 of the window 11. (21) Assign AO to the processing address A. (23) To process the next pixel, add 32 to address A.
The added value is set as a new address A, and a counter J, which is the Y coordinate on the window 11, is incremented. (24) If j≦jO, return to step 22. Here, JO is the number of pixels in the window 11 in the Y direction. If j>jO, (25) Increment bit l to process the next column. (26) If AO<99, that is, if it is not the last column, (27) Determine whether i≦7. If 1≦7, return to step 21. If 1>7, (28) Assign 0 to bit l, increment column start address AO, and return to step 21. If the above process is repeated and A099 is determined in step 26, (29) determine whether i≦2, and if 1≦2, return to step 21. If i>2, the process ends.

【発明が解決しようとする課題】[Problem to be solved by the invention]

メモリアクセス回数は、第5図の場合、X方向に走査し
て画像処理を行う場合には、4X10=40回であるが
、上述のようにY方向に走査して画像処理を行う場合に
は、10X20=20(]回となる。また、ソフトウェ
ア構成は、X方向に走査して画像処理を行う場合には後
述する第4図とほぼ同様になるが、これよりも、Y軸方
向に走査して画像処理を行う第7図の方が、かなり複雑
になる。 本発明の目的は、上記問題点に鑑み、画像処理を行う場
合のメモリアクセス回数を少なくし、かつ、画像処理の
ソフトウェア構成を簡単にすることができる画像記憶装
置を提供することにある。
In the case of FIG. 5, the number of memory accesses is 4X10=40 when performing image processing by scanning in the X direction, but when performing image processing by scanning in the Y direction as described above. , 10X20=20 (] times.In addition, when performing image processing by scanning in the X direction, the software configuration is almost the same as shown in Figure 4, which will be described later. In view of the above-mentioned problems, the object of the present invention is to reduce the number of memory accesses when performing image processing, and to improve the software configuration of image processing. An object of the present invention is to provide an image storage device that can simplify image storage.

【課題を解決するための手段】[Means to solve the problem]

第1図は本発明に係る画像記憶装置の原理構成を示す。 図中、lはメモリセルアレイであり、M行N列のメモリ
セルを備えている。 2は行選択手段であり、行選択データpに応じて、メモ
リセルアレイlの第p行のメモリセルを選択する。 3は行内選択手段であり、列選択データqに応じて、メ
モリセルアレイ1の第q列から第(q+a)列までのメ
モリセルを選択スる。 4は行データ読出し手段であり、行方向選択信号に応じ
て、行選択手&2及び行内選択手段3により選択された
第p行第q〜(q+a)列のメモリセルのデータを読出
す。 5は列選択手段であり、列選択データqに応じて、メモ
リセルアレイ1の第q列のメモリセルを選択する。 6は列内選択手段であり、行選択データpに応じて、メ
モリセルアレイ1の第p行から第(p+a)行までのメ
モリセルを選択スる。 7は列データ読出し手段であり、列方向選択信号に応じ
て、列選択手段5及び列内選択手段6により選択された
第p〜(p+a)行第q列のメモリセルのデータを読出
す。 なお、上記行選択手段2及び行内選択手段3は上記行方
向選択信号により有効になり、上記列選択手段5及び列
内選択手段6は上記列方向選択信号により有効になる。
FIG. 1 shows the basic configuration of an image storage device according to the present invention. In the figure, l is a memory cell array, which includes memory cells arranged in M rows and N columns. Reference numeral 2 denotes a row selection means, which selects a memory cell in the p-th row of the memory cell array l in accordance with row selection data p. In-row selection means 3 selects memory cells from the q-th column to the (q+a)-th column of the memory cell array 1 in accordance with column selection data q. Reference numeral 4 denotes row data reading means, which reads data from the memory cells in the pth row and qth to (q+a) columns selected by the row selection hand &2 and the in-row selection means 3 in response to the row direction selection signal. Reference numeral 5 denotes a column selection means, which selects a memory cell in the q-th column of the memory cell array 1 in accordance with column selection data q. Intra-column selection means 6 selects memory cells from the p-th row to the (p+a)-th row of the memory cell array 1 in accordance with the row selection data p. Reference numeral 7 denotes column data reading means, which reads data of the memory cells in the p-th to (p+a) rows and q-th columns selected by the column selecting means 5 and the intra-column selecting means 6 in response to the column direction selection signal. Note that the row selection means 2 and intra-row selection means 3 are enabled by the row direction selection signal, and the column selection means 5 and intra-column selection means 6 are enabled by the column direction selection signal.

【作用】[Effect]

上記の如く構成された記憶装置に、行選択データp、列
選択データq及び行選択信号を供給することにより、画
素(p、q)を先頭とする行方向の(a+1)画素のデ
ータを読出すことができ、また、行選択データル5列選
択データq及び列選択信号を供給することにより、画素
(p、q)を先頭とする列方向の(a+1)画素のデー
タを読出すことができる。 したがって、画像処理を行う場合のメモリアクセス回数
を少なくし、かつ、画像処理のソフトウェア構成を簡単
にすることができる。
By supplying row selection data p, column selection data q, and row selection signals to the storage device configured as described above, data of pixels (a+1) in the row direction starting from pixel (p, q) can be read. In addition, by supplying row selection data, 5 column selection data q, and a column selection signal, it is possible to read out the data of (a+1) pixels in the column direction starting from pixel (p, q). . Therefore, the number of memory accesses when performing image processing can be reduced, and the software configuration for image processing can be simplified.

【実施例】 以下、図面に基づいて本発明の一実施例を説明する。 第2図は画像記憶装置の全体構成を示す。 メモリセルアレイ30は、第6図に示す256×256
画素に対応した256行256列のメモリセルC(i、
j)(i、j=Q〜255)からなる。第2図では、C
(i、j)は、Cを省略しくi、j)のみを示す。この
メモリセルC(i。 j)は、第3図に示す如く構成されている。 すなわち、メモリセルC(i、j>は構成要素31〜3
5を備えており、ビットメモリ3]は、セルセレクト端
子C5を低レベルにすると有効となり、リード端子RD
を低レベルにすると読出し状態となり、ライト端子WR
を低レベルにすると書込み状態となる。X選択線XWj
及びY方向バイトデータ選択線YSiはアンドゲート3
2の入力端子に接続され、X方向バイトデータ選折線X
Sj及びY選択線YWiはアンドゲート33の入力端子
に接続され、アンドゲート32及び33の出力端子はノ
アゲート34を介してビットメモリ31のセルセレクト
端子C8に接続されている。 ビットメモリ31のデータ入出力端子は、セレクタ35
を介して、X方向データ線X」又はY方向データ線Yi
の何れか一方に接続される。すなわち、セレクタ35の
制御端子に供給される方向選択信号X/Yが高レベルの
場合には、X方向データ1ilXjが有効になり、Y方
向データ線Y1がハイインピーダンス状態になる。逆に
、方向選択信号X/Yが低レベルの場合には、Y方向デ
ータ線Y1が有効になり、X方向データ線Xjがハイイ
ンピーダンス状態になる。また、セレクタ35は双方向
性であり、ライト端子WRのレベルによりデータ線Xj
、Yiのデータ方向が読み出し方向または書込み方向と
なる。 第2図において、メモリセルアレイ30のアドレスは、
画素(p、q)に対応した最上位ビットアドレス(q、
p)と、方向選択信号X/Yにより指定される。方向選
択信号X/Yが高レベルの場合には、メモリセルC(i
、  j) 、1=p−p+7、J=qの1バイトが選
択される。方向選択信号X/Yが低レベルの場合には、
メモリセルC(i、j)   i=p、j=q〜Q+7
の1バイトが選択される。 これらp、qは、それぞれ8ビツト構成のXアドレスレ
ジスタ40X、Yアドレスレジスタ40Yに外部から供
給されて保持される。Xアドレスレジスタ40X及びY
アドレスレジスタ40Yの出力は、それぞれXアドレス
レコーダ41X及びYアドレスレコーダ41Yに供給さ
れ、Xアドレスレコーダ41Xの出力端子に接続された
X選択線XWO−XW225のうちxWpのみが高レベ
ルとなり、Yアドレスレコーダ41Yの出力端子に接続
されたY選択線YWO−YW255のうちYWqのみが
高レベルとなり、他は低レベルになる。ただし、Xアド
レスレコーダ41Xは、方向選択信号X/Yをインバー
タ42で反転したものが高レベルのときのみ有効になり
、Yアドレスレコーダ41Yは、方向選択信号X/Yが
高レベルのときのみ有効になり、無効の場合には出力が
全て低レベルになる。 Xアドレスレジスタ40Xの出力はXセレクタ43Xに
も供給され、Xアドレスレジスタ40Xの内容がpの場
合、Xセレクタ43Xの出力端子に接続されたX方向バ
イトデータ選択mxso〜X S 255 f!、xS
p−xSp+7のみが高レベルとなり、その他は低レベ
ルとなる。ただし、Xセレクタ43Xは、方向選択信号
X/Yが高レベルのときのみ有効となり、方向選択信号
X/Yが低レベルの場合には、X方向バイトデータ選択
線XSO〜X5255は全て低レベルとなる。X方向バ
イトデータ選択線XSjは、第3図に示すメモリセルC
(i、j)、i=0〜255に接続されている。同様に
、Y7ドレスレジスタ40Yの出力はYセレクタ43Y
にも供給され、Yアドレスレジスタ40Yの内容がqの
場合、Yセレクタ43Yの出力端子に接続されたY方向
バイトデータ選択線YSO〜YS255は、YSq−Y
Sq+7のみが高レベルとなり、その他は低レベルとな
る。ただし、Yセレクタ43Yは、方向選択信号X/Y
が低レベルのときのみ有効となり、方向選択信号X/Y
が高レベルの場合には、Y方向バイトデータ選択線YS
O−YS255は全て低レベルとなる。Y方向バイトデ
ータ選択線YSiは、第3図に示すメモリセルC(i、
j)、j−0〜255に接続されている。このような構
成により、上記アドレス指定が可能となる。 メモリセルC(i、j)のX方向データ線Xj(j=0
〜255)は、バイトデータセレクタ44xのデータ端
子に接続され、メモリセルc (i。 j)のY方向データ線Yi  (i=o〜255)は、
バイトデータセレクタ44Yのデータ端子に接続されて
いる。リード信号RDが低レベルでXアドレスレジスタ
40Xの内容がpの場合には、ノくイトデータセレクタ
44XはX方向データ線XO〜x255のうちX p 
−X p + 7のみを選択しこれをlバイトデータと
してデータ線45−xに取り出す。リード信号「不が高
レベルでXアドレスレジスタ40Xの内容がpの場合に
は、バイトデータセレクタ44Xはデータ線45 X上
のデータを取込み、これをX p −X p + 7上
のデータとしてメモリセルアレイ30へ供給する。同様
に、リード信号RDが低レベルでYアドレスレジスタ4
0Yの内容がqの場合には、バイトデータセレクタ44
YはY方向データ線YO〜Y255のうちyq〜YQ+
7のみを選択しこれを1バイトのデータとしてデータ線
45Yに取り出す。リード信号R巧が高レベルでYアド
レスレジスタ40Yの内容がqの場合には、バイトデー
タセレクタ44Yはデータ線45Y上のデータを取込み
、これをyq〜Yq+7上のデータとしてメモリセルア
レイ30へ供給する。 データ線45X及び45Yは、セレクタ46を介して選
択的にデータ線47に接続される。すなわち、セレクタ
46は、方向選択信号X/Yが高レベルの場合には、デ
ータ線45Xとデータ線47とを接続状態にしてデータ
線45Yをデータ線47から切離し、方向選択信号X/
Yが低レベルの場合には、データ線45Yをデータ線4
7と接続状態にしてデータ線45Xをデータ線47から
切り離す。また、セレクタ46は双方向性バッファゲー
トでもあり、リード信号RDのレベルによリデータ方向
が読出し方向又は書込み方向となる。 上記構成により、任意の画素(p、q)を先頭とするX
方向又はY方向の8画素の1バイトデータを、メモリセ
ルアレイ30に対し読出し及び書込み可能となる。 次に、この画像記憶装置を用いた場合の第7図と同一処
理を、第4図に基づいて説明する。 (50)方向選択信号X/Yを低レベルにし、X (X
アドレスレジスタ40X)に6を設定し、(51) Y
 (Yアドレスレジスタ40Y)に3を設定する。 (52)画素(X、Y)〜(X、Y+7)の1バイトデ
ータを読出し、その各ビットについてデータ処理を行う
。 (53)Yに8を加算し、 (54)Y≦12であればステップ52へ戻る。 Y>12であれば、 (55)Xをインクリメントし、 (56)X≦20であればステップ51へ戻る。 x〉25であれば処理を終了する。 第4図と第7図を比較すると、本実施例の方が従来例よ
りも、ソフトウェア構成が簡単になり、かつ、メモリア
クセス回数が少なくなる(従来例の場合200回、本実
施例の場合40回)。 X方向に走査して画像処理を行う場合には、第4図にお
いて、単に、XとYを入れ換え、定数6と3を入れ換え
、定数12と25を入れ換え、ステップ50の「低レベ
ル」を「高レベル」にすればよい。したがって、全体の
ソフトウェア構成がさらに簡単になる。 なお、本発明は2値画像データの読出しに特徴があり、
2値画像データの書込みについては、読出しと逆の動作
をする上記構成に限定されず、例えば、書込み状態では
全てのメモリセルC(i。 j)を画像走査方向に連続接続したシフトレジスタにし
、画像走査に同期して2値データをこのシフトレジスタ
に転送する構成であってもよい。
[Embodiment] An embodiment of the present invention will be described below based on the drawings. FIG. 2 shows the overall configuration of the image storage device. The memory cell array 30 has a size of 256×256 as shown in FIG.
A memory cell C(i,
j) (i, j=Q~255). In Figure 2, C
(i, j) indicates only i, j) without C. This memory cell C(i.j) is constructed as shown in FIG. That is, memory cell C (i, j> is the component 31 to 3
5, bit memory 3] is enabled when the cell select terminal C5 is set to low level, and the bit memory 3 is enabled when the cell select terminal C5 is set to a low level, and
When set to low level, it enters the read state and the write terminal WR
When set to low level, the write state is entered. X selection line XWj
And the Y-direction byte data selection line YSi is an AND gate 3.
It is connected to the input terminal of 2, and the X direction byte data sorting line
Sj and Y selection line YWi are connected to the input terminal of AND gate 33, and the output terminals of AND gates 32 and 33 are connected to cell selection terminal C8 of bit memory 31 via NOR gate 34. The data input/output terminal of the bit memory 31 is connected to the selector 35.
through the X-direction data line X' or the Y-direction data line Yi
connected to either one. That is, when the direction selection signal X/Y supplied to the control terminal of the selector 35 is at a high level, the X direction data 1ilXj becomes valid and the Y direction data line Y1 becomes a high impedance state. Conversely, when the direction selection signal X/Y is at a low level, the Y-direction data line Y1 is enabled and the X-direction data line Xj is placed in a high impedance state. Further, the selector 35 is bidirectional, and depending on the level of the write terminal WR, the data line Xj
, Yi becomes the read direction or the write direction. In FIG. 2, the address of the memory cell array 30 is
The most significant bit address (q,
p) and the direction selection signal X/Y. When direction selection signal X/Y is at high level, memory cell C(i
, j) , 1=p−p+7, J=q 1 byte is selected. When the direction selection signal X/Y is low level,
Memory cell C (i, j) i=p, j=q~Q+7
1 byte of is selected. These p and q are externally supplied to and held in an 8-bit X address register 40X and Y address register 40Y, respectively. X address register 40X and Y
The output of the address register 40Y is supplied to the X address recorder 41X and the Y address recorder 41Y, respectively, and of the X selection lines XWO-XW225 connected to the output terminal of the X address recorder 41X, only xWp becomes high level, and the Y address recorder Of the Y selection lines YWO-YW255 connected to the output terminal of 41Y, only YWq becomes high level, and the others become low level. However, the X address recorder 41X is valid only when the direction selection signal X/Y inverted by the inverter 42 is high level, and the Y address recorder 41Y is valid only when the direction selection signal X/Y is high level. When disabled, all outputs are low level. The output of the X address register 40X is also supplied to the X selector 43X, and when the content of the X address register 40X is p, the X direction byte data selection mxso~X S 255 f! connected to the output terminal of the X selector 43X is supplied. ,xS
Only p-xSp+7 is at a high level, and the others are at a low level. However, the X selector 43X is valid only when the direction selection signal X/Y is at a high level, and when the direction selection signal Become. The X-direction byte data selection line XSj is connected to the memory cell C shown in FIG.
(i, j), connected to i=0 to 255. Similarly, the output of the Y7 address register 40Y is the output of the Y selector 43Y.
is also supplied, and when the content of the Y address register 40Y is q, the Y direction byte data selection lines YSO to YS255 connected to the output terminal of the Y selector 43Y are YSq-Y.
Only Sq+7 is at a high level, and the others are at a low level. However, the Y selector 43Y uses the direction selection signal X/Y.
It is valid only when the direction selection signal X/Y is at a low level.
is at a high level, the Y-direction byte data selection line YS
All O-YS255 become low level. The Y-direction byte data selection line YSi is connected to the memory cell C(i,
j), connected to j-0 to j-255. Such a configuration enables the above-mentioned address specification. X-direction data line Xj (j=0
~255) is connected to the data terminal of the byte data selector 44x, and the Y-direction data line Yi (i=o~255) of the memory cell c (i.j) is connected to the data terminal of the byte data selector 44x.
It is connected to the data terminal of the byte data selector 44Y. When the read signal RD is at a low level and the content of the X address register 40X is p, the node data selector 44X selects X p of the X direction data lines XO to x255.
-X p + 7 only is selected and taken out as 1 byte data to the data line 45-x. When the read signal ``fail'' is at a high level and the contents of the X address register 40X are p, the byte data selector 44X takes in the data on the data line 45 is supplied to the cell array 30.Similarly, when the read signal RD is at a low level, the Y address register 4
If the content of 0Y is q, the byte data selector 44
Y is yq to YQ+ among Y direction data lines YO to Y255
7 is selected and taken out as 1-byte data to the data line 45Y. When the read signal R is at a high level and the content of the Y address register 40Y is q, the byte data selector 44Y takes in the data on the data line 45Y and supplies it to the memory cell array 30 as data on yq to Yq+7. . Data lines 45X and 45Y are selectively connected to data line 47 via selector 46. That is, when the direction selection signal X/Y is at a high level, the selector 46 connects the data line 45X and the data line 47, disconnects the data line 45Y from the data line 47, and outputs the direction selection signal X/Y.
When Y is low level, data line 45Y is connected to data line 4
7 and disconnect the data line 45X from the data line 47. Further, the selector 46 is also a bidirectional buffer gate, and the redata direction becomes the read direction or the write direction depending on the level of the read signal RD. With the above configuration, X starting from any pixel (p, q)
It becomes possible to read and write 1-byte data of 8 pixels in the direction or the Y direction to the memory cell array 30. Next, the same process as shown in FIG. 7 when using this image storage device will be explained based on FIG. 4. (50) Set direction selection signal X/Y to low level, and set X (X
Set 6 in the address register (40X), and (51) Y
(Y address register 40Y) is set to 3. (52) Read 1-byte data of pixels (X, Y) to (X, Y+7) and perform data processing on each bit. (53) Add 8 to Y, (54) If Y≦12, return to step 52. If Y>12, (55) increment X; (56) if X≦20, return to step 51. If x>25, the process ends. Comparing FIG. 4 and FIG. 7, this embodiment has a simpler software configuration and fewer memory accesses than the conventional example (200 in the conventional example, 200 in the present example). 40 times). When performing image processing by scanning in the X direction, in FIG. 4, simply replace X and Y, replace constants 6 and 3, replace constants 12 and 25, and change "low level" in step 50 to " You can set it to "high level". Therefore, the overall software configuration becomes even simpler. Note that the present invention is characterized by reading out binary image data.
The writing of binary image data is not limited to the above configuration in which the operation is opposite to that of reading, but for example, in the write state, all memory cells C(i.j) are connected in series in the image scanning direction as a shift register, The structure may be such that binary data is transferred to this shift register in synchronization with image scanning.

【発明の効果】【Effect of the invention】

以上説明した如く、本発明に係る画像記憶装置によれば
、任意の画素を先頭とする行方向又は列方向の連続する
複数画素のデータを、メモリセルアレイから読出すこと
ができるので、画像処理を行う場合のメモリアクセス回
数を少なくし、かつ、画像処理のソフトウェア構成を簡
単にすることができるという優れた効果を奏し、特に、
リアルタイム画像処理の高速化及び容易化に寄与すると
ころが大きい。
As explained above, according to the image storage device according to the present invention, data of a plurality of consecutive pixels in the row direction or column direction starting from an arbitrary pixel can be read out from the memory cell array, so image processing can be performed. It has the excellent effect of reducing the number of memory accesses when performing image processing and simplifying the software configuration for image processing.
It greatly contributes to speeding up and facilitating real-time image processing.

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

第1図は本発明に係る画像記憶装置の原理構成を示すブ
ロック図である。 第2図乃至第4図は本発明の一実施例に係り、第2図は
画像記憶装置の全体構成を示すブロック図、 第3図はメモリセルC(i、j)の構成を示すブロック
図、 第4図は第5図に示すウィンド内の画像をY方向に走査
して処理する場合のフローチャートである。 第5図は本実施例及び従来例に係る画像処理対象例を示
す図である。 第6図及び第7図は従来例に係り、 第6図は画像の画素とメモリマツプ上の記憶位置との関
係を示す図、 第7図は第5図に示すウィンド内の画像をY方向に走査
して処理する場合のフローチャートである。 図中、 30はメモリセルアレイ C(i、j)はメモリセル 40XはXアドレスレジスタ 40YはYアドレスレジスタ 41XはXアドレスレコーダ 41YはYアドレスレコーダ 43XはXセレクタ 43YはYセレクタ X   > 第4図 10:画像 11:ウィンド 12:物体領域 第5図
FIG. 1 is a block diagram showing the principle configuration of an image storage device according to the present invention. 2 to 4 relate to an embodiment of the present invention, in which FIG. 2 is a block diagram showing the overall configuration of an image storage device, and FIG. 3 is a block diagram showing the configuration of memory cell C(i, j). , FIG. 4 is a flowchart when the image within the window shown in FIG. 5 is scanned and processed in the Y direction. FIG. 5 is a diagram showing examples of image processing targets according to the present embodiment and the conventional example. 6 and 7 relate to the conventional example. FIG. 6 is a diagram showing the relationship between image pixels and storage positions on the memory map. FIG. 7 is a diagram showing the image in the window shown in FIG. 5 in the Y direction. It is a flowchart in the case of scanning and processing. In the figure, 30 is the memory cell array C (i, j) is the memory cell 40X is the X address register 40Y is the Y address register 41X is the X address recorder 41Y is the Y address recorder 43X is the X selector 43Y is the Y selector : Image 11: Window 12: Object area Figure 5

Claims (1)

【特許請求の範囲】 M行N列のメモリセルを備えたメモリセルアレイ(1)
と、 行選択データpに応じて、該メモリセルアレイの第p行
の該メモリセルを選択する行選択手段(2)と、 列選択データqに応じて、該メモリセルアレイの第q列
から第(q+a)列までの該メモリセルを選択する行内
選択手段(3)と、 行方向選択信号に応じて、該行選択手段及び該行内選択
手段により選択された第p行第q〜(q+a)列の該メ
モリセルのデータを読出す行データ読出し手段(4)と
、 列選択データqに応じて、該メモリセルアレイの第q列
の該メモリセルを選択する列選択手段(5)と、 行選択データpに応じて、該メモリセルアレイの第p行
から第(p+a)行までの該メモリセルを選択する列内
選択手段(6)と、 列方向選択信号に応じて、該列選択手段及び該列内選択
手段により選択された第p〜(p+a)行第q列の該メ
モリセルのデータを読出す列データ読出し手段(7)と
を有し、 該行選択手段及び該行内選択手段は該行方向選択信号に
より有効になり、該列選択手段及び該列内選択手段は該
列方向選択信号により有効になることを特徴とする画像
記憶装置。
[Claims] Memory cell array (1) comprising memory cells in M rows and N columns.
and a row selection means (2) for selecting the memory cell in the p-th row of the memory cell array in accordance with the row selection data p; an intra-row selection means (3) for selecting the memory cells up to column q+a); and p-th row and q-(q+a) columns selected by the row selection means and the intra-row selection means in accordance with the row direction selection signal. row data reading means (4) for reading data of the memory cell in the memory cell; column selection means (5) for selecting the memory cell in the q-th column of the memory cell array in accordance with column selection data q; intra-column selection means (6) for selecting the memory cells from the p-th row to the (p+a)-th row of the memory cell array in response to data p; column data reading means (7) for reading out the data of the memory cells in the p-th to (p+a)th rows and the q-th columns selected by the intra-column selecting means, and the row selecting means and the intra-row selecting means An image storage device characterized in that it is enabled by a row direction selection signal, and the column selection means and the intra-column selection means are enabled by the column direction selection signal.
JP2034167A 1990-02-14 1990-02-14 Picture storage device Pending JPH03237684A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2034167A JPH03237684A (en) 1990-02-14 1990-02-14 Picture storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2034167A JPH03237684A (en) 1990-02-14 1990-02-14 Picture storage device

Publications (1)

Publication Number Publication Date
JPH03237684A true JPH03237684A (en) 1991-10-23

Family

ID=12406650

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2034167A Pending JPH03237684A (en) 1990-02-14 1990-02-14 Picture storage device

Country Status (1)

Country Link
JP (1) JPH03237684A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1992022068A1 (en) * 1991-06-04 1992-12-10 Oki Electric Industry Co., Ltd. Serial access memory

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1992022068A1 (en) * 1991-06-04 1992-12-10 Oki Electric Industry Co., Ltd. Serial access memory
US5369618A (en) * 1991-06-04 1994-11-29 Oki Electric Industry Co., Ltd. Serial access memory

Similar Documents

Publication Publication Date Title
US4561072A (en) Memory system handling a plurality of bits as a unit to be processed
US5831674A (en) Oblique access to image data for reading bar codes
EP0270028A2 (en) Dual port memory device with improved serial access scheme
US4326202A (en) Image memory device
EP0141521A2 (en) Method and apparatus for controlling plurality of memory planes
JPH03237684A (en) Picture storage device
US5982395A (en) Method and apparatus for parallel addressing of an image processing memory
EP0245504A1 (en) Image processor
JPS5926031B2 (en) memory element
US5539874A (en) Cache memory device for storing image data
JPS6076790A (en) Memory
JP3132771B2 (en) Image storage device and image processing device having the same
JP3061824B2 (en) Semiconductor memory
JPS647393Y2 (en)
JPS60211690A (en) Memory circuit
JPS63836B2 (en)
JP2661958B2 (en) Image processing device
KR950004122B1 (en) Frame memory of digital image processor
JP2633251B2 (en) Image memory device
JPH0520450A (en) Picture processor
JPS62236076A (en) Access system for frame buffer memory
JPS60124785A (en) Picture processing unit
JPS6346581A (en) Semiconductor storage device
JP2839768B2 (en) Image rotation circuit
JPH061449B2 (en) Image memory for image editing