JPH05165960A - Number deciding method for uniform granular material - Google Patents

Number deciding method for uniform granular material

Info

Publication number
JPH05165960A
JPH05165960A JP3335016A JP33501691A JPH05165960A JP H05165960 A JPH05165960 A JP H05165960A JP 3335016 A JP3335016 A JP 3335016A JP 33501691 A JP33501691 A JP 33501691A JP H05165960 A JPH05165960 A JP H05165960A
Authority
JP
Japan
Prior art keywords
particles
pattern
uniform granular
image
granular material
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
JP3335016A
Other languages
Japanese (ja)
Inventor
Yoichi Sato
洋一 佐藤
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.)
Sekisui Chemical Co Ltd
Original Assignee
Sekisui Chemical Co 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 Sekisui Chemical Co Ltd filed Critical Sekisui Chemical Co Ltd
Priority to JP3335016A priority Critical patent/JPH05165960A/en
Publication of JPH05165960A publication Critical patent/JPH05165960A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Image Analysis (AREA)

Abstract

PURPOSE:To surely decide the number of the uniform granular material with high precision by finding direction vectors between contour constitution picture elements in order and calculating the angles of the direction vectors to a reference direction. CONSTITUTION:The direction vectors between the contour constitution picture elements of each pattern in picture elements are found successively and the angles of the direction vectors to the reference direction are calculated. Then a decision device 100 decides whether of not particles adhere according to the number of polarity change points of variation of the angles and also decides the number of the particles. Namely, when there is no polarity change point, it is considered that the particles are independently present, but when there is the polarity change point, the number of the particles is decided while it is decided that the particles adhere by the number. Consequently, the quantity of the uniform granular material which is optionally present and of optional size (area of each particle) can surely be decided with high precision as well as whether or not the material adheres and its number.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、均一粒状物質の個数を
その外観から判定する、均一粒状物質の個数判定法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for determining the number of uniform granular substances by determining the number of uniform granular substances from their appearance.

【0002】[0002]

【従来の技術】従来、文字、図形等のパターンマッチン
グ装置において、入力されたパターンと予め記憶した標
準パターンとのマッチングを行なう方法がある(特開平
1-169583)。
2. Description of the Related Art Conventionally, there is a method of matching an input pattern with a standard pattern stored in advance in a pattern matching device for characters, figures, etc.
1-169583).

【0003】[0003]

【発明が解決しようとする課題】従来方法は、対象画像
を基準画像によってパターンマッチングする方法である
が、対象画像を基準画像に対して数画素移動させながら
次々とその類似度を求めて判定する必要があるため、処
理に時間がかかるという問題がある。また、接着して存
在する物質の個数を判定できない。
The conventional method is a method of pattern-matching a target image with a reference image. The target image is moved by several pixels with respect to the reference image, and the similarity is successively determined for determination. Since it is necessary, there is a problem that the processing takes time. In addition, the number of substances that are present by adhesion cannot be determined.

【0004】更に、入力されるパターンの大きさは予め
既知であることが求められる。本発明は、任意に分散し
て存在する任意の大きさ(粒子 1個の面積)の均一粒状
物質の個数を、接着の有無及びその個数とともに高精度
で確実に判定する方法を提供することを目的とする。
Furthermore, the size of the input pattern is required to be known in advance. The present invention provides a method for reliably and accurately determining the number of uniform particulate matter of arbitrary size (the area of one particle) that exists in an arbitrarily dispersed manner, together with the presence or absence of adhesion and the number thereof. To aim.

【0005】[0005]

【課題を解決するための手段】本発明は、任意に分散し
て存在する均一な粒状物質の個数を判定する、均一粒状
物質の個数判定法であって、判定対象の下方から投光し
てその透過光を2値画像として撮像し、撮像された画像
中の各パターンの境界を追跡してその輪郭構成画素の位
置情報を順に記憶し、その輪郭構成画素における画素間
の方向ベクトルを順次求め、その方向ベクトルが基準方
向となす角度を計算し、その角度の変化の変極点の数か
ら粒子の接着の有無を判定するとともに、その粒子個数
を判定するようにしたものである。
DISCLOSURE OF THE INVENTION The present invention is a method for determining the number of uniform granular substances, which is for determining the number of uniform granular substances that are present in an arbitrarily dispersed manner. The transmitted light is imaged as a binary image, the boundary of each pattern in the imaged image is traced, the position information of the contour constituent pixels is sequentially stored, and the direction vector between pixels in the contour constituent pixels is sequentially obtained. The angle formed by the direction vector with respect to the reference direction is calculated, and the presence or absence of particle adhesion is determined from the number of inflection points of the change in the angle, and the number of particles is determined.

【0006】[0006]

【作用】本発明によれば、画像中の各パターンの輪郭構
成画素における画素間の方向ベクトルを順次求め、その
方向ベクトルが基準方向となす角度を計算し、その角度
の変化の変極点の数から粒子の接着の有無を判定すると
ともに、その粒子個数を判定することとなる。即ち、変
極点が存在しなければ、粒子は単独で存在していると
し、変極点が存在すれば、粒子はその数だけ接着してい
ると判定して個数を求めるのである。従って、任意に分
散して存在する任意の大きさ(粒子 1個の面積)の均一
粒状物質の個数を、接着の有無及びその個数とともに高
精度で確実に判定することができる。
According to the present invention, the direction vector between pixels in the contour constituent pixels of each pattern in the image is sequentially obtained, the angle formed by the direction vector with the reference direction is calculated, and the number of inflection points of the change in the angle is calculated. From the above, whether or not the particles are adhered is determined, and the number of the particles is determined. That is, if there is no inflection point, it is determined that the particles exist alone, and if there is an inflection point, it is determined that the particles are bonded by that number, and the number is obtained. Therefore, it is possible to reliably and accurately determine the number of uniformly granular substances of arbitrary size (the area of one particle) that are present in an arbitrarily dispersed state, together with the presence or absence of adhesion and the number thereof.

【0007】[0007]

【実施例】図1は本発明に係る判定方法を実施するため
の装置の一例を示す模式図、図2は判定方法のアルゴリ
ズムを示すフローチャート、図3は入力画像の一例を示
す模式図、図4は画素間の方向ベクトルが基準方向とな
す角度を求める方法を説明する模式図、図5はある入力
パターンの変極点の個数を求める例を示す模式図であ
る。
1 is a schematic diagram showing an example of an apparatus for carrying out the determination method according to the present invention, FIG. 2 is a flowchart showing an algorithm of the determination method, FIG. 3 is a schematic diagram showing an example of an input image, and FIG. 4 is a schematic diagram illustrating a method of obtaining an angle formed by a direction vector between pixels and a reference direction, and FIG. 5 is a schematic diagram illustrating an example of obtaining the number of inflection points of a certain input pattern.

【0008】図1の判定装置100の撮像部10におい
て、12は硝子上に分散された液晶パネル用スペーサ等
の対象物であり、照明装置11により照射されている。
その透過光を、ここでは示していないが顕微鏡を介した
CCDカメラ13で撮像し、その画像信号が処理装置2
0に入力される。
In the image pickup section 10 of the judgment apparatus 100 shown in FIG. 1, 12 is an object such as a spacer for a liquid crystal panel dispersed on glass, which is illuminated by an illuminating device 11.
Although not shown here, the transmitted light is imaged by the CCD camera 13 through a microscope, and the image signal is processed by the processing device 2.
Input to 0.

【0009】処理装置20内のA/D変換回路21で、
入力された画像信号がデジタル信号に変換され、更に2
値化回路22において所定のレベルにより2値信号に変
換され、CPU24を介して画像メモリ23に送られ
る。RAM25は、作業用のメモリとして用いられる。
In the A / D conversion circuit 21 in the processing device 20,
The input image signal is converted into a digital signal, and further 2
The binarization circuit 22 converts the binary signal into a binary signal at a predetermined level and sends the binary signal to the image memory 23 via the CPU 24. The RAM 25 is used as a working memory.

【0010】処理装置22で処理された結果は、モニタ
ー等の出力部30に送られ、対象物12の全粒子数及び
接着している粒子数が出力される。
The result processed by the processing device 22 is sent to an output unit 30 such as a monitor, and the total number of particles of the object 12 and the number of adhered particles are output.

【0011】以下、処理装置20内の処理手順を図2に
示すフローチャートに基づき、図3の入力画像を例とし
て説明する。
The processing procedure in the processing device 20 will be described below with reference to the flowchart shown in FIG. 2 by taking the input image of FIG. 3 as an example.

【0012】(1) 2値画像をラスタ走査し、未処理パタ
ーンをみつけ、その境界を追跡してその輪郭構成画素の
位置情報を順にRAMに格納する。
(1) The binary image is raster-scanned, an unprocessed pattern is found, the boundary is traced, and the position information of the contour constituent pixels is sequentially stored in the RAM.

【0013】(2) 各パターンに対してその輪郭構成画素
における、 1境界隔てた画素間においてその方向ベクト
ルを順次求め、その方向ベクトルが基準方向となす角度
を求める(図4参照)。
(2) For each pattern, the directional vector of the contour constituent pixels between pixels separated by one boundary is sequentially obtained, and the angle formed by the directional vector and the reference direction is obtained (see FIG. 4).

【0014】図中、パターンの境界画素に画素番号を付
した。 1境界隔てた画素間とは、例えば 3と 5であり、
基準方向を図のように水平としたならば方向ベクトルと
基準方向とのなす角度は270 度なる。これを画素番号 1
から30について求める。このパターンについて求めた角
度の変化の例を、図5に示す。
In the figure, pixel numbers are given to the boundary pixels of the pattern. Pixels separated by one boundary are, for example, 3 and 5,
If the reference direction is horizontal as shown in the figure, the angle between the direction vector and the reference direction is 270 degrees. This is the pixel number 1
Ask about 30 from. FIG. 5 shows an example of the change in angle obtained for this pattern.

【0015】(3) 上記(2) で求めた角度の変化におい
て、変極点が存在しなければ粒子は単独で存在している
ものと判定し、変極点が存在すれば粒子はその数だけ接
着しているものと判定して個数を求める。
(3) If there is no inflection point in the change in the angle obtained in (2) above, it is judged that the particles exist independently, and if there is an inflection point, the particles are bonded by the number. It is determined that they are doing, and the number is obtained.

【0016】図4のパターンについて求めた図5の例に
あっては、下に凸をなす変極点が 2個存在しているか
ら、 2個の粒子が接着していることが認められる。即
ち、図4のパターンは、 2個の粒子の接着パターンであ
ったことが理解される。
In the example of FIG. 5 obtained for the pattern of FIG. 4, since there are two inflection points which are convex downward, it is recognized that two particles are bonded. That is, it is understood that the pattern of FIG. 4 was an adhesion pattern of two particles.

【0017】上記(1) 〜(3) により、図3の入力画像に
対し、表1の出力結果を得た。
From the above (1) to (3), the output results of Table 1 were obtained for the input image of FIG.

【表1】 [Table 1]

【0018】[0018]

【発明の効果】以上のように本発明によれば、任意に分
散して存在する任意の大きさ(粒子 1個の面積)の均一
粒状物質の個数を、接着の有無及びその個数とともに高
精度で確実に判定することができる。
As described above, according to the present invention, the number of uniform particles having an arbitrary size (area of one particle) existing in an arbitrarily dispersed state can be accurately determined together with the presence or absence of adhesion and the number thereof. Can be reliably determined with.

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

【図1】図1は本発明に係る判定方法を実施するための
装置の一例を示す模式図である。
FIG. 1 is a schematic diagram showing an example of an apparatus for carrying out a determination method according to the present invention.

【図2】図2は判定方法のアルゴリズムを示すフローチ
ャートである。
FIG. 2 is a flowchart showing an algorithm of a determination method.

【図3】図3は入力画像の一例を示す模式図である。FIG. 3 is a schematic diagram showing an example of an input image.

【図4】図4は画素間の方向ベクトルが基準方向となす
角度を求める方法を説明する模式図である。
FIG. 4 is a schematic diagram illustrating a method of obtaining an angle formed by a direction vector between pixels and a reference direction.

【図5】図5はある入力パターンの変極点の個数を求め
る例を示す模式図である。
FIG. 5 is a schematic diagram showing an example of obtaining the number of inflection points of an input pattern.

【符号の説明】[Explanation of symbols]

100 判定装置 10 撮像部 11 照明装置 12 対象物 13 CCDカメラ 20 処理装置 21 A/D変換回路 22 2値化回路 23 画像メモリ 24 CPU 25 RAM 30 出力部 100 Judgment device 10 Imaging unit 11 Illumination device 12 Object 13 CCD camera 20 Processing device 21 A / D conversion circuit 22 Binarization circuit 23 Image memory 24 CPU 25 RAM 30 Output unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 任意に分散して存在する均一な粒状物質
の個数を判定する、均一粒状物質の個数判定法であっ
て、判定対象の下方から投光してその透過光を2値画像
として撮像し、撮像された画像中の各パターンの境界を
追跡してその輪郭構成画素の位置情報を順に記憶し、そ
の輪郭構成画素における画素間の方向ベクトルを順次求
め、その方向ベクトルが基準方向となす角度を計算し、
その角度の変化の変極点の数から粒子の接着の有無を判
定するとともに、その粒子個数を判定することを特徴と
する均一粒状物質の個数判定法。
1. A method for determining the number of uniform granular substances, which determines the number of uniform granular substances that are arbitrarily dispersed and which comprises projecting light from below a determination target and transmitting the transmitted light as a binary image. An image is captured, the boundary of each pattern in the captured image is tracked, the position information of the contour constituent pixels is sequentially stored, the direction vector between pixels in the contour constituent pixel is sequentially obtained, and the direction vector is the reference direction. Calculate the angle you make,
A method for determining the number of uniform particulate matter, characterized in that the presence or absence of particle adhesion is determined from the number of inflection points of the change in the angle and the number of particles is determined.
JP3335016A 1991-12-18 1991-12-18 Number deciding method for uniform granular material Pending JPH05165960A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3335016A JPH05165960A (en) 1991-12-18 1991-12-18 Number deciding method for uniform granular material

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3335016A JPH05165960A (en) 1991-12-18 1991-12-18 Number deciding method for uniform granular material

Publications (1)

Publication Number Publication Date
JPH05165960A true JPH05165960A (en) 1993-07-02

Family

ID=18283799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3335016A Pending JPH05165960A (en) 1991-12-18 1991-12-18 Number deciding method for uniform granular material

Country Status (1)

Country Link
JP (1) JPH05165960A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19514348A1 (en) * 1994-04-18 1995-10-26 Chisso Corp Scratch-resistant liquid crystal alignment film useful in display unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19514348A1 (en) * 1994-04-18 1995-10-26 Chisso Corp Scratch-resistant liquid crystal alignment film useful in display unit

Similar Documents

Publication Publication Date Title
CN110779928B (en) Defect detection device and method
WO2000016259A1 (en) Visual device
CN107248151B (en) Intelligent liquid crystal display detection method and system based on machine vision
JPH0792104A (en) Method for inspecting defective point of object
JP3688520B2 (en) Surface inspection apparatus and surface inspection method
JPH05165960A (en) Number deciding method for uniform granular material
JPH07104160B2 (en) Inter-vehicle distance detection method
JP2667885B2 (en) Automatic tracking device for moving objects
JPH05215663A (en) Discriminating method for large particle in uniform granular material
JP3043144B2 (en) Method for determining the number of uniform particulate matter
JPH05165958A (en) Number deciding method for uniform granular material
JP7151873B2 (en) inspection equipment
JPH05165962A (en) Method for deciding number of uniform granular material
JPH067171B2 (en) Moving object detection method
JPH05165961A (en) Number deciding method for uniform granular material
JPH05165959A (en) Number deciding method for uniform granular material
JPS61147377A (en) Image analyzer
JPH05205120A (en) Method for deciding number of uniform particle substance
JPS61156485A (en) Slice level determining method of visual device
JP4458210B2 (en) Object detection method
Budiman et al. Deteksi Tepi Plat Nomor Kendaraan Menggunakan Metode Operator Prewitt
JPS62297981A (en) Binarization system for image
JP4457194B2 (en) Defect inspection equipment
JP2002259971A (en) Method for detecting uneven image density and inspection device therefor
KR100213346B1 (en) Apparatus and method for detecting adjusting groove of adjustable component