JPS6143751B2 - - Google Patents
Info
- Publication number
- JPS6143751B2 JPS6143751B2 JP14984481A JP14984481A JPS6143751B2 JP S6143751 B2 JPS6143751 B2 JP S6143751B2 JP 14984481 A JP14984481 A JP 14984481A JP 14984481 A JP14984481 A JP 14984481A JP S6143751 B2 JPS6143751 B2 JP S6143751B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- control
- storage device
- image storage
- read
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/60—Memory management
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Image Input (AREA)
Description
この発明は、画像記憶装置に関するものであ
る。従来より、画像処理技術の高度化、実用化に
伴い、さまざまな画像入力装置、画像表示装置、
画像演算装置が開発されてきた。これらの装置に
は高速の読み出し書き込み動作の可能な大容量記
憶装置が必要である。このような記憶装置は画像
の走査信号に同期して動く必要があるばかりでな
く、種々の読み出し書き込み方法、主としてはア
ドレスの指定順の変更が可能でなければならな
い。たとえば、表示の場合にはズーミング操作、
シフト操作や転置操作が必要であり、入力の場合
には、飛越走査が必要となる。さらに、画像演算
装置と組み合わせる場合には、演算の種類に応じ
て特殊な読み出し書き込み方法(アドレス指定方
法)が要求される。また、発展的には一つの記憶
装置に同時に読み出し書き込みを行なうような多
重使用の機能も要求される。
従来、このような場合には、それぞれの機能に
対して専用の制御回路を設け、これらを必要とさ
れる操作に応じて切り替えていく方法がとられて
いた。しかし、この方法では、制御回路全体が煩
雑となるし、また、実現できる機能も狭い範囲に
限られるという欠点があつた。
本発明は、以上に鑑みてなされたもので、画像
表示、画像入力、画像演算の際に使用される読み
出し書き込み方法乃至アドレス指定順の変更を統
一的に実現できる画像記憶装置を提供せんとする
ものである。
以下、発明の詳細について述べる。
p×q個の画素から成る二つの画像をI1,I2と
する。I1,I2を2次元行列とみたとき、それらの
列番号、行番号をそれぞれ、li,mj;Li,Mj
(1ip、1jq)とおき、次の二つの
置換を作る。
The present invention relates to an image storage device. Over the past years, with the advancement and practical use of image processing technology, various image input devices, image display devices,
Image processing devices have been developed. These devices require mass storage capable of high speed read and write operations. Such a storage device not only needs to operate in synchronization with the image scanning signal, but also needs to be able to use various reading and writing methods, primarily changing the order in which addresses are specified. For example, in the case of display, zooming operations,
Shift operations and transpose operations are required, and in the case of input, interlaced scanning is required. Furthermore, when combined with an image calculation device, a special read/write method (addressing method) is required depending on the type of calculation. Further, in the future, a multiple use function such as reading and writing to one storage device at the same time is required. Conventionally, in such cases, a method has been adopted in which dedicated control circuits are provided for each function and these are switched depending on the required operation. However, this method has the disadvantage that the entire control circuit becomes complicated and the functions that can be realized are limited to a narrow range. The present invention has been made in view of the above, and it is an object of the present invention to provide an image storage device that can uniformly change the read/write method or address designation order used during image display, image input, and image calculation. It is something. The details of the invention will be described below. Let I 1 and I 2 be two images consisting of p×q pixels. When I 1 and I 2 are viewed as two-dimensional matrices, their column numbers and row numbers are li, mj; Li, Mj
(1ip, 1jq) and create the following two permutations.
【表】
すると、前述の画像表示、画像入力、画像演算
の際に必要となる記憶装置の読み出し書き込み方
法は(1)式で表現することができる。たとえば、2
倍のズーミング表示の場合は次のようになる。I1
を記憶装置に格納された画像、I2を表示デバイス
上に表示された画像とする。必要な置換は、[Table] Then, the reading/writing method of the storage device required for the above-mentioned image display, image input, and image calculation can be expressed by equation (1). For example, 2
In the case of double zoom display, the result is as follows. I 1
Let I be the image stored in the storage device and I 2 be the image displayed on the display device. The required replacement is
【表】
で表現できる。ただし、簡単のため、p,qは偶
数とした。転置の場合には、(1)式の列番号、行番
号を交換して次の形で表現できる。It can be expressed as [Table]. However, for simplicity, p and q are assumed to be even numbers. In the case of transposition, the column number and row number in equation (1) can be exchanged and expressed in the following form.
【表】
簡単のため、p=qとした。その他の操作も同
様に置換形式で表現できる。
本発明は、この置換操作を実現するため、少く
ともアドレスに関して、望ましくは書き込み読み
出し制御、周辺回路制御にも関して、高速の書き
替え可能な制御記憶部を導入することとした。一
般に、画像を走査するためには3種類の信号が必
要である。すなわち、1画面の開始を示すパルス
信号Fφ、1走査線の開始を示すパルス信号L
φ、画素の位置を示すパルスMφである。本画像
記憶装置もこの三つのパルスで駆動される。第1
図に一実施例の概略構成を示し、装置全体には符
号20を付す。
計数器1,2はパルス信号を計数する。計数器
1はMφを計数し、Lφでリセツトされる。計数
器2はLφを計数し、Fφでリセツトされる。
制御記憶3,4は計数器1の計数値をアドレス
として読み出され、制御記憶5,6は計数器2の
計数値をアドレスとして読み出される。第2図の
ように画像のX座標、Y座標を定義すれば、制御
記憶3からは読み出しのためのX座標の制御情報
が、制御記憶4からは書き込みのためのX座標の
制御情報が制御記憶5からは読み出しのためのY
座標の制御情報が、制御記憶6からは書き込みの
ためのY座標の制御情報が、それぞれ読み出され
る。
制御記憶3,5の読み出し情報は組み合わせ
て、記憶部18の読み出し制御に用いられる。レ
ジスタ7,8,9はこれら制御情報を保持するも
ので、それぞれ、読み出しアドレスレジスタ、読
み出し記憶部制御レジスタ、出力バツフア制御レ
ジスタである。制御記憶4,6の読み出し情報
は、記憶部18の書き込み制御に用いられ、これ
らは書き込みアドレスレジスタ10、書き込み時
記憶部制御レジスタ11、入力バツフア制御レジ
スタ12に保持される。
読み出し時記憶部制御レジスタ8と書き込み時
記憶部制御レジスタ11の制御情報は、組み合わ
せて記憶部制御レジスタ13に保持される。これ
らの情報はたとえば、記憶部18に対する読み出
し/書き込みの指示、記憶部制御情報自身の有
効/無効の指示などである。
読み出しアドレスと書き込みアドレスは、記憶
部制御レジスタ13からの読み出し/書き込みの
指示により、いずれか一方がアドレス選択部14
で選択されてアドレスレジスタ15に保持され、
記憶部18に対するアドレスとなる。
記憶部18はメモリ集積回路から成る。
画像記憶装置の読み出し書き込みの速さは、扱
う画像の品質を決定するので、速い程良い。一
方、大容量のメモリ集積回路の読み出し書き込み
の速さは必ずしも十分でない。そこで、記憶部1
8の出力部と入力部にそれぞれ、出力バツフア1
6、入力バツフア17を置く、出力バツフア制御
レジスタ9は出力バツフア16の、入力バツフア
制御レジスタ12は入力バツフア17の制御情報
を保持する。
第3図に最大512×512画素の画像に対する記憶
装置の制御記憶の語構成の例を示す。出力バツフ
ア、入力バツフアのサイズは8画素分とする。各
ビツトの意味は次の通りである。
R/W0,R/W1:記憶装置の読み出し/書き込
みの指定。
RXC2,WXC2,RYC1,WYC1:それぞれ、読み
出された語の有効、無効を示す。
RXC1,RYC0:記憶部からの出力画素を0で置
き換えるかどうかを示す。
WXC1,WYC0:記憶部への入力画素を0で置き
換えるかどうかを示す。
RXA5〜0,RBF2〜0:読み出し時のX座標の指
定。RBF2〜0は出力バツフアのアドレス、
RXA5〜0は記憶部のアドレスの下位6ビツトで
ある。
RYA8〜0:読み出し時のY座標。記憶部のアドレ
スの上位9ビツトに対応する。
WXA5〜0,WBF2〜0:書き込み時のX座標の指
定。WBF2〜0は入力バツフアのアドレス、
WXA5〜0は記憶部のアドレスの下位6ビツト
である。
WYA8〜0:書き込み時のY座標。記憶部のアド
レスの上位9ビツトに対応する。
RXC0:アドレスRYA8〜0,RXR5〜0で指定され
た記憶部内の情報を出力バツフアに書き込むこ
とを指示する。
WXC0:アドレスWYA8〜0,WXA5〜0で指定さ
れた記憶部に入力バツフアの内容を書き込むこ
とを指示する。
τをMφの周期とする。出力バツフア、入力バ
ツフアの制御に関しては、読み出し時を例にとれ
ば、記憶部の読み出し時間を考慮して、あらかじ
めRY8〜0とRXA5〜0で記憶部アドレスを指定し
ておき、8τ経過後に、読み出した8画素分の情
報を出力バツフアに書き込み、次にRBF2〜0にし
たがつて、周期τで1画素ずつ出力する。書き込
み時も同様である。また、R/W0,R/W1によ
つて記憶部の読み出し/書き込み動作が8τ毎に
変更できるので、見掛け上、読み出しと書き込み
を同時に行なうことも可能である。ただし、この
場合、読み出し/書き込み速度は半分になる。
置換(1)式の各行中の各項が一つの語に対応す
る。語中のアドレス指定部分が、列番号あるいは
行番号を表わしている。
置換(1)式の各行は制御語の列(一種のマイクロ
プログラム)へ比較的簡単に変換できる。本画像
記憶装置にミニコンピユータ、マイクロコンピユ
ータを接続して、語列の生成、制御記憶へのロー
ドを行なうことにより、置換(1)式の形で表現され
る動作はすべて実行できる。
なお、第1図の各制御記憶3,4,5,6の深
さを十分とつておけば、シフト操作は、語列のロ
ードアドレスを変えることで可能になる。また、
転置操作は、制御記憶3と4、制御記憶5と6の
内容をそれぞれ交換し、計数器1がLφを計数し
てFφでリセツトされ、計数器2がMφを計数し
てLφでリセツトされるようにすればよい。
例えばここで、本画像記憶装置の動作の実例と
して、画像の上下左右の反転をさせるための動作
につき説明する。
このためにはまず、第8図に示されるように、
第1図に示された本発明の画像記憶装置20を二
台(I1,I2)用いて、それらを縦続接続する。前段
の第一画像記憶装置I1から読み出された画像が後
段の第二画像記憶装置I2に書き込まれる。
こうした第8図示のシステム動作に必要な信号
Mφ,Lφ,Fφは、既述のように、図示されて
いる制御部から共通に与えられる。
しかるに、この動作に要する置換は次の通りで
ある。[Table] For simplicity, p = q. Other operations can be similarly expressed in substitution form. In order to realize this replacement operation, the present invention introduces a high-speed rewritable control storage section at least regarding addresses, preferably also regarding write/read control and peripheral circuit control. Generally, three types of signals are required to scan an image. That is, a pulse signal Fφ indicates the start of one screen, and a pulse signal L indicates the start of one scanning line.
φ is a pulse Mφ indicating the position of the pixel. This image storage device is also driven by these three pulses. 1st
The figure shows a schematic configuration of one embodiment, and the entire device is designated by the reference numeral 20. Counters 1 and 2 count pulse signals. Counter 1 counts Mφ and is reset at Lφ. Counter 2 counts Lφ and is reset at Fφ. Control memories 3 and 4 are read out using the count value of counter 1 as an address, and control memories 5 and 6 are read out using the count value of counter 2 as an address. If the X and Y coordinates of the image are defined as shown in Figure 2, the control memory 3 provides control information for the X coordinate for reading, and the control memory 4 provides control information for the X coordinate for writing. Y for reading from memory 5
Coordinate control information and Y-coordinate control information for writing are read out from the control memory 6, respectively. The readout information of the control memories 3 and 5 is combined and used to control the readout of the storage section 18. Registers 7, 8, and 9 hold these control information, and are a read address register, a read storage section control register, and an output buffer control register, respectively. The read information of the control memories 4 and 6 is used for write control of the storage section 18, and is held in the write address register 10, the write storage section control register 11, and the input buffer control register 12. The control information of the read storage control register 8 and the write storage control register 11 is held in combination in the storage control register 13. These pieces of information include, for example, instructions for reading/writing to the storage unit 18, instructions for validating/invalidating the storage unit control information itself, and the like. Either the read address or the write address is selected by the address selector 14 according to a read/write instruction from the storage control register 13.
is selected and held in the address register 15,
This is the address for the storage unit 18. The storage section 18 consists of a memory integrated circuit. The reading and writing speed of an image storage device determines the quality of the images handled, so the faster the better. On the other hand, the reading and writing speed of large-capacity memory integrated circuits is not necessarily sufficient. Therefore, storage section 1
Output buffer 1 for each output section and input section of 8
6. Place the input buffer 17. The output buffer control register 9 holds control information for the output buffer 16, and the input buffer control register 12 holds control information for the input buffer 17. FIG. 3 shows an example of the word structure of the control memory of the storage device for an image of maximum 512×512 pixels. The size of the output buffer and input buffer is 8 pixels. The meaning of each bit is as follows. R/W 0 , R/W 1 : Storage device read/write designation. RXC 2 , WXC 2 , RYC 1 , WYC 1 : Indicates whether the read word is valid or invalid, respectively. RXC 1 , RYC 0 : Indicates whether to replace the output pixel from the storage unit with 0. WXC 1 , WYC 0 : Indicates whether input pixels to the storage section are replaced with 0. RXA 5~0 , RBF 2~0 : Specify the X coordinate when reading. RBF 2 to 0 are output buffer addresses,
RXA5-0 are the lower 6 bits of the memory address. RYA 8~0 : Y coordinate when reading. Corresponds to the upper 9 bits of the address of the storage section. WXA 5~0 , WBF 2~0 : Specify the X coordinate when writing. WBF 2 to 0 are input buffer addresses,
WXA 5-0 are the lower 6 bits of the address of the storage unit. WYA 8~0 : Y coordinate when writing. Corresponds to the upper 9 bits of the address of the storage section. RXC 0 : Instructs to write the information in the storage section specified by addresses RYA 8 to 0 and RXR 5 to 0 to the output buffer. WXC 0 : Instructs to write the contents of the input buffer to the storage section specified by addresses WYA 8 to 0 and WXA 5 to 0 . Let τ be the period of Mφ. Regarding the control of the output buffer and input buffer, taking the reading time as an example, we specify the memory address in advance with RY 8 to 0 and RXA 5 to 0 , taking into account the memory read time. Afterwards, the read information for 8 pixels is written into the output buffer, and then, according to RBF 2 to 0 , one pixel at a time is outputted at a period τ. The same applies when writing. Further, since the read/write operation of the storage section can be changed every 8τ by R/W 0 and R/W 1 , it is possible to apparently perform reading and writing at the same time. However, in this case, the read/write speed is halved. Each term in each line of substitution (1) corresponds to one word. The addressing part in the word represents the column number or row number. Each line of the substitution (1) expression can be relatively easily converted into a sequence of control words (a kind of microprogram). By connecting a minicomputer or a microcomputer to this image storage device to generate word strings and load them into the control memory, all operations expressed in the form of substitution (1) can be executed. Note that if each control memory 3, 4, 5, and 6 shown in FIG. 1 has a sufficient depth, a shift operation can be performed by changing the load address of a word string. Also,
In the transposition operation, the contents of control memories 3 and 4 and control memories 5 and 6 are exchanged, counter 1 counts Lφ and is reset at Fφ, and counter 2 counts Mφ and is reset at Lφ. Just do it like this. For example, as an example of the operation of the present image storage device, an operation for vertically and horizontally inverting an image will be described. To do this, first, as shown in Figure 8,
Two image storage devices 20 (I 1 , I 2 ) of the present invention shown in FIG. 1 are used and connected in series. The image read from the first image storage device I1 at the front stage is written to the second image storage device I2 at the rear stage. The signals Mφ, Lφ, Fφ necessary for the operation of the system shown in FIG. 8 are commonly given from the control section shown in the figure, as described above. However, the permutations required for this operation are as follows.
【表】
この置換を実現するためには、第3図に示され
た語構成に従い、以下に16進数記法で示す第1表
の制御語列を第一画像記憶装置I1の制御記憶3
(第1図)に、第2表の制御語列を制御記憶5に
それぞれロードし、第一画像記憶装置I1中にあつ
ても他の制御記憶4,6はクリアする。
同様に以下に第3表として16進数記法で示され
る制御語列を第二画像記憶装置I2の制御記憶4
に、第4表で示される制御語列を制御記憶6にそ
れぞれロードし、第二画像記憶装置I2中にあつて
他の制御記憶3,5はクリアする。[Table] In order to realize this replacement, according to the word structure shown in FIG .
(FIG. 1), the control word strings in Table 2 are loaded into the control memory 5, and the other control memories 4 and 6 are cleared even if they are in the first image storage device I1 . Similarly, the control word strings shown in hexadecimal notation as Table 3 below are shown in the control memory 4 of the second image memory device I2 .
Then, the control word strings shown in Table 4 are loaded into the control memory 6, and the other control memories 3 and 5 in the second image storage device I2 are cleared.
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】【table】
【表】
まず第一画像記憶装置I1の動作から説明する。
最初に計数器2(第1図)が信号Fφによつて
リセツトされる。次いでLφが生起され、計数器
1(第1図)をリセツトすると同時に、計数器2
の計数値を“1”だけインクリメントする。
この計数値“1”により制御記憶5,6の語順
“1”の位置にある制御語が読み出される。既述
のように、この第一画像記憶装置I1の制御記憶5
に関しては、第2表からしてこのとき、RYC1〜0
=2、RYA8〜0=0なる制御語が読み出される。
これは当該制御語が有効であることを示すと共
に、読み出し時のY座標を0に、すなわち画像第
一行目に固定することを意味する。
第一画像記憶装置I1の制御記憶6については、
先に述べたようにWYC1=0であるため、読み出
された制御語は無効である。
信号Lφによつてリセツトされた計数器1は信
号Mφを計数する。最初のMφにより、この計数
値は“1”となり、制御記憶3,4の語順“1”
にあたる制御語が読み出される。
このとき、当該制御記憶3については第1表か
ら、
R/W=0、RXC2〜0=4、
RXA5〜0=0、RBF2〜0=*
(*はdon’t care;無視可能)
が読み出される。
これは第一画像記憶装置が読み出される状態と
なるべきこと、当該制御語が有効なこと、そして
記憶部18(第1図)からそのときのY座標で指
定されている行(上記の場合には第一行目)の最
初の8画素を読み出すべきことを示している。
記憶部18からこの最初の8画素を読み出すに
は8τの時間が掛かるで、この間、出力バツフア
16(第1図)の制御は行なわなくて良い。
8τ後、すなわち計数器1の計数値が“8”に
なつたとき、記憶部18からの8画素分のデータ
が揃つて読み出される。語順8番目のビツト群
RXCCC2〜0=5において、当該ビツト群の最下
位ビツトRXC0=1は、このデータを出力バツフ
アに書き込むべきことを示している。
計数値が“9”〜“10”の間は、記憶部18中
から該当行の次の8画素を読み出す。と同時に、
出力バツフアから順次一画素づつ周期τでデータ
を出力していく。RBF2〜0が0から7まで変化し
ているのはそのためである。
なお第一画像記憶装置I1の制御記憶4に関して
は、先に述べたようにWXC2=0であり、読み出
された語は無効である。
このようにしながらMφによつて計数器1をイ
ンクリメントして行き、制御記憶3の語順が210
に達したとき、一行分の読み出しを終え、このと
きにはLφが生起するから、計数器2を“1”だ
けインクリメントとすると同時に、計数器1をリ
セツトし、次の行の読み出しに入る。
また、Lφにより計数器2をインクリメントし
て行つた結果、制御記憶5の語順が200に達すれ
ば、それで一画面分の読み出しが終わつたことに
なる。
このような第一画像記憶装置I1の動作の一方、
第二画像記憶装置I2は、第一画像記憶装置I1から
次々に読み出されてくる画素を受け採るべく、当
該第一画像記憶装置I1と同期的に動作する。
まず最初には、第一画像記憶装置I1に関してと
同様、信号Fφにより計数器2がリセツトされ
る。次いでLφが生起され、この第二画像記憶装
置I2中の計数器1(第1図)をリセツトすると同
時に、計数器2の計数値を“1”だけインクリメ
ントする。
この計数値“1”によりこの第二画像記憶装置
I2に関しての制御記憶5,6の語順“1”の位置
にある制御語を読み出す。
このとき、制御記憶6については第4表からし
て、WYC1〜0=2、WYA8〜0=1FFなる制御語
が読み出される。これは当該制御語が有効である
ことを示すと共に、書き込み時のY座標を1FF
に、すなわち画像の最終行に固定することを意味
する。
制御記憶5については、先に述べたことから
RYC1〜0=0であるため、読み出された制御語は
無効とされる。
信号Lφによつてリセツトされた計数器1は信
号Mφを計数する。最初のMφにより、この計数
値は“1”となり、制御記憶3,4の語順“1”
にあたる制御語が読み出される。
このとき、当該制御記憶4については第3表か
ら、
R/W=1、WXC2〜0=4、
WXA5〜0=*、WBF2〜0=7
(*はdon’t care;無視可能)
が読み出される。
これは、第二画像記憶装置I2が書き込まれるべ
き状態であること、当該制御語が有効であるこ
と、そして入力バツフア17(第1図)の7番地
に一画素データを書き込むべきことを示してい
る。
8τの時間を掛けて制御記憶の1番から8番ま
での制御語を順に読み出して実行することによ
り、入力バツフアに第一画像記憶装置I1から読み
出された最初の8画素分のデータが書き込まれ
る。
語順8番目のWXC0=1は、入力バツフア17
の内容を記憶部18(第1図)に書き込むべきこ
とを示している。
計数値が“9”〜“10”の間は、記憶部18に
8画素分の書き込みを行なうと共に、引き続き第
一画像記憶装置I1から一画素づつ、入力バツフア
に書き込んで行く。
なお、第二画像記憶装置I2の制御記憶3につい
ては、RXC2=0であり、したがつて読み出され
た制御語は無効である。
このようにしながらMφによつて計数器1をイ
ンクリメントして行き、制御記憶4の語順が210
に達したとき、一行分の書き込みを終え、このと
きにはLφが生起するから、計数器2を“1”だ
けインクリメントとすると同時に、計数器1をリ
セツトし、次の行の書き込みに入る。
また、Lφにより計数器2をインクリメントし
て行つた結果、制御記憶6の語順が200に達すれ
ば、それで一画面分の処理が終わつたことにな
る。
このようにして、第画像記憶装置I1内に格納さ
れていた画像は、その上下左右が反転して第二画
像記憶装置に格納される。
こうした実例からすれば、ズーミングその他、
所望の画像処理手続は、本発明装置を使用すれば
かなりな自由度で可能であることが分かる。以下
ではさらに他のシステム構成例について説明す
る。
なお、顕かなように、上記の実際的な応用例で
は、各計数器は画像の主走査信号によつてその計
数内容がインクリメントされる場合を示したが、
これはもつとも普通な形態ではあるものの、これ
に限定されることはなく、デイクリメントでも良
いし、要は所定の仕方で計数内容が変更されて行
くようになつていれば良い。
本画像記憶装置20を画像入力装置、画像表示
装置、画像演算装置と組み合わせた応用例をそれ
ぞれ、第4図、第5図、第6図に示す。
第4図において、画像記憶装置20の動作に必
要な信号Mφ,Lφ,Fφはテレビカメラ制御部
21から供給される。テレビカメラ22の出力映
像信号はAD変換器23によつてデイジタル化さ
れて本画像記憶装置20に入力される。テレビカ
メラ22の撮像が飛越走査によるものとし、入力
画像のサイズを512×480画素とする。撮像画像を
I1、画像記憶装置20に格納される画像をI2とす
れば、(1)式に準じて、[Table] First, the operation of the first image storage device I1 will be explained. First, counter 2 (FIG. 1) is reset by signal Fφ. Lφ is then generated, resetting counter 1 (FIG. 1) and at the same time counter 2
Increment the count value by "1". With this count value "1", the control word located in the word order "1" position in the control memories 5 and 6 is read out. As already mentioned, the control memory 5 of this first image storage device I1
Regarding, from Table 2, at this time, RYC 1 to 0
=2, RYA 8~0 =0 control words are read.
This indicates that the control word is valid and also means that the Y coordinate at the time of reading is fixed to 0, that is, to the first row of the image. Regarding the control memory 6 of the first image memory device I 1 ,
As mentioned earlier, since WYC 1 =0, the read control word is invalid. Counter 1, reset by signal Lφ, counts signal Mφ. Due to the first Mφ, this count value becomes “1”, and the word order of control memories 3 and 4 becomes “1”.
The control word corresponding to is read out. At this time, for the control memory 3, from Table 1, R/W = 0, RXC 2 ~ 0 = 4, RXA 5 ~ 0 = 0, RBF 2 ~ 0 = * (* is don't care; can be ignored) ) is read. This means that the first image storage device should be in a read state, that the control word is valid, and that the line specified by the current Y coordinate from the storage unit 18 (Fig. 1) (in the above case) indicates that the first eight pixels in the first row) should be read out. It takes 8τ to read out the first eight pixels from the storage section 18, so it is not necessary to control the output buffer 16 (FIG. 1) during this time. After 8τ, that is, when the count value of the counter 1 reaches "8", data for 8 pixels is read out from the storage section 18. 8th bit group in word order
For RXCCC 2-0 =5, the least significant bit of the bit group, RXC 0 =1, indicates that this data should be written to the output buffer. When the count value is between "9" and "10", the next eight pixels of the corresponding row are read out from the storage section 18. At the same time,
Data is sequentially output from the output buffer one pixel at a time at a period τ. That is why RBF 2-0 varies from 0 to 7. As for the control memory 4 of the first image storage device I 1 , WXC 2 =0, as described above, and the read word is invalid. In this way, the counter 1 is incremented by Mφ, and the word order in the control memory 3 becomes 210.
When it reaches , reading of one line is finished, and since Lφ occurs at this time, counter 2 is incremented by "1", counter 1 is reset, and reading of the next line begins. Further, when the word order in the control memory 5 reaches 200 as a result of incrementing the counter 2 by Lφ, reading for one screen is completed. On the one hand, the operation of the first image storage device I 1 is as follows:
The second image storage device I 2 operates synchronously with the first image storage device I 1 in order to receive pixels read out one after another from the first image storage device I 1 . First of all, the counter 2 is reset by the signal Fφ, as for the first image storage device I1 . Lφ is then generated, resetting counter 1 (FIG. 1) in this second image storage device I2 and at the same time incrementing the count value of counter 2 by "1". With this count value "1", this second image storage device
The control word at the word order "1" position in the control memories 5 and 6 regarding I2 is read out. At this time, regarding the control memory 6, from Table 4, the control words WYC 1 to 0 = 2 and WYA 8 to 0 = 1FF are read out. This indicates that the control word is valid, and the Y coordinate at the time of writing is 1FF.
This means fixing it to the last line of the image. Regarding control memory 5, from what I said earlier,
Since RYC 1-0 = 0, the read control word is invalid. Counter 1, reset by signal Lφ, counts signal Mφ. Due to the first Mφ, this count value becomes “1”, and the word order of control memories 3 and 4 becomes “1”.
The control word corresponding to is read out. At this time, for the control memory 4, from Table 3, R/W = 1, WXC 2 ~ 0 = 4, WXA 5 ~ 0 = *, WBF 2 ~ 0 = 7 (* is don't care; can be ignored. ) is read. This indicates that the second image storage device I2 is in the state to be written, that the control word is valid, and that one pixel data should be written to address 7 of the input buffer 17 (FIG. 1). ing. By sequentially reading and executing the control words 1 to 8 in the control memory over a time period of 8τ, the data for the first 8 pixels read from the first image storage device I1 is stored in the input buffer. written. WXC 0 = 1 at the 8th word order is input buffer 17
This indicates that the contents of the file should be written into the storage unit 18 (FIG. 1). When the count value is between "9" and "10", 8 pixels are written into the storage section 18, and one pixel at a time is subsequently written into the input buffer from the first image storage device I1 . Note that for the control memory 3 of the second image storage device I 2 , RXC 2 =0, and therefore the read control word is invalid. In this way, the counter 1 is incremented by Mφ, and the word order in the control memory 4 becomes 210.
When reaching , writing for one line is completed, and since Lφ occurs at this time, counter 2 is incremented by "1", counter 1 is reset, and writing of the next line begins. Further, if the word order in the control memory 6 reaches 200 as a result of incrementing the counter 2 by Lφ, then the processing for one screen is completed. In this way, the image stored in the second image storage device I1 is stored in the second image storage device with its top, bottom, left and right reversed. Based on these examples, zooming and other
It can be seen that any desired image processing procedure is possible with a considerable degree of freedom using the apparatus of the invention. Further other system configuration examples will be described below. As is obvious, in the above practical application example, each counter is incremented by the main scanning signal of the image, but
Although this is a normal form, it is not limited to this, and it may be a decrement, as long as the counting contents are changed in a predetermined manner. Application examples in which the image storage device 20 is combined with an image input device, an image display device, and an image calculation device are shown in FIGS. 4, 5, and 6, respectively. In FIG. 4, signals Mφ, Lφ, and Fφ necessary for the operation of the image storage device 20 are supplied from a television camera control section 21. The output video signal of the television camera 22 is digitized by the AD converter 23 and input to the main image storage device 20. It is assumed that the television camera 22 captures images using interlaced scanning, and the size of the input image is 512 x 480 pixels. Captured image
If I 1 and the image stored in the image storage device 20 are I 2 , then according to equation (1),
【表】
なる置換を行なうことにより、飛越走査を順次走
査に変換して画像記憶装置20に入力画像を格納
できる。(4)式の両置換の第1行は入力画像の画素
系列を表わしている。第2行は、先に述べたよう
にして画像記憶装置20の制御記憶によつて実現
できる。第1図の制御記憶4に列置換の第2行、
制御記憶6に行置換の第2行に相当する制御語列
をロードしておけばよい。
第5図において、画像記憶装置20の動作に必
要な信号Mφ,Lφ,Fφはテレビモニタ制御部
24から供給される。画像記憶装置20からの出
力画素はDA変換器25によつてアナログ化さ
れ、テレビモニタ26に表示される。画像記憶装
置20内に納能されている画像をI1、表示画像を
I2とすれば、画像サイズを512×512として、[Table] By performing the following substitution, the input image can be stored in the image storage device 20 by converting interlaced scanning into sequential scanning. The first line of both permutations in equation (4) represents the pixel sequence of the input image. The second line can be realized by the control storage of the image storage device 20 as described above. The second row of column permutation in the control memory 4 of FIG.
It is sufficient to load the control word string corresponding to the second row of row replacement into the control memory 6. In FIG. 5, signals Mφ, Lφ, and Fφ necessary for the operation of the image storage device 20 are supplied from a television monitor control section 24. Output pixels from the image storage device 20 are converted into analog by a DA converter 25 and displayed on a television monitor 26. The image stored in the image storage device 20 is I 1 , and the displayed image is I 1 .
If I 2 , the image size is 512 x 512,
【表】
なる置換を考えればよい。このためには、第1図
の制御記憶3に列置換の第1行、制御記憶5に列
置換の第1行に相当する制御語列をロードする。
第6図示の応用例では、第1図示の画像記憶装
置20を二つ(20a,20b)用いていて、動
作に必要な信号Mφ,Lφ,Fφは、画像演算制
御部27から供給される。第一の画像記憶装置2
0aからの出力画素に画像演算器28が演算を施
し、結果は第二の画像記憶装置20bに格納され
る。例として、第一の画像記憶装置20a内の画
像I1に定数値1を加えそた結果の画像I2を第二の
画像記憶装置20bに格能するような演算を考え
れば、要する置換は(5)式である。第一の画像記憶
装置20aの制御記憶のうち、第1図の3,5の
部分に(5)式の両置換の第1行に対応する制御語列
をロードし、また、第二の画像記憶装置20bの
制御記憶のうち、第1図の4,6の部分に(5)式の
両置換の第2行に対応する制御語列をロードす
る。なお、演算の種類によつては、画像記憶装置
20a,20bはそれぞれ、複数個あつてもよ
い。また、一つの画像記憶装置20が、これ等両
画像装置20a,20bの機能を兼ねてもよい。
第4図、第5図、第6図に示した入力、表示、
演算機能を統合した画像処理装置も構成可能で、
第7図にそうした応用例を示す。ここでは、本画
像記憶装置を7台使用(夫々を20-1,20-2,
……………20-7で示す)している。
画像入力部30は、第4図におけるテレビカメ
ラ22、テレビカメラ制御部21、AD変換器2
3を要素として構成されるものである。この画像
入力部30と各画像記憶装置20-1〜20-4は、
第4図について説明した方法で結合しているか
ら、画像入力部30からこれ等画像記憶装置20
-1〜20-4への画像入力ができる。
画像演算部31は、第6図における画像演算器
28と画像演算制御部27を要素として構成され
るものである。そして、第7図の画像記憶装置2
0-1,20-7の各々は、第6図の出力側画像記憶
装置20aと入力側画像記憶装置20bに対応し
ている。第7図の画像演算部31と各画像記憶装
置は第6図について説明した方法で結合している
から、実行したい演算に応じて各画像記憶装置を
出力側画像記憶装置あるいは入力側画像記憶装置
として用いることにより、演算が可能となる。
画像表示部32は、第5図におけるDA変換器
25、テレビモニタ制御部24、テレビモニタ2
6を要素として構成されるものである。第7図の
画像演算部31、画像表示部32、画像記憶装置
20-1〜20-7の動作に必要な信号Mφ,Lφ,
Fφは共通である。画像表示部32は画像演算部
31の出力信号を各画像記憶装置に入力するデー
タライン上に接続されているから、画像演算部3
1による演算結果を表示する。入力画素をそのま
ま出力画素とする操作も一つの演算と見れば、各
画像記憶装置の内容を表示することになる。
以上詳細に説明したように、この発明は、画像
の入力、表示、演算の際に必要となる画像記憶装
置において、制御部分に望ましくは高速の制御記
憶を採用し、画像の走査信号により制御情報を読
み出すようにしたため、回路の簡略化が計られる
ばかりでなく、少くともアドレス指定順、望まし
くは他の情報にも関して制御記憶の内容を書き替
えて種々の使用形態に適応できるから、画像処理
装置を構成する場合の極めて有効な手段を提供す
るものである。[Table] Just consider the following permutation. For this purpose, the control memory 3 shown in FIG. 1 is loaded with the first row of column permutation, and the control memory 5 is loaded with a control word string corresponding to the first row of column permutation. In the application example shown in FIG. 6, two image storage devices 20 (20a, 20b) shown in FIG. First image storage device 2
The image arithmetic unit 28 performs arithmetic operations on the output pixels from 0a, and the results are stored in the second image storage device 20b. As an example, if we consider an operation in which a constant value 1 is added to the image I 1 in the first image storage device 20a and the resulting image I 2 is transferred to the second image storage device 20b, the required replacement is This is equation (5). In the control memory of the first image storage device 20a, the control word string corresponding to the first row of both permutations in equation (5) is loaded into parts 3 and 5 in FIG. In the control memory of the storage device 20b, the control word string corresponding to the second row of both permutations in equation (5) is loaded into portions 4 and 6 in FIG. Note that, depending on the type of calculation, there may be a plurality of image storage devices 20a and 20b. Furthermore, one image storage device 20 may serve as both the functions of these image devices 20a and 20b. Inputs and displays shown in FIGS. 4, 5, and 6,
It is also possible to configure an image processing device that integrates calculation functions.
Figure 7 shows an example of such an application. Here, seven image storage devices are used (respectively 20 -1 , 20 -2 ,
……………20 (indicated by -7 ). The image input section 30 includes the television camera 22, television camera control section 21, and AD converter 2 in FIG.
It is composed of 3 elements. This image input section 30 and each image storage device 20 -1 to 20 -4 are
Since they are combined using the method described in connection with FIG.
You can input images to -1 to 20 -4 . The image calculation unit 31 is constructed using the image calculation unit 28 and the image calculation control unit 27 shown in FIG. 6 as elements. Then, the image storage device 2 in FIG.
0 -1 and 20 -7 correspond to the output side image storage device 20a and the input side image storage device 20b in FIG. 6, respectively. Since the image calculation unit 31 in FIG. 7 and each image storage device are coupled in the manner described in connection with FIG. By using it as , calculation becomes possible. The image display section 32 includes the DA converter 25, the television monitor control section 24, and the television monitor 2 in FIG.
It is composed of 6 elements. Signals Mφ, Lφ, necessary for the operation of the image calculation unit 31, image display unit 32, and image storage devices 20 -1 to 20 -7 in FIG.
Fφ is common. Since the image display unit 32 is connected to the data line that inputs the output signal of the image calculation unit 31 to each image storage device, the image calculation unit 3
Displays the calculation result based on 1. If the operation of converting an input pixel directly into an output pixel is viewed as one operation, the contents of each image storage device will be displayed. As explained in detail above, the present invention preferably employs a high-speed control memory in the control section of an image storage device necessary for inputting, displaying, and calculating images, and controls information by image scanning signals. This not only simplifies the circuit, but also makes it possible to rewrite the contents of the control memory, at least in terms of address designation order, and preferably with regard to other information as well, so that it can be adapted to various usage modes. This provides an extremely effective means for configuring a processing device.
第1図は本画像記憶装置の一実施例の概略構成
図、第2図は画像上の座標系を示した説明図、第
3図は制御記憶の語構成例を示した説明図、第4
図は画像入力装置の一例の概略構成図、第5図は
画像表示装置の一例の概略構成図、第6図は本装
置の第一の応用例としての画像演算装置の概略構
成図、第7図は画像処理装置への応用例の概略構
成図、第8図は本発明画像記憶装置を二つ用いて
画像反転等に使用する場合のシステム構成図、で
ある。
図中、3,4,5,6は制御記憶部、18は画
像記憶部、20,20a,20b,20-1〜20
-7は全体としての画像記憶装置、である。
FIG. 1 is a schematic configuration diagram of an embodiment of the present image storage device, FIG. 2 is an explanatory diagram showing a coordinate system on an image, FIG. 3 is an explanatory diagram showing an example of the word structure of control memory, and FIG.
5 is a schematic configuration diagram of an example of an image input device, FIG. 5 is a schematic configuration diagram of an example of an image display device, FIG. 6 is a schematic configuration diagram of an image processing device as a first application example of this device, and FIG. The figure is a schematic configuration diagram of an example of application to an image processing device, and FIG. 8 is a system configuration diagram when two image storage devices of the present invention are used for image reversal or the like. In the figure, 3, 4, 5, 6 are control storage units, 18 is an image storage unit, 20, 20a, 20b, 20 -1 to 20
-7 is the image storage device as a whole.
Claims (1)
部を持ち、アドレス指定情報により指定されたア
ドレスに対応する上記各画素記憶部に対し、選択
的に画素の書き込み、読み出しを行なう画像記憶
装置であつて; 上記画像のX座標、Y座標にそれぞれ対応させ
て各一つあて、計二つの計数器を設け; 画像の主走査信号によつて上記二つの計数器の
各々の計数内容を所定の仕方で変更するように
し; そのときどきの上記計数内容に応じて書き替え
可能な制御記憶から該そのときどきに対応する予
定の制御語列を読み出すことにより、上記そのと
きどきのアドレス指定情報を得ること; を特徴とする画像記憶装置。[Scope of Claims] 1. An image storage unit consisting of a pixel storage unit with multiple rows and multiple columns, and selectively writes and reads pixels to each of the pixel storage units corresponding to an address specified by addressing information. An image storage device that performs the following: A total of two counters are provided, one each corresponding to the X and Y coordinates of the image; Each of the two counters is controlled by the main scanning signal of the image. The contents of the count at that time are changed in a predetermined manner; By reading out the control word string scheduled to correspond to the time from the control memory that can be rewritten according to the content of the count at that time, the address at the time is changed. An image storage device characterized by: obtaining specified information;
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14984481A JPS5851373A (en) | 1981-09-22 | 1981-09-22 | Picture storage device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14984481A JPS5851373A (en) | 1981-09-22 | 1981-09-22 | Picture storage device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5851373A JPS5851373A (en) | 1983-03-26 |
| JPS6143751B2 true JPS6143751B2 (en) | 1986-09-29 |
Family
ID=15483885
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14984481A Granted JPS5851373A (en) | 1981-09-22 | 1981-09-22 | Picture storage device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5851373A (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59223880A (en) * | 1983-06-03 | 1984-12-15 | Hitachi Ltd | Picture input device |
| JP2569303B2 (en) * | 1985-07-05 | 1997-01-08 | 日本電装株式会社 | Image processing apparatus for performing cumulative addition of image data |
| JPS6232574A (en) * | 1985-08-06 | 1987-02-12 | Nec Corp | Address control system for picture data memory |
-
1981
- 1981-09-22 JP JP14984481A patent/JPS5851373A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5851373A (en) | 1983-03-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4168488A (en) | Image rotation apparatus | |
| US5345552A (en) | Control for computer windowing display | |
| EP0398510B1 (en) | Video random access memory | |
| JPH0529917B2 (en) | ||
| KR100196686B1 (en) | Device for high speed copying between frame buffers in dual buffer output display system | |
| US5818434A (en) | Method and apparatus for controlling image display | |
| JPS59845B2 (en) | display device | |
| JPS6143751B2 (en) | ||
| GB2214038A (en) | Image display system | |
| JPH0426273B2 (en) | ||
| JPS6117190A (en) | Graphic display | |
| JPS6143752B2 (en) | ||
| JP2609628B2 (en) | Memory address controller | |
| JPS5835592A (en) | display screen splitting device | |
| JPH023517B2 (en) | ||
| JPH04220076A (en) | Picture recording device | |
| RU1783572C (en) | Device for output of graphic information | |
| JPS639271A (en) | Picture recording method | |
| JP2641932B2 (en) | Frame memory access method | |
| JPH06118918A (en) | Display signal output circuit | |
| JPS59119387A (en) | Display indication control system | |
| JPS6090387A (en) | Writing/reading controller for graphic memory | |
| JPS59177663A (en) | Memory access system | |
| JPH0588651A (en) | Memory control method | |
| JPS6057378A (en) | display device |