JPS59176867A - Digital picture processor - Google Patents

Digital picture processor

Info

Publication number
JPS59176867A
JPS59176867A JP5126283A JP5126283A JPS59176867A JP S59176867 A JPS59176867 A JP S59176867A JP 5126283 A JP5126283 A JP 5126283A JP 5126283 A JP5126283 A JP 5126283A JP S59176867 A JPS59176867 A JP S59176867A
Authority
JP
Japan
Prior art keywords
image data
data
feature
image
picture
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.)
Granted
Application number
JP5126283A
Other languages
Japanese (ja)
Other versions
JPH0136147B2 (en
Inventor
Yoshiyuki Okuyama
奥山 良幸
Yoshiki Kobayashi
芳樹 小林
Tadashi Fukushima
忠 福島
Takeshi Kato
猛 加藤
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 Ltd
Original Assignee
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 Ltd filed Critical Hitachi Ltd
Priority to JP5126283A priority Critical patent/JPS59176867A/en
Publication of JPS59176867A publication Critical patent/JPS59176867A/en
Publication of JPH0136147B2 publication Critical patent/JPH0136147B2/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/20Processor architectures; Processor configuration, e.g. pipelining

Abstract

PURPOSE:To decrease the hardware quantity of a digital picture processor by sharing a hardware logic for extraction of features which is used for four-, six- and eight-coupled processes respectively which form a pattern with addition of a picture data converter. CONSTITUTION:The picture data 5 is converted into the 2-dimensional data by a picture segmenting part 150 and stored in a buffer 200. The type and the coupling way of the features extracted out of a CPU are set to a function register. A coupling designation signal 75 and a feature designation signal 80 are transmitted to a picture data converting part 500 in the form of four-, six- and eight- coupled decode-out signals 65-67 and a feature designation decode-out signal 70 respectively. A picture data converting part converts the 2-dimensional array data into ''1'' and ''0'' or transmits the data in accordance with a double input and through an AND gate. Then a feature data group 90 is transmitted to a multiplexer via a feature extracting logic group 550. Thus a feature data 30 is delivered out of the group 90.

Description

【発明の詳細な説明】 本発明は、ディジタル画像処理装置に関する。[Detailed description of the invention] The present invention relates to a digital image processing device.

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

ディジタル画像処理では、画像処理の前段段として、画
像(位置に関する濃度値の連続関数)から離散的な点に
おける標本を取出す標本化が必須でオ)、この標本化の
しかたには以下に述べる2つの方法がある。
In digital image processing, as a first stage of image processing, sampling is required to extract samples at discrete points from an image (continuous function of density values related to position). There are two ways.

1つは、第1図(a)で示す規則正しくならんだ正方配
列すなわち、基板の目における格子点上で標本をと9出
す方法である。もう1つは、第1図(b)で示す正六角
配列の交点で標本を取出す方法である。前者の方法で標
本化した画像の一部を第2図のAとCに示す。後者をB
に示す。ここでXl(i=1〜8)は標本化後の量子化
された1画素に相当する画像データである。
One method is to take out samples on the regularly arranged square array shown in FIG. 1(a), that is, on grid points in the grid of the substrate. The other method is to take samples at the intersections of the regular hexagonal array shown in FIG. 1(b). Parts of images sampled using the former method are shown in FIGS. 2A and 2C. B for the latter
Shown below. Here, Xl (i=1 to 8) is image data corresponding to one quantized pixel after sampling.

ディジタル画像においては、これらの画素の連なり(連
結)で、線分や図形等が構成されるが、この連結の仕方
に4連結、6連結、8連結という考え方([ディジタル
画像処理J Rosenfeld著。
In digital images, line segments, figures, etc. are constructed by a series (connection) of these pixels, and the concept of how to connect these pixels is 4-connection, 6-connection, and 8-connection ([Digital Image Processing J. Rosenfeld, author.

長尾真監訳 p347〜p349)がある。Supervised translation by Makoto Nagao, p.347-p.349).

4連結は、第2図のAで示す様に、注目する画像データ
Xoに対して、Xl + Xl + XS + X7の
4方向に画素を連ねて線分や図形などを構成する考え方
である。8連結は、第2図のCで示す様に、X1〜X8
の8方向に画素を連ねて線分や図形などを構成する考え
方である。
The 4-connection is a concept of configuring line segments, figures, etc. by connecting pixels in four directions, Xl + Xl + XS + X7, for the image data of interest Xo, as shown by A in FIG. 8 connection, as shown by C in Figure 2, X1 to X8
The idea is to connect pixels in eight directions to form line segments, figures, etc.

6連結は、第1図中)で得られた画像に対して、第2図
のBで示すようにXI + Xl + Xl + XS
 +x? + xlの6方同に画素を連ねて線分や図形
などを構成する。4,8連結は、Xoがn−1行。
6 concatenation, for the image obtained in Figure 1), XI + Xl + Xl + XS as shown in B in Figure 2.
+x? Line segments, figures, etc. are constructed by connecting pixels on all six sides of +xl. For 4,8 concatenation, Xo is n-1 rows.

n行等どの位置に存在しても、その近傍画像データの配
置が変わらないのに対して、6連結は、xoが存在する
行(偶数行、奇数行)によりその近傍画像データの配置
が異なるという違いがある。
The arrangement of the neighboring image data does not change no matter where it is in the nth row, etc., whereas in 6-connection, the arrangement of the neighboring image data differs depending on the row (even row, odd row) in which xo exists. There is a difference.

第2図のBでは、Xoがn行め(ここでは、奇数行とす
る)に存在する場合で、Xoに対してxl + Xl 
+ Xl Hx5 T x71 XSが画素を連ねてい
く近傍画像データとなる。Xoが偶数行に存在する場合
は、Xoに対してXl + xl 1 X41x5 +
 x6 + x7が近傍画像データとなる。本文中での
6連結に関する事項は、以後、前者のXoが奇数行に存
在する場合を示すが、後者の場合も、前者と同様の考え
方である。
In B of Fig. 2, when Xo exists in the nth row (here, it is an odd numbered row), xl + Xl for Xo.
+Xl Hx5 T x71 XS becomes neighboring image data in which pixels are connected. If Xo exists in an even row, then Xl + xl 1 X41x5 +
x6 + x7 becomes neighboring image data. The matters relating to 6-concatenation in the main text will hereinafter refer to the case where the former Xo exists in an odd numbered row, but the latter case is also based on the same concept as the former.

これらの考え方は一般に、ある画像が与えられた場合の
画像の性質や、画像処理のし易さなどによシ使い分けら
れている。
These ideas are generally used depending on the nature of a given image, the ease of image processing, etc.

例えば、第3図(a)に示す画像が与えられた場合、4
連結で考えると、図形要素である黒領域は4つの個別の
要素であるが、8連結では4つの画素がドーナツツ状に
連なっているものであると考えられる。これらを極端に
示すと、第3図(b)、(C)のようになる。この様に
、連結性の考え方の違いによシ、対象の画像は全く異な
った性質を持つ画像となるために、ディジタル画像処理
システムにおいては、これらの使い分けが可能な機能を
持たせることが必要、となる。
For example, given the image shown in Figure 3(a), 4
When considered in connection, the black area, which is a graphic element, is four individual elements, but in 8-connection, it can be considered that four pixels are connected in a donut shape. If these are shown in extremes, they will be as shown in FIGS. 3(b) and 3(C). In this way, because the target image has completely different properties depending on the concept of connectivity, it is necessary for the digital image processing system to have a function that allows the use of these images differently. , becomes.

以上の考え方は、主に与えられた画像から、輪郭の抽出
や、端点、欠点などの幾何学的特徴等、画像が持つ個有
のさまざまな特徴抽出処理を行なうプロセッサに適用さ
れる。
The above concept is mainly applied to a processor that performs processing for extracting various features unique to a given image, such as contour extraction and geometric features such as end points and defects.

これ−らの機能をハードウェアで実現した場合の従来方
式を第4図に示す。
FIG. 4 shows a conventional system in which these functions are realized by hardware.

1フレ一ム分の画像が格納されている画像メモリ100
から読出されたシーケンシャルな画像データ5は、1行
分の記憶容量を持つシフトレジスタ2本で構成されてい
る画像切出し部150によシ、2次元データに変換され
る。そして、この変換データは、2次元配列バッファ2
00に、3×3(画素)の2次元配列データとして格納
される。
Image memory 100 in which images for one frame are stored
The sequential image data 5 read out from the image data section 150 is converted into two-dimensional data by an image cutting section 150 comprising two shift registers having a storage capacity for one row. This converted data is then stored in the two-dimensional array buffer 2.
00 as two-dimensional array data of 3×3 (pixels).

2次元配列バッファ200から9つの画像データが同時
に2次元画像データバス10を介して、4.6.8連結
特徴抽出ロジック群250.300゜350に送出され
る。4連結特徴抽出ロジック群250は、2次元画像ゲ
ータバス10に含まれるxo−XSの9つの画像データ
を参照して、4連結の考え方に基づいた複数の特徴抽出
のアルゴリズムを実行するハードが格納されているロジ
ックによシ所定の特徴が抽出される機能を持つものであ
る。6連結、8連結特徴抽出ロジック群300’。
Nine pieces of image data are simultaneously sent from the two-dimensional array buffer 200 to the 4.6.8 connected feature extraction logic group 250.300.350 via the two-dimensional image data bus 10. The 4-connection feature extraction logic group 250 stores hardware that executes multiple feature extraction algorithms based on the 4-connection concept with reference to the nine xo-XS image data included in the two-dimensional image Gator bus 10. It has the function of extracting predetermined features based on logic. 6-connection, 8-connection feature extraction logic group 300'.

350も夫々6連結、8連結の考え方に基づいた同様の
機能を持っている。4,6.8連結特徴抽出ロジック群
250.30’0.350の各々から抽出された4、6
.8連結特徴データ15,20゜25はマルチプレクサ
400に入力される。マルチプレクサ400では4,6
.8連結特徴データ15.20.25のうちの1つが選
択されて特徴データ30が出力され、さらに17V−ム
分の記憶容量を持つ格納メモリ450に格納される。
350 also has similar functions based on the concept of 6-connection and 8-connection, respectively. 4, 6 extracted from each of 4, 6.8 connected feature extraction logic group 250.30'0.350
.. The 8-connected feature data 15, 20° 25 is input to the multiplexer 400. 4,6 in multiplexer 400
.. One of the 8 connected feature data 15.20.25 is selected and the feature data 30 is output and further stored in a storage memory 450 having a storage capacity of 17 V-mu.

以上、従来方式の動作原理を説明したが、従来方式では
、4,6.8の夫々の連結毎に異なるロジックを、各々
専用に用意する必要があり、ハードウェア量が犬きくな
シ、さらにシステムの開発期間が増大するという欠点が
おった。っまシ、従来の構成では、夫々のロジックが、
1〜n個の複数のロジック群として構成され、3n個の
ハードを必要とする。
The operating principle of the conventional method has been explained above, but in the conventional method, it is necessary to prepare different logic for each connection of 4, 6, and 8, and the amount of hardware is large. This has the disadvantage that the system development period increases. Well, in the conventional configuration, each logic is
It is configured as a plurality of logic groups of 1 to n, and requires 3n hardware.

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

本発明の目的は、ハードウェアを少なくした簡単な構成
のディジタル画像処理装置を提供することKおる。
SUMMARY OF THE INVENTION An object of the present invention is to provide a digital image processing device with a simple configuration that requires less hardware.

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

4.6.8連結の考え方の違いによシ、夫々の特徴抽出
のアルゴリズムは異なる。ここで、輪郭抽出(物体が存
在する領域と背景領域との境界線を抽出する)のアルゴ
リズムを例にとシ、その違いを第1表に示す。但し、本
アルゴリズムは、対象画像がu O#か1”の2値に量
子化されたものに適用される。物体が存在する領域は1
”に、背景領域は0”である。
4.6.8 The feature extraction algorithms differ depending on the concept of connection. Here, taking as an example an algorithm for contour extraction (extracting a boundary line between an area where an object exists and a background area), Table 1 shows the differences between the algorithms. However, this algorithm is applied to images in which the target image is quantized into binary values of uO# or 1''.The area where the object exists is 1
”, the background area is 0”.

第1表 友だし、△ : AND論理 XI: 2値に量子化された画像データ(I−1〜8) 輪郭抽出におけるその処理対象画像データは、4連結の
場合はXoとそのすべての近傍画像データX、−x8が
参照される。しかし、6連結の場合は−XITX2IX
3IXSIX7Ix8の6近傍、8連結の場合は、XI
 r X3 + X5 + X7の4近傍しか参照され
ていない。つまシ、6連結では、X4 、X、が、8連
結では、X2 + X4 +X6.X8が処理の対象外
画像データとなっている。そこで、本発明では輪郭抽出
時は、これらの対象外画像データ、つまり処理に不要と
なる画像データに対して強制的に画像データ値を1に変
換することにより、4連結の輪郭抽出のアルゴリズムが
、6連結、8連結においても共通に適用できることに着
目している。第2表に以上のことを示す。但し、6連結
の場合は、第2表に示す様にXoが存在する行と、x2
+”8及びX7 + XIが存在する行は、互いに水平
方向に半画素分ずれて配置されるが、画像メモリへの格
納時は、半画素ずれたアドレッシングが難しいため、4
,8連結と同様の正方格子上に配置される。
Table 1: Friend, △: AND logic Data X, -x8 are referenced. However, in the case of 6 concatenation -XITX2IX
3IXSIX7Ix8 6 neighbors, 8 connections, XI
Only four neighbors of r X3 + X5 + X7 are referenced. For 6 connections, X4, X, but for 8 connections, X2 + X4 + X6. X8 is image data that is not subject to processing. Therefore, in the present invention, when extracting contours, by forcibly converting the image data value to 1 for these non-target image data, that is, image data that is unnecessary for processing, the four-connected contour extraction algorithm is , 6-connection, and 8-connection. Table 2 shows the above. However, in the case of 6-concatenation, as shown in Table 2, the row where Xo exists and x2
+”8 and X7 +
, 8 connections are arranged on a square lattice similar to the 8-connection.

第2表 輪郭抽出では、対象外画像データをzrII+に変換す
ることにより4連結のアルゴリズムが共用できるように
なるが、他の特徴抽出、例えば膨張処理(物体を背景方
向に拡張する機能)の場合は対象外画像データ(輪郭抽
出の場合とは異なる)を0”に変換することによシ8連
結のアルゴリズムが共用できるようになる。この様に、
特徴抽出のアルゴリズムにより、対象外画像データ(X
2゜X4 + xfl + XIIのうちのどれかに限
定される)とその変換方法(0”にするか、a1#にす
るか、あるいは変換しないかの3通シ)及び、4゜6.
8連結のうち、共用できるアルゴリズムの選択が異なる
が、以上の3通りの選択により、4゜6.8連結全てを
実現できる幾何学的特徴抽出のハードウェアロジックが
大幅に少なくなる。
In contour extraction in Table 2, the 4-connection algorithm can be shared by converting non-target image data to zrII+, but in the case of other feature extraction, such as expansion processing (a function that expands the object toward the background) By converting the non-target image data (different from the case of contour extraction) to 0'', the 8-concatenation algorithm can be shared.In this way,
The feature extraction algorithm extracts non-target image data (X
2゜X4 + xfl +
Although the selection of algorithms that can be shared among the 8 connections differs, the above three selections significantly reduce the hardware logic for geometric feature extraction that can realize all 4°6.8 connections.

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

以下、本発明を具体的実施例である第5図により説明す
る。画像メモリ100から読出されたシーケンシャルな
画像データ5は、画像切出し部150により2次元デー
タに変換され、2次元配列バッファ200に、3X3(
画素)の2次元配列画像データとして格納される。ここ
までは、第4図の場合と同様である。ファンクションレ
ジスタ700には、特徴抽出処理に入る前に予め、CP
U ((::entral processing U
nit ) 650からCPUバス85を介して抽出し
たい特徴の種類及びその連結のしかたがプログラム処理
でセットされている。ファンクションレジスタ700へ
のデータセットは、これに限らない。例えば、ファンク
ションレジスタ700としてディップスイッチ等を用い
れば手動でデータをセットすることもできる。ファンク
ションレジスタ700にセットされている連結指定信号
75が、第1デコーダ750に入力されデコードされる
。このデコーダ出力である4、6.8連結デコ一ドアウ
ト信号65゜66.67が、画像データ変換部500に
送出される。同様に、ファンクションレジスタ700に
セットされている特徴指定信号80が第2デコーダ80
0に入力されデコードされた後、特徴指定デコードアウ
ト信号70が画像データ変換部500に送出される。特
徴デコードアウト信号70の信号本数は、内部に格納さ
れている特徴抽出ロジックの個数に依存する。画像デー
タ変換部500では、4,6.8連結デコ一ドアウト信
号65゜66.67と特徴指定デコードアウト信号70
に基づいて、2次元配列バッファ200に格納されてい
るwJJ像データX2 (35) +x4(40)+X
g (45) +xa’(50)が、それぞれ1.0へ
の変換、あるいは変換されずに素通しされるという操作
が行なわれる。特徴抽出ロジック群550の各特徴抽出
ロジックには、4,6.8連結の特徴抽出ロジックのう
ちの1つだけが、各連結共通用として格納されている。
The present invention will be explained below with reference to FIG. 5, which is a specific embodiment. Sequential image data 5 read out from the image memory 100 is converted into two-dimensional data by the image cutting section 150, and stored in the two-dimensional array buffer 200 as 3×3 (
(pixels) is stored as two-dimensional array image data. The process up to this point is the same as the case shown in FIG. The function register 700 stores the CP in advance before entering the feature extraction process.
U ((:: internal processing U
nit ) 650 via the CPU bus 85 and the method of connecting them are set by program processing. The data set to the function register 700 is not limited to this. For example, if a dip switch or the like is used as the function register 700, data can be manually set. The concatenation designation signal 75 set in the function register 700 is input to the first decoder 750 and decoded. A 4,6.8 concatenated decoded out signal 65°66.67, which is the decoder output, is sent to the image data converter 500. Similarly, the feature designation signal 80 set in the function register 700 is transmitted to the second decoder 80.
0 and is decoded, a feature designation decode out signal 70 is sent to the image data conversion section 500. The number of feature decode out signals 70 depends on the number of internally stored feature extraction logics. The image data converter 500 converts the 4,6.8 concatenated decoded out signal 65°66.67 and the feature specified decoded out signal 70.
Based on the wJJ image data X2 (35) +x4(40)+X stored in the two-dimensional array buffer 200
g (45) +xa' (50) are respectively converted to 1.0 or passed through without being converted. In each feature extraction logic of the feature extraction logic group 550, only one of the feature extraction logics of 4, 6.8 connections is stored as common to each connection.

これらの特徴抽出ロジック群550には、画像データ変
換部500の出力である変換画像データx 1(61)
 + Xl(62) l X6’(63) +X5(6
4)と、2次元配列バッファ200に格納されている画
像データxQ l xl I xl + Xl + x
7が画像データバス55を介して入力される。そして、
これらの600に送出される。マルチプレクサ600で
は、ファンクションレジスタ700にセットされている
特徴指定信号80によシ1つ選択されて特徴データ30
が出力され、さらに特徴格納メモリ450上の注目して
いる画像データx(1の存在する位置に格納される。以
上の動作は、画像メモリ10゜に格納されている1フレ
一ム分の画像データがテレビの走査方向に良じて全て読
出されるまで繰返される。本実施例の構成では、入力さ
れる画像データを画像メモリ100の代わシにテレビカ
メラで取込んだ画像とし、このテレビカメラの走査時間
に同期して特徴を抽出することが可能である(実時間処
理)。
These feature extraction logic groups 550 include converted image data x 1 (61) which is the output of the image data converter 500.
+Xl(62) lX6'(63) +X5(6
4) and the image data xQ l xl I xl + Xl + x stored in the two-dimensional array buffer 200
7 is input via the image data bus 55. and,
These 600 are sent out. In the multiplexer 600, one feature is selected according to the feature designation signal 80 set in the function register 700, and the feature data 30 is selected.
is output and further stored in the position where the image data x (1) of interest exists on the feature storage memory 450. This is repeated until all the data is read out in the scanning direction of the television.In the configuration of this embodiment, the input image data is an image captured by a television camera instead of the image memory 100, and the television camera It is possible to extract features in synchronization with the scanning time of (real-time processing).

ここで、画像データ変換部500の具体的な回路例を輪
郭抽出を例にとシ第6図に示す。第2表に示す輪郭抽出
時の画像データX21 X4 + Xl +xBの変換
方法に基づいて、アンド凪路501〜512.512〜
520及びオア回路513〜516が構成されている。
Here, a specific circuit example of the image data converter 500 is shown in FIG. 6, taking contour extraction as an example. Based on the conversion method of the image data X21 X4 + Xl +xB at the time of contour extraction shown in Table 2, and Nagiji 501~512.
520 and OR circuits 513 to 516 are configured.

例えば2次元配列バッファ200内のバッファ202か
ら送出される画像データX440は、4,6.8連結デ
コ一ドアウト信号65,66.67とのアンドロジック
で変換が実現される。4連結の場合は、アンド回路50
3によシ、その出力は画像データx440がそのまま素
通しとなってオア回路513に入力される。また6連結
の場合は、アンド回路502で、8連結の場合はアンド
回路501でそれぞれ強制的に1に変換されオア回路5
13に入力される。
For example, the image data X440 sent from the buffer 202 in the two-dimensional array buffer 200 is converted by AND logic with the 4, 6.8 concatenated decoded out signals 65, 66, 67. In the case of 4 connections, AND circuit 50
3, the output is input to the OR circuit 513 as the image data x440 is passed through as is. In addition, in the case of 6 connections, the AND circuit 502 forcibly converts them to 1, and in the case of 8 connections, the AND circuit 501 forcibly converts them to 1, and the OR circuit 502
13.

オア回路513では、4,6.8連結の何れかに対応す
る画像データx440の変換データが出され、さらにア
ンド回路517によシ、特徴指定デコードアウト信号7
0のうちの1つである輪郭指定信号71とアンドされる
。そしてアンド回路517の出力が、最終的な変換画像
データx4’62となる。この時アンド回路517はオ
ープンコレクタ出力(アンド回路518,519,52
0も同じ)であシ、他の特徴抽出時の変換画像データX
 4/とワイアードオアされる。これによバ本ロジック
を幾段にも拡張可能となっている。画像データX* 3
5 、Xi 45 、 Xll 50の場合も同様の処
理で、それぞれ変換画像データX2’ 61 、x6’
 63 。
The OR circuit 513 outputs the converted data of the image data
It is ANDed with the contour designation signal 71, which is one of 0. The output of the AND circuit 517 becomes the final converted image data x4'62. At this time, the AND circuit 517 outputs open collector output (AND circuits 518, 519, 52
0 is the same), converted image data X when extracting other features
4/ and wired or. This allows the basic logic to be expanded in many stages. Image data X* 3
5, Xi 45, and Xll 50, the converted image data X2' 61 and x6' are respectively
63.

xg’64 を得ることができる。xg'64 can be obtained.

本発明の一実施例によれば、簡単なロジックで実行し得
る画像データ変換器を設けることにより、従来、4,6
.8連結個別に用意されてい九ノ・−ドウニアロジック
を1つにすることが可能となシ、ハードウェアの削減を
図ることができるとともに余分なハードウェアロジック
の開発の手間が省け、開発期間の短縮化が図れるという
効果がある。
According to one embodiment of the present invention, by providing an image data converter that can be implemented with simple logic,
.. It is possible to combine the nine-domain logic, which is prepared separately for eight connections, into one, which reduces the amount of hardware required and eliminates the effort of developing extra hardware logic, reducing the development period. This has the effect of shortening the time.

第7図は、本発明の他の実施例を示すものである。第5
図との違いは、ランダムロジックで構成されていた画像
データ変換部500を、ROM(Read Qnly 
Memory)を用いて実現した画像データ変換テーブ
ル525に変更した点である。2次元配列バッファ20
0から送出される画像データXx (35) I X4
 (40) l XS (45) l Xi (50)
と、ファンクションレジスタ700にセットされている
4、6.8連結の連結性を指定する連結指定信号75と
、特徴指定信号80とを画像データ変換テーブル525
のROMアドレス入力部に入力することによシ、第5図
の場合と同様の機能を実現することができる。本実施例
では、抽出する特徴の数にもよるが、例えば4つ程度の
特徴抽出機能を有するシステム構成にする場合は1kX
4bit程度の小容量ROM1個で、第5図に示す、画
像データ変換部500及びその周辺のデコーダ750゜
800を置換えることができる。これによって、ハード
ウェアの小形化が実現できる。第8図に、輪郭抽出時の
画像データ変換テーブル525に格納されるデータを示
す。この場合の画像データ変換テーブル525には下位
4bit(20〜23)のアドレス入力に画像データX
2 (35) 、 X4 (40) 。
FIG. 7 shows another embodiment of the invention. Fifth
The difference from the diagram is that the image data conversion unit 500, which was composed of random logic, is replaced with a ROM (Read Qnly).
The difference is that the image data conversion table 525 has been realized using the image data conversion table 525 (Memory). 2-dimensional array buffer 20
Image data Xx (35) I X4 sent from 0
(40) l XS (45) l Xi (50)
, the connection designation signal 75 that designates the connectivity of 4, 6.8 connections set in the function register 700, and the feature designation signal 80 are converted into the image data conversion table 525.
By inputting the ROM address into the ROM address input section, the same function as in the case of FIG. 5 can be realized. In this embodiment, depending on the number of features to be extracted, for example, if the system configuration has about four feature extraction functions, 1kX
A single small capacity ROM of about 4 bits can replace the image data converter 500 and its surrounding decoders 750 and 800, shown in FIG. This makes it possible to downsize the hardware. FIG. 8 shows data stored in the image data conversion table 525 at the time of contour extraction. In this case, the image data conversion table 525 has image data
2 (35), X4 (40).

xa (45) 、xs (50)が、さらに2 bl
t (2’ + 2”のアドレス入力に連結指定信号7
5が、残シの上位アドレス入力に特徴指定信号80が入
力される。
xa (45) and xs (50) are further 2 bl
Connect designation signal 7 to the address input of t (2' + 2")
5, the feature designation signal 80 is input to the upper address input of the remaining numbers.

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

本発明によれば、4,6.8連結の処理毎に用意してい
た特徴抽出のハードウェアロジックを、簡単な回路で実
現可能な画像データ変換器を付加することにより、共用
することが可能となる。したがって、ハードウェアを少
なくした簡単な構成のディジモル画儂処理装置を提供で
きる。
According to the present invention, it is possible to share the feature extraction hardware logic prepared for each of the 4, 6, and 8 concatenation processes by adding an image data converter that can be realized with a simple circuit. becomes. Therefore, it is possible to provide a DigiMole image processing device with a simple configuration that requires less hardware.

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

第1図(a)〜(b)は画像の標本化点図、第2図は標
本化後の画像データの配列図、第3図(a)〜(C)は
サンプル画像、第4図は従来の特徴抽出方法を用いた場
合の実施例ブロック図、第5図は本発明の実施例ブロッ
ク図、第6図は本発明の実施例の一部を詳細に示した回
路図、第7図は本発明の他の実施例を示すブロック図、
第8図は他の実施例に用いたROMテーブル図である。 5・・・シーケンシャル画像データ、10・・・2次元
画像データバス、15・・・4連結特徴データ、20・
・・6連結特徴データ、25・・・8連結特徴データ、
30・・・特徴データ、35・・・画像データX2.4
0・・・画像データX4.45・・・画像データX6.
5゜・・・画像データX8.55・・・画像データXO
+Xl+X3’ + XS * x7.61 ”・変換
画像データX2′、62・・・変換画像データx4’、
63・・・変換画像データx 6/、64・・・変換画
像データx 8/、65・・・4゜6.8連結デコ一ド
アウト信号、70・・・特徴指定デコードアウト信号、
75・・・連結指定信号、80・・・特徴指定信号、8
5・・・CPUバス、90・・・特徴データ群、100
・・・画像メモ!J、150・・・画像切出し部、20
0・・・2次元配列バッファ、250・・・4連結特徴
抽出ロジック群、300・・・6連結特徴抽出ロジック
群、350・・・8連結特徴抽出ロジック群、400・
・・マルチプレクサ、450・・・特徴格納メモリ、5
00・・・画像データ変換部、525・・・画像データ
変換テーブル、550・・・特徴抽出ロジック群、60
0・・・マルチプレクサ、650・・・CPU。 700・・・ファンクションレジスタ、750・・・デ
コを図(改)      深1 riU(b、)第 2
 日 L 6 目 訓 第 7 目
Figures 1 (a) to (b) are sampling point diagrams of images, Figure 2 is an array diagram of image data after sampling, Figures 3 (a) to (C) are sample images, and Figure 4 is FIG. 5 is a block diagram of an embodiment of the present invention when a conventional feature extraction method is used. FIG. 6 is a circuit diagram showing a part of the embodiment of the present invention in detail. is a block diagram showing another embodiment of the present invention,
FIG. 8 is a ROM table diagram used in another embodiment. 5... Sequential image data, 10... Two-dimensional image data bus, 15... 4-connected feature data, 20...
...6 connected feature data, 25...8 connected feature data,
30...Feature data, 35...Image data X2.4
0...Image data X4.45...Image data X6.
5゜...Image data X8.55...Image data XO
+Xl+X3' + XS * x7.61 "・Converted image data X2', 62... Converted image data x4',
63... Converted image data x 6/, 64... Converted image data x 8/, 65... 4°6.8 concatenated decoded out signal, 70... Feature specified decoded out signal,
75...Connection designation signal, 80...Characteristic designation signal, 8
5...CPU bus, 90...Characteristic data group, 100
...Image memo! J, 150... image cutting section, 20
0...2-dimensional array buffer, 250...4 connected feature extraction logic group, 300...6 connected feature extraction logic group, 350...8 connected feature extraction logic group, 400...
... Multiplexer, 450 ... Feature storage memory, 5
00... Image data conversion unit, 525... Image data conversion table, 550... Feature extraction logic group, 60
0...Multiplexer, 650...CPU. 700...Function register, 750...Deco diagram (revised) Depth 1 riU(b,) 2nd
Japanese L 6th lesson 7th

Claims (1)

【特許請求の範囲】[Claims] 1、直列に転送されてくる画像データを2次元配列に変
換する画像切出部と、該画像切出部から出力される注目
位置の画像データ(X、)とその近傍画像データ(Xt
〜Xs  )とを逐次格納するバッファメモリと、該バ
ッファメモリに格納された画像データのうち注目位置の
画像データに対して斜めの位置にある4つのデータ(X
l + X4 + X6 +x8)を入力し、連結指定
信号に応じて該4つのデータのすべてを0#、″′1#
、あるいはそのま\の状態に変換した画像データ(X*
’ r X4’ +x6′、X8′)を出力する画像デ
ータ変換部と、前記バッファメモリに格納された画像デ
ータのうち該画像データ変換部に供給されない画像デー
タ(xO+ xl 1 xl 1 X51 X7 )お
よび該画像データ変換部から出力される画像データ(X
l ’ rx4’+ X6Z X8’)を入力し、複数
種類の特徴抽出処理を行なう特徴抽出ロジック群と、該
特徴抽出ロジック群の出力を入力し、特徴指定信号に応
じた出力のみを選択するマルチプレクサとを備えたこと
を特徴とするディジタル画像処理装置。
1. An image cutting unit that converts serially transferred image data into a two-dimensional array, and image data (X,) of the position of interest and its neighboring image data (Xt) output from the image cutting unit.
~Xs), and a buffer memory that sequentially stores four data (
l + X4 +
, or image data converted to its original state (X*
'r X4'+x6',X8'), image data (xO+ The image data (X
l'rx4'+X6Z A digital image processing device comprising:
JP5126283A 1983-03-25 1983-03-25 Digital picture processor Granted JPS59176867A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5126283A JPS59176867A (en) 1983-03-25 1983-03-25 Digital picture processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5126283A JPS59176867A (en) 1983-03-25 1983-03-25 Digital picture processor

Publications (2)

Publication Number Publication Date
JPS59176867A true JPS59176867A (en) 1984-10-06
JPH0136147B2 JPH0136147B2 (en) 1989-07-28

Family

ID=12882028

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5126283A Granted JPS59176867A (en) 1983-03-25 1983-03-25 Digital picture processor

Country Status (1)

Country Link
JP (1) JPS59176867A (en)

Also Published As

Publication number Publication date
JPH0136147B2 (en) 1989-07-28

Similar Documents

Publication Publication Date Title
US4280143A (en) Method and means for scale-changing an array of boolean coded points
US4949390A (en) Interconnect verification using serial neighborhood processors
JPS63104185A (en) Circuit for enlarging and reducing conversion of picture
EP0069542A2 (en) Data processing arrangement
JPS58181171A (en) Parallel picture processing processor
JP2949589B2 (en) Parallel pipeline video processor with 2x2 window architecture
EP0317218A2 (en) Serial video processor and fault-tolerant serial video processor device
JPS59176867A (en) Digital picture processor
JPS6250870B2 (en)
JP3277377B2 (en) Video signal processor
JPH0566043B2 (en)
CN114155222B (en) Real-time edge detection system based on FPGA
JP2658346B2 (en) Parallel image processing device
JP2690491B2 (en) Image processing device
WO1988008168A2 (en) Interconnect verification using serial neighborhood processors
JPH0332723B2 (en)
JPH02126372A (en) Picture processor
JPH0668244A (en) Image processing processor
JPH0896116A (en) Processor and method for image signal processing
JP3297145B2 (en) Pattern defect inspection equipment
Bilau et al. A VLSI-processor for the generation of the hierarchical structure code in real time
JPS6359682A (en) High speed pattern matching device
JPS59173841A (en) 5x5 logical operation circuit for general use
JPH0312752A (en) Picture data access system
JPS61248164A (en) Picture processing device