JPS5899835A - Picture processor - Google Patents

Picture processor

Info

Publication number
JPS5899835A
JPS5899835A JP56197933A JP19793381A JPS5899835A JP S5899835 A JPS5899835 A JP S5899835A JP 56197933 A JP56197933 A JP 56197933A JP 19793381 A JP19793381 A JP 19793381A JP S5899835 A JPS5899835 A JP S5899835A
Authority
JP
Japan
Prior art keywords
window
data
memory
image data
address
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
JP56197933A
Other languages
Japanese (ja)
Inventor
Yuji Komachi
小町 祐史
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.)
DIGITAL AKOOSUTEITSUKU KK
Original Assignee
DIGITAL AKOOSUTEITSUKU KK
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 DIGITAL AKOOSUTEITSUKU KK filed Critical DIGITAL AKOOSUTEITSUKU KK
Priority to JP56197933A priority Critical patent/JPS5899835A/en
Publication of JPS5899835A publication Critical patent/JPS5899835A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To simplify the constitution of a picture memory, and to execute parallel access of a square window of prescribed size, at an optional position on a two-dimensional picture element array, at a high speed, by providing a window access memory for executing a direct data transfer, between the picture memory and a parallel operating circuit. CONSTITUTION:Picture data of a two-dimensional picture element array is stored in each memory chip SOO-SRR, upper address lines 10PO-10PR, and lower address lines 10QO-10PR are connected to an address comparator 12P and an address converter 12Q, respectively. These lines 10PO-10PR and 10QO-10PR are made to a multiple system of nP lines and nQ lines, and each chip SOO-SRR is accessed to the picture data by an upper address P and a lower address Q whose in-reference window relative position U and V are same. Also, on each chip SOO-SRR, data lines DOO-DRR for executing write and readout are provided, these lines DOO-DRR are connected to a data selector 16, and the picture data is outputted from the data lines dOO-dRR of the data selector 16.

Description

【発明の詳細な説明】 本発明は画像処理装置、とくに窓アクセスメモリを用い
た高速並列アクセス画像処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to an image processing apparatus, and particularly to a high-speed parallel access image processing apparatus using a window access memory.

画像処理、たとえば2次元画素配列からなる画像の処理
は、多数の画素の画像データを大量に、かつ高速で取り
扱わなければならない。このため逐次処理型の電子計算
機では1多大の処理時間を要するので、メモリ階層の最
下層に配置された画像処理プロセッサで2次元配列のデ
ータ構造を保存したまま画像データを処理する並列演算
が行なわれている。
Image processing, for example, processing of an image consisting of a two-dimensional pixel array, requires handling a large amount of image data of many pixels at high speed. This requires a large amount of processing time in a sequential processing computer, so an image processing processor placed at the bottom of the memory hierarchy performs parallel operations to process the image data while preserving the two-dimensional array data structure. It is.

従来、ファクシミリやテレビジョン画像などの画像処理
の局所性を利用して局所並列形の演算を行なう局所並列
形画像処理装置(LPIP)は、その局所性から実現可
能な数のプロセッサエレメントによって局所画像データ
の並列演算を行ない、その処理を画面上に走査している
。しかし、画像メモリと並列演算回路の間のデータ転送
における並列動作は、両者の間に介在するバッファを通
して行なわれ、必らずしも充分な高速並列アクセスが行
なわれているとはいえない。また、このような大量の画
像データの高速並列演算に適合するためには、大記憶容
量および高速アクセスの両立し難い2つの要求を満たす
記憶デバイスを画像メモリとして使用しなければならず
、現実的でない。したがって、2次元画素配列における
任意の窓の高速並列アクセスは極めて困難であった。
Conventionally, a locally parallel image processing device (LPIP), which performs locally parallel operations using the locality of image processing such as facsimile or television images, processes local images using the number of processor elements that can be realized due to the locality. It performs parallel operations on data and scans the processing on the screen. However, parallel operation in data transfer between the image memory and the parallel processing circuit is performed through a buffer interposed between the two, and it cannot necessarily be said that sufficient high-speed parallel access is performed. In addition, in order to accommodate high-speed parallel processing of such a large amount of image data, it is necessary to use a storage device as image memory that satisfies the two incompatible requirements of large storage capacity and high-speed access, which is not practical. Not. Therefore, high-speed parallel access of arbitrary windows in a two-dimensional pixel array has been extremely difficult.

本発明はこのような従来技術の欠点を解消し、2次元画
素配列上での任意位置の所定の大きさの方形窓の並列ア
クセスを−層高連化させた画像処理装置を提供すること
を目的とする。
The present invention solves the drawbacks of the prior art and provides an image processing device that allows parallel access of rectangular windows of a predetermined size at arbitrary positions on a two-dimensional pixel array in a multilayered manner. purpose.

この目的は本発明によれば、2次元画素配列上の任意位
置の窓に含まれるすべての画素について画像メモリと並
列演算回路との間で直接的なデータ転送を行なう窓アク
セスメモIJ(WAM)を構成することによって達成さ
れる。
This purpose, according to the present invention, is a window access memory IJ (WAM) that performs direct data transfer between an image memory and a parallel processing circuit for all pixels included in a window at an arbitrary position on a two-dimensional pixel array. This is achieved by configuring.

本発明による画像処理装置は、2次元画素配列を等分割
した各基準窓における画像データを蓄積する互いに独立
して読出し書込み可能な複数のメモリを含み、各メモリ
は、異なる基準窓における対応する基準窓内相対位置の
画素の画像データをその基準窓の座標に対応したアドレ
スで指定される記憶位置に蓄積し、さらに、2次元画素
配列における窓の座標が与えられると、この窓の座標が
基準窓の座標からずれている程度に応じて、その窓の座
標から各メモリにおけるその画素の画像データの記憶位
置のアドレスを発生して各メモリのアドレス指定を行な
うアドレス指定回路と、各メモリから窓に含まれる各画
素の画像データが並列に読み出されると、前記ずれの程
度と各メモリにおいて読み出された画像データに対応−
する画素のその窓における窓内相対位置とに応じて、そ
の読み出された画像データをその窓における窓内相対位
置に対応する画像データに編成して出力し、また、各メ
モリに画像データを書き込むときは、窓における窓内相
対位置に対応して与えられた画像データを、前記ずれの
程度と各メモリに書き込むべき画像データに対応する画
素のその窓における窓内相対位置とに応じて、基準窓内
相対位置に対応する画像データに編成して各メモリに並
列に書き込むデータ編成回路とを含むものである。
An image processing device according to the present invention includes a plurality of memories that can be read and written independently from each other and store image data in each reference window obtained by equally dividing a two-dimensional pixel array, and each memory stores image data in each reference window obtained by equally dividing a two-dimensional pixel array. Image data of a pixel at a relative position within the window is stored in a storage location specified by an address corresponding to the coordinates of the reference window, and furthermore, when the coordinates of the window in the two-dimensional pixel array are given, the coordinates of this window are used as the reference window. An addressing circuit generates the address of the storage location of the image data of the pixel in each memory from the coordinates of the window depending on the degree of deviation from the coordinates of the window, and specifies the address of each memory. When the image data of each pixel included in the memory is read out in parallel, the degree of deviation corresponds to the image data read out in each memory.
The read image data is organized into image data corresponding to the relative position within the window of the window according to the relative position of the pixel in the window, and the image data is stored in each memory. When writing, the image data given corresponding to the relative position within the window in the window is written according to the degree of the shift and the relative position within the window of the pixel corresponding to the image data to be written into each memory. It includes a data organization circuit that organizes image data corresponding to relative positions within the reference window and writes the data in parallel to each memory.

次に本発明による画像処理装置の実施例を添付図面を参
照して詳細に説明する。
Next, embodiments of an image processing apparatus according to the present invention will be described in detail with reference to the accompanying drawings.

第1図は処理すべき画像の2次元画素配列を表わす直交
座標系(j%j)(i%jは整数)を示す。この画素配
列(i、j)において一般に、1辺がR+1 (Rは自
然数)なる大きさの正方形の領域、すなわち「窓」には
(R+1)”個の画素が含まれるが、この窓を W(i、j)4((i+I、j+J ) I L J=
Os 1、・・・、R)と定義する。これは、たとえば
第1図の点線で囲まれた正方形の領域であり、w (i
、 j)で。表わされる。第1図において座標軸、すな
わちj軸およびj軸を基準としてたがいに重なり合わな
いように隣接して配置された窓を「基準窓JW、、Q 
 と称し、 WP%。= W (P (P+1)、Q(P+1) )
と定義する。ただしP、Qは負でない整数である。基準
窓は第1図では実線で囲まれた正方形の領域である。
FIG. 1 shows a rectangular coordinate system (j%j) (i%j is an integer) representing a two-dimensional pixel array of an image to be processed. Generally, in this pixel array (i, j), a square area with one side of size R+1 (R is a natural number), or a "window", contains (R+1)" pixels, but this window is defined as W (i, j) 4 ((i+I, j+J) I L J=
Os 1, ..., R). This is, for example, the square area surrounded by the dotted line in Figure 1, w (i
, j). expressed. In Fig. 1, the windows arranged adjacent to each other without overlapping each other with respect to the coordinate axes, that is, the j-axis and the j-axis, are referred to as "reference windows JW, , Q.
It is called WP%. = W (P (P+1), Q(P+1))
It is defined as However, P and Q are non-negative integers. The reference window is a square area surrounded by a solid line in FIG.

以後の説明から明らかになるように、画素データを蓄積
するメモリとしてのノ・−ドウエアを有効に利用するた
めにはR,PおよびQは2のべき乗数である方が有利で
ある。そこで、 R+ 1 = 2 r(2) pg(o、1、・・・、2nP−1) (3) Qg(0,1、・・・、2nQ−1)     (4)
とする。ただしr%npおよびn、は正の整数である。
As will become clear from the following description, it is advantageous for R, P, and Q to be powers of 2 in order to effectively utilize the hardware as a memory for storing pixel data. Therefore, R+ 1 = 2 r(2) pg(o, 1,..., 2nP-1) (3) Qg(0, 1,..., 2nQ-1) (4)
shall be. However, r%np and n are positive integers.

したがって第1図の2次元画素配置 P+ n Q 列における基準窓W ゛ の総数は2  個P% Q である。Therefore, the two-dimensional pixel arrangement in Figure 1 P + n Q The total number of reference windows W in the column is 2 P% Q It is.

本発明による画像処理袋装置では、基準窓WP1.に含
まれる各画素のデータ d (P2r+U、 Q2r+V) :U%Vj (O
ll、・・・、R)(5) は、(P+1)2個の物理的に独立したメモリチップS
U、、のPおよびQに対応するアドレスAP、、で指定
されるロケーションすなわち記憶位置に蓄積される。換
言すれば、ある基準窓WP、 、に含まれ、その基準窓
における相対的位置すなわち基準窓内相対位置が(U、
V)である画素の画像データはメモリチップS  のア
ドレスA  に対応する口Us ’       ps
 Q ケーションに、たとえば1メモリ語として蓄積される。
In the image processing bag device according to the present invention, reference window WP1. Data d of each pixel included in (P2r+U, Q2r+V) :U%Vj (O
ll,...,R) (5) is (P+1) two physically independent memory chips S
It is stored at the location specified by the address AP, , corresponding to P and Q of U, , that is, the storage location. In other words, it is included in a certain reference window WP, , and the relative position in the reference window, that is, the relative position within the reference window is (U,
The image data of the pixel V) is the address Us' ps corresponding to the address A of the memory chip S.
For example, it is stored in the Q application as one memory word.

したがって1個のメモリチップ”’U、Vについてみれ
ば、このチップは各基準窓WP、 、において基準窓内
相対位置が(U%V)である画素のデータd (P2 
 +U、 Q2  +V)をアドレスAP1.に対応し
て記憶している、すなわち「扱う」ことになる。これに
よって画面上任意に位置指定可能な窓アクセスメモリを
最小のチップ数で構成することができる。
Therefore, if we look at one memory chip ``U, V, this chip has pixel data d (P2
+U, Q2 +V) to address AP1. It is remembered, that is, "handled" in correspondence with. As a result, a window access memory whose position on the screen can be specified arbitrarily can be configured with a minimum number of chips.

ここで説明の便宜上、メモリチップSU、Vのアドレス
線の上位ビットなPで、下位ピットをQで定めるように
アドレスA  を与えるF、Q ものとする。すなわち、 Q AP、、=P2  +Q       (6)とする。
Here, for convenience of explanation, it is assumed that F, Q give an address A such that P is the upper bit of the address line of the memory chips SU, V and Q is the lower pit. That is, Q AP, ,=P2 +Q (6).

なお、これらの説明において、基準窓WP1.を含めて
窓(i、j)の大きさを正方形としたが、勿論、長方形
であってもよく、−辺の長さをP+1以下の任意の数値
とすることによってi軸方向とj軸方向の長さが異なっ
た長方形に2次元画素配列(i、j)を分割してもよい
In addition, in these descriptions, reference window WP1. Although the size of the window (i, j) including The two-dimensional pixel array (i, j) may be divided into rectangles with different lengths.

ところで一般の窓W (i% j)は、1=P2r+M
:  M!(0,1、・・・、R)   (7)j=Q
2r+N;  N1(0%1%−・・、R)   (8
)とすると、M、N=0の場合のみ基準窓WP1.と一
致し、それ以外の場合は基準窓2、Q   P+1、Q
   Pl、+1 および(またW     、W  
     、W は)WP+11.+、の一部分−を含む。したがって、
前述のように基準窓W  に対応するアP% Q ドレスA  で指定されるロケーションに画P% Q 素データを蓄積したメモリチップS、、2において、窓
W(t、j)に対応する画素データにアク七スするため
には、窓W(i%j)に含まれる最大4個の上述の基準
窓に相当するアト、、    −+− レスA 黄 %(P   PまたはP+1、Q”−Qま
たはQ+1)を用いることになる。
By the way, the general window W (i% j) is 1=P2r+M
: M! (0,1,...,R) (7)j=Q
2r+N; N1 (0%1%-..., R) (8
), the reference window WP1 . otherwise, reference window 2, Q P+1, Q
Pl, +1 and (also W , W
, W is) WP+11. +, including a part of -. therefore,
As mentioned above, in the memory chip S, 2 which stores the pixel data at the location specified by the address A corresponding to the reference window W, the pixel corresponding to the window W(t, j) In order to access the data, at most four of the above-mentioned reference windows included in the window W(i%j) must be used. Q or Q+1) will be used.

このアドレスA、−%、−は、窓W (i%j)の基準
窓WP1.からのずれの程度、すなわちMおよびNの値
に応Bて異なったメモリチップSUVにおける対応する
ロケーションを指定する。あるメモリチップ陥、2に着
目するとそのチップ陥、2には各基準窓WP、 、にお
ける基準窓内相対位置(U、V)の画像データがアドレ
スA  に対応して蓄積されているP、Q が、当然のことながら第1図かられかるように、それら
のデータが一般の窓W(i、j)におけるいかなる窓内
相対位置(■、J)を占める画素のデータd(i+I、
j+J)であるかは、MおよびNに依存する。ただし 工6(0,1、・・・、R) Jt(o、1、・・・、R) である。この様子を簡潔に示すため、たとえばj方向の
1次元画素配列について、画素jの窓内相対位置Jとそ
れに対応する画素配列上の位置、すなわち画面上位置Q
  2  +Vとの関係を第1表に掲載する。
This address A, -%, - is the reference window WP1. of the window W (i%j). According to the degree of deviation from B, that is, the values of M and N, corresponding locations in different memory chips SUV are specified. Focusing on a certain memory chip defect 2, in that chip defect 2, image data of relative positions (U, V) within the reference window in each reference window WP, , are stored corresponding to address A, P, Q. However, as can be seen from Fig. 1, these data are the pixel data d(i+I,
j+J) depends on M and N. However, it is Jt(o, 1, . . ., R). To briefly illustrate this situation, for example, for a one-dimensional pixel array in the j direction, the relative position J in the window of pixel j and its corresponding position on the pixel array, that is, the position Q on the screen.
2 The relationship with +V is listed in Table 1.

第1表 この表によれば、Nの値に応じて、窓内相対位置Jに対
応する、画面上位置Q”2r+vをきめるQ およびV
の値が変化する。つまり、 N+J≦Rのとき Q  −Q%V=N+J     
(9)N+J≧R+1のとき Q  =Q+1、V−N
+J −(R+1 )1 であり、Nが大きいほどQ+1なるアドレスでアクセス
されるメモリチップの数が増加する。
Table 1 According to this table, Q and V determine the position Q"2r+v on the screen corresponding to the relative position J in the window according to the value of N.
The value of changes. In other words, when N+J≦R, Q -Q%V=N+J
(9) When N+J≧R+1, Q = Q+1, V-N
+J − (R+1)1, and the larger N is, the more memory chips are accessed at the address Q+1.

この様子を個々のメモリチップに着目して整理したのが
第2表および第3表である。
Tables 2 and 3 summarize this situation by focusing on individual memory chips.

第2表 第3表 第2表はj方向について各メモリチップに供給される下
位アドレスQ を示す。たとえばj方向において基準窓
内相対位置Vに対応するメモリチップは、Nの値がv以
下のときは下位アドレスQ”としてQでアクセスされ、
■より大きいときはQ+lでアクセスされる。
Table 2 Table 3 Table 2 shows the lower address Q supplied to each memory chip in the j direction. For example, the memory chip corresponding to the relative position V within the reference window in the j direction is accessed with Q as the lower address Q'' when the value of N is less than or equal to v,
If it is larger than (2), it is accessed with Q+l.

第3表はj方向について画素の窓内相対位置Jとメモリ
チップとの対応を示し、これによれば、各メモリチップ
はアクセスされた画素データをNの値に応じて異なった
窓内相対位置Jに対応するデータとして扱う。したがっ
て、j方向については、一般の窓の画素データをアクセ
スするに際し、各メモリチップは第2表に示す下位アド
レスQ”(<2 Q−1)で画素データにアクセスされ
、このアクセスされた画素データは第3表に示す窓内相
対位置Jに対応するものとして処理される。
Table 3 shows the correspondence between the relative position J of a pixel within the window and the memory chip in the j direction. According to this table, each memory chip stores accessed pixel data at a different relative position within the window according to the value of N. Treated as data corresponding to J. Therefore, in the j direction, when accessing pixel data of a general window, each memory chip accesses the pixel data at the lower address Q"(<2 Q-1) shown in Table 2, and the accessed pixel The data is processed as corresponding to the relative position J within the window shown in Table 3.

i方向の画素配列についても同様に、 M+I≦Rのとき P  −P、 U=M+I    
 C+1)M+I≧R+1のときP条=P+1 、U=
M+I−(R+1)(2) である。
Similarly, for the pixel arrangement in the i direction, when M+I≦R, P −P, U=M+I
C+1) When M+I≧R+1, P article=P+1, U=
M+I-(R+1)(2).

したがってメモリチップSU、Vからなる窓アクセスメ
モリは、窓W (iX j)を指定するiおよびjから
各メモリチップSU、Vの上位および下位アドレスP 
およびQ を決定し、これらのアドレスP”およびQ 
で指定される各メモリチップSU、Vの画素データ語を
並列にアクセスする。各メモリチップSU、Vでアクセ
スされたこれらのデータ語は、当該窓W(i、j)のM
およびNの値に応じてきまるその窓内相対位置(工、J
)に対応するデータ線にて扱われる、すなわち読み出さ
れたり、書き込まれたりする。
Therefore, a window access memory consisting of memory chips SU, V has the upper and lower addresses P of each memory chip SU, V from i and j specifying the window W (iX j).
and Q, and these addresses P'' and Q
The pixel data words of each memory chip SU, V specified by are accessed in parallel. These data words accessed in each memory chip SU, V are stored in M of the window W(i,j)
and its relative position within the window depending on the value of N (Eng., J
) is handled, that is, read or written, by the corresponding data line.

この機能を実現する画像処理装置の一例が第2図に示さ
れている。同図において画像処理装置は、第1図に示す
2次元画素配列の画像データを蓄積するメモリチップS
。0−8RRを有する。各メモリチップS。Q””””
RRは相互に独立してアクセス可能であり、通常は物理
的に相互に分離していることが望ましい。
An example of an image processing device that realizes this function is shown in FIG. In the same figure, the image processing device includes a memory chip S that stores image data of the two-dimensional pixel array shown in FIG.
. It has 0-8RR. Each memory chip S. Q””””
It is desirable that the RRs be independently accessible from each other and typically physically separated from each other.

メモリチップS。0”’=SRRは、それぞれ、第1図
に示す各基準窓における対応する基準窓内相対位41(
U、V)の画像データをアドレスAP 、Qで指定され
るロケーションに蓄積する。
Memory chip S. 0"'=SRR is the relative position 41 (within the corresponding reference window) in each reference window shown in FIG.
The image data of U, V) is stored at the location specified by the address AP, Q.

各メモリテップS。0”””’RRの上位アドレス51
opo〜IQPRは上位アドレスコンバータ12Pに接
続され、下位アドレス線10QO〜10QIlj:下位
アドレスコンバ−タータQに接続されている。上位アド
レス線10PO〜10PRはビット数nPであり、各基
準窓におけるi方向の基準窓内相対位置Uが同一である
メモリチーツブ5UO=SURのn 本の上位アドレス
線が複式べされ、上位アドレスコンバーター2Pのアド
レス出力に接続されている。したがって各メモリチップ
S 00 ” SRRは、基準窓内相対位置Uが同一で
あるチップの群ごとに同じ上位アドレスPで画像データ
にアクセスされる。同様に、下位アドレス線10QO〜
IQQRはビット数n、であり、各基準窓におけるj方
向の基準窓内相対位置Vが同一であるメモリチップS 
 −8のn3本の下位アドレス線が複OV      
RV 式にされ、下位アドレスコンバーター2Qのアドレス出
力に接続されている。したがって各メモリテップS。0
”””””RRは、基準窓内相対位置■が同一であるテ
ップの群ごとに同じ下位アドレスQで画像データにアク
セスさfzる。
Each memory step S. Upper address 51 of 0"""'RR
opo to IQPR are connected to the upper address converter 12P, and lower address lines 10QO to 10QIlj are connected to the lower address converter Q. The upper address lines 10PO to 10PR have the number of bits nP, and the n upper address lines of the memory block 5UO=SUR, in which the relative position U in the reference window in the i direction in each reference window is the same, are duplicated and the upper address converter 2P connected to the address output of Therefore, each memory chip S00''SRR is accessed to image data at the same upper address P for each group of chips having the same relative position U within the reference window.Similarly, the lower address lines 10QO~
IQQR is the number of bits n, and the memory chip S has the same relative position V in the reference window in the j direction in each reference window.
-8 n3 lower address lines are double OV
RV type and connected to the address output of lower address converter 2Q. Therefore each memory step S. 0
``''''''''The RR accesses the image data at the same lower address Q for each group of steps having the same relative position within the reference window fz.

下位アドレスコンバータ12Qは入力14Qおよび14
Nを有し、これによって窓(i、 j)の下位アドレス
jとしてQおよびNが下位アドレスコンバータ12Qに
入力される。したがって入力14Qはn、ビット、14
Nはrピットを有する。下位アドレス出力ノ(−タ12
Qは、入力14Qから入力された窓W (1%  j)
のj方向の下位アドレスQを、入力14Nから入力され
た値Nおよび基準窓内相対位置Vに応じて実際の下位−
アドレス(”に変換し、メモリチップ゛−8oo−8−
のVに応じて対応するQ をアドレス線10QO〜1O
QRに並列に出力するアドレス変換回路である。この変
換は第2表に従って行なわれ、たとえばNが2であれば
、チップSU0および陥、の−下位アドレス線10QO
および10Q1にはQ としてQ+lが、その他のチッ
プ5tr2〜SURの下位アドレス線10Q2〜10Q
RにはQ”としてQが出力される。上位アドレスコンバ
ータ12Pも同様に、入力14Pおよび14Mを有し、
MおよびUに応じて上位アドレスPを実際の上位アドレ
スP7に変換し、メモリチップS。0〜SRRのUに応
じて対応するP”をアドレス線10PO〜l0PRに出
力するアドレス変換回路である。これらのアドレスコン
バータ12Pおよび12Qは、第2表およびそれに準じ
たアドレス変換を行なう単純な組合せ論理回路で実現す
ることができ、読出し専用メモリ(ROM)にて実現す
ることが望ましい メモリチップS。o−8RRは、画素データ語の読出し
および書込みを行なうデータ線DOO〜DRRを有し、
これらはデータセレクタ16に接続されている。データ
セレクタ16は他のデータ線d00〜dRRを有し、メ
モリチップS。、〜Soからデータ線DOO〜DRRに
基準窓、Q Q一対位置(U、V)に対応して読み出さ
れた画素データを窓内相対位置(■、J)に対応するデ
ータ線d00〜dRRに位置を変換して出力し、また、
データ線doO〜dRRに窓内相対位置(■、J)に対
応して与えられた画素データを基準窓内相対位置(U、
V)に対応するデータ線DOO〜DRHに位置を変換し
て出力し、メモリテップS。0”SRHに書込み用デー
タを供給する変換回路である・。この変換のためにデー
タセレクタ16にはリード14Mおよび14NからMお
よびNが入力される。なお、窓アクセスメモリS。0〜
SRRの読出しくR)および書込み(W)の制御はリー
ドR/Wによって行なう。データセレクタ16における
このようなデータの変換は前掲の第3表などに従って行
なわれる。たとえばj方向について見ると、アドレス指
定された窓W (i%j)c7)Nが1であれば、メモ
リチップsUo〜sURからデータ線000−DRHに
は、窓内相対位置JがR,Oll、・・・、R−2およ
びR−1に対応する画素データとして読み出されるが、
データセレクタ16はこれを0.1、・・・、R−1、
Rなる順序の画素データに位置変換してデータ線doO
〜dRRに出力する。また、書込みの場合は、データ線
doO〜dRRに与えられた画素データを窓内相対位置
JがR10,1、・・・、R−2およびR−1に対応す
るように位置変換してデータ線D00〜DRRに出力し
、メモリチップS。0””’SRRに書込む。
Lower address converter 12Q has inputs 14Q and 14
N, thereby inputting Q and N to the lower address converter 12Q as the lower address j of window (i, j). Therefore, input 14Q is n, bits, 14
N has r pits. Lower address output node (-ta 12
Q is the window W (1% j) input from input 14Q
The lower address Q in the j direction of
Convert the address (” to memory chip “-8oo-8-
The corresponding Q is set according to the V of address lines 10QO to 1O.
This is an address conversion circuit that outputs parallel to QR. This conversion is performed according to Table 2, for example, if N is 2, the -lower address line 10QO of chip SU0 and
and 10Q1 has Q+l as Q, and lower address lines 10Q2 to 10Q of other chips 5tr2 to SUR.
Q is output as "Q" to R. Similarly, the upper address converter 12P has inputs 14P and 14M,
The upper address P is converted into an actual upper address P7 according to M and U, and the memory chip S is converted. This is an address conversion circuit that outputs a corresponding P'' to address lines 10PO to 10PR according to U of 0 to SRR.These address converters 12P and 12Q are simple combinations that perform address conversion according to Table 2 and the table. The memory chip S.o-8RR can be realized by a logic circuit, and is preferably realized by a read-only memory (ROM), and has data lines DOO to DRR for reading and writing pixel data words.
These are connected to the data selector 16. The data selector 16 has other data lines d00 to dRR and is connected to the memory chip S. , ~So to the data lines DOO~DRR using the reference window, and the pixel data read out corresponding to the pair of QQ positions (U, V) are transferred to the data lines d00~dRR corresponding to the relative positions within the window (■, J). Convert the position to and output it, and also
The pixel data given to the data lines doO to dRR corresponding to the relative positions within the window (■, J) are transferred to the relative positions within the reference window (U,
The memory step S converts the position and outputs the data lines DOO to DRH corresponding to V). 0" is a conversion circuit that supplies write data to SRH. For this conversion, M and N are input from leads 14M and 14N to data selector 16. Note that window access memory S.0 to
Read R) and write (W) of SRR are controlled by read R/W. Such data conversion in the data selector 16 is performed according to Table 3 mentioned above. For example, looking at the j direction, if the addressed window W (i%j)c7)N is 1, the relative position J within the window is R,Oll from the memory chips sUo to sUR to the data line 000-DRH. ,..., are read out as pixel data corresponding to R-2 and R-1, but
The data selector 16 sets this as 0.1, . . . , R-1,
The position is converted to pixel data in the order R and the data line doO
~ Output to dRR. In addition, in the case of writing, the pixel data given to the data lines doO to dRR are position-transformed so that the relative position J within the window corresponds to R10, 1, ..., R-2, and R-1. Output to lines D00 to DRR and memory chip S. 0""'Write to SRR.

データセレクタ16は、このような位置変換を行なう単
純な組合せ論理回路であるので、アドレスコンバータ1
2Pまたは12Qと同じように読出し専用メモリで構成
してもよいが、データの転送方向が読出し時と書込み時
とでは正反対に−なるため、双方向マルチプレクサにて
実現した方がノ・−ドウエア規模を小さくすることがで
きる。
Since the data selector 16 is a simple combinational logic circuit that performs such position conversion, the address converter 1
It can be configured with a read-only memory like 2P or 12Q, but since the data transfer direction is the opposite for reading and writing, it is better to implement it with a bidirectional multiplexer, which reduces the hardware size. can be made smaller.

動作を説明すると、窓w (1% J )のアドレスP
、M%QおよびNがアドレス人力14P。
To explain the operation, address P of window w (1% J)
, M%Q and N are address manual 14P.

14M、14Qおよび14Nに与えられると、アドレス
コンバータ12Pおよび12QはこれをアドレスP お
よびQ に変換する。したがって各チップS。0”””
”RRの、アドレス人力10P1〜10PRおよび1 
oQo〜10QRには前述のようにMおよびNに応じて
変換されたアドレスP”およびQ”が与えられる。読出
しの指定がリードR/Wに与えられると、各メモリチッ
プS。0”SRRはアドレスP”およびQ で指定され
たロケーションからデータ線DOO〜DRHに画素デー
タを並列に読み出す。データセレクタ16はデータ線D
OO〜DRRに読み出された画素データなMおよびNの
値に応じて位置を変換し、データ線d00〜dRRに窓
内相対位置(I、J)に対応した画素データd(i、j
)、・・・、d (i+Rs j +R)として並列に
出力する。また、書込みの指定がリードR/Wに与えら
れると、データセレクタ16はデータ線d00〜dRR
に与えられた画素データをMおよびNの値に応じて位置
を変換し、データ線DOO〜DRRに基準窓内相対位t
(U、V)に対応した画素データとして出力する。各メ
モリチップS −8RRはデータ線DOO〜DRRO の画素データを前述のアドレスコンバータ12Pおよび
12Qの出力であるアドレスP矢およびQ又で指定され
たロケーションに並列に書込む。
14M, 14Q and 14N, address converters 12P and 12Q convert this to addresses P and Q. Therefore each chip S. 0”””
"RR's address human power 10P1~10PR and 1
Addresses P" and Q" converted according to M and N are given to oQo to 10QR as described above. When a read designation is given to the read R/W, each memory chip S. 0"SRR reads pixel data in parallel from locations specified by addresses P" and Q to data lines DOO-DRH. Data selector 16 is data line D
The position of the pixel data read out from OO to DRR is converted according to the values of M and N, and the pixel data d (i, j
), ..., d (i+Rs j +R) and output in parallel. Furthermore, when a write designation is given to the read R/W, the data selector 16 selects the data lines d00 to dRR.
The position of the pixel data given to is converted according to the values of M and N, and the relative position t within the reference window is set to the data lines DOO to DRR.
Output as pixel data corresponding to (U, V). Each memory chip S-8RR writes pixel data of data lines DOO to DRRO in parallel to locations designated by addresses P and Q, which are the outputs of address converters 12P and 12Q.

本発明による画像処理装置は以上のように構成したこと
により、バッファメモリなどを介在させることなく最小
のハードウェア規模で窓アクセスメモリに高速並列アク
セスを行なうことができる。この窓アクセスメモリのア
クセス時間は、メモリチップS。0〜SRRのアクセス
時間とアドレスコンバータ12Pまたは12Qおよびデ
ータセレクタ16の伝搬遅延時間との和であり、バッフ
ァメモリを介在させた場合より非常に小さい。ハードウ
ェア規模としては、画像データメモリとしてn p +
 n Q 1ピットプレーン当り2    ×1ビットのr リードライトメモリを2 個、上位アドレスn p +
 r コンバータとして2   Xn pビットのROMをR
個、下位アドレスコンバータとしてn   +r 2(2Xn、ピットのROMをR個、およびデータセレ
クタとして1ビットプレーン当り22r チャネル双方
向マルチプレクサを22r個を使用する。たとえば1つ
の実験例として、4X4個の画素の窓アクセスを行なえ
る256X256画素のビットプレーン窓アクセスメモ
リは、16個の4に×1ピットのリードライトメモリ(
たとえば2141など)、6個の256X6ビツトのR
OM (たとえばTBP28L22など)、および16
個の16チヤネル双方向マルチプレクサ(たとえば40
67Bなど)で構成することができる。
By having the image processing apparatus according to the present invention configured as described above, it is possible to perform high-speed parallel access to the window access memory with the minimum hardware scale without intervening a buffer memory or the like. The access time of this window access memory is the memory chip S. This is the sum of the access time of 0 to SRR and the propagation delay time of address converter 12P or 12Q and data selector 16, which is much smaller than when a buffer memory is interposed. In terms of hardware scale, n p + as image data memory
n Q 2 x 1 bit r read/write memory per pit plane, upper address n p +
2 Xn p-bit ROM as a converter
n + r 2 (2 The 256 x 256 pixel bit plane window access memory, which can perform window access, has 16 4 x 1 pit read/write memories (
For example, 2141), 6 256 x 6 bit R
OM (such as TBP28L22), and 16
16-channel bidirectional multiplexer (for example, 40
67B, etc.).

したがって、窓の大きさがとぐに犬きくない限り、容易
に実現可能なハードウェア規模の窓アクセスメモリによ
って画像データの高速並列アクセスを行なうことができ
る。
Therefore, as long as the size of the window is not too large, high-speed parallel access of image data can be performed using an easily realizable hardware-scale window access memory.

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

第1図は本発明の詳細な説明するための2次元画素配列
を表わす直交座標系(i、j)を示す図、 第2図は本発明による画像処理装置の実施例を示すブロ
ック図である。 12P、12Q・・・・・・アドレスコンバータ16 
    ・・・・・・データセレクタSo、〜SRR山
・・・メモリチップ WP1.    ・・・・・・基準窓
FIG. 1 is a diagram showing an orthogonal coordinate system (i, j) representing a two-dimensional pixel array for detailed explanation of the present invention, and FIG. 2 is a block diagram showing an embodiment of an image processing device according to the present invention. . 12P, 12Q...Address converter 16
...Data selector So, ~SRR mountain...Memory chip WP1.・・・・・・Reference window

Claims (1)

【特許請求の範囲】 12次元画素配列を等分割した各基準窓における画像デ
ータを蓄積する互いに独立して読出し書込み可能な複数
のメモリを含み、該複数のメモリの各々は、異なる基準
窓における対応する基準窓内相対位置の画素の画像デー
タを該基準窓の座標に対応したアドレスで指定される記
憶位置に蓄積し、前記2次元画素配列における窓の座標
が与えられると、該窓の座標が基準窓の座標からずれて
いる程度に応じて、該窓の座標から各メモリにおける該
画素の画像データの記憶位置のアドレスを発生して各メ
モリのアドレス指定を行なうアドレス指定回路と、 各メモリから前記窓に含まれる各画素の画像データが並
列に読み出されると、前記ずれの程度と各メモリにおい
て読み出された画像データに対応する画素の該窓におけ
る窓内相対位置とに応じて、該読み出された画像データ
を該窓における窓内相対位置に対応する画像データに編
成して出力し、また、各メモリに画像データを書き込む
ときは、該窓における窓内相対位置に対応して与えられ
た画像データを、前記ずれの程度と各メモリに書き込む
べき画像データに対応する画素の該窓における窓内相対
位置とに応じて、前記基準窓内相対位置に対応する画像
データに編成して各メモリに並列に書き込むデータ編成
回路とを含むことを特徴とする画像処理装置。 2、特許請求の範囲第1項記載の装置において、前記ア
ドレス指定回路は読出し専用メモリを含む組合せ論理回
路からなり、前記データ編成回路は、前記メモリから読
み出されたデータの出力および該メモリへ書き込むデー
タの入力が同一のデータ線で双方向に行なわれる双方向
マルチプレクサからなることを特徴とする画像処理装置
[Scope of Claims] Includes a plurality of memories that can be read and written independently from each other and store image data in each reference window obtained by equally dividing a 12-dimensional pixel array, and each of the plurality of memories stores image data in a different reference window. The image data of a pixel at a relative position within a reference window is stored in a storage location specified by an address corresponding to the coordinates of the reference window, and when the coordinates of the window in the two-dimensional pixel array are given, the coordinates of the window are an addressing circuit that specifies the address of each memory by generating the address of the storage location of the image data of the pixel in each memory from the coordinates of the window according to the degree of deviation from the coordinates of the reference window; When the image data of each pixel included in the window is read out in parallel, the readout is performed according to the degree of the shift and the relative position within the window of the pixel corresponding to the image data read out in each memory. The output image data is organized into image data corresponding to the relative position within the window in the window and output, and when writing the image data to each memory, the image data is organized into image data corresponding to the relative position within the window in the window. The image data is organized into image data corresponding to the relative position within the reference window according to the degree of deviation and the relative position within the window of the pixel corresponding to the image data to be written into each memory. An image processing device comprising: a data organization circuit that writes data in parallel to a memory. 2. The device according to claim 1, wherein the addressing circuit comprises a combinational logic circuit including a read-only memory, and the data organization circuit outputs data read from the memory and outputs the data to the memory. An image processing device comprising a bidirectional multiplexer in which data to be written is input in both directions using the same data line.
JP56197933A 1981-12-09 1981-12-09 Picture processor Pending JPS5899835A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56197933A JPS5899835A (en) 1981-12-09 1981-12-09 Picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56197933A JPS5899835A (en) 1981-12-09 1981-12-09 Picture processor

Publications (1)

Publication Number Publication Date
JPS5899835A true JPS5899835A (en) 1983-06-14

Family

ID=16382696

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56197933A Pending JPS5899835A (en) 1981-12-09 1981-12-09 Picture processor

Country Status (1)

Country Link
JP (1) JPS5899835A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0189325A2 (en) * 1985-01-23 1986-07-30 Victor Company Of Japan, Limited Picture information processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0189325A2 (en) * 1985-01-23 1986-07-30 Victor Company Of Japan, Limited Picture information processing system

Similar Documents

Publication Publication Date Title
JPH0425586B2 (en)
US8341328B2 (en) Method and system for local memory addressing in single instruction, multiple data computer system
JP3222979B2 (en) Using fast page mode in full rotation cases
US6085304A (en) Interface for processing element array
WO2002019129A2 (en) Method and apparatus for connecting a massively parallel processor array to a memory array in a bit serial manner
JPH01283676A (en) Read-out processing system for window image data
JPS5899835A (en) Picture processor
Herron et al. A general-purpose high-speed logical transform image processor
JP2003108437A (en) Stored-memory data processing device
JP2781550B2 (en) Parallel processing computer
JPS6037930B2 (en) information storage device
JP2769384B2 (en) Arithmetic control IC and information processing device
JP2719589B2 (en) One-chip semiconductor storage device
JPH04153753A (en) Cache memory control system
JPS58201165A (en) Rearranging circuit for digital data
JPH0754544B2 (en) Image memory access circuit
JPH08328994A (en) Information processor
JP2507399B2 (en) Database equipment
JPS6340972A (en) Memory control system
JPH01201780A (en) Information processor
JPH06208614A (en) Image processor
JPS6054055A (en) Storage device
JPS59218690A (en) Buffer memory
JPH0312752A (en) Picture data access system
JPH07122899B2 (en) High speed rotation circuit