Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0375905B2 - - Google Patents
[go: Go Back, main page]

JPH0375905B2 - - Google Patents

Info

Publication number
JPH0375905B2
JPH0375905B2 JP56118751A JP11875181A JPH0375905B2 JP H0375905 B2 JPH0375905 B2 JP H0375905B2 JP 56118751 A JP56118751 A JP 56118751A JP 11875181 A JP11875181 A JP 11875181A JP H0375905 B2 JPH0375905 B2 JP H0375905B2
Authority
JP
Japan
Prior art keywords
address
memory
image memory
image
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP56118751A
Other languages
Japanese (ja)
Other versions
JPS5819955A (en
Inventor
Takayuki Ozaki
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.)
Toshiba Corp
Original Assignee
Tokyo Shibaura Electric Co 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 Tokyo Shibaura Electric Co Ltd filed Critical Tokyo Shibaura Electric Co Ltd
Priority to JP11875181A priority Critical patent/JPS5819955A/en
Publication of JPS5819955A publication Critical patent/JPS5819955A/en
Publication of JPH0375905B2 publication Critical patent/JPH0375905B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/34Addressing or accessing the instruction operand or the result ; Formation of operand address; Addressing modes
    • G06F9/355Indexed addressing

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Image Input (AREA)
  • Complex Calculations (AREA)

Description

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

この発明はパターン認識装置等に使用される画
像メモリ装置に関する。 従来、画像メモリ装置のアドレス発生は、第1
図に示すようにプログラムによりメモリアドレス
を直接指示する方法、あるいは第2図に示すよう
に直接指示した値から+1づつアツプカウントす
る方法等が実施されている。 ところで、従来の、画像メモリ装置において
は、次に示すような問題点及び要求があつた。す
なわち、 (1) 画像データは第3図に示す二次元のデータ配
列であるが、画像メモリは第4図に示す一次元
の配列、構造である。このため従来二次元デー
タの読出し、書込みはプログラムで計算し、そ
の結果を指定していたので、高速化は困難であ
つた。 (2) メモリアドレスデータは、アドレス指定後読
出し、書込み可能となるのにある時間(前回使
用のアドレスデータを、今回使用のアドレスデ
ータを作成してこのデータに置き代えるまで)
を必要とするため、アドレス指定後むだな時間
を生じる。 (3) 画像メモリのデータは何回かの読出し、書込
みを繰返して処理するため、アドレス発生は簡
単でかつ高速性を必要とする。 (4) 大量の画像データを記憶する画像メモリ装置
には容易にメモリ容量の拡張が可能であること
が必要である。 (5) ある番地のデータの読出しをその同一番地に
書込みをすると、新しい番地信号を発生し、ま
たその逆も可能なことが望ましい。 この発明は上記実情に鑑みてなされたもので、
その目的は、大量の画像データ群を簡単かつ高速
で、一次元配列データをあたかも二次元配列デー
タとして読出し及び書込みのできる画像メモリ装
置を提供することにある。 以下、図面を参照してこの発明の一実施例を説
明する。第5図において、1はメモリアドレス演
算器、2はアドレス修飾レジスタ、3は画像メモ
リである。アドレス演算器1及びアドレス修飾レ
ジスタ2には計算機、その他の制御装置21から
各々の信号が入力される。すなわち、演算器1の
CM端子には制御バス4を介して制御信号が入力
され演算指定が行われる。A端子にはアドレスバ
ス5を介して画像メモリ3のアドレス信号が入力
され、さらにB端子にはアドレス修飾レジスタ2
から出力されたアドレス修飾信号が入力される。
アドレス修飾レジスタ2は、データバス6からの
データ及び、制御バス4からの制御信号を受け
て、上記アドレス修飾データをアドレス演算器1
に送る。 メモリアドレス演算器1は入力した信号により
種々のアドレス計算を行い、Q端子からメモリア
ドレスバス7を介して画像メモリ3にアドレス信
号を送る。また、読出し信号及び書込み信号は前
記制御装置21から画像メモリ3へ送られる。画
像データは、画像データバス8を介して上記のよ
うにして作られたアドレス信号に従つて伝送され
る。 9はデコーダで、このデコーダ9には、上記書
込み信号、読出し信号と共に前記制御信号4が入
力されており、画像データの伝送が終了し、この
終了の信号により、読出し、書込み後計算指令に
よる指定がある場合、メモリアドレスデータラツ
チ信号をアドレス演算器1に出力する。そして、
このアドレス演算器1は再びメモリアドレスの計
算をし、次のデータ伝送の準備がされる。 第6図は上記メモリアドレス演算器1の具体的
な構成を示すもので、レジスタ10、演算器11
及びレジスタ12により構成される。次表はこの
メモリアドレス演算器1の演算機能の一例を示す
ものである。
The present invention relates to an image memory device used in a pattern recognition device or the like. Conventionally, address generation in an image memory device is performed using the first
As shown in the figure, a method of directly specifying a memory address by a program, or a method of incrementing the directly specified value by +1 as shown in FIG. 2, etc., have been implemented. By the way, conventional image memory devices have the following problems and demands. That is, (1) The image data is a two-dimensional data array as shown in FIG. 3, but the image memory has a one-dimensional array and structure as shown in FIG. For this reason, conventionally, reading and writing two-dimensional data was calculated by a program and the results were specified, making it difficult to increase the speed. (2) It takes a certain amount of time for memory address data to become readable and writable after the address is specified (until the address data used last time is replaced with the address data used this time).
This results in wasted time after address specification. (3) Since data in the image memory is processed by repeatedly reading and writing several times, address generation must be simple and fast. (4) An image memory device that stores a large amount of image data needs to be able to easily expand its memory capacity. (5) It is desirable to be able to generate a new address signal when data at a certain address is read and written to the same address, and vice versa. This invention was made in view of the above circumstances.
The object is to provide an image memory device that can read and write a large amount of image data simply and quickly, and one-dimensional array data as if it were two-dimensional array data. Hereinafter, one embodiment of the present invention will be described with reference to the drawings. In FIG. 5, 1 is a memory address calculator, 2 is an address modification register, and 3 is an image memory. Signals are input to the address calculator 1 and the address modification register 2 from a computer and other control devices 21, respectively. In other words, the calculation unit 1
A control signal is input to the CM terminal via the control bus 4 to designate an operation. The address signal of the image memory 3 is input to the A terminal via the address bus 5, and the address modification register 2 is input to the B terminal.
The address modification signal output from the address modification signal is input.
The address modification register 2 receives the data from the data bus 6 and the control signal from the control bus 4, and transfers the address modification data to the address calculator 1.
send to The memory address calculator 1 performs various address calculations based on the input signals, and sends an address signal to the image memory 3 from the Q terminal via the memory address bus 7. Further, read signals and write signals are sent from the control device 21 to the image memory 3. Image data is transmitted via the image data bus 8 in accordance with the address signal generated as described above. Reference numeral 9 denotes a decoder, to which the control signal 4 is input together with the write signal and the read signal, and the transmission of the image data is completed, and this completion signal causes the specification by the read and write post-calculation commands to be input. If there is, a memory address data latch signal is output to the address calculator 1. and,
This address calculator 1 calculates the memory address again and prepares for the next data transmission. FIG. 6 shows a specific configuration of the memory address arithmetic unit 1, in which the register 10, the arithmetic unit 11
and a register 12. The following table shows an example of the arithmetic functions of this memory address arithmetic unit 1.

【表】 次に、第7図を参照して画像処理の投影法の一
例についてこの発明の動作を説明する。第8図に
示す二次元のデータの画像データ群(M+1)
(N+1)を投影法により、一次元データへ変換
しデータの圧縮を行う場合、X軸投影像Px()
は Px()=NJ=0 P{I+(M+1)J} となり、画像メモリのアドレスxはX=I+(M
+1)Jなる計算により発生する必要がある。同
様にY軸投影像PY(J)は、 PY(J)=MI=0 P{I+(M+1)J} となる。 ただし I;X軸投影像I番目 J;Y軸投影像J番目 M+1;X軸方向の画像メモリ数 N+1;Y軸方向の画像メモリ数 これより、Y軸投影像は、画像メモリのアドレ
スを順次+1加えながら0〜Mの画像データの総
和を求めることであることがわかる。 また、X軸投影像は、画像メモリのアドレスを
順次+1加えながら0〜Mの画像データの総和を
求めることであることがわかる。 また、X軸投影像はM+1の値を加えながら0
〜Nの画像データの総和を求めることであり、N
個目の加算のさいメモリアドレス演算器1におけ
る加算器の上位の析より析上げを生じるため、こ
れを最下位の析へ加えることで、第8図のメモリ
アドレス修飾が可能である。 すなわち、この発明においては、メモリアドレ
スの発生を従来、絶対番地で指定する方法により
行つていたのに対し、ハードウエア構成にして例
えば第7図の如き二次配列の相対番地で指定する
方法としたので、動作効率がよく高速化が可能で
ある。 一般に、画像メモリは大容量であり、総ての画
像データを処理の対象とはせず第9図のPで示す
部分のみを処理し、さらにこの位置より少しずら
したQで示す部分を処理するという様に順次処理
の対象を移動する方法(相対番地で指定)が主で
ある。従つて、パターン認識、画像処理をする場
合、相対番地指定を、ハードウエアによりプログ
ラムとは別系統で処理するため、プログラムが簡
単になる。 また、画像メモリからデータを伝送後、次のメ
モリアドレスを予めハードウエアで計算しレジス
タ12へ設定するのでほぼメモリ素子の動作速度
で読込み、書込みが可能となる。(実施例ではア
クセスタイム55nsecのメモリ素子を用いて
80nsec、8Kバイト)。また、相対番地方式なので
メモリアドレスバスの大きさに関係なくメモリ容
量の拡張が可能となる。 また、ハードウエアでメモリ番地を発生するた
め、プログラムのステツプ数が減少し処理の速度
が向上する。 さらに、画像メモリの読出し、書込み時にメモ
リアドレスを計算することをプログラムで指定す
ることが可能であるから、フレキシブルなアドレ
ス修飾が可能である。 また本発明は、画像メモリアドレスを制御装置
(CPUに対応)と異なる専用のハードウエアで計
算し設定し、CPUの制御ソフトとは独自にハー
ドウエア的に行つて、画像メモリデータの高速読
出し、書込みを可能とする。また上記メモリアド
レス演算器及びアドレス修飾手段があるため、画
像メモリの部分処理(1画面のある部分のみ指
定)とか、第2図の如き+1の一義的指定とは異
なる+n(nは1以上)の指定とか、第8図の如
き縦方向の連続指定(横方向、斜め方向指定等任
意選択可)等を可能としたものである。また上記
制御装置のプログラムも、アドレス演算制御の節
目だけ操作してやればよいから、プログラムも非
常に簡単化される。 第10図は一次元メモリを二次元の値(X、
Y)で指定可能としたもので、21は縦(Y)方
向のアドレス修飾レジスタ、22は横(X)方向
のアドレス修飾レジスタを示す。 尚、この発明は、テレビジヨン信号等の映像信
号は約100nsec/画素の高速信号のため高速メモ
リを必要とするがその一時記憶(高速画像メモリ
バツフア)として適用可能である。また、画像デ
ータ処理装置の画像メモリとして用いることがで
きる。
[Table] Next, the operation of the present invention will be described with reference to FIG. 7 regarding an example of a projection method for image processing. Image data group (M+1) of two-dimensional data shown in Figure 8
When converting (N+1) into one-dimensional data using a projection method and compressing the data, the X-axis projected image Px()
is Px()= NJ=0 P{I+(M+1)J}, and the image memory address x is X=I+(M
+1) Must be generated by calculation J. Similarly, the Y-axis projected image P Y (J) is P Y (J)= MI=0 P{I+(M+1)J}. However, I; X-axis projected image Ith J; Y-axis projected image Jth M+1; number of image memories in the X-axis direction N+1; number of image memories in the Y-axis direction It can be seen that the sum of image data from 0 to M is calculated while adding +1. Furthermore, it can be seen that the X-axis projection image is obtained by calculating the sum of image data from 0 to M while sequentially adding +1 to the address of the image memory. Also, the X-axis projected image is 0 while adding the value of M+1.
It is to find the sum of image data of ~N, and N
At the time of the second addition, an analysis is generated from the upper analysis of the adder in the memory address arithmetic unit 1, so by adding this to the analysis of the lowest order, the memory address modification shown in FIG. 8 is possible. That is, in the present invention, whereas memory addresses were previously generated by specifying absolute addresses, a method is adopted in which memory addresses are specified by relative addresses in a secondary array as shown in FIG. 7 using a hardware configuration. Therefore, the operation efficiency is high and high speed is possible. In general, image memory has a large capacity, and all image data is not processed, but only the part shown by P in Figure 9 is processed, and the part shown by Q, which is slightly shifted from this position, is processed. The main method is to sequentially move the processing target (specified by relative address). Therefore, when performing pattern recognition and image processing, the relative address designation is processed by hardware in a separate system from the program, which simplifies the program. Further, after data is transmitted from the image memory, the next memory address is calculated in advance by hardware and set in the register 12, so that reading and writing can be performed almost at the operating speed of the memory element. (In the example, a memory element with an access time of 55 nsec was used.
80nsec, 8KB). Furthermore, since it is a relative address system, the memory capacity can be expanded regardless of the size of the memory address bus. Furthermore, since memory addresses are generated by hardware, the number of program steps is reduced and processing speed is improved. Furthermore, since it is possible to specify in a program that a memory address is calculated when reading and writing to the image memory, flexible address modification is possible. In addition, the present invention calculates and sets the image memory address using dedicated hardware different from the control device (corresponding to the CPU), and performs high-speed reading of image memory data using hardware independent of the CPU control software. Enable writing. In addition, since there is the above-mentioned memory address calculator and address modification means, partial processing of the image memory (specifying only a certain part of one screen) and +n (n is 1 or more), which is different from the unique designation of +1 as shown in Fig. 2, are performed. , continuous designation in the vertical direction (horizontal direction, diagonal direction designation, etc. can be arbitrarily selected) as shown in FIG. 8. Furthermore, the program for the control device can be greatly simplified since it is only necessary to perform operations at the nodes of address arithmetic control. Figure 10 shows the one-dimensional memory as the two-dimensional value (X,
2 1 is an address modification register in the vertical (Y) direction, and 2 2 is an address modification register in the horizontal (X) direction. The present invention can be applied as temporary storage (high-speed image memory buffer) for video signals such as television signals, which require high-speed memory because they are high-speed signals of about 100 nsec/pixel. Further, it can be used as an image memory of an image data processing device.

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

第1図、第2図はそれぞれ従来のメモリアドレ
ス発生方法を示すブロツク図、第3図はメモリ素
子の配列を二次元画像データの配列に並べかえた
図、第4図はメモリ素子の配列を示す図、第5図
はこの発明の一実施例を示すブロツク図、第6図
は第5図のメモリアドレス演算器の一部を拡大し
て示すブロツク図、第7図は上記実施例の動作を
示す図、第8図は上記実施例のメモリアドレス指
定の順路の一例を示す図、第9図は画像メモリの
部分像を切出し、その切出し位置の移動を示す
図、第10図はこの発明の他の実施例を示すブロ
ツク図である。 1……メモリアドレス演算器、2……アドレス
修飾レジスタ、3……画像メモリ、9……デコー
ダ、12……レジスタ、21……制御装置。
Figures 1 and 2 are block diagrams showing conventional memory address generation methods, Figure 3 is a diagram in which the array of memory elements has been rearranged into an array of two-dimensional image data, and Figure 4 shows the array of memory elements. 5 is a block diagram showing one embodiment of the present invention, FIG. 6 is a block diagram showing an enlarged part of the memory address calculator in FIG. 5, and FIG. 7 is a block diagram showing the operation of the above embodiment. FIG. 8 is a diagram showing an example of the sequence of memory address specification in the above embodiment, FIG. 9 is a diagram showing cutting out a partial image of the image memory and movement of the cutting position, and FIG. FIG. 3 is a block diagram showing another embodiment. 1...Memory address calculator, 2...Address modification register, 3...Image memory, 9...Decoder, 12...Register, 21...Control device.

Claims (1)

【特許請求の範囲】 1 二次元配列の画像データの読出し、書込みが
可能な画像メモリ3と、 プログラムの実行および前記画像メモリ3の読
出しと書込みの制御を行うとともに、プログラム
を実行するものとは別個のハードウエアに前記画
像メモリ3用のアドレス演算を並行して行わせる
制御装置21とをそなえ、 前記ハードウエアは、 複数種類の演算を選択的に行う演算器11と、
前記演算器11と前記画像メモリ3との間に設け
られ、メモリアドレスを前記画像メモリ3に供給
するとともに前記演算器11の演算用入力として
フイードバツクするレジスタ12とを有し、前記
プログラムの指定により、アドレスバス5からの
アドレス信号、アドレス修飾信号、前記制御装置
21からの演算指定信号をもとに、前記画像メモ
リ3の二次元の相対アドレス指定のための演算を
行うメモリアドレス演算器1と、 前記制御装置21からのデータおよび制御信号
を受けて、前記メモリアドレス演算器1に前記ア
ドレス修飾信号を供給するアドレス修飾手段2
と、 前記制御装置21からの制御信号に従い、前記
制御装置21による画像データの処理および前記
画像メモリ3のアクセスと並行して前記演算器1
1にアドレス演算を実行させるために、前記画像
メモリ3のアクセス終了後に前記演算器11から
のメモリアドレスを前記レジスタ12に転送さ
せ、次回の画像メモリアクセスおよびアドレス演
算のためのアドレスを発生させるように前記レジ
スタ12を制御するデコーダ9と を具備したことを特徴とする画像メモリ装置。
[Scope of Claims] 1. An image memory 3 capable of reading and writing image data in a two-dimensional array, and an apparatus that executes a program, controls reading and writing of the image memory 3, and executes the program. A control device 21 that causes separate hardware to perform address calculations for the image memory 3 in parallel, and the hardware includes: an arithmetic unit 11 that selectively performs a plurality of types of calculations;
A register 12 is provided between the arithmetic unit 11 and the image memory 3, and supplies a memory address to the image memory 3 and provides feedback as an input for calculation to the arithmetic unit 11. , a memory address calculator 1 that performs calculations for two-dimensional relative addressing of the image memory 3 based on address signals from the address bus 5, address modification signals, and calculation designation signals from the control device 21; , address modification means 2 which receives data and control signals from the control device 21 and supplies the address modification signal to the memory address calculator 1;
and, in accordance with a control signal from the control device 21, the arithmetic unit 1 is operated in parallel with the image data processing by the control device 21 and the access to the image memory 3.
1 to perform address calculation, after the access to the image memory 3 is completed, the memory address from the calculation unit 11 is transferred to the register 12, and an address for the next image memory access and address calculation is generated. and a decoder 9 for controlling the register 12.
JP11875181A 1981-07-29 1981-07-29 Picture memory device Granted JPS5819955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11875181A JPS5819955A (en) 1981-07-29 1981-07-29 Picture memory device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11875181A JPS5819955A (en) 1981-07-29 1981-07-29 Picture memory device

Publications (2)

Publication Number Publication Date
JPS5819955A JPS5819955A (en) 1983-02-05
JPH0375905B2 true JPH0375905B2 (en) 1991-12-03

Family

ID=14744148

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11875181A Granted JPS5819955A (en) 1981-07-29 1981-07-29 Picture memory device

Country Status (1)

Country Link
JP (1) JPS5819955A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59144977A (en) * 1983-02-07 1984-08-20 Mitsubishi Electric Corp Data processor for array arithmetic
JP2729795B2 (en) * 1987-11-19 1998-03-18 株式会社日立製作所 Parallel computer and control method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54130842A (en) * 1978-04-03 1979-10-11 Advantest Corp Method address generator
JPS55138156A (en) * 1979-04-16 1980-10-28 Hitachi Ltd Information processor

Also Published As

Publication number Publication date
JPS5819955A (en) 1983-02-05

Similar Documents

Publication Publication Date Title
US4110823A (en) Soft display word processing system with multiple autonomous processors
JPH03139777A (en) Graphic display system and method
JPH0375905B2 (en)
JPH0821009B2 (en) CHANNEL CONTROLLER INITIALIZATION METHOD AND SYSTEM FOR THE INITIALIZATION
JP3053196B2 (en) Image data raster converter
Ashenden et al. The Leopard workstation project
JPH02278417A (en) Sector address converting circuit
JP2983352B2 (en) Database arithmetic processing unit
JPS59178487A (en) Display unit
JP2549838B2 (en) Data control device
JP2839597B2 (en) Device for creating charged beam drawing data
JP2813015B2 (en) Graphic processor
JP2945028B2 (en) Image processing designated area information calculation device
EP0488035A1 (en) Information processing apparatus with alterable network address
JPS6394303A (en) Arithmetic control system
JPS6348355B2 (en)
JPH05333519A (en) Image stripping device
Lamarre A Multiprocessor Interface for a Graphics Display System
JPH05143721A (en) Image processor
JPH09160528A (en) Micro controller
JPH0433057B2 (en)
JPH02181277A (en) Image memory address control circuit
JPH06110773A (en) Memory controller
JPH05290183A (en) Data control system
JPS6312077A (en) Grid description system