JPH059832B2 - - Google Patents

Info

Publication number
JPH059832B2
JPH059832B2 JP58097874A JP9787483A JPH059832B2 JP H059832 B2 JPH059832 B2 JP H059832B2 JP 58097874 A JP58097874 A JP 58097874A JP 9787483 A JP9787483 A JP 9787483A JP H059832 B2 JPH059832 B2 JP H059832B2
Authority
JP
Japan
Prior art keywords
address
access
frame memory
cpu
data
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
JP58097874A
Other languages
Japanese (ja)
Other versions
JPS59223880A (en
Inventor
Kyoshi Ishikawa
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Engineering Co Ltd
Hitachi Ltd
Original Assignee
Hitachi Engineering Co Ltd
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Engineering Co Ltd, Hitachi Ltd filed Critical Hitachi Engineering Co Ltd
Priority to JP58097874A priority Critical patent/JPS59223880A/en
Publication of JPS59223880A publication Critical patent/JPS59223880A/en
Publication of JPH059832B2 publication Critical patent/JPH059832B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T1/00General purpose image data processing
    • G06T1/60Memory management

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Image Input (AREA)
  • Memory System (AREA)
  • Controls And Circuits For Display Device (AREA)

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は画像処理方法及び装置に係り、特に、
画像情報を記憶するフレームメモリのアドレスレ
ジスタを、処理装置からアクセスされるタイミン
グで自動的に更新する画像入力装置に関する。
[Detailed Description of the Invention] [Field of Application of the Invention] The present invention relates to an image processing method and apparatus, and in particular,
The present invention relates to an image input device that automatically updates an address register of a frame memory that stores image information at the timing of access from a processing device.

〔発明の背景〕[Background of the invention]

従来の画像入力装置は、画像情報が膨大である
ため、マイクロコンピユータ等のメモリエリアの
小さな処理装置の場合、フレームメモリアドレス
をレジスタで制御するか、処理装置のアドレスバ
ス信号線を、レジスタで拡張する方法で制御を行
なつていた。従つて、フレームメモリから一画素
のデータを読み出すためには、XアドレスとYア
ドレスを設定してデータを読出し、次に更新更新
アドレスを決定して、この更新アドレスを設定し
てデータを読出すという具合に、アドレス制御命
令とデータ読出し命令を繰返し実行しなければな
らない。
Conventional image input devices contain a huge amount of image information, so in the case of processing devices with small memory areas such as microcomputers, it is necessary to control the frame memory address with a register or expand the address bus signal line of the processing device with a register. It was controlled in this way. Therefore, in order to read one pixel of data from the frame memory, set the X address and Y address, read the data, then determine the update address, set this update address, and read the data. In this way, the address control command and the data read command must be repeatedly executed.

たとえば、全画面が256(水平アドレス)×256
(垂直アドレス)であれば、1命令につき65536回
の動作が必要になり、このため処理速度が遅くな
るという問題があつた。
For example, the full screen is 256 (horizontal address) x 256
(vertical address), 65,536 operations were required for each instruction, which caused the problem of slow processing speed.

〔発明の目的〕[Purpose of the invention]

本発明の目的は、フレームメモリアドレスをレ
ジスタで制御する方式において、データ読み出し
開始アドレスを設定する以外は、アドレス制御命
令を実行することなく、アドレス更新を行なうこ
とが出来る画像入力装置を提供するにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an image input device in which a frame memory address is controlled by a register, and which can update an address without executing an address control command other than setting a data read start address. be.

〔発明の概要〕[Summary of the invention]

本発明は、CPUからフレームメモリに複数の
アドレスを割当て、この複数のアドレスを利用し
て現在アクセス中の画素のアドレスとそれに隣接
する8方向の画素の更新アドレスを統一的に指定
できるようになし、所定開始アドレスを設定する
以外はアドレス制御命令によらずに次のアクセス
アドレスを自動更新できるようにしている。
The present invention allocates multiple addresses from the CPU to the frame memory, and uses these multiple addresses to uniformly specify the address of the pixel currently being accessed and the update addresses of pixels in eight directions adjacent to it. , the next access address can be automatically updated without using an address control command except for setting a predetermined start address.

これによれば、アドレス更新の処理動作を低減
し、膨大な数からなる画像データの処理速度を大
幅に向上するものである。
According to this, the processing operation for updating addresses is reduced, and the processing speed of image data consisting of a huge amount is greatly improved.

すなわち本発明は、処理装置(以下、CPU)
からのアドレス制御命令に従つてフレームメモリ
をアクセスし、画像データをリード/ライトする
画像処理方法において、 CPUは、フレームメモリに複数のアドレスを
割当るためにCPUメモリ内に複数のアドレスポ
ートを設定していて、フレームメモリをアクセス
する所定の始点アドレスとなるアクセスアドレス
を含むアドレス制御命令を、アクセスアドレスに
隣接する斜めを含む複数方向のアドレスの一つを
次の更新アドレスとするために予め前記更新方向
の各々と対応されている所定アドレスポートを用
いて出力し、 前記アドレス制御命令を受信した画像入力装置
は、アクセスアドレスをフレームメモリの画素点
を指定するアドレスレジスタに設定してCPUか
らのアクセス命令を実行可能にするとともに、該
アクセス命令の実行タイミングで前記所定アドレ
スポートの更新方向に応じ前記アドレスレジスタ
の内容を2次元に増減して更新するようにしたこ
とを特徴とする。
In other words, the present invention provides a processing device (hereinafter referred to as a CPU)
In an image processing method that accesses frame memory and reads/writes image data according to address control instructions from the CPU, the CPU sets multiple address ports in the CPU memory to allocate multiple addresses to the frame memory The address control command including the access address which is a predetermined starting point address for accessing the frame memory is pre-written in order to set one of the addresses in multiple directions including diagonal directions adjacent to the access address as the next update address. The image input device outputs data using a predetermined address port corresponding to each update direction, and upon receiving the address control command, sets an access address in an address register that specifies a pixel point in the frame memory, and receives data from the CPU. The present invention is characterized in that an access instruction is made executable, and the contents of the address register are updated by increasing or decreasing two-dimensionally in accordance with the update direction of the predetermined address port at the execution timing of the access instruction.

〔発明の実施例〕[Embodiments of the invention]

第1図に、本発明の画像入力装置を含む、画像
処理装置のブロツク図を示す。
FIG. 1 shows a block diagram of an image processing device including an image input device of the present invention.

工業用テレビカメラ4によつて撮影された映像
は、複合映像信号に変換されて画像入力装置3に
入力される。入力された複合映像信号は、映像増
幅器5を介してA/Dコンバータ6と同期分離回
路7に接続される。
The video captured by the industrial television camera 4 is converted into a composite video signal and input to the image input device 3. The input composite video signal is connected to an A/D converter 6 and a synchronous separation circuit 7 via a video amplifier 5.

タイミング制御回路8は、工業用テレビカメラ
4の水平走査による映像信号を、画素に分解する
ためのサンプリングパルスを発生し、A/Dコン
バータ6とD/Aコンバータ15を制御する。
The timing control circuit 8 generates sampling pulses for decomposing a video signal obtained by horizontal scanning of the industrial television camera 4 into pixels, and controls the A/D converter 6 and the D/A converter 15.

アドレス発生回路9は、同期分離回路7で検出
される同期信号のタイミングで、タイミング制御
回路8から出力されるサンプリングパルスをカウ
ントし、フレームメモリの取り込みアドレスを発
生させる。
The address generation circuit 9 counts the sampling pulses output from the timing control circuit 8 at the timing of the synchronization signal detected by the synchronization separation circuit 7, and generates a frame memory capture address.

10は、アドレス発生回路9から指定されるア
ドレスと、アドレスレジスタ18から指定される
アドレスの、いずれかを選択してフレームメモリ
12に接続するアドレス信号用マルチプレクサで
ある。また、11は処理装置1からの書き込みデ
ータとA/Dコンバータ6によつて得られる取り
込みデータの、いずれかを選択してフレームメモ
リに接続する書き込みデータ用マルチプレクサで
ある。
Reference numeral 10 denotes an address signal multiplexer that selects either the address specified by the address generation circuit 9 or the address specified from the address register 18 and connects the selected address to the frame memory 12. Further, 11 is a multiplexer for write data which selects either the write data from the processing device 1 or the input data obtained by the A/D converter 6 and connects the selected data to the frame memory.

フレームメモリ12のアドレスは、水平方向と
垂直方向の二次元座標で表現され、水平方向はテ
レビカメラの走査線上のサンプル数で示され、垂
直方向は走査線の数で示される。そしてデータ
は、画素の濃淡情報を示す。本実施例によるフレ
ームメモリは、水平256点、垂直256本、映像デー
タ4bitの32kbyteのメモリである。
The address of the frame memory 12 is expressed by two-dimensional coordinates in the horizontal and vertical directions, with the horizontal direction being indicated by the number of samples on the scanning line of the television camera, and the vertical direction being indicated by the number of scanning lines. The data indicates grayscale information of the pixel. The frame memory according to this embodiment is a 32 kbyte memory with 256 horizontal points, 256 vertical lines, and 4 bits of video data.

メモリ制御回路13は、アドレスセレクタ10
及びデータセレクタ11を制御し、フレームメモ
リの読み出し、書き込みのタイミングを制御す
る。
The memory control circuit 13 includes an address selector 10
and the data selector 11 to control read and write timings of the frame memory.

モニタテレビ14は、フレームメモリ12に記
憶された映像を観察する場合に使用する。フレー
ムメモリ12のデイジタル映像データは、D/A
コンバータ15でアナログ映像信号に変換され、
合成回路16によつて垂直、水平同期信号を含
む、複合映像信号に変換された後に、モニタテレ
ビに接続される。
The monitor television 14 is used to view the video stored in the frame memory 12. The digital video data in the frame memory 12 is D/A
It is converted into an analog video signal by the converter 15,
After being converted into a composite video signal including vertical and horizontal synchronizing signals by the synthesis circuit 16, it is connected to a monitor television.

17は、処理装置インタフエイスバス2と画像
入力装置3を接続するための制御回路で、処理装
置のメモリ空間内へ画像入力装置を割り付け、デ
ータバツフア19のデータ転送タイミングを制御
する。
Reference numeral 17 denotes a control circuit for connecting the processing device interface bus 2 and the image input device 3, which allocates the image input device in the memory space of the processing device and controls data transfer timing of the data buffer 19.

アドレスレジスタ18は、処理装置1からアク
セス(リード/ライト)するフレームメモリのア
ドレスを設定すると共に、そのアクセスアドレス
を自動更新する機能をもつ。レジスタへのアドレ
スの設定は、フレームメモリに割当られる画像処
理アドレス空間(第4図)に対応して行なわれ
る。
The address register 18 has a function of setting an address of the frame memory to be accessed (read/written) from the processing device 1 and also automatically updates the access address. Addresses are set in the registers in correspondence with the image processing address space (FIG. 4) allocated to the frame memory.

ところで、処理装置1はフレームメモリ(1
台)に複数のアドレスを割当るために、複数個の
アドレスポートをその主メモリ内に設定してい
て、後述する第4図に示すように、各アドレスポ
ートには更新するアドレスの方向が対応される。
そこで、アドレスレジスタ18は処理装置からバ
ス2を経由して送られてくるアドレス制御命令
が、どのアドレスポートのものであるかチエツク
し、当該アドレスポートに予め設定されている更
新方向に従つて、次にアクセスするアドレスを更
新する。更新はアクセス動作終了のタイミングで
行なう。
By the way, the processing device 1 has a frame memory (1
In order to allocate multiple addresses to a device (machine), multiple address ports are set in its main memory, and as shown in Figure 4 below, each address port corresponds to the direction of the address to be updated. be done.
Therefore, the address register 18 checks which address port the address control command sent from the processing device via the bus 2 belongs to, and according to the update direction set in advance for the address port, Update the next address to access. The update is performed at the timing of the end of the access operation.

第2図に、処理装置として8bitマイクロコンピ
ユータ6800(以下MPUと略す)を使用して本発明
を実施した、アドレスレジスタ部のブロツク図を
示す。
FIG. 2 shows a block diagram of an address register section in which the present invention is implemented using an 8-bit microcomputer 6800 (hereinafter abbreviated as MPU) as a processing device.

MPUと画像入力装置間のデータ転送は、MPU
の転送命令で実行され、インタフエイスバス2に
転送アドレス及び転送タイミングが与えられる。
転送アドレスは、バスのA15〜A0,VMAの
信号で与えられ、転送タイミングはφ2,R/W
の信号により制御される。
Data transfer between the MPU and the image input device is performed by the MPU.
A transfer address and a transfer timing are given to the interface bus 2.
The transfer address is given by the A15 to A0 and VMA signals of the bus, and the transfer timing is φ2, R/W.
controlled by the signal.

20は、画像入力装置をMPUのアドレス空間
内に割り付けるためのアドレス比較器であり、2
1は画像入力装置のアドレスを設定するスイツチ
である。アドレス比較器20は、スイツチ21に
より設定されたアドレスと、インタフエイスバス
2上のアドレス信号を比較し、同一アドレスを検
知した場合に、アドレス一致信号を出力する。
20 is an address comparator for allocating an image input device in the address space of the MPU;
1 is a switch for setting the address of the image input device. The address comparator 20 compares the address set by the switch 21 with the address signal on the interface bus 2, and outputs an address match signal when the same address is detected.

また、バス上のメモリアドレスが有効であるこ
とを示すVMA信号をバスレシーバ22を介して
入力し、アドレス一致信号をNANDゲート23
で論理積をとり、画像入力装置が指定されたこと
を示すセレクト信号を出力する。画像入力装置
は、このセレクト信号を受け付けた時にだけ、
MPUのインタフエイスバスと接続される。
Additionally, a VMA signal indicating that the memory address on the bus is valid is input via the bus receiver 22, and an address match signal is sent to the NAND gate 23.
performs a logical AND operation, and outputs a select signal indicating that the image input device has been designated. Only when the image input device receives this select signal,
Connected to the MPU interface bus.

24は、アドレスレジスタ制御回路を示し、2
5は転送データ制御回路を示す。これらは、バス
のタイミング信号φ2,R/Wと、アドレス信号
A3〜A0までの下位4bitをデコードして、転送
データ及び、アドレス更新内容を制御する。
24 indicates an address register control circuit;
5 indicates a transfer data control circuit. These decode the bus timing signals φ2 and R/W and the lower 4 bits of address signals A3 to A0 to control transfer data and address update contents.

また、NANDゲート26は、φ2とR/Wの論
理積をとり、データバツフア19の転送タイミン
グを制御する。D7〜D0はデータ信号である。
Further, the NAND gate 26 performs a logical product of φ2 and R/W to control the transfer timing of the data buffer 19. D7-D0 are data signals.

27と28はアドレスレジスタで、27は水平
方向、28は垂直方向のアドレスを格納する。こ
のアドレスレジスタは、カウントデータがプリセ
ツト可能で、カウントアツプとカウントダウンの
カウント入力を、別々にもつアツプダウンカウン
タを使用する。カウンタにアドレスデータをプリ
セツトする指令及び、アドレスデータの更新命令
は、MPUからのアドレス制御命令に従い、アド
レスレジスタ制御回路24から出力される。
27 and 28 are address registers, 27 stores addresses in the horizontal direction, and 28 stores addresses in the vertical direction. This address register uses an up-down counter whose count data can be preset and has separate count inputs for count-up and count-down. A command to preset address data in the counter and a command to update the address data are output from the address register control circuit 24 in accordance with an address control command from the MPU.

指令信号線29の内容は、カウントアツプパル
ス、カウントダウンパルス、データロード、カウ
ンタクリアの4種から成り、それぞれ27,28
のカウンタに独立して接続される。
The contents of the command signal line 29 consist of four types: count-up pulse, count-down pulse, data load, and counter clear, each with a value of 27 and 28.
independently connected to the counter.

30は、垂直方向アドレスレジスタ用データセ
レクタで、フレームメモリの有効アドレスだけを
更新させるのに必要なアドレスデータを、設定ス
イツチ31から読み出す場合と、MPUから転送
されるアドレスデータのいずれかを垂直アドレス
レジスタ28に接続する。
30 is a data selector for the vertical address register, which is used to read address data necessary for updating only the effective address of the frame memory from the setting switch 31, or to read address data transferred from the MPU to the vertical address register. Connect to register 28.

32はアドレス管理回路で、アドレスレジスタ
27と28の内容を参照し、アドレスレジスタ制
御回路24が制御指令29を出力するのに必要な
位置情報を出力する。
An address management circuit 32 refers to the contents of the address registers 27 and 28 and outputs position information necessary for the address register control circuit 24 to output the control command 29.

33はデータセレクタで、アドレスレジスタ2
7,28の内容または、フレームメモリの映像デ
ータのいずれかを選択して、データバツフア19
に接続するもので、転送データ制御回路25によ
つて制御される。
33 is a data selector, and address register 2
Select either the contents of 7 or 28 or the video data in the frame memory, and save the data to the data buffer 19.
The transfer data control circuit 25 controls the transfer data control circuit 25.

第3図に、アドレス更新の内容を示す。 FIG. 3 shows the contents of address update.

一般に、画像の認識処理では、まず画像の輪郭
を識別する。この場合に、画像情報が現在アクセ
ス中の画素から縦、横、斜め方向のどの画素に連
続するかを知り、連続する画素の方向に次のアク
セスを行なうようにすれば、輪郭の識別が可能と
なる。このような処理を容易にするためには、現
在アクセス中の画素に近接する8方向の画素の中
から次のアクセスアドレスを、画像入力装置側で
自動更新できるのが望ましい。本発明の画像入力
装置は、第3図に示すように、アドレスレジスタ
に格納されている水平アドレスX、及び垂直アド
レスYに指定された画素P点をアクセスする動作
または動作終了のタイミングで、その近接する画
素a〜hのアドレスに、自動的にアドレスレジス
タの内容を変更する。
Generally, in image recognition processing, the outline of the image is first identified. In this case, the outline can be identified by knowing which pixels in the vertical, horizontal, or diagonal direction the image information continues from the currently accessed pixel, and making the next access in the direction of the consecutive pixels. becomes. In order to facilitate such processing, it is desirable that the image input device be able to automatically update the next access address from among pixels in eight directions adjacent to the pixel currently being accessed. As shown in FIG. 3, the image input device of the present invention accesses the pixel point P specified by the horizontal address The contents of the address register are automatically changed to the addresses of adjacent pixels a to h.

第4図に、画像入力装置をMPUのメモリエリ
ア内で、E100〜E10F番地に割り当てた場合のフ
レームメモリのアクセス方法及び、第3図に対応
するアドレス更新内容を示す。
FIG. 4 shows a frame memory access method when the image input device is allocated to addresses E100 to E10F in the memory area of the MPU, and address update contents corresponding to FIG. 3.

E100番地は、水平アドレスレジスタXにデー
タを設定するアドレスポートであり、E101番地
は、垂直アドレスレジスタYにデータを設定する
アドレスポートである。また、E102番地〜E10A
番地は、X,Yのアドレスレジスタの示すフレー
ムメモリの内容をアクセスするアドレスポートで
ある。
Address E100 is an address port for setting data in horizontal address register X, and address E101 is an address port for setting data in vertical address register Y. Also, address E102 ~ E10A
The address is an address port that accesses the contents of the frame memory indicated by the X and Y address registers.

本発明は、フレームメモリをアクセスするため
に複数のアドレスポートを設け、どのアドレスポ
ートからフレームメモリをアクセスしたかによ
り、X,Yアドレスレジスタにインクリメント、
デクリメント及びデータロード、アドレスクリア
の制御を行なつて、アドレスを更新する。たとえ
ば、第4図で、E102番地のP点の画素データを
アクセスするポートで、アクセス動作を行なつて
もアドレスは更新されない。また、E103番地は、
P点の画素データをアクセスした後にXアドレス
レジスタの内容に+1を加算し、a点にアドレス
更新を行なうポートである。このような方法で、
アドレスレジスタ制御回路は、MPUがフレーム
メモリをアクセスするアドレスポートの位置によ
つて、X,Yのアドレスレジスタを自動的に更新
する。
The present invention provides a plurality of address ports to access the frame memory, and increments the X and Y address registers depending on which address port the frame memory is accessed from.
Updates the address by controlling decrement, data loading, and address clearing. For example, in FIG. 4, even if an access operation is performed at the port that accesses the pixel data at point P at address E102, the address is not updated. Also, address E103 is
This port adds +1 to the contents of the X address register after accessing the pixel data at point P, and updates the address at point a. In this way,
The address register control circuit automatically updates the X and Y address registers depending on the position of the address port from which the MPU accesses the frame memory.

第5図に、E103番地から連続してデータをア
クセスした場合の水平方向のデータスキヤン動作
を示す。また第6図に、E105番地から連続して
データをアクセスした場合の垂直方向のデータス
キヤン動作を示す。図において、Y方向アドレス
の0〜239画素アドレスは有効メモリエリアを示
し、240〜255の画素アドレスは無効エリアを示
す。アドレス管理回路は、水平方向アドレスレジ
スタの内容が0または255の場合、垂直方向アド
レスレジスタの内容が0または239の場合には、
有効メモリエリア内のアドレス更新だけを行なわ
せるために、アドレスレジスタ制御回路に位置情
報を伝達する。
FIG. 5 shows the horizontal data scanning operation when data is accessed continuously from address E103. Further, FIG. 6 shows a vertical data scan operation when data is accessed continuously from address E105. In the figure, pixel addresses from 0 to 239 in the Y direction indicate an effective memory area, and pixel addresses from 240 to 255 indicate an invalid area. If the content of the horizontal address register is 0 or 255, and if the content of the vertical address register is 0 or 239, the address management circuit will
Position information is transmitted to the address register control circuit in order to update only addresses within the valid memory area.

有効メモリエリア内のアドレス更新は、アドレ
スレジスタに使用しているアツプダウンカウンタ
に、カウントアツプまたはカウントダウンパルス
を与えることで実行し、有効メモリエリア端で
は、カウンタクリアまたはデータロードパルスを
与えることで実行する。また、垂直方向の有効メ
モリエルア内だけを効率良くアクセスさせるため
に、垂直方向の有効メモリエリア端で、239から
0にアドレスを更新させる場合は、カウンタクリ
アパルスで、0から239にアドレスを更新させる
場合はデータロードパルスで制御し、データアク
セスと同時にアドレスを更新する。それ以外の動
作は、カウントアツプパルスまたはカウントダウ
ンパルスで制御し、データアクセスの動作終了時
にアドレス更新を行なう。
Address updates in the effective memory area are executed by applying count-up or count-down pulses to the up-down counter used in the address register, and at the end of the effective memory area, by applying counter clear or data load pulses. do. Also, in order to efficiently access only the valid memory area in the vertical direction, if you want to update the address from 239 to 0 at the end of the valid memory area in the vertical direction, use the counter clear pulse to update the address from 0 to 239. In this case, it is controlled by a data load pulse and the address is updated at the same time as the data is accessed. Other operations are controlled by count-up pulses or count-down pulses, and the address is updated at the end of the data access operation.

第7図は、MPUのデータリード時に各制御パ
ルスを発生させるタイミングチヤートを示す。
FIG. 7 shows a timing chart for generating each control pulse when reading data from the MPU.

各制御パルスは、アドレスレジスタ制御回路に
より選択され、水平アドレスレジスタX及び垂直
アドレスレジスタYに出力される。なお、φ1
φ2とは逆位相の同期信号を示す。
Each control pulse is selected by an address register control circuit and output to a horizontal address register X and a vertical address register Y. Note that φ 1 indicates a synchronization signal having an opposite phase to φ 2 .

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

本発明によれば、複雑なアドレス計算をせずに
任意方向のアドレスを更新できるだけでなく、ア
クセスを開始するアドレスを一度設定するだけ
で、フレームメモリデータを連続してアクセスで
きるため、処理時間を短縮することができる。
According to the present invention, not only can addresses in any direction be updated without complicated address calculations, but frame memory data can be accessed continuously by simply setting the address to start accessing once, which reduces processing time. Can be shortened.

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

第1図は本発明を組み込んだ画像入力装置のブ
ロツク図、第2図は本発明の一実施例のアドレス
更新機能をもつたアドレスレジスタの構成図、第
3図はアドレス更新の方向を示す図、第4図はア
ドレス更新内容とMPUメモリエリア番地の対応
図、第5図及び第6図はアドレス更新機能による
フレームメモリ内走査の実施例を示す図、第7図
は制御クロツクのタイミングチヤート図である。 18……アドレスレジスタ。
FIG. 1 is a block diagram of an image input device incorporating the present invention, FIG. 2 is a block diagram of an address register with an address updating function according to an embodiment of the present invention, and FIG. 3 is a diagram showing the direction of address updating. , Fig. 4 is a diagram showing the correspondence between address update contents and MPU memory area addresses, Figs. 5 and 6 are diagrams showing an example of scanning within the frame memory by the address update function, and Fig. 7 is a timing chart of the control clock. It is. 18...Address register.

Claims (1)

【特許請求の範囲】 1 処理装置(以下、CPU)からのアドレス制
御命令に従つてフレームメモリをアクセスし画像
データをリード/ライトする画像処理方法におい
て、 CPUは、フレームメモリに複数のアドレスを
割当るためにCPUメモリ内に複数のアドレスポ
ートを設定していて、フレームメモリをアクセス
する所定の始点アドレスとなるアクセスアドレス
を含むアドレス制御命令を、前記アクセスアドレ
スに隣接する斜めを含む複数方向のアドレスの一
つを次の更新アドレスとするために予め前記更新
方向の各々と対応されている所定アドレスポート
を用いて出力し、 前記アドレス制御命令を受信した画像入力装置
は、アクセスアドレスをフレームメモリの画素点
を指定するアドレスレジスタに設定してCPUか
らのアクセス命令を実行可能にするとともに、該
アクセス命令の実行タイミングで前記所定アドレ
スポートの更新方向に応じ前記アドレスレジスタ
の内容を2次元に増減して更新することを特徴と
する画像処理方法。 2 前記アクセス命令がデータ読出しである場合
に、更新されたアクセスアドレスは画像データが
連続する画素点となるように前記更新方向を指定
することを特徴とする特許請求の範囲第1項記載
の画像処理方法。 3 処理装置(以下、CPU)と、フレームメモ
リと、CPUとインタフエイスバスで接続され
CPUからのアドレス制御命令に従つてフレーム
メモリのアクセスを制御する画像入力装置を具備
して画像データをリード/ライトする画像処理装
置において、 前記CPUは、前記フレームメモリに複数のア
ドレスを割当るためにCPUメモリ内にもつ複数
のアドレスポートと、前記フレームメモリをアク
セスする所定の始点を設定するアクセスアドレス
とその更新のために前記アクセスアドレスに隣接
する斜め方向を含む複数の更新方向の各々と対応
される前記アドレスポートの一つの指定を含む前
記アクセス制御命令を出力するアドレス制御命令
出力手段及び前記フレームメモリをリード/ライ
トするアクセス命令を出力するアクセス命令出力
手段を具備し、 前記画像入力装置は、前記アドレス制御命令の
前記アクセスアドレスを記憶するアドレスレジス
タと、前記アドレス制御命令により指定される所
定のアクセスポートの所定更新方向に応じ前記ア
ドレスレジスタのアクセスアドレスを2次元に増
減して更新アドレスを設定するアドレス更新手段
と、前記更新アドレスがフレームメモリのアクセ
ス有効範囲であるか否かをチエツクし、否の場合
に前記更新アドレスを所定有効アドレスにシフト
するアドレス管理手段と、前記アクセス命令に応
じ前記フレームメモリからCPUにデータを転送
するデータ転送手段を具備していることを特徴と
する画像処理装置。
[Claims] 1. In an image processing method in which a frame memory is accessed and image data is read/written in accordance with an address control command from a processing device (hereinafter referred to as a CPU), the CPU allocates a plurality of addresses to the frame memory. If multiple address ports are set in the CPU memory in order to The image input device that has received the address control command outputs one of the access addresses as the next update address using predetermined address ports that correspond to each of the update directions, and the image input device that has received the address control command outputs the access address as the next update address. Setting a pixel point in an address register to enable execution of an access command from the CPU, and two-dimensionally increasing or decreasing the contents of the address register according to the update direction of the predetermined address port at the execution timing of the access command. An image processing method characterized by updating the image by updating the image. 2. The image according to claim 1, wherein when the access command is data read, the updated access address specifies the update direction so that the image data is continuous pixel points. Processing method. 3 The processing unit (hereinafter referred to as the CPU), the frame memory, and the CPU are connected by an interface bus.
In an image processing device that reads/writes image data and includes an image input device that controls access to a frame memory according to an address control command from a CPU, the CPU allocates a plurality of addresses to the frame memory. corresponds to each of a plurality of address ports in the CPU memory, an access address for setting a predetermined starting point for accessing the frame memory, and a plurality of update directions including a diagonal direction adjacent to the access address for updating the access address; an address control command output means for outputting the access control command including a designation of one of the address ports, and an access command output means for outputting an access command for reading/writing the frame memory; , an address register that stores the access address of the address control instruction, and an update address that increases or decreases the access address of the address register two-dimensionally according to a predetermined update direction of a predetermined access port specified by the address control instruction. address updating means for setting an address, address management means for checking whether or not the updated address is within a valid access range of the frame memory, and shifting the updated address to a predetermined valid address if not; An image processing device comprising a data transfer means for transferring data from the frame memory to a CPU.
JP58097874A 1983-06-03 1983-06-03 Picture input device Granted JPS59223880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58097874A JPS59223880A (en) 1983-06-03 1983-06-03 Picture input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58097874A JPS59223880A (en) 1983-06-03 1983-06-03 Picture input device

Publications (2)

Publication Number Publication Date
JPS59223880A JPS59223880A (en) 1984-12-15
JPH059832B2 true JPH059832B2 (en) 1993-02-08

Family

ID=14203889

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58097874A Granted JPS59223880A (en) 1983-06-03 1983-06-03 Picture input device

Country Status (1)

Country Link
JP (1) JPS59223880A (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6019253A (en) * 1983-07-13 1985-01-31 Toshiba Corp Memory address control circuit
JPH0621997B2 (en) * 1989-06-26 1994-03-23 ローム株式会社 ROM data reading device for key operation equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5495128A (en) * 1978-01-13 1979-07-27 Nec Corp Memory control system
JPS55110363A (en) * 1979-02-19 1980-08-25 Toshiba Corp Picture processor
JPS5824954A (en) * 1981-08-06 1983-02-15 Fujitsu Ltd Address controlling system
JPS5851373A (en) * 1981-09-22 1983-03-26 Agency Of Ind Science & Technol Picture storage device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5495128A (en) * 1978-01-13 1979-07-27 Nec Corp Memory control system
JPS55110363A (en) * 1979-02-19 1980-08-25 Toshiba Corp Picture processor
JPS5824954A (en) * 1981-08-06 1983-02-15 Fujitsu Ltd Address controlling system
JPS5851373A (en) * 1981-09-22 1983-03-26 Agency Of Ind Science & Technol Picture storage device

Also Published As

Publication number Publication date
JPS59223880A (en) 1984-12-15

Similar Documents

Publication Publication Date Title
US6025854A (en) Method and apparatus for high speed image acquisition
JPS59208586A (en) Video image display unit
JPS6055836B2 (en) video processing system
US5943504A (en) System for transferring pixel data from a digitizer to a host memory using scatter/gather DMA
US5530458A (en) Image memory control device
US5438376A (en) Image processing apparatus and image reception apparatus using the same
US4647971A (en) Moving video special effects system
JPH059832B2 (en)
US6020900A (en) Video capture method
JP2001134243A (en) Lcd panel display device
JP2820048B2 (en) Image processing system, storage device and access method therefor
KR100323462B1 (en) Hybrid frame grabber device for interfacing video data
JP2861053B2 (en) Image processing device
JPH0443594B2 (en)
JP3093967B2 (en) Display control apparatus and method
JP3283281B2 (en) Image input / output device
JP3431925B2 (en) Image display control apparatus and method
JP5213394B2 (en) Image transfer device
JP3332770B2 (en) Memory control circuit
JPH0273293A (en) Scan converter circuit
JPH03252878A (en) Picture data input device
JPS62127887A (en) Image memory controller
JPS644194B2 (en)
JPS6273290A (en) Image display unit
JPH0330074A (en) Display screen synthesizing device