JPH0736199B2 - Digital image data comparison device - Google Patents

Digital image data comparison device

Info

Publication number
JPH0736199B2
JPH0736199B2 JP1291761A JP29176189A JPH0736199B2 JP H0736199 B2 JPH0736199 B2 JP H0736199B2 JP 1291761 A JP1291761 A JP 1291761A JP 29176189 A JP29176189 A JP 29176189A JP H0736199 B2 JPH0736199 B2 JP H0736199B2
Authority
JP
Japan
Prior art keywords
image
memory
image data
data
comparison
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 - Fee Related
Application number
JP1291761A
Other languages
Japanese (ja)
Other versions
JPH03152677A (en
Inventor
安紀 幡生
谷口  慶治
Original Assignee
山口 佳宏
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 山口 佳宏 filed Critical 山口 佳宏
Priority to JP1291761A priority Critical patent/JPH0736199B2/en
Publication of JPH03152677A publication Critical patent/JPH03152677A/en
Publication of JPH0736199B2 publication Critical patent/JPH0736199B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Analysis (AREA)

Description

【発明の詳細な説明】 「産業上の利用分野」 本発明は、映像信号をA−D変換器などによりデジタル
量に変換された画像データを処理するデジタル画像間デ
ータ比較装置に関するものである。
The present invention relates to a digital image-to-image data comparison device for processing image data obtained by converting a video signal into a digital amount by an AD converter or the like.

「従来の技術」 従来の一般的な画像処理装置は、第2図に示すとおりで
ある。この画像処理装置では、比較対象となる画像を画
像メモリI,画像メモリIIに記憶させておき、画像メモリ
Iおよび画像メモリIIから出力させて画像比較器(CP
U)により比較演算を行っている。画像比較器に換えて
ロジック回路を用いることもある。
"Prior Art" A conventional general image processing apparatus is as shown in FIG. In this image processing apparatus, an image to be compared is stored in the image memory I and the image memory II, and is output from the image memory I and the image memory II, and the image comparator (CP
U) is used for comparison calculation. A logic circuit may be used instead of the image comparator.

「発明が解決しようとする課題」 上記のような従来の画像処理装置では、画像メモリIお
よび画像メモリIIから出力させて画像比較器で演算を行
っている間は、画像メモリIおよび画像メモリIIに対し
て画像を取り込むことができず、連続画像の処理を行う
ことができない。画像処理装置全体の演算速度を高速化
することで、連続画像の処理も可能となるが、画像処理
装置が複雑となり、規模、コストとも大きなものとな
る。
[Problems to be Solved by the Invention] In the conventional image processing apparatus as described above, the image memory I and the image memory II are output while the image memory I and the image memory II are outputting and the calculation is performed by the image comparator. However, images cannot be captured and continuous images cannot be processed. By increasing the calculation speed of the image processing apparatus as a whole, continuous images can be processed, but the image processing apparatus becomes complicated, and the scale and cost increase.

「課題を解決するための手段および作用」 そこで、本発明は、上記の事情に鑑み、画像処理装置を
大規模化することなく、演算速度を高速化し連続画像の
処理も可能とすべく、デジタル画像処理において、画像
データの読み出しと書き込みが同時(1画素を転送する
時間内)にできるメモリ構成と、比較演算用テーブルメ
モリとを備え、入力される画像データを画像メモリに書
き込むと同時に、比較演算用テーブルメモリを、画像メ
モリに記憶しておいた所望の画像データと入力される画
像データによりコントロールすることで、必要とする結
果画像を比較演算用テーブルメモリより連続的に出力す
るデジタル画像間データ比較装置である。
[Means and Actions for Solving the Problems] In view of the above circumstances, the present invention provides a digital method for increasing the operation speed and enabling the processing of continuous images without increasing the size of the image processing apparatus. In the image processing, a memory configuration capable of reading and writing image data at the same time (within one pixel transfer time) and a comparison calculation table memory are provided, and the input image data is written into the image memory and at the same time compared. By controlling the calculation table memory with the desired image data stored in the image memory and the input image data, the required result image is continuously output from the comparison calculation table memory between digital images. It is a data comparison device.

「実施例」 本発明を実施例に基づいて以下詳細に説明する。"Example" The present invention will be described in detail below based on an example.

本発明の実施例として、512×512画素の8bit画像データ
を処理するデジタル画像間データ比較装置を第1図に示
す。本発明では、画像比較器としてルック・アップ・テ
ーブルメモリを用いており、初期設定として、入力画像
に対応して出力する比較結果画像データを想定してテー
ブルメモリに書き込んでおく。次に比較対象となる2つ
の画像データを用いて、テーブルメモリのアドレス線を
制御することで、目的とする比較結果画像データを得
る。
As an embodiment of the present invention, FIG. 1 shows a digital inter-image data comparison apparatus for processing 8-bit image data of 512 × 512 pixels. In the present invention, the look-up table memory is used as the image comparator, and as the initial setting, the comparison result image data to be output corresponding to the input image is assumed and written in the table memory. Next, the target comparison result image data is obtained by controlling the address line of the table memory using the two image data to be compared.

512×512画素の8bit画像メモリは、画面上の画素の位置
に対応して記憶する場所が設定されている画像メモリ1
枚、若しくは、複数枚に拡張できるように構成されてお
り、システムコントロールバスより書き込みと読み出し
に用いられる画像メモリがそれぞれ独立に設定され、比
較演算用テーブルメモリに対して任意の画像メモリより
入力される画像データの画素位置に対応する記憶されて
いた画像データを出力すると同時に、任意の画像メモリ
に入力画像データを書き込むことができる。画像メモリ
が1枚の場合、若しくは、読み出しと書き込みに用いら
れる画像メモリが同一の場合は、入力される画像データ
の画素位置に対応するデータを読み出した後、同じ位置
に入力データが書き込まれる。もっと詳しく述べると、
画像メモリI、画像メモリII〜画像メモリNは、それぞ
れ独立して機能する。例えば、画像メモリ1にデータを
書き込みながら画像メモリIIよりあらかじめ記憶されて
いた画像データを読み出すことが可能である。また、画
像メモリIのみ単独で使用する場合、読み出し動作を行
った直後、リードモディファイライトを行い、同じ位置
に書き込み動作を行うことで、前の画像データを読み出
しながら新たな画像データを書き込むことが可能であ
る。これは1画素を転送する時間内に読み出しと書き込
みが行えることを意味する。
The image memory 1 is an 8-bit image memory of 512 x 512 pixels, where the storage location is set corresponding to the position of the pixel on the screen.
The image memory used for writing and reading is set independently from the system control bus, and is input to the comparison calculation table memory from any image memory. The stored image data corresponding to the pixel position of the image data to be output can be output, and at the same time, the input image data can be written to an arbitrary image memory. When there is only one image memory, or when the image memories used for reading and writing are the same, the data corresponding to the pixel position of the input image data is read and then the input data is written at the same position. More specifically,
The image memory I and the image memories II to N function independently. For example, it is possible to read the image data stored in advance from the image memory II while writing the data in the image memory 1. When only the image memory I is used alone, the read modify write is performed immediately after the read operation and the write operation is performed at the same position, so that the new image data can be written while reading the previous image data. It is possible. This means that reading and writing can be performed within the time for transferring one pixel.

なお、本発明の画像メモリ構成とは、画像メモリのみな
らず、画像メモリ回路を有するものをいう。
The image memory structure of the present invention means not only an image memory but also an image memory circuit.

比較演算用テーブルメモリは、8bitの画像データを取り
扱うために、下位8bit,上位8bitの合計16bitのアドレス
ラインを有しており、下位8bitのアドレスラインは入力
画像データからのデータラインに、上位8bitのアドレス
ラインは画像メモリの出力データラインに接続される。
これより、比較演算用テーブルメモリの出力データは、
入力画像の情報と画像メモリからの情報に対応して選択
され出力を行うことになる。よって、あらかじめテーブ
ルメモリに比較結果情報を書き込んでおけば、画像情報
に対応した出力が得られる。
The comparison calculation table memory has a total of 16 bits of lower 8 bits and upper 8 bits to handle 8 bits of image data, and the lower 8 bits address line is a data line from the input image data and the upper 8 bits. Address line is connected to the output data line of the image memory.
From this, the output data of the comparison calculation table memory is
The selected image is output corresponding to the information of the input image and the information from the image memory. Therefore, if the comparison result information is written in the table memory in advance, an output corresponding to the image information can be obtained.

テーブル・ルック・アップ・メモリとは、テーブル・ル
ック・アップ表をメモリに書き込んでおき、メモリのア
ドレス線を制御することで、目的とするデータをデータ
線より取り出すのに用いるメモリである。これまでは、
ロジック回路により結果を計算していたが、最近のメモ
リの大容量化、低価格化によりこのテーブル・ルック・
アップ・メモリが用いられるようになった。ロジック回
路に対して、回路の構成を簡略化でき、メモリにRAMを
用いることで自由度を持たせることができるメリットが
ある。
The table look-up memory is a memory used to retrieve target data from a data line by writing a table look-up table in the memory and controlling an address line of the memory. until now,
Although the result was calculated by a logic circuit, due to recent increase in memory capacity and cost reduction, this table look
Up memory has come into use. Compared with the logic circuit, the circuit configuration can be simplified, and the RAM can be used as the memory to provide flexibility.

画像メモリ、比較演算用テーブルメモリは、それぞれシ
ステムコントロールバスに接続されており、メモリに対
する読み書き、画像メモリに対するアドレスコントロー
ル、入力画像データの画像メモリへの書き込み・書き込
み禁止・画像メモリの選択などが制御される。
The image memory and table memory for comparison calculation are each connected to the system control bus, and control read / write to the memory, address control for the image memory, write of input image data to the image memory, write prohibition, selection of the image memory, etc. To be done.

「発明の効果」 本発明は、上述のように、デジタル画像処理において、
画像データの読み出しと書き込みが同時(1画素を転送
する時間内)にできる画像メモリ構成と、比較演算用テ
ーブルメモリとを備え、入力される画像データを画像メ
モリに書き込むと同時に、比較演算用テーブルメモリ
を、画像メモリに記憶していた所望の画像データと入力
される画像データによりコントロールすることで、必要
とする結果画像を比較演算用テーブルメモリより連続的
に出力するデジタル画像間データ比較装置であるので、
次の効果を奏する。
"Effect of the Invention" The present invention, as described above, in digital image processing,
An image memory configuration capable of reading and writing image data at the same time (within one pixel transfer time) and a comparison calculation table memory are provided, and at the same time when input image data is written to the image memory, a comparison calculation table A digital inter-image data comparison device that continuously outputs the required result image from the comparison calculation table memory by controlling the memory with the desired image data stored in the image memory and the input image data. Because there is
It has the following effects.

まず、本発明は、連続画像の比較により動的部分の位置
を検出することができる。
First, the present invention can detect the position of a dynamic part by comparing successive images.

次に、本発明は、背景画像と入力画像との比較により変
化位置を検出することができる。
Next, the present invention can detect the change position by comparing the background image and the input image.

また、本発明は、読み出しと書き込みの同時に行える回
路構成のメモリとテーブルメモリによって、簡単な構成
とすることができる。
Further, the present invention can have a simple structure by using a memory having a circuit structure capable of reading and writing simultaneously and a table memory.

さらに、本発明は、テーブルメモリ方式を用いているた
め、必要な演算結果を自由に設定できるため応用性があ
る。
Furthermore, since the present invention uses the table memory system, it is possible to set a necessary calculation result freely, which is applicable.

すなわち、本発明は、画像メモリに対し初めに画像デー
タを記憶させておき、画像データの読み出しのみを行う
ことで、画像メモリのデータと入力する画像データとの
比較により画像間の差異を検出し結果出力が得られる。
That is, according to the present invention, the image data is first stored in the image memory, and only the image data is read, so that the difference between the images can be detected by comparing the image memory data with the input image data. The result output is obtained.

また、本発明は、画像メモリからデータを読み出すと同
時に入力される画像データを書き込み、順次画像メモリ
のデータを更新することで、画像メモリから読み出され
るデータは入力される画像データに対して一つ前の画像
データとなる。よって、比較を行うことにより順次入力
される画像の動的変化部分を検出し、結果出力が得られ
る。
Further, according to the present invention, the data read from the image memory is simultaneously written with the input image data, and the data in the image memory is sequentially updated. It becomes the previous image data. Therefore, by performing the comparison, the dynamically changing portions of the sequentially input images are detected, and the result output is obtained.

さらに、本発明は、画像メモリに、位置に関する補正デ
ータ、テーブルメモリに補正係数を初期設定しておき、
画像メモリより読み出しのみを行うと、入力する画像デ
ータは、補正されて出力される。よって、輝度補正・シ
ェーディング補正・マスキングなどに使用できる。
Further, according to the present invention, the image memory is initialized with the correction data regarding the position, and the table memory is initialized with the correction coefficient.
When only reading is performed from the image memory, the input image data is corrected and output. Therefore, it can be used for brightness correction, shading correction, masking, etc.

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

第1図は本発明の具体的な一実施例のデジタル画像比較
装置のブロック図、第2図は従来の画像処理装置のブロ
ック図である。
FIG. 1 is a block diagram of a digital image comparison apparatus according to a specific embodiment of the present invention, and FIG. 2 is a block diagram of a conventional image processing apparatus.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】デジタル画像処理において、画像データの
読み出しと書き込みが同時(1画素を転送する時間内)
にできる画像メモリ構成と、比較演算用テーブルメモリ
とを備え、入力される画像データを画像メモリに書き込
むと同時に、比較演算用テーブルメモリを、画像メモリ
に記憶していた所望の画像データと入力される画像デー
タによりコントロールすることで、必要とする結果画像
を比較演算用テーブルメモリより連続的に出力するデジ
タル画像間データ比較装置。
1. In digital image processing, reading and writing of image data are performed simultaneously (within one pixel transfer time).
Image memory configuration and a comparison calculation table memory, the input image data is written to the image memory, and at the same time, the comparison calculation table memory is input with the desired image data stored in the image memory. A digital inter-image data comparison device that continuously outputs the required result image from the comparison calculation table memory by controlling the image data according to the image data.
JP1291761A 1989-11-09 1989-11-09 Digital image data comparison device Expired - Fee Related JPH0736199B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1291761A JPH0736199B2 (en) 1989-11-09 1989-11-09 Digital image data comparison device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1291761A JPH0736199B2 (en) 1989-11-09 1989-11-09 Digital image data comparison device

Publications (2)

Publication Number Publication Date
JPH03152677A JPH03152677A (en) 1991-06-28
JPH0736199B2 true JPH0736199B2 (en) 1995-04-19

Family

ID=17773078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1291761A Expired - Fee Related JPH0736199B2 (en) 1989-11-09 1989-11-09 Digital image data comparison device

Country Status (1)

Country Link
JP (1) JPH0736199B2 (en)

Also Published As

Publication number Publication date
JPH03152677A (en) 1991-06-28

Similar Documents

Publication Publication Date Title
US4624013A (en) Linked component extraction circuit for image processor
US20070019093A1 (en) High-speed image pickup method and controller for image pickup device
US6633975B1 (en) Data processing system having plurality of processors and executing series of processings in prescribed order
EP0740464B1 (en) Video apparatus with a single multi-port field memory
JPH0736199B2 (en) Digital image data comparison device
US5886708A (en) Graphic processor and a bit-built method applied therein
JPH06124189A (en) Image display device and image display control method
JPH1166289A (en) Image signal processing circuit
JP3877054B2 (en) Image reduction scaling device
JP2002229933A (en) Image data conversion equipment, image processing system and image data conversion method
JP2585872B2 (en) Image noise removal device
JP2743051B2 (en) Image processing device
US6111615A (en) Address generating and mapping device of video capture system
JP3646839B2 (en) Digital oscilloscope
JP2007221538A (en) Device and method for scene change determination data transfer device, and data transfer method
JP2610817B2 (en) Address generator
JP3413968B2 (en) Television signal interpolation circuit
JP4835872B2 (en) Image processing device
JP2989193B2 (en) Image memory interleaved input / output circuit
JPH08147458A (en) Memory control unit
JPH02135870A (en) Signal processor
JPS62221275A (en) Picture processing system capable of enlargement/ reduction
JPH04530A (en) Color hard copying device
JPS6165370A (en) Data processing circuit
JPH06214556A (en) Picture processing device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees