JPS62287378A - Nearby picture image arithmetic unit - Google Patents

Nearby picture image arithmetic unit

Info

Publication number
JPS62287378A
JPS62287378A JP61132155A JP13215586A JPS62287378A JP S62287378 A JPS62287378 A JP S62287378A JP 61132155 A JP61132155 A JP 61132155A JP 13215586 A JP13215586 A JP 13215586A JP S62287378 A JPS62287378 A JP S62287378A
Authority
JP
Japan
Prior art keywords
bit
register
data
section
pixels
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.)
Pending
Application number
JP61132155A
Other languages
Japanese (ja)
Inventor
Makoto Hosoda
誠 細田
Toshio Shiomi
俊夫 塩見
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.)
Hamamatsu Photonics KK
Original Assignee
Hamamatsu Photonics KK
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 Hamamatsu Photonics KK filed Critical Hamamatsu Photonics KK
Priority to JP61132155A priority Critical patent/JPS62287378A/en
Publication of JPS62287378A publication Critical patent/JPS62287378A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)

Abstract

PURPOSE:To process simultaneously process plural different-density picture elements at the same time by providing a nearby picture element register, a bit selector, and a bit computing element. CONSTITUTION:Data on plural nearby picture elements [respective (m) bits of (n) of nearby picture elements] read out of an image memory 1 are latched at a time by the nearby picture element register 2 consisting of (n) registers. Outputs A1-An of the register 2 are connected by the bit selector 3 to the bit computing element 4 successively in units of the same bit section of each picture element with an instruction from a program sequencer 5. Groups of the same digits are connected to the bit computing element 4 in the order of the MSB, next digit, further next digit of each register 2. For example, when (n)=9 and intensity information on an image consists of 16 bits, the selection of the bit section of the bit 6 inputs following data to the bit computing element 4.

Description

【発明の詳細な説明】 3、発明の詳細な説明 (産業上の利用分野) 本発明は、近接する画素間の演算処理を行う近傍画像演
算装置に関する。
Detailed Description of the Invention 3. Detailed Description of the Invention (Field of Industrial Application) The present invention relates to a neighborhood image calculation device that performs calculation processing between adjacent pixels.

(従来の技術と問題点) これまでの濃淡画像に対する近傍画像演算器は、その近
傍の濃淡情報に関する演算を実行する方式として第3図
にあるように各画素ごとの処理をそれらの画素間の強度
情報の2項演算の組合せによって行う方法が知られてい
る。第3図は8画素をその強度情報の2項演算の組合せ
で行なう回路の例を示している。
(Prior Art and Problems) Conventional neighborhood image arithmetic units for grayscale images carry out processing for each pixel between the pixels as shown in Figure 3 as a method for performing calculations regarding grayscale information in the vicinity. A method using a combination of binary operations on intensity information is known. FIG. 3 shows an example of a circuit that performs a combination of binary operations on the intensity information of eight pixels.

この方式だと近傍を構成する多数の画素の強度情報間の
関係に関する情報を得たい場合、その処理手順を種々変
える必要がある。
With this method, if it is desired to obtain information regarding the relationship between the intensity information of a large number of pixels constituting a neighborhood, it is necessary to change the processing procedure in various ways.

例えば、多数の入力画素中、最も大ぎな強度を持つ画素
の位置を判定する等の処理を、同一の演算器で行うのに
は無理があった。
For example, it is difficult to perform processing such as determining the position of a pixel with the highest intensity among a large number of input pixels using the same arithmetic unit.

本発明の目的は同時に入力された複数の濃淡画素を一括
して処理することができる近傍価(象演算装置を提供す
ることにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a neighborhood value calculation device that can collectively process a plurality of gray pixels input at the same time.

(問題を解決するための手段) 前記目的を達成するために、本発明による近傍画像演算
装置は、画像中より得られた多値の強度情報を持つ複数
の画素のデータの演算を行う近傍画112演算装置にお
いて、処理単位に含まれる複数の画素に対応して設けら
れており各画素ごとのデータをランチする近傍画素レジ
スタと、前記近傍画素レジスタから順次ビット断面ごと
に読み出しを行うビットセレクタと、読み出されたビッ
ト断面に含まれる各データに対して一括演算を行い、そ
の結果にしたがって次のビット断面に対する演算処理条
件を決定し、演算を繰り返すビット演算器から構成され
ている。
(Means for Solving the Problem) In order to achieve the above object, a neighborhood image calculation device according to the present invention provides a neighborhood image calculation device for calculating data of a plurality of pixels having multivalued intensity information obtained from an image. In the 112 arithmetic unit, a neighboring pixel register is provided corresponding to a plurality of pixels included in a processing unit and launches data for each pixel, and a bit selector sequentially reads out bit sections from the neighboring pixel register. , a bit arithmetic unit that performs a batch operation on each piece of data included in a read bit section, determines arithmetic processing conditions for the next bit section according to the result, and repeats the operation.

(実施例) 以下図面等を参照して本発明をさらに詳しく説明する。(Example) The present invention will be described in more detail below with reference to the drawings and the like.

第1図は本発明による近傍画像演算装置の実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of a neighborhood image calculation device according to the present invention.

画(象メモリ1から演算の対象になる隣接する画素のデ
ータが近陽画素レジスタ(ラッチ)2に一括してラッチ
される。
The data of adjacent pixels to be subjected to calculation from the image memory 1 are latched in a nearby pixel register (latch) 2 all at once.

画像メモリ1より読み出された複数の近傍画素(nヶの
近傍画素の各mビット)のデータはnヶのレジスタから
なる近傍画素レジスタ2に一括してラッチされる。
Data of a plurality of neighboring pixels (each m bits of n neighboring pixels) read out from the image memory 1 is latched at once in a neighboring pixel register 2 consisting of n registers.

レジスタ2の出力A1〜Anから、ビットセレクタ3は
、マイクロプログラムシーケンサ5からの命令により各
画素の同一のビット断面ごとに順次ピッ]・演算器4に
接続する。
The bit selector 3 sequentially connects the outputs A1 to An of the register 2 to the arithmetic unit 4 for the same bit cross section of each pixel according to a command from the microprogram sequencer 5.

各レジスタ2のMSB、次の桁、さらに次の桁というよ
うに同一桁のグループがビット演算器4に接続される。
Groups of the same digits, such as the MSB of each register 2, the next digit, and the next digit, are connected to the bit arithmetic unit 4.

例えば、n=9で画像の強度情報が16ビソトより構成
されていた場合、ビットセレクタでビット6のビット断
面を選択したときには、以下のデータがビット演算器4
に入力される。
For example, if n=9 and the intensity information of the image is composed of 16 bits, when the bit cross section of bit 6 is selected with the bit selector, the following data is stored in the bit operator 4.
is input.

すなわちA、のビット6、A2のビット6・・・・・・
That is, bit 6 of A, bit 6 of A2...
.

A9のビット6の計9ビットがビット演算′?54の入
力となる。
A total of 9 bits, bit 6 of A9, are bit operations'? 54 inputs.

第2図はビット演算器4の実施例を示すブロック図であ
る。
FIG. 2 is a block diagram showing an embodiment of the bit arithmetic unit 4. As shown in FIG.

ビット演算器4は、PLA (プログラマブルロジック
アレイ)40.パターン発生ROM41.ルックアップ
テーブル42.算術演算器43.レジスタファイル44
.ラッチ45から構成されている。
The bit operation unit 4 includes a PLA (programmable logic array) 40. Pattern generation ROM41. Lookup table 42. Arithmetic operator 43. Register file 44
.. It is composed of a latch 45.

PLA40はプログラム可能なアドレスを持つROMで
ある。PLA40はパターン発生ROM41により生成
されたビットパターンと入力されたビット断面の論理演
算(例えばビットごとのAND、OR)を行う。
PLA 40 is a ROM with programmable addresses. The PLA 40 performs logical operations (for example, AND and OR for each bit) on the bit pattern generated by the pattern generation ROM 41 and the input bit section.

並列に人力されたビット列に対し、そのデータ中のビッ
トが1である点の数、その位T、ビットのパターンマツ
チング等を算出できる。
For a bit string manually input in parallel, it is possible to calculate the number of points where the bit in the data is 1, its digit T, bit pattern matching, etc.

ルックアップテーブル42でビット列の中にある1の数
の算出、ビット位置の検出、パターンマツチング等を行
う。
The lookup table 42 calculates the number of 1's in the bit string, detects the bit position, and performs pattern matching.

その結果出力されたビット列または数値結果はパターン
発生器41にフィードバックされる。
The resulting bit string or numerical result is fed back to the pattern generator 41.

またパターン発生器41はレジスタファイル44の出力
によっても、そのパターン発生出力が制御される。
Further, the pattern generation output of the pattern generator 41 is also controlled by the output of the register file 44.

具体的な演算として、以下に3×3近傍画素中の最大値
をもつ画素の位置を検出する例を示す。
As a specific calculation, an example will be shown below in which the position of the pixel having the maximum value among 3×3 neighboring pixels is detected.

第1図において、n=9とし、3×3近傍を構成する画
素をすべて近傍画素レジスタ2にラッチする。
In FIG. 1, n=9, and all pixels forming a 3×3 neighborhood are latched into the neighborhood pixel register 2.

その後、ビットセレクタ3によりビット断面15より順
にビット断面Oに向け、ビット断面の位置を下げながら
以下の演算、判定をビ・7ト演算器4で行う。
Thereafter, the bit selector 3 sequentially moves from the bit cross section 15 toward the bit cross section O, and while lowering the position of the bit cross section, the following calculations and judgments are performed by the bit arithmetic unit 4.

初期状態としてラッチ45 (第2図参照)をクリアー
し、パターン発生器41よりPLA40の入力Bに対し
ビット列111111111が入力される。
As an initial state, the latch 45 (see FIG. 2) is cleared, and the bit string 111111111 is input from the pattern generator 41 to the input B of the PLA 40.

またレジスタファイル44のレジスタをクリアーしてお
く。
Also, the registers in the register file 44 are cleared.

ステップ1:PLA40の入力Aに入力されたビット列
と入力已に入力されたデータ 111111111とのAND論理 をとる。
Step 1: Perform AND logic between the bit string input to the input A of the PLA 40 and the data 111111111 input to the input.

ステップ2:その出力中ビットが1である点の数をルッ
クアンプテーブル42で算出 し、ALU43で数値1と比較する。
Step 2: The number of points whose output bit is 1 is calculated by the look amplifier table 42, and compared with the numerical value 1 by the ALU 43.

ステップ3:その合計が1であるか、またはビット断面
を0ビツトまでセレクトし終 わっていればステップ6ヘジヤンプ する。
Step 3: If the sum is 1 or the bit cross section has been selected down to 0 bits, step 6 jumps.

*合計が1であるということは1つの画素のみにデータ
1が存在し他はOであるから最大のii!j素が決定さ
れたということである。
*The total is 1, which means that only one pixel has data 1 and the others are O, so the maximum ii! This means that element j has been determined.

ステップ4:PLA40より出力されたビット列のラッ
チ45による出力をパターン 発生ROM41に入力し、その1で あったビット位置のみ、ピント1の あるビットパターン列を発生し、P LA40の入力Bに入力する。
Step 4: Input the output from the latch 45 of the bit string output from the PLA 40 to the pattern generation ROM 41, generate a bit pattern string with focus 1 only for the bit position that was 1, and input it to input B of the PLA 40. .

つまり、以後は1であったピット位置のみのデータにつ
いてのみ考慮する。
That is, from now on, only the data of the pit position that was 1 will be considered.

ステップ5:ビットセレクタ3により1ビツト下がった
ビット断面を選択し、PLA 40の入力Aに入力する。
Step 5: Select the bit cross-section lowered by one bit by the bit selector 3 and input it to the input A of the PLA 40.

その後ステップ1ヘジヤンプする。Then step 1 jump.

ステップ6:ルックアップテーブル42により1の立っ
ているピット位置を算出し、 ステータス出力へ出力する。
Step 6: Calculate the pit position where 1 is located using the lookup table 42 and output it to the status output.

以上のようにして画素間の強度情報に対する演算を一括
して処理することができる。
As described above, calculations on intensity information between pixels can be processed all at once.

(発明の効果) 以上詳しく説明したように、本発明による近傍画像演算
装置は、画像中より得られた多値の強度情報を持つ複数
の画素のデータの演算を行う近傍画像演算装置において
、処理単位に含まれる複数の画素に対応して設けられて
おり各画素ごとのデータをラッチする近傍画素レジスタ
と、前記近涛画素レジスタから順次ビット断面ごとに読
み出しを行うビットセレクタと、読み出されたビット断
面に含まれる各データに対して一括演算を行い、その結
果にしたがって次のビット断面に対する演算処理条件を
決定し、演算を繰り返すビット演算器から構成されてい
る。
(Effects of the Invention) As explained in detail above, the neighborhood image calculation device according to the present invention performs processing on data of a plurality of pixels having multivalued intensity information obtained from an image. a neighboring pixel register that is provided corresponding to a plurality of pixels included in a unit and latches data for each pixel; a bit selector that sequentially reads data from the neighboring pixel register for each bit section; It consists of a bit arithmetic unit that performs a batch operation on each piece of data included in a bit section, determines arithmetic processing conditions for the next bit section according to the results, and repeats the operation.

したがって、本発明によれば以下の効果が得られる。Therefore, according to the present invention, the following effects can be obtained.

○従来の演算器と比べ、画素間の濃度情報の関係を求め
る演算を同一の演算器で汎用的に実行できる。
○Compared to conventional arithmetic units, the same arithmetic unit can perform general-purpose calculations that determine the relationship between density information between pixels.

O上記に関し従来の演算器に比べ大幅にステップ数が少
ないため、高速である。
Regarding the above, the number of steps is significantly smaller than that of conventional arithmetic units, so it is faster.

0従来の演算器に比べ回路構成が簡単であり、部品点数
を少なくすることができる。
0 The circuit configuration is simpler than conventional arithmetic units, and the number of parts can be reduced.

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

第1図は、本発明による近傍演算装置の実施例を示すブ
ロック図である。 第2図は、前記近傍演算装置のビット演算器の構成例を
示すブロック図である。 第3図は従来の近傍演算装置の実施例を示すブロック図
である。 1・・・画1象メモリ 2・・・近傍画素レジスタ(ランチ) 3・・・ビットセレクタ 4・・・ビット演算器 41・・・パターン発生ROM 42・・・ルックアップテーブル 43・・・演算器 44・・・レジスタファイル 5・・・マイクロプログラムシーケンサ特許出願人 浜
松ホトニクス株式会社 代理人 弁理士  井 ノ ロ  壽 才 1図 L−便虎4%9v上−J 才2図 λカ ス↑−ヴス出カ
FIG. 1 is a block diagram showing an embodiment of a neighborhood calculation device according to the present invention. FIG. 2 is a block diagram showing a configuration example of a bit arithmetic unit of the neighborhood arithmetic unit. FIG. 3 is a block diagram showing an embodiment of a conventional neighborhood calculation device. 1... Image 1 image memory 2... Neighboring pixel register (launch) 3... Bit selector 4... Bit arithmetic unit 41... Pattern generation ROM 42... Lookup table 43... Calculation Device 44...Register file 5...Microprogram sequencer Patent applicant Hamamatsu Photonics Co., Ltd. Agent Patent attorney Jusai Inoro 1 Figure L-Funtora 4% 9v upper-J Figure 2 λCas↑-Vs Output

Claims (2)

【特許請求の範囲】[Claims] (1)画像中より得られた多値の強度情報を持つ複数の
画素のデータの演算を行う近傍画像演算装置において、
処理単位に含まれる複数の画素に対応して設けられてお
り各画素ごとのデータをラッチする近傍画素レジスタと
、前記近傍画素レジスタから順次ビット断面ごとに読み
出しを行うビットセレクタと、読み出されたビット断面
に含まれる各データに対して一括演算を行い、その結果
にしたがって次のビット断面に対する演算処理条件を決
定し、演算を繰り返すビット演算器から構成した近傍画
像演算装置。
(1) In a neighborhood image calculation device that calculates data of multiple pixels having multivalued intensity information obtained from an image,
a neighboring pixel register that is provided corresponding to a plurality of pixels included in a processing unit and latches data for each pixel; a bit selector that sequentially reads data from the neighboring pixel register for each bit section; A neighborhood image arithmetic device comprising a bit arithmetic unit that performs a batch operation on each piece of data included in a bit cross section, determines arithmetic processing conditions for the next bit cross section according to the result, and repeats the operation.
(2)前記演算は、画像中より得られた多値の強度情報
を持つ複数の画素の最大値を演算するものである特許請
求の範囲第1項記載の近傍画像演算装置。
(2) The neighborhood image calculation device according to claim 1, wherein the calculation is performed by calculating the maximum value of a plurality of pixels having multivalued intensity information obtained from the image.
JP61132155A 1986-06-06 1986-06-06 Nearby picture image arithmetic unit Pending JPS62287378A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61132155A JPS62287378A (en) 1986-06-06 1986-06-06 Nearby picture image arithmetic unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61132155A JPS62287378A (en) 1986-06-06 1986-06-06 Nearby picture image arithmetic unit

Publications (1)

Publication Number Publication Date
JPS62287378A true JPS62287378A (en) 1987-12-14

Family

ID=15074646

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61132155A Pending JPS62287378A (en) 1986-06-06 1986-06-06 Nearby picture image arithmetic unit

Country Status (1)

Country Link
JP (1) JPS62287378A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012048337A (en) * 2010-08-25 2012-03-08 Nec System Technologies Ltd Data selection circuit and data selection method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60129889A (en) * 1983-12-19 1985-07-11 Matsushita Electric Ind Co Ltd Picture processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60129889A (en) * 1983-12-19 1985-07-11 Matsushita Electric Ind Co Ltd Picture processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012048337A (en) * 2010-08-25 2012-03-08 Nec System Technologies Ltd Data selection circuit and data selection method

Similar Documents

Publication Publication Date Title
US4464789A (en) Image analyzer for processing multiple frames of image data
EP0482862B1 (en) Contour extraction method and apparatus
US4464788A (en) Dynamic data correction generator for an image analyzer system
US4322716A (en) Method and apparatus for pattern recognition and detection
EP0743617A2 (en) Image processing method and apparatus thereof
EP0773502B1 (en) Two-dimensional associative processor and data transfer method
JPS62287378A (en) Nearby picture image arithmetic unit
JPH02278382A (en) Arithmetic and logic mechanism for graphic processor
US4943934A (en) Picture operation unit for performing operations on intensity data of neighboring picture elements
JP2758291B2 (en) Image processing method and apparatus
US5535151A (en) Electronic processor for performing multiplication
US6317771B1 (en) Method and apparatus for performing digital division
JPH05266178A (en) Data processor
JPH0418681A (en) Picture reduction/enlargement pattern generating circuit
JPH07192130A (en) Temporary labeling method
JP2838556B2 (en) Image processing device
JP2688666B2 (en) How to vectorize shapes
JPS6247783A (en) Image processor
JP3032218B2 (en) Processor unit
JPS63118987A (en) Circulating and parallelling images processor
JPH08272963A (en) Method and device for filtering processing of image
JPH07244729A (en) Image reduction system
JPS62108381A (en) Density histogram detecting system
JP2000090257A (en) Image processor
JPS589468A (en) Picture processing method