JPH10293848A - Parallel operation processor for image data - Google Patents

Parallel operation processor for image data

Info

Publication number
JPH10293848A
JPH10293848A JP9103170A JP10317097A JPH10293848A JP H10293848 A JPH10293848 A JP H10293848A JP 9103170 A JP9103170 A JP 9103170A JP 10317097 A JP10317097 A JP 10317097A JP H10293848 A JPH10293848 A JP H10293848A
Authority
JP
Japan
Prior art keywords
lines
data
determination processing
board
boards
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.)
Withdrawn
Application number
JP9103170A
Other languages
Japanese (ja)
Inventor
Shinji Matsui
伸二 松井
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.)
Fuji Electric Co Ltd
FFC Ltd
Original Assignee
Fuji Electric Co Ltd
FFC 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 Fuji Electric Co Ltd, FFC Ltd filed Critical Fuji Electric Co Ltd
Priority to JP9103170A priority Critical patent/JPH10293848A/en
Publication of JPH10293848A publication Critical patent/JPH10293848A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To check the faults and their positions with high accuracy and at a high speed by obtaining the continuous decision processing results of continuous scanning line groups distributed to plural decision processing boards and gathering those continuous processing results into a global memory of every decision processing board as the plane decision processing results. SOLUTION: Each of decision processing boards 201 to 206 performs the line decision processes of 312 times and also transmits and receives the data of the prescribed length to and from other boards in order to turn the discontinuous scanning line groups into the continuous ones. Finally, the area decision processing results of 1st to 1248-th lines, 1249-th to 2496-th lines, 2497-th to 3744-th lines, 3745-th to 4992-th lines, 4993-th to 6240-th lines and 6241-th to 7488-th lines are gathered on the boards 201, 202, 203, 204, 205 and 206 respectively. As a result, the discontinuous scanning line groups (four scanning lines) are turned into the continuous ones and accordingly a plane decision area having the planar decision processing result of a fixed area is formed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ハードディスク等
の物体表面の観測点からの反射光を撮像して得た複数の
輝度値に基づいて観測点の欠陥の有無を検査するため
に、前記観測点を含む一走査ライン分の測定データを並
列的に順次個別のプロセッサに入力して物体表面の欠陥
の有無を判定する画像データの並列演算処理装置に関す
る。
The present invention relates to an observation method for inspecting the presence or absence of a defect at an observation point based on a plurality of luminance values obtained by imaging reflected light from the observation point on the surface of an object such as a hard disk. The present invention relates to a parallel arithmetic processing apparatus for image data for determining the presence or absence of a defect on the surface of an object by sequentially inputting measurement data for one scan line including points to individual processors in parallel.

【0002】[0002]

【背景技術】図10は、欠陥検査対象としての物体表面
の観測点に光源から光を照射した場合の、反射光の二次
元の輝度分布を光源分布関数として模式的に示した図で
ある。なお、図10において、10は光源、20はハー
ドディスク等の検査媒体、21は観測点、31〜35は
観測点21からの反射光を撮像するカメラを示す。ここ
で、カメラ31〜35のうち中央のカメラ33は、観測
点21からの正反射光を受光する位置に配置され、その
両側のカメラ32,34及び最も外側のカメラ31,3
5はそれぞれ等しい角度だけ離れた位置に線対称で配置
されているものとする。
2. Description of the Related Art FIG. 10 is a diagram schematically showing a two-dimensional luminance distribution of reflected light as a light source distribution function when light is irradiated from a light source to an observation point on an object surface as a defect inspection target. In FIG. 10, reference numeral 10 denotes a light source, reference numeral 20 denotes an inspection medium such as a hard disk, reference numeral 21 denotes an observation point, and reference numerals 31 to 35 each denote a camera for imaging reflected light from the observation point 21. Here, the center camera 33 of the cameras 31 to 35 is arranged at a position for receiving the specularly reflected light from the observation point 21, and the cameras 32 and 34 on both sides and the outermost cameras 31 and 3.
5 are line-symmetrically arranged at positions separated by the same angle.

【0003】いま、二次元の光源分布を考えた場合、各
カメラ31〜35によって測定される輝度値b1〜b
5は、数式1の光源分布関数f(θs)によって表され
る。
[0003] When a two-dimensional light source distribution is considered, luminance values b 1 to b measured by the cameras 31 to 35 are considered.
5 is represented by the light source distribution function f (θ s ) in Equation 1.

【0004】[0004]

【数1】 f(θs)=Aexp{(2θn−θs2/σ2F (θ s ) = Aexp {(2θ n −θ s ) 2 / σ 2 }

【0005】上記数式1において、θsは光源10から
の光軸と正規反射光の光軸とのなす角である。次に、数
式1における各パラメータを、図11を参照しつつ説明
する。図11において、f(θs)は上記観測点21が
鏡面であると仮定したときの基準となる光源分布関数で
あり、中央のカメラ33の位置を中心として±1〔de
g〕の位置にカメラ34,32を配置し、±3〔deg〕の
位置にカメラ35,31を配置して輝度値b1〜b5を測
定した例である。
In the above equation 1, θ s is the angle between the optical axis from the light source 10 and the optical axis of the regular reflected light. Next, each parameter in Equation 1 will be described with reference to FIG. In FIG. 11, f (θ s ) is a light source distribution function serving as a reference when the observation point 21 is assumed to be a mirror surface, and is ± 1 [de] around the position of the central camera 33.
In this example, the luminance values b 1 to b 5 are measured by disposing the cameras 34 and 32 at the position [g] and disposing the cameras 35 and 31 at the positions ± 3 [deg].

【0006】数式1において、Aは観測点21の反射率
を示すパラメータであって光源分布関数のピーク値(輝
度のピーク値)を示し、観測点21の傷等によって左右
される。また、θnは観測点21の傾斜を示すパラメー
タであって基準となる光源分布関数f(θs)からのピ
ーク値のずれ量を示し、更に、σは観測点21のざらつ
き等の表面粗さを示すパラメータであって基準となる光
源分布関数f(θs)からの裾の拡がり具合を示してい
る。
In Equation 1, A is a parameter indicating the reflectance of the observation point 21 and indicates the peak value (peak value of luminance) of the light source distribution function, and is influenced by the damage of the observation point 21 or the like. Further, θ n is a parameter indicating the inclination of the observation point 21 and indicates the amount of deviation of the peak value from the reference light source distribution function f (θ s ), and σ is the surface roughness of the observation point 21 such as roughness. This is a parameter indicating the degree of spread of the skirt from the reference light source distribution function f (θ s ).

【0007】従って、各観測点につき未定係数決定法等
を用いて各パラメータA,σ,θnを求めることによ
り、観測点の傷やざらつき等の欠陥の有無を検査するこ
とができる。実際の手順としては、図12(a)に示す
ようなハードディスク等の検査媒体20に対しその半径
方向の走査ラインSLに沿って走査し、例えば反射率に
対応するパラメータAについての1ライン分の値が図1
2(b)のようであったとすると、欠陥がない場合の基
準値に対し、正側または負側においてそれぞれ所定のし
きい値T+,T−を超える範囲は何らかの欠陥があると
判定している。なお、図示しないが、パラメータσにつ
いては、欠陥がある場合に主に+側に変化が表れる。θ
nについては、欠陥の種類と+側、−側の変化との相関
関係が一様に定まらないため、+側、−側の何れかに変
化があった場合を何らかの欠陥ありと判定して良い。
Therefore, by determining the parameters A, σ, and θ n for each observation point using an undetermined coefficient determination method or the like, it is possible to inspect the observation point for defects such as scratches and roughness. The actual procedure is as follows. The inspection medium 20 such as a hard disk as shown in FIG. 12A is scanned along a scanning line SL in the radial direction, and for example, one line for a parameter A corresponding to the reflectance is scanned. Figure 1
If it is as shown in FIG. 2 (b), a range exceeding a predetermined threshold value T + or T- on the positive side or the negative side with respect to the reference value in the case where there is no defect is determined to have some defect. . Although not shown, the parameter σ changes mainly on the + side when there is a defect. θ
Regarding n , since the correlation between the type of defect and the change on the + side or the − side is not uniformly determined, a case where there is a change on either the + side or the − side may be determined to be some kind of defect. .

【0008】[0008]

【発明が解決しようとする課題】ここで、ある走査ライ
ンにつき5台のカメラ31〜35により測定した輝度値
1〜b5に基づいてその走査ライン上の欠陥の有無を検
査するには、各カメラ31〜35の測定データをDSP
(ディジタルシグナルプロセッサ)等により並列的に処
理することが必要であり、その一走査ライン分の欠陥有
無の判定結果を多数ライン分連続させて整列すること
で、ある面積を持つ各種の欠陥の有無を検出することが
できる。現状では、上述したような画像データの並列演
算処理や多数ライン分の画像データの整列処理等を行う
場合に、短時間で効率よく所定のデータを転送し、しか
も各プロセッサの負荷が過重とならないような処理装置
が提供されておらず、その実現が望まれていた。そこで
本発明は、これらの課題を解決するためになされたもの
である。
BRIEF Problems to be Solved] Here, to check the presence or absence of a defect on that scan line based on the luminance values b 1 ~b 5 measured by the five cameras 31 to 35 per scan line in the The measurement data of each camera 31-35 is DSP
(Digital signal processor) etc., it is necessary to perform processing in parallel, and by arranging the results of determining the presence or absence of defects for one scanning line continuously for many lines, the presence or absence of various defects having a certain area Can be detected. At present, when performing parallel processing of image data and alignment of image data for a large number of lines as described above, predetermined data can be efficiently transferred in a short time, and the load on each processor does not become excessive. Such a processing device has not been provided, and its realization has been desired. Therefore, the present invention has been made to solve these problems.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するた
め、請求項1記載の発明は、物体表面の観測点からの反
射光を撮像して得た複数の輝度値に基づいて前記観測点
の欠陥の有無を検査するために、前記観測点を含む一走
査ライン分の測定データを並列的に順次個別のプロセッ
サに入力して各走査ライン分の欠陥の有無を判定する画
像データの並列演算処理装置において、グローバルメモ
リとこのグローバルメモリにアクセス可能な複数のプロ
セッサとを有する判定処理ボードを複数形成して各判定
処理ボードのグローバルメモリをリング状に接続し、前
記判定処理ボードを構成するプロセッサの数と同数であ
って連続する複数の走査ライン(以下、連続走査ライン
群という)の測定データを各判定処理ボード内の各プロ
セッサに順次かつサイクリックに入力して連続走査ライ
ン群につき欠陥有無の判定処理をそれぞれ行うと共に、
その判定処理結果を各グローバルメモリに格納し、各グ
ローバルメモリにそれぞれ格納された互いに非連続な連
続走査ライン群の判定処理結果を、各判定処理ボードの
間で転送することにより、各グローバルメモリに、連続
する複数の連続走査ライン群の判定処理結果を格納する
ものである。
According to a first aspect of the present invention, there is provided an image processing apparatus, comprising: a plurality of brightness values obtained by imaging reflected light from an observation point on an object surface; In order to check for the presence or absence of a defect, parallel processing of image data for determining whether or not there is a defect for each scan line by sequentially inputting measurement data for one scan line including the observation point to individual processors in parallel. In the apparatus, a plurality of determination processing boards each having a global memory and a plurality of processors accessible to the global memory are formed, and the global memories of the respective determination processing boards are connected in a ring shape. The measurement data of a plurality of continuous scanning lines (hereinafter referred to as “continuous scanning line group”) in the same number as the number is sequentially and supported to each processor in each determination processing board. Enter the click per successive scan lines groups of the defect existence determination processing performs respectively,
The determination processing results are stored in each global memory, and the determination processing results of the discontinuous continuous scanning lines stored in the respective global memories are transferred between the respective determination processing boards. , For storing the results of the determination process for a plurality of continuous scanning line groups.

【0010】請求項2記載の発明は、請求項1記載の並
列演算処理装置において、各判定処理ボードの特定のプ
ロセッサは、連続走査ライン群についての欠陥有無の判
定処理の実行回数をカウントし、そのカウント値に応じ
て自ボードの動作モードを選択するものである。
According to a second aspect of the present invention, in the parallel processing device according to the first aspect, the specific processor of each determination processing board counts the number of executions of the process of determining whether or not there is a defect in the continuous scan line group, The operation mode of the own board is selected according to the count value.

【0011】請求項3記載の発明は、請求項1または2
記載の並列演算処理装置において、各判定処理ボードが
連続走査ライン群の判定処理結果の転送を終了するたび
に、転送元の判定処理ボードが固定パターンデータを転
送し、転送先の判定処理ボードは受信した固定パターン
データを基準データと比較してデータの転送エラーを検
出するものである。
[0011] The invention according to claim 3 is the invention according to claim 1 or 2.
In the parallel processing device described, each time each determination processing board finishes transferring the determination processing result of the continuous scanning line group, the determination processing board of the transfer source transfers the fixed pattern data, and the determination processing board of the transfer destination is The data transfer error is detected by comparing the received fixed pattern data with the reference data.

【0012】[0012]

【発明の実施の形態】以下、図に沿って本発明の実施形
態を説明する。図1はこの実施形態の構成を示すブロッ
ク図である。図において、31〜35は前述の如く検査
媒体20の観測点21からの反射光を撮像するカメラで
あり、これらのカメラ31〜35により撮像された画像
データは前処理ボード101〜105に入力されてい
る。前処理ボード101〜105は、各々ADコンバー
タADC1〜ADC5、ディジタルシグナルプロセッサ
(DSP)P1〜P5及びメモリM1〜M5を備えてお
り、それぞれが6チャンネルCP0〜CP5の出力を持
っている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of this embodiment. In the figure, reference numerals 31 to 35 denote cameras for imaging reflected light from the observation point 21 of the inspection medium 20 as described above. Image data captured by these cameras 31 to 35 is input to the preprocessing boards 101 to 105. ing. The pre-processing boards 101 to 105 include AD converters ADC1 to ADC5, digital signal processors (DSPs) P1 to P5, and memories M1 to M5, respectively, and have outputs of six channels CP0 to CP5, respectively.

【0013】一方、201〜206は判定処理ボードで
あり、個々のボード201〜206は、4つのディジタ
ルシグナルプロセッサ及びこれらのプロセッサによりア
クセス可能なグローバルメモリを備えている。すなわ
ち、ボード201はプロセッサQ11〜Q14及びグロ
ーバルメモリGM1を、ボード202はプロセッサQ2
1〜Q24及びグローバルメモリGM2を、ボード20
3はプロセッサQ31〜Q34及びグローバルメモリG
M3を、ボード204はプロセッサQ41〜Q44及び
グローバルメモリGM4を、ボード205はプロセッサ
Q51〜Q54及びグローバルメモリGM5を、ボード
206はプロセッサQ61〜Q64及びグローバルメモ
リGM6をそれぞれ備えている。
On the other hand, 201 to 206 are judgment processing boards. Each of the boards 201 to 206 has four digital signal processors and a global memory accessible by these processors. That is, the board 201 stores the processors Q11 to Q14 and the global memory GM1, and the board 202 stores the processors Q2
1 to Q24 and the global memory GM2
3 is a processor Q31 to Q34 and a global memory G
M3, the board 204 includes the processors Q41 to Q44 and the global memory GM4, the board 205 includes the processors Q51 to Q54 and the global memory GM5, and the board 206 includes the processors Q61 to Q64 and the global memory GM6.

【0014】判定処理ボード201〜206はそれぞれ
8つのチャンネル(コミュニケーションポート)CN1
〜CN8を備えており、これらのうちチャンネルCN
1,CN2,CN4,CN5,CN6には、前記前処理
ボード101〜105からの測定データが4走査ライン
分ずつ送られるようになっている。また、判定処理ボー
ド201〜206のグローバルメモリGM1〜GM6の
相互間はチャンネルCN7,CN8によって接続されて
おり、これによってグローバルメモリGM1〜GM6が
リング状に接続されている。なお、チャンネルCN3は
使用されていない。ここで、プロセッサP1〜P5,Q
11〜Q64には、例えばテキサス・インスツルメンツ
社のDSPである「TMS320C40」を使用するこ
とができる。また、図1において、DI/DOはディジ
タル入出力部、MPは回路全体を制御するメインプロセ
ッサ、MSは記憶装置である。
Each of the judgment processing boards 201 to 206 has eight channels (communication ports) CN1.
To CN8, of which channel CN
The measurement data from the pre-processing boards 101 to 105 is sent to 1, CN2, CN4, CN5, and CN6 every four scan lines. The global memories GM1 to GM6 of the determination processing boards 201 to 206 are connected to each other by channels CN7 and CN8, whereby the global memories GM1 to GM6 are connected in a ring. Note that the channel CN3 is not used. Here, the processors P1 to P5, Q
For example, “TMS320C40” which is a DSP of Texas Instruments can be used for 11 to Q64. In FIG. 1, DI / DO is a digital input / output unit, MP is a main processor that controls the entire circuit, and MS is a storage device.

【0015】図2は、一つの判定処理ボード、例えば2
01内のプロセッサQ11〜Q14間の接続状態を示し
たものであり、他の判定処理ボード202〜206も同
様の接続構成となっている。図3はすべての判定処理ボ
ード201〜206(グローバルメモリGM1〜GM
6)がリング状に接続されている様子を示す。
FIG. 2 shows one judgment processing board, for example, 2
1 shows a connection state between the processors Q11 to Q14 in FIG. 01, and the other determination processing boards 202 to 206 have the same connection configuration. FIG. 3 shows all the judgment processing boards 201 to 206 (global memories GM1 to GM
6) shows a state where they are connected in a ring shape.

【0016】ここで、光源分布関数の各パラメータA,
σ,θnを求める処理手順の一例を、図4に従って説明
する。まず、図10に示したような基準となる光源分布
関数f(θs)に基づき、カメラ31〜35の撮像位置
に対応する輝度値b1〜b5を求める(S1)。
Here, each parameter A,
An example of a processing procedure for obtaining σ, θ n will be described with reference to FIG. First, based on the reference light source distribution function f (θ s ) as shown in FIG. 10, luminance values b 1 to b 5 corresponding to the imaging positions of the cameras 31 to 35 are obtained (S1).

【0017】次に、各パラメータA,σ,θnにつき、
各輝度値b1〜b5に所定の重み付けを行う(S2)。こ
の重み付けは、本発明において必ずしも必要なものでは
ないが、各パラメータの持つ意味に応じてその変化の様
子を的確に捉えるために必要とされる処理である。な
お、図5は上記重み付けの一例を示すものであり、例え
ば光源分布関数のピーク値に関するパラメータAについ
てはb3を最も重視し、光源分布関数の裾の拡がり具合
を示すパラメータσについてはb1,b5を最も重視し、
更に、光源分布関数のピーク値のずれを示すパラメータ
θnについてはb2〜b4を均等に重視している。
[0017] Next, each of the parameters A, σ, per θ n,
Performing a predetermined weighting to each luminance value b 1 ~b 5 (S2). This weighting is not always necessary in the present invention, but is a process required to accurately grasp the state of change according to the meaning of each parameter. FIG. 5 shows an example of the above-mentioned weighting. For example, the parameter A relating to the peak value of the light source distribution function places the highest priority on b 3, and the parameter σ indicating the degree of expansion of the tail of the light source distribution function is b 1 , the most emphasis on b 5,
Further, b 2 to b 4 are equally emphasized for the parameter θ n indicating the shift of the peak value of the light source distribution function.

【0018】次いで、まずパラメータAを目的変数とし
て所定の範囲(Amin≦A≦Amax)で変化させながら、
パラメータAに関する近似関数すなわち回帰モデルfA
(b1,b2,b3,b4,b5)を作成する(S3)。こ
の近似関数fA(b1,b2,b3,b4,b5)は、例えば
数式2により表される。
Next, first, while changing the parameter A as a target variable within a predetermined range (A min ≦ A ≦ A max ),
Approximate function for parameter A, ie, regression model f A
(B 1, b 2, b 3, b 4, b 5) to create a (S3). The approximation function f A (b 1 , b 2 , b 3 , b 4 , b 5 ) is represented by, for example, Expression 2.

【0019】[0019]

【数2】 fA(b1,b2,b3,b4,b5) =a0+a111+a121 2+a131 3+a141 4+a151 5 +a212+a222 2+a232 3+a242 4+a252 5 +a313+a323 2+a333 3+a343 4+a353 5 +a414+a424 2+a434 3+a444 4+a454 5 +a515+a525 2+a535 3+a545 4+a555 5 [Number 2] f A (b 1, b 2 , b 3, b 4, b 5) = a 0 + a 11 b 1 + a 12 b 1 2 + a 13 b 1 3 + a 14 b 1 4 + a 15 b 1 5 + a 21 b 2 + a 22 b 2 2 + a 23 b 2 3 + a 24 b 2 4 + a 25 b 2 5 + a 31 b 3 + a 32 b 3 2 + a 33 b 3 3 + a 34 b 3 4 + a 35 b 3 5 + a 41 b 4 + a 42 b 4 2 + a 43 b 4 3 + a 44 b 4 4 + a 45 b 4 5 + a 51 b 5 + a 52 b 5 2 + a 53 b 5 3 + a 54 b 5 4 + a 55 b 5 5

【0020】ここで、前記範囲内のそれぞれの目的変数
Aについて、対応する説明変数b1〜b5の値は基準にな
る光源分布関数f(θs)に基づいて算出できるため、
それぞれの目的変数Aにつき26個の回帰係数a0,a
11,a12,……,a54,a55を持つ近似関数fA(b1
2,b3,b4,b5)を多数作成することができる。次
に、これらの回帰係数a0,a11,a12,……,a54
55を回帰分析により算出する(S4)。具体的には、
それぞれの目的変数A=fA(b1,b2,b3,b4
5)とおき、最小二乗法により回帰係数a0,a11,a
12,……,a54,a55を求める。
Here, for each of the objective variables A within the above range, the values of the corresponding explanatory variables b 1 to b 5 can be calculated based on the reference light source distribution function f (θ s ).
26 regression coefficients a 0 , a for each objective variable A
11, a 12, ......, the approximation function f A (b 1 having a 54, a 55,
b 2 , b 3 , b 4 , b 5 ) can be created in large numbers. Next, these regression coefficients a 0 , a 11 , a 12 ,..., A 54 ,
a55 is calculated by regression analysis (S4). In particular,
Each objective variable A = f A (b 1 , b 2 , b 3 , b 4 ,
b 5 ) and regression coefficients a 0 , a 11 , a
12 ,..., A 54 and a 55 are obtained.

【0021】以下同様に、パラメータσ、パラメータθ
nを目的変数としてそれぞれ近似関数fσ(b1,b2
3,b4,b5),fθn(b1,b2,b3,b4,b5
を作成し、各々について回帰係数h0,h11,h12,…
…,h54,h55及びp0,p11,p12,……,p54,p
55を求める(S5〜S8)。(これらの係数の符号h,
pは便宜的なものである。) ここで、近似関数fσ(b1,b2,b3,b4,b5)及
びfθn(b1,b2,b 3,b4,b5)は数式1から容易
に類推可能であるため、記述を省略する。
Hereinafter, similarly, the parameters σ and θ
nWith the approximation function fσ (b1, BTwo,
bThree, BFour, BFive), Fθn(B1, BTwo, BThree, BFour, BFive)
And the regression coefficient h for each0, H11, H12,…
…, H54, H55And p0, P11, P12, ……, p54, P
55(S5 to S8). (The signs h,
p is for convenience. Here, the approximate function fσ (b1, BTwo, BThree, BFour, BFive)
And fθn(B1, BTwo, B Three, BFour, BFive) Is easy from Equation 1
Therefore, the description is omitted.

【0022】なお、上記実施形態では5ヶ所に配置した
カメラ31〜35による輝度値b1〜b5を説明変数とし
たが、輝度値の数(言い換えればカメラの数)は任意の
複数でよい。
In the above embodiment, the brightness values b 1 to b 5 of the cameras 31 to 35 arranged at five locations are used as explanatory variables. However, the number of brightness values (in other words, the number of cameras) may be arbitrary. .

【0023】以上のようにして回帰係数a0,a11,a
12,……,a54,a55と、h0,h11,h12,……,h
54,h55及びp0,p11,p12,……,p54,p55が算
出されれば、近似関数fA(b1,b2,b3,b4
5),fσ(b1,b2,b3,b4,b5),fθ
n(b1,b2,b3,b4,b5)に任意の観測点の輝度値
1〜b5を代入することで、その観測点におけるパラメ
ータA,σ,θnを求めることができる。
As described above, the regression coefficients a 0 , a 11 , a
12 ,..., A 54 , a 55 and h 0 , h 11 , h 12 ,.
54, h 55, and p 0, p 11, p 12 , ......, if p 54, p 55 is calculated, the approximation function f A (b 1, b 2 , b 3, b 4,
b 5), fσ (b 1 , b 2, b 3, b 4, b 5), fθ
n (b 1, b 2, b 3, b 4, b 5) the by substituting the luminance values b 1 ~b 5 arbitrary observation point, the parameter A, sigma, to obtain the theta n at the observation point Can be.

【0024】このため、図1に示した前処理ボード10
1〜105内のプロセッサP1〜P5は、走査ライン上
の各観測点について輝度値b1〜b5を測定し、その測定
データを判定処理ボード201〜206に送っている。
判定処理ボード201〜206内のプロセッサQ11〜
Q64は、前処理ボード101〜105から送られた輝
度値b1〜b5を用いて各走査ラインのパラメータA,
σ,θnを求め、しきい値処理によって各走査ライン上
の欠陥の有無を判定すると共に、後述する如く、連続す
る複数走査ライン分のデータを判定処理ボード201〜
206間で転送し整列させることで、一定の面積を持つ
欠陥の有無や種類の判定(面判定処理)も行っている。
For this reason, the pre-processing board 10 shown in FIG.
Processor P1~P5 in 1-105 measures the luminance values b 1 ~b 5 for each observation point on the scan line, and sends the measurement data to the determination processing board 201-206.
Processors Q11 to Q11 in the judgment processing boards 201 to 206
Q64 is pretreated boards luminance values b 1 sent from 101 to 105 ~b 5 parameters A for each scan line using,
σ, θ n are determined, and the presence or absence of a defect on each scan line is determined by threshold processing, and data for a plurality of continuous scan lines is determined by the determination processing boards 201 to 201 as described later.
By transferring and arranging the defects between the pixels 206, the presence / absence and type of a defect having a certain area are also determined (surface determination processing).

【0025】図6は、この実施形態における各判定処理
ボード201〜206の面判定領域(走査ラインN
O.)及びライン判定処理の実行回数を示す図である。
いま、図12(a)に示したような検査媒体20の表面
全域を検査する際に走査ライン数が全体で7488本あ
るとした場合、判定処理ボード201は1本目〜124
8本目、判定処理ボード202は1249本目〜249
6本目、……というように各ボード201〜206が1
/6ずつ分担する面判定領域を予め決めておく。
FIG. 6 shows a surface determination area (scan line N) of each of the determination processing boards 201 to 206 in this embodiment.
O. FIG. 7 is a diagram illustrating the number of times of performing the line determination process.
Now, assuming that the total number of scanning lines is 7488 when inspecting the entire surface of the inspection medium 20 as shown in FIG.
Eighth, judgment processing board 202 has 1249 th to 249 th
Sixth, each board 201-206 is 1
A surface determination area to be shared by / 6 is determined in advance.

【0026】図1に示すように、1番目の判定処理ボー
ド201には、前処理ボード101〜105から最初に
1本目〜4本目の連続する走査ライン(連続走査ライン
群という)の輝度値b1〜b5が送られ、内部のプロセッ
サQ11〜Q14が各々1本ずつ走査ラインを受け持っ
て各走査ラインにつきパラメータA,σ,θnの算出、
しきい値処理等を行い、1本目〜4本目の走査ライン上
の欠陥の有無を判定する。
As shown in FIG. 1, the first determination processing board 201 has luminance values b of the first to fourth continuous scanning lines (referred to as a continuous scanning line group) from the preprocessing boards 101 to 105 first. 1 ~b 5 is sent, the interior of the processor Q11~Q14 are each one by in charge of scan lines each scan line per parameter a, sigma, calculation of the theta n,
Threshold processing or the like is performed to determine the presence or absence of a defect on the first to fourth scan lines.

【0027】同様にして、2番目の判定処理ボード20
2には、前処理ボード101〜105から最初に5本目
〜8本目の連続走査ライン群の輝度値b1〜b5が送ら
れ、内部のプロセッサQ21〜Q24が各々1本づつ走
査ラインを受け持って5本目〜8本目の各走査ライン上
の欠陥の有無を判定する。以下同様に各ボード203〜
206が処理を行い、6番目の判定処理ボード206は
21〜24本目の各走査ライン上の欠陥の有無を判定す
る。また、次の動作では1番目の判定処理ボード201
が25〜28本目の走査ライン、2番目の判定処理ボー
ド202が29〜32本目の走査ライン、……というよ
うに、サイクリックに判定処理を実行していく。
Similarly, the second judgment processing board 20
The 2, pretreatment luminance values b 1 ~b 5 of the first five to eighth -th continuous scan line group from the board 101 to 105 is transmitted, inside the processor Q21~Q24 is charge of each one by one scan line Then, the presence or absence of a defect on each of the fifth to eighth scan lines is determined. The same applies to each board 203 to
206 performs processing, and the sixth determination processing board 206 determines the presence or absence of a defect on each of the 21st to 24th scan lines. In the next operation, the first judgment processing board 201
, The 25th to 28th scanning lines, the second determination processing board 202 performs the 29th to 32nd scanning lines,.

【0028】すなわち、各判定処理ボード201〜20
6は1回に走査ラインを4本ずつ並列的に判定処理する
ので、1回の動作で第1本目〜第24本目までの走査ラ
インの判定処理が実行される。そして、図6に示すよう
に、2回目の動作では判定処理ボード201が25〜2
8本目、判定処理ボード202が29〜32本目、…
…、判定処理ボード206が45本目〜48本目の走査
ラインに対し判定処理を行い、全体で第25本目〜第4
8本目までの走査ラインの判定処理が実行される。つま
り、各判定処理ボード201〜206は順次、サイクリ
ックに4本ずつの走査ライン上の欠陥の有無を判定して
いくものであり、このライン判定処理は7488本/2
4=312回繰り返し実行されることになる。
That is, each of the judgment processing boards 201 to 20
No. 6 performs the determination processing of four scanning lines in parallel at a time, so that the determination processing of the first to twenty-fourth scanning lines is executed by one operation. Then, as shown in FIG. 6, in the second operation, the judgment processing board 201
Eighth, the determination processing board 202 is the 29th to 32nd, ...
.., The determination processing board 206 performs determination processing on the 45th to 48th scan lines, and the 25th to 4th
The processing for determining up to the eighth scan line is executed. That is, each of the determination processing boards 201 to 206 sequentially determines the presence / absence of a defect on four scanning lines cyclically, and this line determination processing is performed at 7488/2 lines.
4 = 312 times.

【0029】判定処理ボード201〜206内の各4個
のプロセッサによる判定結果は、1000バイト/ライ
ンの固定長データとして各グローバルメモリGM1〜G
M6に出力され、各ボード201〜206のプロセッサ
Q14,Q24,Q34,Q44,Q54,Q64がア
クセス可能な領域に格納される。また、上述したライン
判定処理の実行回数は、各ボード201〜206のプロ
セッサQ14,Q24,Q34,Q44,Q54,Q6
4により各々カウントされ、メインプロセッサMPから
の初期化コマンドによってゼロクリアされるものとす
る。
The determination results by the four processors in each of the determination processing boards 201 to 206 are determined as fixed-length data of 1000 bytes / line in each of the global memories GM1 to GM.
The data is output to M6 and stored in an area accessible by the processors Q14, Q24, Q34, Q44, Q54, and Q64 of the boards 201 to 206. The number of executions of the above-described line determination processing is determined by the processors Q14, Q24, Q34, Q44, Q54, Q6 of the boards 201 to 206.
4 and are cleared to zero by an initialization command from the main processor MP.

【0030】図6から明らかなように、各ボード201
〜206のグローバルメモリGM1〜GM6には、4本
の連続走査ライン群を一組とした判定処理結果が、非連
続な状態で312組格納されることになる。例えば、判
定処理ボード201のグローバルメモリGM1には、第
1本目〜第4本目、第25本目〜第28本目、……、第
7465本目〜第7468本目の連続走査ライン群の判
定処理結果が格納されている。
As is clear from FIG. 6, each board 201
In the global memories GM1 to GM6, 312 sets of determination processing results in which four continuous scan line groups are set as a set are stored in a discontinuous state. For example, the determination result of the first to fourth, 25th to 28th,..., 7465th to 7468 continuous scan line groups is stored in the global memory GM1 of the determination processing board 201. Have been.

【0031】一般に、検査媒体20の表面の欠陥はある
程度の面積を持つため、走査ラインを多数本まとめて面
を構成した場合の判定処理が重要な意味を持つ。つま
り、各グローバルメモリGM1〜GM6に格納されてい
る飛び飛びの連続走査ライン群の判定処理結果を、所定
の面積に対する判定処理結果とするべく、グローバルメ
モリGM1〜GM6の相互間、言い換えれば各ボード2
01〜206間でデータ転送を行ってデータを整列さ
せ、非連続状態の連続走査ライン群を連続させる必要が
ある。
In general, the defect on the surface of the inspection medium 20 has a certain area, and therefore, the determination processing when a surface is formed by integrating a large number of scanning lines is important. In other words, in order to make the determination processing result of the intermittent continuous scanning line group stored in each of the global memories GM1 to GM6 into the determination processing result for a predetermined area, the determination between the global memories GM1 to GM6, in other words, each board 2
It is necessary to perform data transfer between 01 and 206 to align the data, and to make the continuous scanning line group in a discontinuous state continuous.

【0032】以下、非連続状態の連続走査ライン群を連
続させるための判定処理ボード201〜206間のデー
タ転送につき説明する。転送データは、4本の連続走査
ライン群についての判定処理結果を1ユニットとした4
〜20本の走査ライン(1〜5ユニットの連続走査ライ
ン群)についての判定処理結果であり、各ボードごとに
カウントされる図6の実行回数(1〜312)に応じて
区別されるフェーズ(後述する図9を参照)により、各
ボードごとで固定長のデータ転送となる。図7は転送デ
ータのフォーマットを示しており、一例として判定処理
ボード206の送信バッファ、受信バッファを図示して
ある。なお、他のボード201〜205についても同様
の構成である。
The data transfer between the determination processing boards 201 to 206 for making the continuous scanning line groups in the discontinuous state continuous will be described below. The transfer data is obtained by assuming that the determination processing result for the four continuous scanning line groups is one unit.
This is a determination process result for up to 20 scan lines (a group of continuous scan lines of 1 to 5 units), and is distinguished according to the number of executions (1 to 312) in FIG. According to FIG. 9 described later), fixed-length data transfer is performed for each board. FIG. 7 shows a format of the transfer data, and shows a transmission buffer and a reception buffer of the determination processing board 206 as an example. The other boards 201 to 205 have the same configuration.

【0033】以下では、判定処理ボード206の場合に
つきデータフォーマットを説明する。ボード206が有
する送信バッファの先頭から+4000バイトまでは自
己のボード206の判定処理結果が格納される。その
際、第4本目の走査ラインに対応するプロセッサQ64
の処理結果を先頭にし、以下走査ラインの降順に各プロ
セッサQ63,Q62,Q61に格納する。受信バッフ
ァは、送信バッファの+4000バイトを先頭とした連
続する20000バイトの領域とし、この20000バ
イトを、他のボード201〜205からの受信データの
格納領域とする。通常の転送処理では、受信バッファに
データを受信した後、自己のデータ領域(+0〜+40
00バイト)にデータを書き込み、受信データと併せて
次のボード(この例ではボード201)に転送する。
The data format of the judgment processing board 206 will be described below. Up to +4000 bytes from the head of the transmission buffer of the board 206, the determination processing result of the board 206 is stored. At this time, the processor Q64 corresponding to the fourth scan line
Is stored in the processors Q63, Q62, and Q61 in the descending order of the scanning lines. The reception buffer is a continuous 20,000-byte area starting at +4000 bytes of the transmission buffer, and this 20,000 bytes is used as a storage area for data received from the other boards 201 to 205. In normal transfer processing, after data is received in the reception buffer, its own data area (+0 to +40
00 bytes), and transfers the data together with the received data to the next board (board 201 in this example).

【0034】図8は、各判定処理ボード201〜206
の動作を示すタイムチャートである。ここでは、ボード
201からデータ(判定処理結果)を送信してボード2
02がデータを受信する転送処理を「COM1−2」で
示してある。例えば判定処理ボード201は、まず、前
述した表面状態を示すパラメータA,σ,θnを算出す
る処理を行う。その後、データの受信準備ができたこ
とを示すフラグ「COM IN」を発してから各パラメ
ータの分散値算出及び欠陥の有無判定処理を行い、そ
の間にボード206から送信されたデータを受信する。
ボード201は、処理が終了するとデータの整列処理
を行い、送信準備ができたことを示すフラグ「COM
OUT」を発してから、ボード202に向けてデータを
転送する処理を行う。勿論、この時点では、既にボー
ド202によるフラグ「COM IN」が存在してい
る。判定処理ボード201は上記の動作を一定周期で繰
り返し実行する。以下、他の判定処理ボード202〜2
06も順次、所定の時間間隔(例えば4ms)ずつずれ
て同様の動作を繰り返し実行する。
FIG. 8 shows each of the judgment processing boards 201 to 206.
6 is a time chart showing the operation of the first embodiment. Here, data (determination processing result) is transmitted from the board 201 and the board 2
02 is indicated by “COM1-2” in the transfer process for receiving data. For example the determination processing board 201 first performs a process of calculating the parameters A, sigma, theta n indicating the surface condition described above. After that, after issuing a flag “COM IN” indicating that the data reception preparation is completed, the variance value calculation of each parameter and the presence / absence determination processing are performed, and during that time, the data transmitted from the board 206 is received.
When the processing is completed, the board 201 performs data alignment processing, and sets a flag “COM” indicating that transmission preparation is completed.
OUT ”, the data is transferred to the board 202. Of course, at this point, the flag “COM IN” by the board 202 already exists. The determination processing board 201 repeatedly executes the above operation at a constant cycle. Hereinafter, the other determination processing boards 202-2
06 repeats the same operation sequentially at predetermined time intervals (for example, 4 ms).

【0035】なお、各ボード201〜206間でのデー
タ転送においては、転送元のボードが固定パターンデー
タを転送し、転送先のボードは受信した固定パターンデ
ータを基準データと比較してデータの転送エラーを検出
することが望ましい。
In the data transfer between the boards 201 to 206, the transfer source board transfers the fixed pattern data, and the transfer destination board compares the received fixed pattern data with the reference data to transfer the data. It is desirable to detect errors.

【0036】次に、図9は、各ボード201〜206で
のライン判定処理の実行回数に応じたフェーズと、発信
側ボードの動作モード(モード0〜モード17)及び転
送データ長(転送される走査ラインの本数)とを示した
ものである。ここで、各動作モードの内容は次のとおり
である。なお、以下の説明では走査ライン本数を「(本
数)ライン」と表記する。
Next, FIG. 9 shows a phase according to the number of times of execution of the line determination processing in each of the boards 201 to 206, the operation mode (mode 0 to mode 17) of the transmitting side board, and the transfer data length (transferred). (The number of scanning lines). Here, the contents of each operation mode are as follows. In the following description, the number of scanning lines is referred to as “(number) lines”.

【0037】・モード0:受信0ライン、送信0ライン このモードは、起動時の判定処理ボード201の特殊処
理であり、受信データ、送信データ共にない。ライン判
定処理したデータをグローバルメモリGM1の整列デー
タ格納領域に書き込むだけである。
Mode 0: Reception 0 line, Transmission 0 line This mode is a special process of the judgment processing board 201 at the time of activation, and has neither reception data nor transmission data. It is only necessary to write the data subjected to the line determination processing into the aligned data storage area of the global memory GM1.

【0038】・モード1:受信20ライン、送信0ライ
ン このモードは、通常の整列データ格納モードである。他
のボードからの受信データと自己のデータとをすべてグ
ローバルメモリの整列データ格納領域に書き込む。前述
の如く、受信バッファには20ライン分のデータが走査
ラインの番号と逆順に格納されている。自己データはこ
れに続く4ラインとなる。例えば、判定処理ボード20
1ではライン番号の+23としてプロセッサQ14によ
る自己データ、+22として同Q13による自己デー
タ、+21として同Q12による自己データ、+20と
して同Q11による自己データ、同+19として受信バ
ッファの先頭データ、……、+0として受信バッファの
最後尾データが格納される。
Mode 1: 20 lines for reception, 0 lines for transmission This mode is a normal aligned data storage mode. All the data received from the other board and its own data are written to the alignment data storage area of the global memory. As described above, 20 lines of data are stored in the receiving buffer in the reverse order of the scanning line number. The self data is the following four lines. For example, the judgment processing board 20
In 1, the line number +23 is the self data by the processor Q14, +22 is the self data by the same Q13, +21 is the self data by the same Q12, +20 is the self data by the same Q11, +19 is the head data of the reception buffer,. As the last data of the reception buffer.

【0039】・モード2:受信0ライン、送信4ライン 通常のデータ転送モードである。但し、受信データはな
い。自己のデータである4ライン分を転送する。
Mode 2: 0 lines for reception, 4 lines for transmission This is a normal data transfer mode. However, there is no received data. Transfers four lines of its own data.

【0040】・モード3:受信4ライン、送信8ライン ・モード4:受信8ライン、送信12ライン ・モード5:受信12ライン、送信16ラインMode 3: reception 4 lines, transmission 8 lines Mode 4: reception 8 lines, transmission 12 lines Mode 5: reception 12 lines, transmission 16 lines

【0041】・モード6:受信16ライン、送信20ラ
イン 通常のデータ転送モードである。受信データに自己デー
タ4ラインを追加して転送する。
Mode 6: reception 16 lines, transmission 20 lines This is a normal data transfer mode. Four lines of self-data are added to the received data and transferred.

【0042】・モード7:受信20ライン、送信4ライ
ン 判定処理ボード201における整列データ格納モードの
終了処理である。受信データ20ラインを整列データ格
納領域に書き込み、自己データ4ラインを送信する。
Mode 7: 20 lines for reception, 4 lines for transmission This is the termination processing of the sorted data storage mode in the judgment processing board 201. 20 lines of received data are written in the alignment data storage area, and 4 lines of self-data are transmitted.

【0043】・モード8:受信4ライン、送信0ライン 判定処理ボード202における整列データ格納モードの
開始処理である。受信データ4ラインと自己データ4ラ
インとを整列データ格納領域に書き込む。
Mode 8: 4 lines for reception, 0 lines for transmission This is the start processing of the sorting data storage mode in the judgment processing board 202. Four lines of received data and four lines of self-data are written in the alignment data storage area.

【0044】・モード9:受信20ライン、送信8ライ
ン 判定処理ボード202における整列データ格納モードの
終了処理である。受信データ20ラインのうち、後尾1
6ライン(先頭+0ラインから+15ライン)を整列デ
ータ格納領域に書き込み、残りの受信データ4ラインに
自己データ4ラインを追加して送信する。
Mode 9: reception 20 lines, transmission 8 lines This is the termination processing of the sorted data storage mode in the judgment processing board 202. Trailing 1 out of 20 lines of received data
Six lines (the first +0 line to the +15 line) are written in the alignment data storage area, and four lines of self-data are added to the remaining four lines of received data and transmitted.

【0045】 ・モード10:受信8ライン、送信0ライン 判定処理ボード203における整列データ格納モードの
開始処理である。受信データ8ラインと自己データ4ラ
インとを整列データ格納領域に書き込む。
Mode 10: reception 8 lines, transmission 0 lines This is the start processing of the sorting data storage mode in the judgment processing board 203. Write eight lines of received data and four lines of self-data to the alignment data storage area.

【0046】 ・モード11:受信20ライン、送信12ライン 判定処理ボード203における整列データ格納モードの
終了処理である。受信データ20ラインのうち、後尾1
2ライン(先頭+0ラインから+11ライン)を整列デ
ータ格納領域に書き込み、残りの受信データ8ラインに
自己データ4ラインを追加して送信する。
Mode 11: 20 lines for reception, 12 lines for transmission This is termination processing of the sorted data storage mode in the judgment processing board 203. Trailing 1 out of 20 lines of received data
Two lines (the first +0 line to the +11 line) are written in the alignment data storage area, and the remaining eight lines of received data are added with four lines of self-data and transmitted.

【0047】 ・モード12:受信12ライン、送信0ライン 判定処理ボード204における整列データ格納モードの
開始処理である。受信データ12ラインと自己データ4
ラインとを整列データ格納領域に書き込む。
Mode 12: reception 12 lines, transmission 0 line This is the start processing of the alignment data storage mode in the judgment processing board 204. 12 lines of received data and 4 own data
Write the line to the alignment data storage area.

【0048】 ・モード13:受信20ライン、送信16ライン 判定処理ボード204における整列データ格納モードの
終了処理である。受信データ20ラインのうち、後尾8
ライン(先頭+0ラインから+7ライン)を整列データ
格納領域に書き込み、残りの受信データ12ラインに自
己データ4ラインを追加して送信する。
Mode 13: 20 lines for reception, 16 lines for transmission This is termination processing of the sorted data storage mode in the determination processing board 204. Trailing 8 out of 20 lines of received data
The line (the first +0 line to the +7 line) is written in the alignment data storage area, and the remaining 12 lines of received data are added with 4 lines of self-data and transmitted.

【0049】 ・モード14:受信16ライン、送信0ライン 判定処理ボード205における整列データ格納モードの
開始処理である。受信データ16ラインと自己データ4
ラインとを整列データ格納領域に書き込む。
Mode 14: reception 16 lines, transmission 0 line This is the start processing of the sorted data storage mode in the judgment processing board 205. 16 lines of received data and self data 4
Write the line to the alignment data storage area.

【0050】 ・モード15:受信20ライン、送信20ライン 判定処理ボード205における整列データ格納モードの
終了処理である。受信データ20ラインのうち、後尾4
ライン(先頭+0ラインから+3ライン)を整列データ
格納領域に書き込み、残りの受信データ16ラインに自
己データ4ラインを追加して送信する。
Mode 15: 20 lines for reception, 20 lines for transmission This is termination processing of the sorted data storage mode in the determination processing board 205. Trailing 4 out of 20 lines of received data
The line (the first +0 line to the +3 line) is written in the aligned data storage area, and the remaining 16 lines of received data are added with 4 lines of self-data and transmitted.

【0051】 ・モード16:受信20ライン、送信0ライン 判定処理ボード206における整列データ格納モードの
開始処理である。受信データ20ラインと自己データ4
ラインとを整列データ格納領域に書き込む。動作はモー
ド1と同様になる。
Mode 16: reception 20 lines, transmission 0 line This is the start processing of the alignment data storage mode in the judgment processing board 206. 20 lines of received data and 4 self-data
Write the line to the alignment data storage area. The operation is the same as in mode 1.

【0052】・整列データの重複処理 フェーズ13(モード17)として、フェーズ12の終
了後、面判定処理の境界領域を考慮して、各ボードに格
納されている整列データ間で16ライン分のデータを重
複させる。 ・モード17:受信16ライン、送信16ライン 各ボードの整列データ領域の最後尾16ラインを送信
(起動のみ)した後、重複分16ラインの受信を行う。
データの送受信は、整列データ領域から整列データ領域
へ直接行うものとする。受信データは整列データ領域の
先頭に付加される。データの受信を確認した後、データ
整列処理を終了する。
Alignment Data Overlapping Process In phase 13 (mode 17), after the end of phase 12, 16 lines of data between the alignment data stored in each board are taken into account in consideration of the boundary area of the surface determination processing. To overlap. Mode 17: 16 lines for reception, 16 lines for transmission After transmitting the last 16 lines of the alignment data area of each board (only for activation), reception of 16 overlapping lines is performed.
Data transmission and reception are performed directly from the aligned data area to the aligned data area. The received data is added to the head of the aligned data area. After confirming the reception of the data, the data sorting process ends.

【0053】以上のようにして各判定処理ボード201
〜206が各々312回のライン判定処理を行いながら
所定長のデータをボード間で送受信していくことによ
り、最終的には、図6に示したようにボード201には
1本目〜1248本目、ボード202には1249本目
〜2496本目、ボード203には2497本目〜37
44本目、ボード204には3745本目〜4992本
目、ボード205には4993本目〜6240本目、ボ
ード206には6241本目〜7488本目までの領域
の判定処理結果が集められる。これにより、非連続状態
にあった連続走査ライン群(4本の走査ライン)を複数
連続させて一定面積の面状の判定処理結果を持つ面判定
領域が形成されることになり、ライン判定処理では検出
不可能である面状の欠陥の有無やその位置を、高精度に
検出することが可能になる。
As described above, each judgment processing board 201
206 transmit and receive data of a predetermined length between the boards while performing the line determination process 312 times, so that the first to the 1248th, The board 202 is 1249 th to 2496 th and the board 203 is 2497 th to 37 th.
The 44th board, the board 204 collects the 3745th to 4992th boards, the board 205 collects the 4993th to 6240th boards, and the board 206 collects the determination processing results of the 6241st to 7488th areas. As a result, a plurality of continuous scanning line groups (four scanning lines) that were in a non-continuous state are made continuous to form a surface determination region having a planar determination result of a certain area. It is possible to detect the presence or absence and the position of a planar defect that cannot be detected with high accuracy.

【0054】なお、上記実施形態では、ハードディスク
等の磁気記録媒体の表面の欠陥検査に本発明を適用した
場合を説明したが、本発明は他の物体表面の欠陥検査に
も適用可能である。
In the above embodiment, the case where the present invention is applied to the defect inspection of the surface of a magnetic recording medium such as a hard disk has been described. However, the present invention is also applicable to the defect inspection of the surface of another object.

【0055】[0055]

【発明の効果】以上のように、請求項1記載の発明で
は、複数の判定処理ボードに分散された連続走査ライン
群の判定処理結果を連続させ、各判定処理ボード内のグ
ローバルメモリに面判定処理結果として集めるととも
に、データ転送に当たっては、請求項2に記載したよう
に、各判定処理ボード内のプロセッサがライン判定処理
の実行回数をカウントしてその値に応じた動作モードを
選択するようにしたため、ある程度の面積を持つ各種の
欠陥の有無やその位置を高精度かつ高速に検査すること
ができる。また、請求項3に記載したように、各判定処
理ボードが固定パターンデータを基準データと比較する
ことで、データの転送エラーを確実に検出可能である。
As described above, according to the first aspect of the present invention, the determination processing results of the continuous scanning line group distributed to the plurality of determination processing boards are made continuous, and the surface determination is performed in the global memory in each determination processing board. In addition to collecting processing results and transferring data, as described in claim 2, the processor in each determination processing board counts the number of times of execution of the line determination processing and selects an operation mode according to the value. Therefore, the presence or absence of various defects having a certain area and their positions can be inspected with high accuracy and high speed. Further, as described in claim 3, each determination processing board compares the fixed pattern data with the reference data, so that a data transfer error can be reliably detected.

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

【図1】本発明の実施形態の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】実施形態における判定処理ボードの内部構成を
示す図である。
FIG. 2 is a diagram illustrating an internal configuration of a determination processing board according to the embodiment.

【図3】実施形態における判定処理ボードの接続状態を
示す図である。
FIG. 3 is a diagram illustrating a connection state of a determination processing board in the embodiment.

【図4】実施形態における光源分布関数の各パラメータ
を求める処理手順のフローチャートである。
FIG. 4 is a flowchart of a processing procedure for obtaining each parameter of a light source distribution function in the embodiment.

【図5】実施形態における光源分布関数の各パラメータ
の重み付けを示す図である。
FIG. 5 is a diagram illustrating weighting of each parameter of a light source distribution function in the embodiment.

【図6】実施形態における各判定処理ボードの面判定領
域及びライン判定処理の実行回数を示す図である。
FIG. 6 is a diagram illustrating a surface determination area of each determination processing board and the number of executions of a line determination process according to the embodiment.

【図7】実施形態における転送データのフォーマットの
説明図である。
FIG. 7 is an explanatory diagram of a format of transfer data in the embodiment.

【図8】実施形態における各判定処理ボードの動作を示
すタイムチャートである。
FIG. 8 is a time chart illustrating an operation of each determination processing board in the embodiment.

【図9】実施形態におけるフェーズ、実行回数、動作モ
ード及び転送データ長を示す図である。
FIG. 9 is a diagram showing a phase, the number of executions, an operation mode, and a transfer data length in the embodiment.

【図10】光源分布関数の説明図である。FIG. 10 is an explanatory diagram of a light source distribution function.

【図11】各パラメータの説明図である。FIG. 11 is an explanatory diagram of each parameter.

【図12】検査媒体上の走査ライン(図12(a))及
び走査ライン上のパラメータの値(図12(b))を示
す図である。
FIG. 12 is a diagram showing a scan line (FIG. 12A) on an inspection medium and parameter values (FIG. 12B) on the scan line.

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

10 光源 20 検査媒体 21 観測点 31〜35 カメラ 101〜105 前処理ボード 201〜206 判定処理ボード ADC1〜ADC5 ADコンバータ P1〜P5,Q11〜Q64 ディジタルシグナルプロ
セッサ(DSP) M1〜M5 メモリ GM1〜GM6 グローバルメモリ DI/DO ディジタル入出力部 MP メインプロセッサ MS 記憶装置 SL 走査ライン
DESCRIPTION OF SYMBOLS 10 Light source 20 Inspection medium 21 Observation point 31-35 Camera 101-105 Pre-processing board 201-206 Judgment processing board ADC1-ADC5 AD converter P1-P5, Q11-Q64 Digital signal processor (DSP) M1-M5 Memory GM1-GM6 Global Memory DI / DO Digital input / output unit MP Main processor MS Storage device SL Scan line

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 物体表面の観測点からの反射光を撮像し
て得た複数の輝度値に基づいて前記観測点の欠陥の有無
を検査するために、前記観測点を含む一走査ライン分の
測定データを並列的に順次個別のプロセッサに入力して
各走査ライン分の欠陥の有無を判定する画像データの並
列演算処理装置において、 グローバルメモリとこのグローバルメモリにアクセス可
能な複数のプロセッサとを有する判定処理ボードを複数
形成して各判定処理ボードのグローバルメモリをリング
状に接続し、 前記判定処理ボードを構成するプロセッサの数と同数で
あって連続する複数の走査ライン(以下、連続走査ライ
ン群という)の測定データを各判定処理ボード内の各プ
ロセッサに順次かつサイクリックに入力して連続走査ラ
イン群につき欠陥有無の判定処理をそれぞれ行うと共
に、その判定処理結果を各グローバルメモリに格納し、 各グローバルメモリにそれぞれ格納された互いに非連続
な連続走査ライン群の判定処理結果を、各判定処理ボー
ドの間で転送することにより、 各グローバルメモリに、連続する複数の連続走査ライン
群の判定処理結果を格納することを特徴とする画像デー
タの並列演算処理装置。
An inspection method for inspecting the presence or absence of a defect at the observation point based on a plurality of luminance values obtained by imaging reflected light from the observation point on the surface of the object. An image data parallel processing device for inputting measurement data sequentially to individual processors in order to determine the presence or absence of a defect for each scanning line, comprising a global memory and a plurality of processors capable of accessing the global memory A plurality of determination processing boards are formed, global memories of the respective determination processing boards are connected in a ring shape, and a plurality of continuous scanning lines (hereinafter referred to as a continuous scanning line group) having the same number as the number of processors constituting the determination processing boards. Is sequentially and cyclically input to each processor in each judgment processing board to judge whether or not there is a defect in the continuous scanning line group. By performing each of the determination processing results, storing the determination processing results in each global memory, and transferring the determination processing results of the discontinuous continuous scanning line groups stored in the respective global memories between the respective determination processing boards, A parallel arithmetic processing device for image data, characterized in that a determination result of a plurality of continuous scanning line groups is stored in each global memory.
【請求項2】 請求項1記載の画像データの並列演算処
理装置において、 各判定処理ボードの特定のプロセッサは、連続走査ライ
ン群についての欠陥有無の判定処理の実行回数をカウン
トし、そのカウント値に応じて自ボードの動作モードを
選択することを特徴とする画像データの並列演算処理装
置。
2. The parallel processing apparatus for image data according to claim 1, wherein the specific processor of each of the determination processing boards counts the number of executions of the determination processing of the presence or absence of a defect with respect to the continuous scanning line group, and the count value is provided. A parallel operation processing device for image data, wherein an operation mode of the own board is selected according to the operation mode.
【請求項3】 請求項1または2記載の画像データの並
列演算処理装置において、 各判定処理ボードが連続走査ライン群の判定処理結果の
転送を終了するたびに、転送元の判定処理ボードが固定
パターンデータを転送し、転送先の判定処理ボードは受
信した固定パターンデータを基準データと比較してデー
タの転送エラーを検出することを特徴とする画像データ
の並列演算処理装置。
3. The parallel processing apparatus for image data according to claim 1, wherein each time each of the judgment processing boards finishes transferring the judgment processing result of the continuous scanning line group, the judgment processing board of the transfer source is fixed. A parallel processing apparatus for image data, wherein pattern data is transferred and a transfer processing determination board compares the received fixed pattern data with reference data to detect a data transfer error.
JP9103170A 1997-04-21 1997-04-21 Parallel operation processor for image data Withdrawn JPH10293848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9103170A JPH10293848A (en) 1997-04-21 1997-04-21 Parallel operation processor for image data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9103170A JPH10293848A (en) 1997-04-21 1997-04-21 Parallel operation processor for image data

Publications (1)

Publication Number Publication Date
JPH10293848A true JPH10293848A (en) 1998-11-04

Family

ID=14347041

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9103170A Withdrawn JPH10293848A (en) 1997-04-21 1997-04-21 Parallel operation processor for image data

Country Status (1)

Country Link
JP (1) JPH10293848A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002003329A1 (en) * 2000-07-04 2002-01-10 Nippon Sheet Glass Co., Ltd. Image processing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002003329A1 (en) * 2000-07-04 2002-01-10 Nippon Sheet Glass Co., Ltd. Image processing system

Similar Documents

Publication Publication Date Title
KR20010098929A (en) Appearance inspection apparatus and appearance inspection method
US6920180B1 (en) Image processing inspection apparatus
JPS61212708A (en) Method and apparatus for detecting pattern defect
JPH10293848A (en) Parallel operation processor for image data
JPH08313225A (en) Appearance inspection apparatus
CN115240092A (en) Transmission tower patrol detection method and device, electronic equipment and storage medium
CN111855151B (en) Detection device and detection method for polarizer transmission shaft
JPH0333605A (en) Comparing/testing method of patterns and apparatus thereof
JP3281457B2 (en) Board component mounting inspection method and inspection device
JP3269516B2 (en) Mounting board inspection equipment
JP3591489B2 (en) Viscous material application device and viscous material application method
JPH036409A (en) Method and apparatus for inspecting printed circuit board
JP2827756B2 (en) Defect inspection equipment
JPH0650904A (en) Method for correcting size of surface defect
KR102579226B1 (en) Machine vision inspection system for non-circular container production process using deep learning
JPH09293763A (en) Automatic appearance inspection device for surface of semiconductor substrate
JPH0763737A (en) Ultrasonic inspecting device
JPH11132966A (en) Meandering following apparatus for flaw inspection apparatus
JP3295124B2 (en) Device evaluation test apparatus and method
KR20010056919A (en) Dynamometer
JPH0363876B2 (en)
JPH10282011A (en) Defect inspection method for surface of object
JP2920561B2 (en) Test method for one-chip microcomputer
KR100436294B1 (en) A search method of pattern block in machine vision
JP2022147313A (en) Image learning device for visual inspection and visual inspection device

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20040706