Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5842498B2 - Kosuhanbetsouchi - Google Patents
[go: Go Back, main page]

JPS5842498B2 - Kosuhanbetsouchi - Google Patents

Kosuhanbetsouchi

Info

Publication number
JPS5842498B2
JPS5842498B2 JP50052570A JP5257075A JPS5842498B2 JP S5842498 B2 JPS5842498 B2 JP S5842498B2 JP 50052570 A JP50052570 A JP 50052570A JP 5257075 A JP5257075 A JP 5257075A JP S5842498 B2 JPS5842498 B2 JP S5842498B2
Authority
JP
Japan
Prior art keywords
character
information
pattern
register
characters
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
Application number
JP50052570A
Other languages
Japanese (ja)
Other versions
JPS51129275A (en
Inventor
邦雄 古屋
祥博 中西
裕箕 田口
薫 鈴木
明男 餘多分
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.)
Konica Minolta Inc
Original Assignee
Konica Minolta Inc
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 Konica Minolta Inc filed Critical Konica Minolta Inc
Priority to JP50052570A priority Critical patent/JPS5842498B2/en
Publication of JPS51129275A publication Critical patent/JPS51129275A/en
Publication of JPS5842498B2 publication Critical patent/JPS5842498B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Investigating Or Analysing Biological Materials (AREA)
  • Image Analysis (AREA)

Description

【発明の詳細な説明】 本発明は特願昭49−115028号「個数認識法」を
実行するために用いる個数判別装置に関するものである
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a number discriminating device used to carry out the ``number recognition method'' of Japanese Patent Application No. 115028/1983.

上記特願昭49−115028号に記載された方法は第
1図に示すようなリング状パターンについても1つのパ
ターンを1個として認識するようにしたものである。
The method described in Japanese Patent Application No. 115028/1983 is designed to recognize each ring-shaped pattern as one pattern as shown in FIG.

上記発明の原理を第2図に基づいて説明する。The principle of the above invention will be explained based on FIG.

第2図の1に示したリング状パターンを2次元的に順次
走査して該パターン内における走査線とクロックパルス
の各交点(以下格子点とする)の最初の格子点イで新文
字Aを発生させパターン内の各格子点毎に同一の文字A
を発生せしめると該文字Aは、左右に分岐したあと再び
結合し、パターンの終了点口で文字Aが現われる。
A new letter A is drawn at the first grid point A of each intersection of the scanning line and the clock pulse (hereinafter referred to as a grid point) by sequentially scanning the ring pattern shown in 1 in Figure 2 two-dimensionally. The same letter A for each grid point in the generated pattern
When the character A is generated, the character A branches left and right and then recombines, and the character A appears at the end point of the pattern.

第2図の2に示した傘状パターンについても同様に走査
しイの点で新文字Bを発生させパターン内の各格子点毎
に同一の文字Bを発生させると該文字Bを、3つに分岐
するがパターンの終了点口で文字Bが現われる。
The umbrella-shaped pattern shown in 2 in Figure 2 is scanned in the same way, and a new character B is generated at the point A, and the same character B is generated at each lattice point in the pattern. The character B appears at the end of the pattern.

第2図の3に示した綿状パターンについても同様に走査
しイ、口、ハの各点でそれぞれ新文字C1D、Eを発生
せしめる。
The cotton-like pattern shown at 3 in FIG. 2 is scanned in the same manner to generate new characters C1D and E at each of the points A, C, and C, respectively.

そして、イ点で発生した文字Cと白点で発生した文字り
とは、二の点でCのパターンとDのパターンとが連続で
あることを認識せしめ、文字Cを文字りに置換せしめる
The letter C generated at point A and the letter spelling generated at the white point make it recognized that the pattern of C and the pattern of D are continuous at point two, and the letter C is replaced with the letter letter C.

次にハ点で発生した文字Eは、ホ点でDのパターンとE
のパターンとが連続であることを認識せしめ文字りを文
字Eに置換する。
Next, the letter E generated at point C is the pattern of D and E at point H.
Recognize that the pattern is continuous and replace the character with the character E.

このようにすれば綿状ハターンの終了点へで文字Eが現
わわる。
In this way, the letter E will appear at the end of the cotton pattern.

このように、検査すべき区域を2次元的に順次走査して
各パターンの走査終了点で互に異なる新文字を発生させ
、各文字のパターン間の連続性を順次調べて、連続であ
る場合には一方の文字を他力の文字に置換してパターン
の走査終了点で1つのパターンに1つの文字を発生させ
て個数認識させることができる。
In this way, the area to be inspected is sequentially scanned two-dimensionally, new characters that are different from each other are generated at the scanning end point of each pattern, and the continuity between the patterns of each character is checked sequentially. In this case, one character can be replaced with the other character, and one character can be generated in one pattern at the end point of pattern scanning, and the number can be recognized.

また粒子個数は、発生文字数により求めることができる
Further, the number of particles can be determined by the number of characters generated.

そして、1つ1つの粒子にそれぞれ態別の文字をあては
めて、それぞれのパターンの面積・径・周長等を文字と
対応させて記憶しておけば後に粒子全体の粒径分布、周
長分布等の定量測定に便利となる。
Then, if you assign a letter for each particle to each particle and memorize the area, diameter, circumference, etc. of each pattern in correspondence with the letter, you can later use the particle size distribution and circumference distribution of the entire particle. It is convenient for quantitative measurement of etc.

上記のような文字を発生せしめるためには以下のように
する。
To generate characters like the one above, do the following:

即ち第3図に示すように2次元的な電子走査線上に等間
隔の格子点・を配列し、上下、左右の相隣る4点の格子
点■M1.■M2.■M3.■M4を抽出して組情報(
センサー)とし、該4点の格子点のうちの1点M4を基
準的に設定する。
That is, as shown in FIG. 3, lattice points are arranged at equal intervals on a two-dimensional electronic scanning line, and four lattice points M1. ■M2. ■M3. ■Extract M4 and group information (
sensor), and one point M4 among the four grid points is set as a reference.

なお、0点および0点は、記憶する格子点である。Note that 0 points and 0 points are grid points to be stored.

例えば、画面の1フレームの走査線数256本(垂直サ
ンプリング)、サンプリング周波数はクロックパルス5
MHz11走査線上のサンプリング点256(水平サン
プリング)とし、全格子点数は256×256である。
For example, the number of scanning lines in one screen frame is 256 (vertical sampling), and the sampling frequency is 5 clock pulses.
There are 256 sampling points (horizontal sampling) on the 11 MHz scanning line, and the total number of grid points is 256×256.

なお、文字は8ビットバイナリ−で表わせばその文字数
は256種である。
Note that the number of characters is 256 if expressed in 8-bit binary.

1つのパターンで使用した文字は、そのパターンの走査
が終了した時点でリフレッシュすれば再使用可能な状態
となる。
Characters used in one pattern can be reused by refreshing them when the scanning of that pattern is completed.

ところで、センサーは画面の左上隅から順次走査して右
下隅で終了せしめる。
By the way, the sensor scans the screen sequentially starting from the top left corner and ending at the bottom right corner.

そして、センサー内の情報は後述する2値信号1 m
2 ときに()で表わし、文字情報のときに 3 m4 1 M2 ()で表わすようにする。
The information in the sensor is a binary signal 1 m, which will be described later.
When it is 2, it is represented by (), and when it is character information, it is represented by 3 m4 1 M2 ().

なお、センサ3M4 −の移動につれて文字メモリー内の文字の発生、置換、
消滅(以下割り付けと総称する)は、2値l m2 信号のセンサー内情報()の状態に基づ 3 m4 く下記の規約に従って処理せしめる。
Note that as the sensor 3M4- moves, characters in the character memory are generated, replaced,
Disappearance (hereinafter collectively referred to as allocation) is processed according to the following rules based on the state of the sensor information ( ) of the binary l m2 signal.

O 1,2値信号のセンサー内情報が()または0 ところで、表2の置換文字対応表とは、256種の各文
字に対してそれぞれの文字が置換されるかどうかを示す
表である。
O 1, the information in the sensor of the binary signal is ( ) or 0 By the way, the replacement character correspondence table in Table 2 is a table showing whether or not each character is replaced with respect to each of the 256 types of characters.

例えば、置換文字対応表において、使用文字Aに対して
置換文字としてBが書き込まれているときには使用文字
は、置換文字Bに置換する必要があることを意味する。
For example, in the replacement character correspondence table, when B is written as a replacement character for a used character A, this means that the used character needs to be replaced with the replacement character B.

この状況をA=>Bと書く。表2の置換文字対応表中例
えば使用文字Bに対して置換文字がOと書き込まれてい
るときには使用文字Bは、置換する必要がない。
Write this situation as A=>B. In the replacement character correspondence table of Table 2, for example, when the replacement character is written as O for the character B used, the character B does not need to be replaced.

そして照合の結果、置換文字が0の場合はM2に書き込
まれている文字を基準点即ちM4に入れる。
As a result of the comparison, if the replacement character is 0, the character written in M2 is placed in the reference point, ie, M4.

また照合の結果、置換文字があるとき例えば記号表示と
してBが記載されているときにはM2に書き込まれてい
るAなる文字をBに置換してBの文字を基準点即ちM4
に入れる。
Also, as a result of the matching, if there is a replacement character, for example, if B is written as a symbol, the character A written in M2 is replaced with B, and the character B is set as the reference point, that is, M4.
Put it in.

I IV) 2値信号のセンサー内情報()のとき:1 M2に書かれている文字を表2の置換文字対応表に照合
する。
I IV) For binary signal sensor information (): 1 Check the characters written in M2 with the replacement character correspondence table in Table 2.

置換文字対応表においてM2の文字に対して置換文字が
書き込まれているときはその置換を行った後にM2とM
3を比較しM2\M3であflf異なった文字が割り付
けられた左右のパターンの結合を示すものでありそのと
きは置換後のM2の文字に対応する位置に置換文字を発
生させる。
If a replacement character is written for the character M2 in the replacement character correspondence table, after that replacement, M2 and M
3 is compared, and M2\M3 is flf.This indicates the combination of left and right patterns to which different characters are assigned, and in that case, a replacement character is generated at the position corresponding to the replaced character M2.

その際、便宜上表2の置換文字対応表にはM3+M2例
えばA、>Bと書き込む。
At that time, for convenience, M3+M2, for example, A, >B, is written in the replacement character correspondence table of Table 2.

そして、M2に書き込まわている文字例えばBなる文字
を基準点即ち鳩に入れる。
Then, the character written in M2, for example, the character B, is placed at the reference point, that is, the pigeon.

0 V) 2値信号のセンサー内情報()のとき:I M□に書かれている文字を表2の置換文字対応表に照合
する。
0 V) When the sensor information () is a binary signal: Check the characters written in IM□ with the replacement character correspondence table in Table 2.

そして照合の結果、置換文字がないとき即ちOが記入さ
れていればM□に書き込まれている文字を基準点即ちM
4に入れる。
As a result of the matching, if there is no replacement character, that is, if O is written, then the character written in M□ is set as the reference point, that is, M
Put it in 4.

また照合の結果、置換文字があるとき例えば記号表示と
してC+Bが示されているときMlに書き込まれている
Cなる文字をBに置換しBの文字を基準点即ちM4に入
れる。
Further, as a result of the matching, when there is a replacement character, for example, when C+B is shown as a symbol, the character C written in M1 is replaced with B, and the character B is placed at the reference point, ie, M4.

0 VI) 2値信号のセンサー内情報()のとき:1 置換文字対応表に照合することなく基準点即ちM4にM
3に入っていた文字を入れる。
0 VI) For binary signal sensor information (): 1 M at the reference point, that is, M4, without checking with the replacement character correspondence table.
Enter the characters that were in 3.

1 ■)2値信号のセンサー内情報()のとき:1 同じく基準的即ちM4にM2に入っていた文字を入れる
1 ■) When the information in the sensor is a binary signal (): 1 Similarly, it is standard, that is, the character that was in M2 is entered in M4.

I Vl)2値信号のセンサー内情報()のとき:0 同じく基準点即ち鳩にOを入れる。I Vl) When binary signal sensor internal information (): 0 Similarly, place O at the reference point, that is, the pigeon.

そして、M2とM3に書き込まれている文字を比較しM
2\M3であれば置換文字をM3の文字に対応する位置
に発生させる。
Then, compare the characters written in M2 and M3 and M
If it is 2\M3, a replacement character is generated at the position corresponding to the character M3.

その際、便宜上表2の置換文字対応表には、M3;>M
2例えばA=>Bと書き込む。
At that time, for convenience, the replacement character correspondence table in Table 2 includes M3;>M
2 For example, write A=>B.

次に具体例を第4図に示した4つのモデルパターンにつ
いて説明する。
Next, concrete examples will be described regarding four model patterns shown in FIG. 4.

センサーの2値信号M4は、格子点(1,1)からスタ
ートして順次走査を行い、格子点(256,256)で
終了するものとする。
It is assumed that the binary signal M4 of the sensor is sequentially scanned starting from the grid point (1, 1), and ends at the grid point (256, 256).

4つのモデルパターン内の各格子点に前述の2rn1
rn2 値信号のセンサー内情報()の状態に基 3 m4 づき定めた文字の割り付けに従って文字をあてはめる。
The above 2rn1 is applied to each grid point in the four model patterns.
Based on the state of the sensor internal information () of the rn2 value signal, characters are assigned according to the character allocation determined based on the 3 m4 standard.

その結果、文字の配列は第4図に示したようになる。As a result, the character arrangement becomes as shown in FIG.

そして、パターン内の文字の配列から個数認識する方法
として下記の2通りがある。
There are the following two methods for recognizing the number of characters from the arrangement of characters in a pattern.

即ち、第1の個数認識法は、使用文字の不連続性から調
べることである。
That is, the first number recognition method is to check the discontinuity of the characters used.

先ずセンサーの移動につれて文字の割り付けを行うとと
もに走査線中で使用した文字を使用文字登録表(図示せ
ず)に登録する。
First, as the sensor moves, characters are allocated and the characters used in the scanning line are registered in a used character registration table (not shown).

そして、nlyn番目の走査線2本分中に使用された文
字の使用情況を登録する。
Then, the usage status of the characters used in the nlyn-th two scanning lines is registered.

走査線nの終了時点でn−1番目の走査線とn番目の走
査線とに登録されている文字を比較し、n−1番目の走
査線中に登録し、n番目の走査線では登録されていない
文字を探し出す。
At the end of scanning line n, compare the characters registered in the n-1st scanning line and the n-th scanning line, register them in the n-1st scanning line, and register them in the nth scanning line. Find the missing characters.

即ち、探し出した文字はn番目の走査線で消滅した文字
であり、該消滅文字は、文字の置換によって生ずるもの
とパターンの終了によって生ずるものとがある。
That is, the found character is a character that disappears in the n-th scanning line, and the disappeared character may be generated by character replacement or by termination of a pattern.

したがって、消滅文字を表2の置換文字対応表に照合し
、その文字が他の文字に置換されていないときにはその
消滅文字によってパターンがn−1番目の走査線上で終
了したことを知ることができる。
Therefore, by comparing the annihilation character with the replacement character correspondence table in Table 2, if the character has not been replaced by another character, it can be determined by the annihilation character that the pattern has ended on the n-1th scanning line. .

パターン終了は、第4図におけるイ、口、ハ、二の各個
所で終了情報が得られ、該終了情報により1パターンを
1個として認識することができる。
Regarding the end of a pattern, end information is obtained at each of the locations A, C, C, and 2 in FIG. 4, and one pattern can be recognized as one by the end information.

そして、前記終了情報をカウントすることにより画面全
体の個数を計数することもできる。
The total number of screens can also be counted by counting the end information.

要するにイ、口、ハ、二の各個所でパターンの終了情報
が得られるがこの情報は現行走査線○■と現行走査線の
一つ前の走査線PNMに現われる文字を比較し、PNM
に登録されCNMに登録されていない文字でその文字を
置換文字対応表(表2)に照合し、他の文字に置換され
ていないときはその文字が割り付けられているパターン
が終了したことを意味する。
In short, the end information of the pattern can be obtained at each of the locations A, B, C, and B. This information is obtained by comparing the characters appearing in the current scanning line ○
The character registered in CNM but not registered in CNM is compared with the replacement character correspondence table (Table 2), and if it is not replaced with another character, it means that the pattern to which that character is assigned has ended. do.

例えば第4図で、PNMを走査番号6、CNMを7とし
たとき、PNMにありCNMにない文字はFとHである
For example, in FIG. 4, when PNM has scan number 6 and CNM has scan number 7, the characters that are in PNM but not in CNM are F and H.

このFとHの文字を置換文字対応表に照合するとFはD
に、HはBにそれぞれ置換していることがわかる。
When comparing the characters F and H with the replacement character correspondence table, F becomes D.
It can be seen that H is substituted with B, respectively.

したがって、それぞれの文字で割り付けられたパターン
はまだ終了していないことを示す。
Therefore, each character indicates that the assigned pattern is not yet finished.

次に、PNMを7、CNM8について考えると、Bが該
当する文字でBを対応表に照合するとBは他の文字に置
換されていないことがわかる。
Next, considering PNM 7 and CNM8, B is the corresponding character and when B is checked against the correspondence table, it is found that B has not been replaced with any other character.

したがって、走査線7でBのパターンが終了した情報が
得られ、終了と同時にBで割り付けられたパターンの面
積を別のメモリーに格納しておけば1フレーム終了時に
複数個のパターンの面積分布を求めるソフトプログラム
に情報を提供することができる。
Therefore, if you can obtain information that the pattern B ends at scanning line 7 and store the area of the pattern allocated in B in another memory at the same time as the end, you can calculate the area distribution of multiple patterns at the end of one frame. Information can be provided to the desired software program.

Bパターンの面積は、B文字が各格子点に割り付けられ
た回数の総和で求めることができる。
The area of the B pattern can be determined by the total number of times B characters are assigned to each grid point.

もし、AがBに置換されているときに置換時にAの数を
Bの数に加えておけば良い。
If A is replaced with B, the number of A may be added to the number of B at the time of replacement.

また、Bの終了時にBのパターンで使用した文字、例え
ばBおよびA、E、Hはその文字に該当する置換文字対
応表をクリヤーしておけば再使用可能な状態になる。
Further, when B is finished, the characters used in the B pattern, such as B, A, E, and H, can be reused by clearing the corresponding replacement character correspondence table.

第2の個数認識法は、特願昭48−58716号記載の
負パターンから生ずる一1カウントを除去する方法であ
る。
The second number recognition method is a method described in Japanese Patent Application No. 48-58716, which removes the 11 count generated from the negative pattern.

即ち、第4図の■に示したリング状パターンにおいて、
特願昭48−58716号に記載した+1をカウントす
る2値信号のマトリックスは、記号トであり、また−1
をカウントする2値信号のマI−IJラックス、記号ホ
およびへである。
That is, in the ring-shaped pattern shown in ■ in Fig. 4,
The binary signal matrix for counting +1 described in Japanese Patent Application No. 1987-58716 has the symbol t and -1
These are the binary signals Ma I-IJ lux, symbols E and E, which count .

記号ホおよびへにおける文字情報のセンサーマトリック
スは、記号ホの場合にはM2\M3となり記号への場合
にはM2=M3となる。
The sensor matrix of the character information in the symbols E and H is M2\M3 in the case of the symbol E, and M2=M3 in the case of the symbol H.

記号ホおよびへにおける文字情報のセンサーマトリック
スは、いずれもM2を含むパターンとM3を含むパター
ンとが連続であることを示す情報である。
The sensor matrices of character information for symbols E and F are information indicating that the pattern containing M2 and the pattern containing M3 are continuous.

しかし、記号ホおよびへに示す文字情報のセンサーマI
−IJラックス、互に相違している。
However, the character information sensor I shown in symbols E and F is
-IJ Lux, different from each other.

即ち、記号へにおけるセンサーマトリックスは、第2図
の1に示したリング状パターンのように分岐した後に再
び結合するときに生じ、記号ホにおけるセンサーマトリ
ックスは、第2図の3に示した綿状パターンのようにパ
ターンの先頭でそれぞれ異種文字であったものを結合す
るときに生じる。
That is, the sensor matrix in the symbol H is generated when the sensor matrix branches off and then recombines like the ring-shaped pattern shown in 1 in FIG. This occurs when characters that are different at the beginning of a pattern are combined, as in a pattern.

このようにパターンの連続性を示す情報としては第2図
の1に示したパターンの分岐−結合によって生ずるもの
と、第2図の3で示した結合のみによって生ずるものと
がある。
As described above, information indicating pattern continuity includes information generated by branching and combining of patterns shown at 1 in FIG. 2, and information generated only by the combination shown at 3 in FIG. 2.

したがって、前記負パターンから生ずる一1カウントは
、パターンの分岐−結合によって生ずるものであるから
リング状パターンを1個として認識するためには文字情
報マトリックスのM22M3を調べM2\M3であれば
一1カウントし、M2−M3であれば一1カウントしC
いように処理すれば良い。
Therefore, the 11 count generated from the negative pattern is generated by pattern branching and combination, so in order to recognize the ring pattern as one, check M22M3 of the character information matrix and if M2\M3, 11 If it is M2-M3, count 11 and C
Just handle it as you see fit.

この発明は、要するにパターンの形状が複雑でかつリン
グ状のパターンに対しても1つのパターンを1個として
認識できるので、パターンの個数、粒径分布、面積分布
、局長等を容易に求めることができる。
In short, this invention allows one pattern to be recognized as one even when the shape of the pattern is complex and ring-shaped, so the number of patterns, particle size distribution, area distribution, length, etc. can be easily determined. can.

以下図面によって上記発明方法を実現するための個数判
別装置の実施例を説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a number discriminating device for realizing the method of the invention will be described below with reference to the drawings.

本発明においては第5図に示すように画像1を光学系2
を介してTVカメラ3により撒像し、ビデオ信号4を比
較回路5に加えて基準電圧6と比較し、アンド回路6′
を介して走査線とクロックパルスとの各交点を格子点と
して該格子点に画像が存在するとき“1“、存在しない
とき“0“となる2値信号を発生してこれを画像信号7
とし、これを第6図に示すようにシフトレジスタ8に加
えてシリアルパラレル変換しその速度をHに落した後画
素メモリー9に書き込む。
In the present invention, as shown in FIG.
The video signal 4 is applied to a comparator circuit 5 to be compared with a reference voltage 6, and an AND circuit 6'
generates a binary signal which takes each intersection of the scanning line and the clock pulse as a grid point and becomes "1" when an image exists at the grid point, and "0" when there is no image, and converts this into an image signal 7.
As shown in FIG. 6, this is added to the shift register 8 for serial-to-parallel conversion, the speed of which is reduced to H, and then written to the pixel memory 9.

この画素メモリー9の容量は本実施例では水平方向25
6ビツト、垂直力向256ビツト、総計65.536ビ
ツトとする。
In this embodiment, the capacity of this pixel memory 9 is 25 in the horizontal direction.
6 bits, vertical force direction 256 bits, total 65.536 bits.

TVカメラ3の水平同期信号は第7図に示すごとく周期
は64.5μsである。
The horizontal synchronization signal of the TV camera 3 has a cycle of 64.5 μs as shown in FIG.

本実施例では、画像処理に必要な有効画面の水平走査時
間を51.2μsとする。
In this embodiment, the effective screen horizontal scanning time required for image processing is 51.2 μs.

したがって、画素メモリー9に画像信号7を書き込むク
ロックパルスを5MHzにすると、水平走査時間内に2
56個の画像情報が得られる。
Therefore, if the clock pulse for writing the image signal 7 to the pixel memory 9 is set to 5 MHz, 2
56 pieces of image information are obtained.

−力垂直方向は60Hz同期式2:1インタレースであ
るから、1ラスクは1/60秒で走査線52571本か
らなる。
- Force Since the vertical direction is 60 Hz synchronous 2:1 interlace, one rusk consists of 52,571 scanning lines at 1/60 second.

これを垂直方向256ビツトのメモリーに対応させて、
1フレ一ム分だけ画像メモリー9に書き込む。
By making this compatible with 256-bit memory in the vertical direction,
Only one frame is written to the image memory 9.

水平方向のクロックは5 MHzであり、メモリーのア
クセスタイムは200ns以下の必要があるが、現在の
半導体メモリーではスピード不足であるためこの2値活
号は上述のようにシフトレジスタ8によりシリアルパラ
レル変換をし、速度をHに落す。
The horizontal clock is 5 MHz, and the memory access time must be 200 ns or less, but since current semiconductor memories are insufficient in speed, this binary active code is serial-parallel converted by the shift register 8 as described above. and reduce the speed to H.

画素メモリーの水平方向のメモリー構成は32×8ビツ
トの構成とし、8ビツトの画像信号7がパラレルニ入力
できるようにする。
The horizontal memory configuration of the pixel memory is 32×8 bits, so that an 8-bit image signal 7 can be input in parallel.

このときの書き込みアドレスはTVカメラ3の水平同期
信号Hと、垂直同期信号■およびクロックパルスCpと
により書き込みアドレス発生器10により作成する。
The write address at this time is generated by the write address generator 10 using the horizontal synchronization signal H of the TV camera 3, the vertical synchronization signal (2), and the clock pulse Cp.

画素メモリー9からの画像情報は読、塩アドレス発生器
11により8ビツトパラレルに出力される。
The image information from the pixel memory 9 is read and outputted in 8-bit parallel by the salt address generator 11.

これをシフトレジスタ12によりパラレルシリアル変換
をし元の画像信号7と時系列的に一致させる。
This signal is subjected to parallel-to-serial conversion using a shift register 12 to match the original image signal 7 in time series.

シフトレジスタ12の出力は第8図のmセンサーのm4
としてm用レジスタ13に入力される。
The output of the shift register 12 is m4 of the m sensor in FIG.
It is input to the register 13 for m as follows.

第6図に示すようにm用レジスタ13のmマトリックス
と、後述するM用レジスタ14のMマトリックスの情報
をコンピュータ15に入力させ、第3図および表1、表
2で説明したごとくコンピュータ内でそれらの情報によ
りm4の情報点にどの文字を割り付けるかを決定し、そ
のM4を出力する。
As shown in FIG. 6, the information of the m matrix of the m register 13 and the M matrix of the M register 14, which will be described later, is input to the computer 15, and as explained in FIG. 3 and Tables 1 and 2, Based on this information, it is determined which character to assign to the information point of m4, and M4 is output.

M4は一走査分文字記憶用メモリー16に入力される。M4 is input into the character storage memory 16 for one scan.

このメモリー16は例えば256X8ビツトの容量を持
つものとする。
It is assumed that this memory 16 has a capacity of, for example, 256×8 bits.

したがって、その出力は入力文字のアドレスプラス25
6即ち一走査前の文字、したがってM2の文字となる。
Therefore, its output is the address of the input character plus 25
6, that is, the character from one scan ago, and thus becomes the character M2.

このM2をM用レジスタ14に入力させると同時に8ビ
ツトレジスタ17に入力せしめる。
This M2 is input to the M register 14 and simultaneously input to the 8-bit register 17.

またコンピュータ15からのM4出力は8ビツトレジス
タ18に入力させる。
Further, the M4 output from the computer 15 is input to an 8-bit register 18.

コンピュータ15からの出力を1格子点分右に移動する
コントロール信号によってレジスタ18.17はそれぞ
れM31M1として出力される。
A control signal for moving the output from the computer 15 to the right by one grid point causes registers 18 and 17 to output M31M1, respectively.

このM39M1をM用レジスタ14に入力させる。This M39M1 is input to the M register 14.

また、M32M12M2をm検出回路19,20゜21
に入力させ、文字信号が有るか無いかによって有る場合
1、無い場合はOとしm31 m11 m2を求めm用
レジスタ13に入力せしめる。
In addition, M32M12M2 is connected to the m detection circuit 19, 20°21
Depending on whether there is a character signal, set it to 1 if there is a character signal, or set it to O if there is no character signal, and calculate m31 m11 m2 and input them to the m register 13.

コンピュータ15内ではMl−2M22M3の、状態に
よりM4に表1、表2により文字の割り付けを行う。
In the computer 15, depending on the state of M1-2M22M3, characters are assigned to M4 according to Tables 1 and 2.

また、水平走査線が1本終了するごとに既に説明したよ
うに文字の終了情報が得られるかどうか判別する。
Furthermore, each time one horizontal scanning line ends, it is determined whether character end information is obtained, as described above.

以上のように本発明においては画像中にある沢山のパタ
ーンの個々のパターンにそれぞれ異なった文字を割り付
け、それらの文字が発生した回数をそれぞれの文字ごと
に別々にカウントしそれぞれのパターンの面積群を求め
ることができる。
As described above, in the present invention, different characters are assigned to each of the many patterns in an image, the number of times these characters occur is counted separately for each character, and the area group of each pattern is can be found.

この面積群から画像中の沢山のパターンの面積分布を求
めたり、パターンが円形に近似できる場合にはこの面積
群から粒径分布を求めることもできる。
The area distribution of many patterns in the image can be determined from this area group, and if the pattern can be approximated to a circular shape, the particle size distribution can also be determined from this area group.

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

第1図、第2図は本発明装置によって判別するパターン
の説明図、第3図はセンサーおよび文字記憶用メモリー
の配列情況説明図、第4図はパターンに文字を割り付け
した状態を示す説明図、第5図、第6図は夫々本発明C
要部を示す回路図、第7図および第8図はその説明用線
図である。 1・・・・・・画像、2・・・・・・光学系、3・・・
・・・TVカメラ、4・・・・・・ビデオ信号、5・・
・・・・比較回路、6・・・・・・基準電圧、6(・・
・・・アンド回路、7・・・・・・画像信号、8・・・
・・・シフトレジスタ、9・・・・・・画素メモリー、
10・・・・・・書き込みアドレス発生器、11・・・
・・・読取アドレス発生器、12・・・・・・シフトレ
ジスタ、13・・・・・・m用しジスク、14・・・・
・・M用しジスク、15・・・・・・コンピュータ、1
6・・・・・・−走査分文字記憶用メモリ−17,18
・・・・・・8ビツトレジスタ、20.21・・・・・
・m検出回路。 19゜
Figures 1 and 2 are explanatory diagrams of patterns discriminated by the device of the present invention, Figure 3 is an explanatory diagram of the arrangement of sensors and character memory memory, and Figure 4 is an explanatory diagram showing the state in which characters are assigned to patterns. , FIG. 5, and FIG. 6 are respectively of the present invention C.
The circuit diagram showing the main parts, and FIGS. 7 and 8 are explanatory diagrams thereof. 1... Image, 2... Optical system, 3...
...TV camera, 4...Video signal, 5...
...Comparison circuit, 6...Reference voltage, 6 (...
...AND circuit, 7... Image signal, 8...
...Shift register, 9...Pixel memory,
10...Write address generator, 11...
...read address generator, 12...shift register, 13...m disk, 14...
...M disc, 15...Computer, 1
6...-Memory for storing characters for scanning-17, 18
...8-bit register, 20.21...
・m detection circuit. 19°

Claims (1)

【特許請求の範囲】[Claims] 1 検査すべき区域を2次元的に走査し所定時間毎に2
値情報を発生せしめる機構と、この2値情報を順次にメ
モリする画素メモリと、このメモリ内で上下、左右の相
隣る4点にメモリされた4つの2値情報を1つの組情報
として受は取る2値用レジスタと、文字情報を受は取る
文字用レジスタと、前記2値用レジスタと文字用レジス
タよりの出力を受は取り前記4つの2値情報の内容を判
別しこの4つの2値情報に前記文字用レジスタの文字を
割り付けるための機構と、各走査線の走査終了毎にこの
終了した走査線上にある文字情報とこれより1つ前の走
査線上にある文字情報とを順次に比較し1つ前の走査線
上にあって終了した走査線上にない文字が他の文字に置
換されたものであるか否かを判別する機構と、前記置換
されていないときに終了情報を発生せしめる機構と、こ
の終了情報を加算する機構とより成る個数判別装置。
1 Scan the area to be inspected two-dimensionally and scan the area at predetermined intervals 2
A mechanism that generates value information, a pixel memory that sequentially stores this binary information, and a pixel memory that receives four pieces of binary information stored at four adjacent points on the upper, lower, left, and right sides of this memory as one set of information. A binary register that receives character information, a character register that receives character information, and a character register that receives and receives output from the binary register and character register, determines the contents of the four binary information, and determines the contents of the four binary information. A mechanism for allocating characters in the character register to value information, and a mechanism for sequentially assigning character information on the completed scan line and character information on the previous scan line each time each scan line ends. A mechanism for comparing and determining whether a character on the previous scan line but not on the completed scan line has been replaced with another character, and generating end information when the character has not been replaced. A number determining device consisting of a mechanism and a mechanism that adds this end information.
JP50052570A 1975-05-02 1975-05-02 Kosuhanbetsouchi Expired JPS5842498B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP50052570A JPS5842498B2 (en) 1975-05-02 1975-05-02 Kosuhanbetsouchi

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP50052570A JPS5842498B2 (en) 1975-05-02 1975-05-02 Kosuhanbetsouchi

Publications (2)

Publication Number Publication Date
JPS51129275A JPS51129275A (en) 1976-11-10
JPS5842498B2 true JPS5842498B2 (en) 1983-09-20

Family

ID=12918457

Family Applications (1)

Application Number Title Priority Date Filing Date
JP50052570A Expired JPS5842498B2 (en) 1975-05-02 1975-05-02 Kosuhanbetsouchi

Country Status (1)

Country Link
JP (1) JPS5842498B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5930163A (en) * 1982-08-10 1984-02-17 Yokogawa Hokushin Electric Corp Numbering circuit
JPS5958587A (en) * 1982-09-29 1984-04-04 Fuji Electric Co Ltd Pattern processing device

Also Published As

Publication number Publication date
JPS51129275A (en) 1976-11-10

Similar Documents

Publication Publication Date Title
EP0012173A1 (en) Apparatus for picture processing with resolution conversion
US3778811A (en) Display system with graphic fill-in
JPS58201185A (en) Position detector
US3952296A (en) Video signal generating apparatus with separate and simultaneous processing of odd and even video bits
JPH0683356B2 (en) Image information recording device
JPS5842498B2 (en) Kosuhanbetsouchi
US3947841A (en) Channel electron multiplier signal detector and digitizer
US3673566A (en) Use of a plurality of scanning directions for character center line determination
US4500928A (en) Storage apparatus for video data
JPS6145547Y2 (en)
RU1785017C (en) Device for image outline distinguishing
JPS5928449Y2 (en) Interlaced display device
EP0002339B1 (en) Improvements relating to data display techniques
JPS6134155B2 (en)
JP2833024B2 (en) Display screen synthesis device
JP2665058B2 (en) Waveform display device
JPH0325987B2 (en)
JPH0762795B2 (en) Image extractor
JPS61190624A (en) Hard-copy system of graphic display picture
JPS5862766A (en) projection calculation device
JPS61206389A (en) Pattern discrimination device
JPH0616261B2 (en) Display controller
SU1624434A1 (en) Device for displaying data on the screen of a cathode-ray tube
JP2903214B2 (en) Area designation device
JPS5967585A (en) display control device