JP4702952B2 - Unevenness inspection method, unevenness inspection apparatus, and program - Google Patents

Unevenness inspection method, unevenness inspection apparatus, and program Download PDF

Info

Publication number
JP4702952B2
JP4702952B2 JP2006153146A JP2006153146A JP4702952B2 JP 4702952 B2 JP4702952 B2 JP 4702952B2 JP 2006153146 A JP2006153146 A JP 2006153146A JP 2006153146 A JP2006153146 A JP 2006153146A JP 4702952 B2 JP4702952 B2 JP 4702952B2
Authority
JP
Japan
Prior art keywords
unevenness
region
longitudinal direction
regions
substrate
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.)
Active
Application number
JP2006153146A
Other languages
Japanese (ja)
Other versions
JP2007322256A (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.)
Screen Holdings Co Ltd
Dainippon Screen Manufacturing Co Ltd
Original Assignee
Screen Holdings Co Ltd
Dainippon Screen Manufacturing 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 Screen Holdings Co Ltd, Dainippon Screen Manufacturing Co Ltd filed Critical Screen Holdings Co Ltd
Priority to JP2006153146A priority Critical patent/JP4702952B2/en
Priority to TW096116068A priority patent/TWI354100B/en
Priority to KR1020070047740A priority patent/KR100905155B1/en
Priority to CN2007101065249A priority patent/CN101082592B/en
Publication of JP2007322256A publication Critical patent/JP2007322256A/en
Application granted granted Critical
Publication of JP4702952B2 publication Critical patent/JP4702952B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Description

本発明は、多面取りされる基板上の筋ムラを検査する技術に関する。   The present invention relates to a technique for inspecting streak unevenness on a multi-faced substrate.

従来より、表示装置用のガラスの基板の主面上にパネルのパターンを形成する際には、当該主面上にレジスト液を塗布してレジスト膜を形成することが行われる。レジスト膜の形成の際に、例えば、レジスト液が塗布される直前の基板上に微小な不要物が存在すると、レジスト液を吐出するスリットに不要物が引っ掛かってレジスト膜上に筋ムラが発生することがある。近年では、基板上のこのような筋ムラの存在位置を検出することにより、筋ムラの発生原因を特定して製造プロセスや形成するパターン等を改善することが行われる。   Conventionally, when a panel pattern is formed on a main surface of a glass substrate for a display device, a resist solution is applied on the main surface to form a resist film. When a resist film is formed, for example, if a minute unnecessary object is present on the substrate immediately before the resist solution is applied, the unnecessary object is caught in the slit for discharging the resist solution, resulting in streak unevenness on the resist film. Sometimes. In recent years, by detecting the position of such streak unevenness on a substrate, the cause of streak unevenness is identified to improve the manufacturing process, the pattern to be formed, and the like.

筋ムラの存在位置を検出する手法の一例として、特許文献1では、検査対象となる画像中の各画素を順次注目画素としつつ、当該注目画素を中心とする所定の大きさの領域において、値が閾値以上の複数の画素と、当該注目画素を通過する角度基準線との間の距離の総和を、傾きが異なる複数の角度基準線のそれぞれに対して算出し、これらの総和の最小値に基づく値を当該注目画素の値とすることにより、筋ムラの存在位置を示す画像を取得する手法が開示されている。   As an example of a technique for detecting the existence position of streak unevenness, in Patent Document 1, each pixel in an image to be inspected is sequentially set as a target pixel, and a value is obtained in a region having a predetermined size centered on the target pixel. Is calculated for each of a plurality of angle reference lines having different inclinations, and a minimum value of these sums is calculated. A technique for acquiring an image indicating the presence position of streak unevenness by using a value based on the value of the target pixel is disclosed.

なお、特許文献2では、基板を撮像して得られる画像にローパスフィルタ処理を施した後にハイパスフィルタ処理を施す際において、ハイパスフィルタ処理に利用される画素群をハイパスウィンドウの注目画素が属する領域内の画素に制限することにより、多面取りされる基板上に設定される各領域のエッジ近傍におけるムラ検査の精度を向上する手法が開示されている。
特開2005−345290号公報 特開2006−105884号公報
In Patent Document 2, when a high-pass filter process is performed after a low-pass filter process is performed on an image obtained by imaging a substrate, a pixel group used for the high-pass filter process is included in the region to which the target pixel of the high-pass window belongs. A method for improving the accuracy of unevenness inspection in the vicinity of the edge of each region set on a multi-faced substrate by limiting the number of pixels is disclosed.
JP 2005-345290 A JP 2006-105884 A

ところで、基板上に複数のパネルのパターンが形成される(すなわち、基板が多面取りされる)場合には、基板上にはそれぞれがパネルの表示領域に相当する複数の矩形領域が隙間を空けて縦横に整列して設定される。この場合、複数の矩形領域内には一様なパターンが形成されるのに対して、矩形領域間の隙間には様々なパターンが形成されるため、基板から取得される画像をそのままの状態でムラ検査に用いる場合には、矩形領域間の隙間に対応する領域にて虚報が多発してしまう。したがって、ムラ検査の際には、基板を示す画像において矩形領域間の隙間に対応する領域に一定の画素値を付与して(すなわち、当該領域をマスクして)、検査の対象となる画像が準備されることが好ましい。しかしながら、このような画像に対して筋ムラ検査を行う際に、基板上において複数の矩形領域に亘って伸びる筋ムラが存在する場合には、同一の筋ムラに由来するにもかかわらず、これらの矩形領域にてそれぞれ検出される複数の筋状の領域が互いに独立しているものとされてしまい、筋ムラの発生原因を効率よく特定することができなくなる。   By the way, when a plurality of panel patterns are formed on a substrate (that is, the substrate is multi-faceted), a plurality of rectangular regions each corresponding to a display region of the panel are spaced apart from each other on the substrate. It is set by aligning vertically and horizontally. In this case, since a uniform pattern is formed in a plurality of rectangular areas, various patterns are formed in the gaps between the rectangular areas, so that an image acquired from the substrate remains as it is. When used for unevenness inspection, false alarms frequently occur in areas corresponding to gaps between rectangular areas. Therefore, in the unevenness inspection, a certain pixel value is given to an area corresponding to the gap between the rectangular areas in the image showing the substrate (that is, the area is masked), and an image to be inspected is obtained. It is preferable to be prepared. However, when performing streak unevenness inspection on such an image, if streak unevenness extending over a plurality of rectangular areas exists on the substrate, these are derived from the same streak unevenness. The plurality of streaky areas detected in the rectangular area are independent from each other, and the cause of streak unevenness cannot be identified efficiently.

本発明は上記課題に鑑みなされたものであり、複数の矩形領域に亘って伸びる筋ムラを容易に検出することを目的としている。   The present invention has been made in view of the above problems, and has an object to easily detect streak unevenness extending over a plurality of rectangular regions.

請求項1に記載の発明は、一様なパターンを有する複数の矩形領域が隙間を空けて縦横に整列して設定され、前記複数の矩形領域に従って多面取りされる基板上の筋ムラを検査するムラ検査方法であって、a)前記基板を撮像して取得される多階調の元画像の前記隙間に対応する領域をマスクして対象画像を準備する工程と、b)前記対象画像を2値化した2値画像において長手方向における長さと前記長手方向に垂直な方向における幅との比が所定値以上となる複数の閉領域を複数の筋ムラ要素領域として特定する工程と、c)前記複数の筋ムラ要素領域のうち、前記長手方向が同一であり、前記長手方向に配列され、かつ、隣接する矩形領域内に存在する2つの筋ムラ要素領域を検出する工程とを備える。   According to the first aspect of the present invention, a plurality of rectangular areas having a uniform pattern are set to be vertically and horizontally aligned with a gap therebetween, and the unevenness on the substrate that is multifaceted according to the plurality of rectangular areas is inspected. A non-uniformity inspection method comprising: a) preparing a target image by masking a region corresponding to the gap in a multi-tone original image obtained by imaging the substrate; b) Identifying a plurality of closed regions in which a ratio of a length in a longitudinal direction to a width in a direction perpendicular to the longitudinal direction is a predetermined value or more in a binarized binary image as a plurality of streaky element regions, c) A step of detecting two stripe unevenness element areas that are the same in the longitudinal direction and are arranged in the longitudinal direction and are present in adjacent rectangular areas among a plurality of stripe unevenness element areas.

請求項2に記載の発明は、請求項1に記載のムラ検査方法であって、前記b)工程において筋ムラ要素領域が当該領域を代表する筋ムラ要素線分にて特定され、前記c)工程において筋ムラ要素線分が対応する筋ムラ要素領域として扱われる。   The invention according to claim 2 is the unevenness inspection method according to claim 1, wherein in the step b), the stripe unevenness element region is specified by a stripe unevenness element line representing the region, and c) In the process, the stripe unevenness element line segment is treated as a corresponding stripe unevenness element region.

請求項3に記載の発明は、請求項1または2に記載のムラ検査方法であって、d)前記2つの筋ムラ要素領域を連結した連結領域の存在位置を表示部に表示する工程をさらに備える。   Invention of Claim 3 is the nonuniformity inspection method of Claim 1 or 2, Comprising: d) The process of displaying the existing position of the connection area | region which connected the said 2 stripe nonuniformity element area | region on a display part further Prepare.

請求項4に記載の発明は、請求項3に記載のムラ検査方法であって、e)前記d)工程の前に、前記d)工程において存在位置が表示される連結領域の長さの最小値の入力を受け付ける工程をさらに備える。   The invention according to claim 4 is the method for inspecting unevenness according to claim 3, wherein e) before the d) step, the minimum of the length of the connecting region where the location is displayed in the d) step. The method further includes a step of receiving a value input.

請求項5に記載の発明は、請求項1ないし4のいずれかに記載のムラ検査方法であって、前記b)工程が、一の矩形領域中に特定される複数の筋ムラ要素領域のうち、前記長手方向が同一であり、前記長手方向に配列され、かつ、互いに近接する2つの筋ムラ要素領域を、前記c)工程と同様のアルゴリズムにより検出し、前記2つの筋ムラ要素領域を1つの筋ムラ要素領域へと更新する工程を備える。   A fifth aspect of the present invention is the unevenness inspection method according to any one of the first to fourth aspects, wherein the step b) includes a plurality of streaky unevenness element regions specified in one rectangular region. The two stripe unevenness element regions that are the same in the longitudinal direction and are arranged in the longitudinal direction and close to each other are detected by the same algorithm as in the step c), and the two stripe unevenness element regions are detected as 1 A step of updating to one streak unevenness element region.

請求項6に記載の発明は、請求項1ないし5のいずれかに記載のムラ検査方法であって、前記基板が、一の主面上に液体が塗布されることにより形成された膜を有する。   A sixth aspect of the present invention is the unevenness inspection method according to any one of the first to fifth aspects, wherein the substrate has a film formed by applying a liquid on one main surface. .

請求項7に記載の発明は、一様なパターンを有する複数の矩形領域が隙間を空けて縦横に整列して設定され、前記複数の矩形領域に従って多面取りされる基板上の筋ムラを検査するムラ検査装置であって、前記基板を撮像して多階調の元画像を取得する撮像部と、前記元画像の前記隙間に対応する領域をマスクして対象画像を生成する対象画像生成部と、前記対象画像を2値化した2値画像において長手方向における長さと前記長手方向に垂直な方向における幅との比が所定値以上となる複数の閉領域を複数の筋ムラ要素領域として特定する筋ムラ要素特定部と、前記複数の筋ムラ要素領域のうち、前記長手方向が同一であり、前記長手方向に配列され、かつ、隣接する矩形領域内に存在する2つの筋ムラ要素領域を検出する筋ムラ検出部とを備える。   According to the seventh aspect of the present invention, a plurality of rectangular regions having a uniform pattern are set to be vertically and horizontally aligned with a gap therebetween, and the unevenness on the substrate that is multifaceted according to the plurality of rectangular regions is inspected. An unevenness inspection apparatus, an imaging unit that captures the substrate and acquires a multi-tone original image, and a target image generation unit that generates a target image by masking a region corresponding to the gap of the original image; In the binary image obtained by binarizing the target image, a plurality of closed regions in which the ratio of the length in the longitudinal direction to the width in the direction perpendicular to the longitudinal direction is equal to or greater than a predetermined value is specified as a plurality of streaky element regions. Among the plurality of stripe unevenness element specifying portions and the plurality of stripe unevenness element areas, two stripe unevenness element areas having the same longitudinal direction and arranged in the longitudinal direction and existing in an adjacent rectangular area are detected. To detect the unevenness of the muscle Provided.

請求項8に記載の発明は、一様なパターンを有する複数の矩形領域が隙間を空けて縦横に整列して設定され、前記複数の矩形領域に従って多面取りされる基板上の筋ムラをコンピュータに検査させるプログラムであって、前記プログラムの前記コンピュータによる実行は、前記コンピュータに、a)前記基板を撮像して取得される多階調の元画像の前記隙間に対応する領域をマスクして対象画像を準備する工程と、b)前記対象画像を2値化した2値画像において長手方向における長さと前記長手方向に垂直な方向における幅との比が所定値以上となる複数の閉領域を複数の筋ムラ要素領域として特定する工程と、c)前記複数の筋ムラ要素領域のうち、前記長手方向が同一であり、前記長手方向に配列され、かつ、隣接する矩形領域内に存在する2つの筋ムラ要素領域を検出する工程とを実行させる。   According to the eighth aspect of the present invention, a plurality of rectangular regions having a uniform pattern are set to be aligned vertically and horizontally with a gap, and streaks on the substrate that are multi-faced according to the plurality of rectangular regions are set in a computer. A program to be inspected by the computer executing the program by a) masking a region corresponding to the gap of the multi-tone original image obtained by imaging the substrate B) In a binary image obtained by binarizing the target image, a plurality of closed regions in which a ratio of a length in a longitudinal direction to a width in a direction perpendicular to the longitudinal direction is a predetermined value or more A step of identifying as a streak uneven element region, and c) among the plurality of streak uneven element regions, the longitudinal direction is the same, and is arranged in the longitudinal direction and exists in an adjacent rectangular region. To execute the steps of detecting two streaks element region.

本発明によれば、複数の矩形領域に亘って伸びる筋ムラを容易に検出することができる。   According to the present invention, it is possible to easily detect streak unevenness extending over a plurality of rectangular regions.

また、請求項2の発明では、複数の矩形領域に亘って伸びる筋ムラをより容易に検出することができ、請求項3の発明では、複数の矩形領域に亘って伸びる筋ムラを容易に確認することができる。   Further, in the invention of claim 2, it is possible to more easily detect streak unevenness extending over a plurality of rectangular regions, and in the invention of claim 3 easily confirm streak unevenness extending over a plurality of rectangular regions. can do.

また、請求項4の発明では、最小値以上の長さの筋ムラのみを容易に確認することができ、請求項5の発明では、一の矩形領域中にて同一の筋ムラに由来する可能性が高い複数の筋ムラ要素領域を1つの筋ムラ要素領域として扱うことができ、後続の処理を効率よく行うことができる。   Further, in the invention of claim 4, it is possible to easily confirm only the stripe unevenness having a length equal to or longer than the minimum value, and in the invention of claim 5, it can be derived from the same stripe unevenness in one rectangular region. A plurality of highly uneven stripe element regions can be handled as one uneven stripe element region, and subsequent processing can be performed efficiently.

図1は、本発明の一の実施の形態に係るムラ検査装置1の構成を示す図である。ムラ検査装置1は、液晶表示装置等の表示装置に用いられるガラスの基板9において、一方の主面91上にスピンコート方式やスリットコート方式等の塗布装置を用いてレジスト液を塗布することにより形成されたパターン形成用のレジストの膜92の画像を取得し、この画像に基づいて基板9の膜92上の筋ムラを検査する装置である。なお、本実施の形態における基板上には複数の表示装置用のパネルのパターンが形成される(または、形成される予定となっている。)。   FIG. 1 is a diagram showing a configuration of an unevenness inspection apparatus 1 according to an embodiment of the present invention. The unevenness inspection apparatus 1 applies a resist solution on a main surface 91 of a glass substrate 9 used for a display device such as a liquid crystal display device by using a coating device such as a spin coat method or a slit coat method. This is an apparatus for acquiring an image of the formed resist film 92 for pattern formation and inspecting the stripe unevenness on the film 92 of the substrate 9 based on this image. Note that a plurality of panel patterns for a display device are formed on (or will be formed on) the substrate in this embodiment.

ここで、基板9上のムラとは局所的な明暗変動により特定される一定面積以上の領域(ただし、通常、領域の境界は不明瞭である。)であり、筋ムラとはその領域の長手方向における長さαと長手方向に垂直な方向における幅βとの比(α/β)が所定値以上となるものとして定義する。もちろん、実質的にこの条件が満たされるのであれば、筋ムラの定義は適宜変更されてよく、他の条件が追加されてもよい。   Here, the unevenness on the substrate 9 is a region having a certain area or more specified by local fluctuations in brightness (however, the boundary of the region is usually unclear), and the unevenness of the stripe is the length of the region. The ratio (α / β) between the length α in the direction and the width β in the direction perpendicular to the longitudinal direction is defined as a predetermined value or more. Of course, as long as this condition is substantially satisfied, the definition of the stripe unevenness may be changed as appropriate, and other conditions may be added.

図1に示すように、ムラ検査装置1は、膜92が形成された主面91(以下、「上面91」という。)を上側(図1中の(+Z)側)に向けて基板9を保持するステージ2、ステージ2に保持された基板9上の膜92に所定の入射角にて光を照射する光照射部3、光照射部3から照射されて基板9の上面91上の膜92にて反射された光を受光する受光ユニット4、ステージ2を光照射部3および受光ユニット4に対して相対的に移動する移動機構21、並びに、ムラ検査装置1の制御部としての役割を果たすコンピュータ5を備える。   As shown in FIG. 1, in the unevenness inspection apparatus 1, the substrate 9 is placed with the main surface 91 (hereinafter referred to as “upper surface 91”) on which the film 92 is formed facing upward (the (+ Z) side in FIG. 1). The stage 2 to be held, the film 92 on the substrate 9 held on the stage 2 is irradiated with light at a predetermined incident angle, and the film 92 on the upper surface 91 of the substrate 9 is irradiated from the light irradiation unit 3. The light receiving unit 4 that receives the light reflected by the light, the moving mechanism 21 that moves the stage 2 relative to the light irradiation unit 3 and the light receiving unit 4, and the control unit of the unevenness inspection apparatus 1 A computer 5 is provided.

ステージ2の(+Z)側の表面は、好ましくは黒色艶消しとされる。移動機構21は、モータ211にボールねじ(図示省略)が接続された構成とされ、モータ211が回転することにより、ステージ2がガイド212に沿って基板9の上面91に沿う図1中のX方向に移動する。   The (+ Z) side surface of the stage 2 is preferably black matte. The moving mechanism 21 has a configuration in which a ball screw (not shown) is connected to a motor 211, and the stage 211 moves along the upper surface 91 of the substrate 9 along the guide 212 by rotating the motor 211 in FIG. Move in the direction.

光照射部3は、白色光(すなわち、可視領域の全ての波長の光を含む光)を出射する光源であるハロゲンランプ31、ステージ2の移動方向に垂直な図1中のY方向に伸びる円柱状の石英ロッド32、および、Y方向に伸びるシリンドリカルレンズ33を備える。光照射部3では、ハロゲンランプ31が石英ロッド32の(+Y)側の端部に取り付けられており、ハロゲンランプ31から石英ロッド32に入射した光は、Y方向に伸びる線状光(すなわち、光束断面がY方向に長い線状となる光)に変換されて石英ロッド32の側面から出射され、シリンドリカルレンズ33を介して基板9の上面91へと導かれる。換言すれば、石英ロッド32およびシリンドリカルレンズ33は、ハロゲンランプ31からの光をステージ2の移動方向に垂直な線状光に変換して基板9の上面91へと導く光学系となっている。   The light irradiation unit 3 is a halogen lamp 31 that is a light source that emits white light (that is, light including light of all wavelengths in the visible region) and a circle extending in the Y direction in FIG. 1 perpendicular to the moving direction of the stage 2. A columnar quartz rod 32 and a cylindrical lens 33 extending in the Y direction are provided. In the light irradiation unit 3, a halogen lamp 31 is attached to an end portion on the (+ Y) side of the quartz rod 32, and light incident on the quartz rod 32 from the halogen lamp 31 is linear light extending in the Y direction (that is, The light beam cross-section is converted to light that is long in the Y direction), is emitted from the side surface of the quartz rod 32, and is guided to the upper surface 91 of the substrate 9 through the cylindrical lens 33. In other words, the quartz rod 32 and the cylindrical lens 33 are an optical system that converts the light from the halogen lamp 31 into linear light perpendicular to the moving direction of the stage 2 and guides it to the upper surface 91 of the substrate 9.

図1では、光照射部3から基板9に至る光路を一点鎖線にて示している(基板9から受光ユニット4に至る光路についても同様)。光照射部3から出射された光の一部は、基板9の上面91上の膜92の(+Z)側の上面にて反射される。膜92は光照射部3からの光に対して光透過性を有しており、光照射部3からの光のうち膜92の上面にて反射しなかった光は、膜92を透過して基板9の上面91(すなわち、膜92の下面)にて反射される。ムラ検査装置1では、基板9における膜92の上面にて反射された光と基板9の上面91にて反射された光との干渉光が受光ユニット4に入射し、フィルタ43およびレンズ42を介して所定の波長の干渉光が撮像部41へと導かれる。   In FIG. 1, the optical path from the light irradiation unit 3 to the substrate 9 is indicated by a one-dot chain line (the same applies to the optical path from the substrate 9 to the light receiving unit 4). A part of the light emitted from the light irradiation unit 3 is reflected on the (+ Z) side upper surface of the film 92 on the upper surface 91 of the substrate 9. The film 92 is light transmissive with respect to the light from the light irradiation unit 3, and the light that has not been reflected by the upper surface of the film 92 out of the light from the light irradiation unit 3 passes through the film 92. Reflected by the upper surface 91 of the substrate 9 (that is, the lower surface of the film 92). In the unevenness inspection apparatus 1, interference light between the light reflected by the upper surface of the film 92 and the light reflected by the upper surface 91 of the substrate 9 enters the light receiving unit 4 and passes through the filter 43 and the lens 42. Thus, interference light having a predetermined wavelength is guided to the imaging unit 41.

撮像部41には複数の受光素子(例えば、CCD(Charge Coupled Device))をY方向に直線状に配列して有するラインセンサが設けられ、基板9からの干渉光がラインセンサにて受光され、干渉光の強度分布(すなわち、各受光素子からの出力値のY方向における分布)が取得される。実際には、基板9のX方向への移動に伴って撮像部41のラインセンサにて干渉光の強度分布が繰り返し取得されることにより基板9上の膜92の2次元画像が取得される。   The imaging unit 41 is provided with a line sensor having a plurality of light receiving elements (for example, CCD (Charge Coupled Device)) arranged linearly in the Y direction, and interference light from the substrate 9 is received by the line sensor. The intensity distribution of the interference light (that is, the distribution in the Y direction of the output value from each light receiving element) is acquired. Actually, the two-dimensional image of the film 92 on the substrate 9 is acquired by repeatedly acquiring the intensity distribution of the interference light by the line sensor of the imaging unit 41 as the substrate 9 moves in the X direction.

コンピュータ5は、図2に示すように、各種演算処理を行うCPU51、基本プログラムを記憶するROM52および各種情報を記憶するRAM53をバスラインに接続した一般的なコンピュータシステムの構成となっている。バスラインにはさらに、情報記憶を行う固定ディスク54、各種情報の表示を行う表示部であるディスプレイ55、操作者からの入力を受け付けるキーボード56aおよびマウス56b(以下、「入力部56」と総称する。)、光ディスク、磁気ディスク、光磁気ディスク等のコンピュータ読み取り可能な記録媒体8から情報の読み取りを行う読取装置57、並びに、ムラ検査装置1の他の構成要素に接続される通信部58が、適宜、インターフェイス(I/F)を介する等して接続される。   As shown in FIG. 2, the computer 5 has a general computer system configuration in which a CPU 51 that performs various arithmetic processes, a ROM 52 that stores basic programs, and a RAM 53 that stores various information are connected to a bus line. The bus line further includes a fixed disk 54 that stores information, a display 55 that is a display unit that displays various types of information, a keyboard 56a that accepts input from an operator, and a mouse 56b (hereinafter collectively referred to as "input unit 56"). .), A reader 57 for reading information from a computer-readable recording medium 8 such as an optical disk, a magnetic disk, a magneto-optical disk, and a communication unit 58 connected to other components of the unevenness inspection apparatus 1 As appropriate, they are connected via an interface (I / F).

コンピュータ5には、事前に読取装置57を介して記録媒体8からプログラム541が読み出され、固定ディスク54に記憶される。そして、プログラム541がRAM53にコピーされるとともにCPU51がRAM53内のプログラムに従って演算処理を実行することにより(すなわち、コンピュータがプログラムを実行することにより)、コンピュータ5が基板9上の筋ムラを検査する演算部としての動作を行う。   The computer 5 reads the program 541 from the recording medium 8 via the reader 57 in advance and stores it in the fixed disk 54. Then, when the program 541 is copied to the RAM 53 and the CPU 51 executes arithmetic processing according to the program in the RAM 53 (that is, when the computer executes the program), the computer 5 inspects the stripe unevenness on the substrate 9. The operation as a calculation part is performed.

図3は、CPU51がプログラム541に従って動作することにより、CPU51、ROM52、RAM53、固定ディスク54等が実現する機能構成を示すブロック図である。図3において演算部6内の対象画像生成部61、2値画像取得部62、筋ムラ要素特定部63、筋ムラ検出部64および表示制御部65がCPU51等により実現される機能を示す。なお、これらの機能は専用の電気的回路により実現されてもよく、部分的に専用の電気的回路が用いられてもよい。   FIG. 3 is a block diagram illustrating a functional configuration realized by the CPU 51, the ROM 52, the RAM 53, the fixed disk 54, and the like when the CPU 51 operates according to the program 541. In FIG. 3, the target image generation unit 61, the binary image acquisition unit 62, the stripe unevenness element specifying unit 63, the stripe unevenness detection unit 64, and the display control unit 65 in the calculation unit 6 show functions realized by the CPU 51 and the like. Note that these functions may be realized by a dedicated electrical circuit, or a dedicated electrical circuit may be partially used.

次に、ムラ検査装置1による筋ムラの検査の流れについて説明する。図4は、ムラ検査装置1が基板9の膜92上の筋ムラを検査する処理の流れを示す図である。基板9上の筋ムラが検査される際には、まず、図1中に実線にて示す検査開始位置に位置するステージ2上に基板9が保持された後、ステージ2の(+X)方向への移動が開始される。続いて、光照射部3から出射されて基板9の上面91に対して所定の入射角にて入射する線状光が、上面91上の直線状の照射領域(以下、「線状照射領域」という。)に照射され、線状照射領域が基板9に対して相対的に移動する。光照射部3からの光は基板9の上面91にて反射し、干渉光が撮像部41へと導かれてラインセンサにて受光され、基板9上の線状照射領域における干渉光の強度分布が取得される。ラインセンサの各受光素子からの出力は、所定の変換式に基づいて例えば8bit(もちろん、8bit以外であってもよい。)の値(画素値)に変換されつつコンピュータ5へと送られる。   Next, the flow of inspection for streaks by the unevenness inspection apparatus 1 will be described. FIG. 4 is a diagram illustrating a flow of processing in which the unevenness inspection apparatus 1 inspects streaks on the film 92 of the substrate 9. When the streak unevenness on the substrate 9 is inspected, first, the substrate 9 is held on the stage 2 positioned at the inspection start position indicated by the solid line in FIG. 1, and then in the (+ X) direction of the stage 2. The movement starts. Subsequently, linear light emitted from the light irradiation unit 3 and incident on the upper surface 91 of the substrate 9 at a predetermined incident angle is converted into a linear irradiation region on the upper surface 91 (hereinafter referred to as “linear irradiation region”). The linear irradiation area moves relative to the substrate 9. The light from the light irradiation unit 3 is reflected by the upper surface 91 of the substrate 9, the interference light is guided to the imaging unit 41 and received by the line sensor, and the intensity distribution of the interference light in the linear irradiation region on the substrate 9. Is acquired. The output from each light receiving element of the line sensor is sent to the computer 5 while being converted into a value (pixel value) of, for example, 8 bits (of course, other than 8 bits) based on a predetermined conversion formula.

ムラ検査装置1では、ステージ2が(+X)方向に移動している間、撮像部41における干渉光の強度分布の取得、および、画素値のコンピュータ5への出力がステージ2の移動に同期して繰り返される。そして、ステージ2が検査終了位置まで移動すると、移動機構21によるステージ2の移動が停止され、照明光の照射も停止される。以上のようにして、撮像部41では基板9上の膜92の全体を撮像して多階調の2次元画像(後述する処理が施される前の画像であり、以下、「元画像」という。)が取得され、コンピュータ5の演算部6に入力される(ステップS11)。   In the unevenness inspection apparatus 1, while the stage 2 is moving in the (+ X) direction, the acquisition of the interference light intensity distribution in the imaging unit 41 and the output of the pixel value to the computer 5 are synchronized with the movement of the stage 2. Repeated. When the stage 2 moves to the inspection end position, the movement of the stage 2 by the moving mechanism 21 is stopped, and irradiation of illumination light is also stopped. As described above, the imaging unit 41 captures the entire film 92 on the substrate 9 and captures a multi-gradation two-dimensional image (an image before being subjected to processing to be described later, hereinafter referred to as an “original image”). .) Is acquired and input to the calculation unit 6 of the computer 5 (step S11).

続いて、演算部6の対象画像生成部61では、元画像が圧縮されて第1画像が生成される。ここで、元画像において座標(X,Y)に位置する画素の画素値をFXYと表すと、元画像をs画素×s画素の範囲を単位として圧縮して生成された第1画像において、座標(x,y)に位置する注目画素の画素値Axyは、数1により求められる。 Subsequently, in the target image generation unit 61 of the calculation unit 6, the original image is compressed and the first image is generated. Here, in the original image coordinates (X, Y) pixel values of pixels positioned expressed as F XY, the first image generated by compressing the original image in units of range of s a pixel × s a pixel , The pixel value A xy of the pixel of interest located at the coordinates (x, y) is obtained by Equation 1.

Figure 0004702952
Figure 0004702952

本実施の形態ではsが4(画素)であるため、数1の演算により第1画像のS/N比は元画像の4倍に向上する。第1画像(圧縮後の元画像)が生成されると、第1画像に対するローパスフィルタ処理が行われ、第1画像から高周波ノイズの影響が抑制されて平滑化された第2画像が生成される。ローパスフィルタ処理の演算範囲を決定するウィンドウは、1辺の長さが(2s+1)画素の正方形であり、第2画像において座標(x,y)に位置する注目画素の画素値Lxyは、注目画素近傍の各画素の第1画像における画素値A(数1参照)を用いて、数2により求められる。 Since in this embodiment s a is 4 (pixels), S / N ratio of the first image by the computation of the number 1 is improved to four times the original image. When the first image (original image after compression) is generated, a low-pass filter process is performed on the first image, and a second image smoothed by suppressing the influence of high-frequency noise is generated from the first image. . The window for determining the calculation range of the low-pass filter processing is a square whose length of one side is (2s 1 +1) pixels, and the pixel value L xy of the pixel of interest located at the coordinates (x, y) in the second image is , Using the pixel value A (see Equation 1) in the first image of each pixel in the vicinity of the pixel of interest.

Figure 0004702952
Figure 0004702952

その後、第2画像に対してハイパスフィルタ処理が行われ、第2画像から後述のコントラスト強調処理の妨げとなる低周波の濃度変動が除去された第3画像が生成される。ここで、座標(x,y)に位置する注目画素の画素値H xyは、注目画素近傍の各画素の第2画像における画素値L(数2参照)を用いて、数3にて求められる。 Thereafter, a high-pass filter process is performed on the second image to generate a third image in which low-frequency density fluctuations that hinder the later-described contrast enhancement process are removed from the second image. Here, the pixel value H 1 xy of the target pixel located at the coordinates (x, y) is obtained by Expression 3 using the pixel value L (see Expression 2) in the second image of each pixel near the target pixel. It is done.

Figure 0004702952
Figure 0004702952

数3は、ハイパスフィルタ処理の演算範囲を決定するウィンドウとして、注目画素を中心とする各辺の長さが(2s+1)画素の正方形のウィンドウが用いられる場合を示している。以上のように、対象画像生成部61では、元画像を圧縮した第1画像に対して、ローパスフィルタ処理を施した後に、ハイパスフィルタ処理を施すことにより、所定の空間周波数帯域のバンドパスフィルタ処理が行われる(ステップS12)。 Equation 3 shows a case where a square window having a length of (2s 2 +1) pixels centered on the target pixel is used as a window for determining the calculation range of the high-pass filter processing. As described above, the target image generation unit 61 performs the low-pass filter process on the first image obtained by compressing the original image, and then performs the high-pass filter process, thereby performing the band-pass filter process in a predetermined spatial frequency band. Is performed (step S12).

対象画像生成部61では、さらに、第3画像に対してコントラスト強調処理が行われて強調画像が生成される(ステップS13)。強調画像において座標(x,y)に位置する注目画素の画素値Exyは、第3画像における注目画素の画素値H xy、コントラスト係数r、および、背景値bを用いて、数4にて求められる。本実施の形態では、rは0.01,0.02,0.05または0.1とされ、bは127とされる。 In the target image generation unit 61, a contrast enhancement process is further performed on the third image to generate an enhanced image (step S13). The pixel value E xy of the pixel of interest located at the coordinates (x, y) in the enhanced image is expressed by the following equation 4 using the pixel value H 1 xy of the pixel of interest in the third image, the contrast coefficient r c , and the background value b. Is required. In this embodiment, r c is the 0.01,0.02,0.05 or 0.1, b is a 127.

Figure 0004702952
Figure 0004702952

ここで、基板9の上面91には、それぞれが表示装置のパネル上の表示領域に対応するとともに一様なパターンを有する複数の矩形領域(以下、「矩形表示領域」という。)が隙間を空けて縦横に整列して設定されており、基板9は複数の矩形表示領域に従って多面取りされる(すなわち、複数の部位(パネル)に切断される)予定のものである。対象画像生成部61では、強調画像において基板9上の矩形表示領域外の部分に対応する領域(以下、「背景領域」という。)に背景値bを付与することにより、図5に示すように、背景領域719(図5中にて平行斜線を付して示す。)が実質的にマスクされた新たな画像(後述するように、演算部6における以下の処理の対象とされる画像であり、以下、「対象画像」という。)71が生成されて準備される(ステップS14)。なお、図5では多階調の対象画像71を簡略化して示しており、実際には、図5中の矩形表示領域711と背景領域719との境界は必ずしも明確ではない。また、対象画像71の平均濃度(すなわち、画素値の平均値)は約127となっている。   Here, a plurality of rectangular areas (hereinafter referred to as “rectangular display areas”) each corresponding to a display area on the panel of the display device and having a uniform pattern are spaced on the upper surface 91 of the substrate 9. The substrate 9 is to be multi-faced according to a plurality of rectangular display areas (that is, to be cut into a plurality of portions (panels)). As shown in FIG. 5, the target image generation unit 61 assigns a background value b to an area corresponding to a portion outside the rectangular display area on the substrate 9 (hereinafter referred to as “background area”) in the enhanced image. , A new image in which the background region 719 (shown with parallel diagonal lines in FIG. 5) is substantially masked (as will be described later, this is an image to be subjected to the following processing in the calculation unit 6). , Hereinafter referred to as “target image”) 71 is generated and prepared (step S14). In FIG. 5, the multi-tone target image 71 is shown in a simplified manner. In practice, the boundary between the rectangular display area 711 and the background area 719 in FIG. 5 is not always clear. Further, the average density (that is, the average value of the pixel values) of the target image 71 is about 127.

対象画像生成部61にて対象画像71が生成されると、2値画像取得部62では、背景値127よりも小さい値103〜122のそれぞれを閾値として対象画像が2値化される。具体的には、対象画像の各画素の値と各閾値(以下、「下閾値」という。)とが比較され、値が下閾値以下の画素に「1」を付与し、下閾値よりも大きい画素に「0」を付与することにより、下閾値103〜122にそれぞれ対応する20個の2値画像が取得される。   When the target image 71 is generated by the target image generation unit 61, the binary image acquisition unit 62 binarizes the target image using each of the values 103 to 122 smaller than the background value 127 as a threshold value. Specifically, the value of each pixel of the target image is compared with each threshold value (hereinafter referred to as “lower threshold value”), and “1” is assigned to a pixel whose value is equal to or lower than the lower threshold value, which is larger than the lower threshold value. By assigning “0” to the pixel, 20 binary images respectively corresponding to the lower threshold values 103 to 122 are acquired.

図6.Aないし図6.Cは2値画像を示す図であり、図6.Aは下閾値を117とした場合の2値画像を示し、図6.Bは下閾値を112とした場合の2値画像を示し、図6.Cは下閾値を103とした場合の2値画像を示している。背景値よりも小さい値を下閾値として2値画像を取得する上記処理では、図6.Aないし図6.Cに示すように、下閾値が小さくなる(背景値127から離れる)に従って2値画像における値1の画素(図6.Aないし図6.C中の白い画素)の数が少なくなる。   FIG. A thru | or FIG. C is a diagram showing a binary image, and FIG. A shows a binary image when the lower threshold is 117, and FIG. B shows a binary image when the lower threshold is 112, and FIG. C shows a binary image when the lower threshold is 103. In the above process of acquiring a binary image using a value smaller than the background value as the lower threshold, FIG. A thru | or FIG. As shown in C, the number of pixels of value 1 (white pixels in FIGS. 6.A to 6.C) in the binary image decreases as the lower threshold value decreases (away from the background value 127).

続いて、2値画像取得部62では、背景値127よりも大きい値132〜151のそれぞれを閾値(以下、「上閾値」という。)とし、対象画像において値が上閾値以上の画素に「1」を付与し、上閾値よりも小さい画素に「0」を付与することにより、値132〜151にそれぞれ対応する20個の2値画像が取得される。背景値よりも大きい値を上閾値として2値画像を取得する上記処理では、上閾値が大きくなる(背景値127から離れる)に従って2値画像における値1の画素数が少なくなる。   Subsequently, in the binary image acquisition unit 62, each of the values 132 to 151 larger than the background value 127 is set as a threshold value (hereinafter referred to as “upper threshold value”), and “1” is set to a pixel whose value is equal to or higher than the upper threshold value in the target image. ”And“ 0 ”to pixels smaller than the upper threshold value, 20 binary images respectively corresponding to the values 132 to 151 are acquired. In the above process of acquiring a binary image using a value larger than the background value as the upper threshold value, the number of pixels of value 1 in the binary image decreases as the upper threshold value increases (away from the background value 127).

以上のように、2値画像取得部62では対象画像71を複数の閾値にて2値化することにより、複数の閾値にそれぞれ対応する複数の(本実施の形態では、40個の)2値画像が取得される(ステップS15)。なお、下閾値および上閾値のいずれを用いる場合であっても、取得される2値画像中の背景領域に対応する領域は値が0となる。   As described above, the binary image acquisition unit 62 binarizes the target image 71 with a plurality of threshold values, thereby providing a plurality of (in the present embodiment, 40) binary values respectively corresponding to the plurality of threshold values. An image is acquired (step S15). Note that, regardless of which of the lower threshold value and the upper threshold value is used, the area corresponding to the background area in the acquired binary image has a value of 0.

複数の2値画像が取得されると、筋ムラ要素特定部63の筋領域特定部631では、各2値画像においてラベリングにより互いに連続する値1の画素の集合(以下、「閉領域」という。)が特定され、所定の面積(画素数)以下となる閉領域が処理対象から除外され、2値画像から削除される。続いて、各閉領域のモーメントを算出することにより慣性主軸の方向(角度)が求められ、この閉領域に対して慣性主軸の方向に沿う外接矩形が求められる。なお、通常、慣性主軸の方向は閉領域の長手方向となる。以下の説明では、慣性主軸は閉領域の長手方向に沿うものを指すものとする。   When a plurality of binary images are acquired, the streak region specifying unit 631 of the streak unevenness element specifying unit 63 collects a set of pixels of value 1 that are continuous with each other by labeling in each binary image (hereinafter referred to as “closed region”). ) Is specified, and a closed region having a predetermined area (number of pixels) or less is excluded from the processing target and deleted from the binary image. Subsequently, the direction (angle) of the inertia main axis is obtained by calculating the moment of each closed region, and a circumscribed rectangle along the direction of the inertia main shaft is obtained for this closed region. Normally, the direction of the inertial main axis is the longitudinal direction of the closed region. In the following description, it is assumed that the inertia main axis is along the longitudinal direction of the closed region.

図7は、2値画像中の複数の閉領域721a,721b,721cを示す図である。図7では、各閉領域721a〜721cの外接矩形を符号722a〜722cを付して細線にて示している。筋領域特定部631では、さらに、各閉領域721a〜721cの外接矩形722a〜722cにおいて慣性主軸の方向に関する長さL1と、慣性主軸に垂直な方向に関する幅W1との比(L1/W1)が所定値(例えば、2)と比較され、比が所定値以上となる閉領域721a,721bのみが筋領域(以下、閉領域721a,721bと同符号を付す。)とされ、他の閉領域721cは2値画像から削除される。   FIG. 7 is a diagram illustrating a plurality of closed regions 721a, 721b, and 721c in the binary image. In FIG. 7, the circumscribed rectangles of the closed regions 721a to 721c are denoted by thin lines with reference numerals 722a to 722c. In the muscle region specifying unit 631, the ratio (L1 / W1) between the length L1 in the direction of the inertial main axis and the width W1 in the direction perpendicular to the inertial main axis in the circumscribed rectangles 722a to 722c of the closed regions 721a to 721c. Only the closed regions 721a and 721b, which are compared with a predetermined value (for example, 2) and the ratio is equal to or greater than the predetermined value, are defined as muscle regions (hereinafter, the same signs as the closed regions 721a and 721b), and other closed regions 721c. Are deleted from the binary image.

このように、筋領域特定部631では、複数の2値画像のそれぞれにおいて閉領域のモーメントを算出することにより、長手方向における長さと長手方向に垂直な方向における幅との比が所定値以上となる筋領域が特定される(ステップS16)。なお、2値画像における閉領域は、下閾値または上閾値が背景値に近づくと大きくなるため、ある下閾値または上閾値の2値画像で筋領域として検出されても、背景値に近い下閾値または上閾値の2値画像では同じ位置に縦横比の小さい閉領域が現れることがあり、筋領域が検出されるとは限らない。また、筋領域721a,721bのそれぞれでは、重心723a,723bを通って慣性主軸の方向に伸びるとともに両端点が外接矩形722a,722bの辺上に設定される線分(図7中にて一点鎖線にて示す。)が当該筋領域721a,721bを代表する筋領域線分724a,724bとして特定される。   As described above, the muscle region specifying unit 631 calculates the moment of the closed region in each of the plurality of binary images, so that the ratio of the length in the longitudinal direction to the width in the direction perpendicular to the longitudinal direction is greater than or equal to a predetermined value. A muscle area to be identified is specified (step S16). Note that the closed region in the binary image becomes larger when the lower threshold value or the upper threshold value approaches the background value. Therefore, even if the streak region is detected in the binary image with a certain lower threshold value or the upper threshold value, the lower threshold value close to the background value. Alternatively, in the upper threshold binary image, a closed region with a small aspect ratio may appear at the same position, and a muscle region is not always detected. In each of the muscle regions 721a and 721b, a line segment that extends in the direction of the principal axis of inertia through the center of gravity 723a and 723b and whose both end points are set on the sides of the circumscribed rectangles 722a and 722b (in FIG. Are identified as muscle region line segments 724a and 724b representing the muscle regions 721a and 721b.

続いて、筋ムラ要素特定部63の筋領域更新部632では、各2値画像において基板9上の複数の矩形表示領域711(図5参照)に対応する複数の領域(以下、同様に「矩形表示領域」と呼ぶ。)のうちの一の矩形表示領域(以下、「注目矩形表示領域」という。)に注目して、注目矩形表示領域内に含まれる複数の筋領域線分のうちの任意の1つの筋領域線分が特定筋領域線分として特定される。そして、特定筋領域線分と注目矩形表示領域内の他の筋領域線分のそれぞれとの間において、これらの筋領域線分の連結の可否の判定が行われる。   Subsequently, in the streak region update unit 632 of the streak unevenness element specifying unit 63, a plurality of regions corresponding to a plurality of rectangular display regions 711 (see FIG. 5) on the substrate 9 in each binary image (hereinafter, “rectangular” is similarly described. Focusing on one rectangular display area (hereinafter referred to as “target rectangle display area”) of any of the plurality of muscle area line segments included in the target rectangle display area Is determined as a specific muscle region line segment. Then, between the specific muscle region line segment and each of the other muscle region line segments in the target rectangular display region, it is determined whether or not these muscle region line segments can be connected.

図8は筋領域線分の連結の可否の判定を説明するための図であり、図8では図7中の筋領域線分724a,724bを相互の傾きの違いを強調して図示している。筋領域線分724aを特定筋領域線分として、筋領域線分724bとの間において連結の可否の判定を行う場合には、まず、特定筋領域線分724aが代表する筋領域721aの重心723a(筋領域線分の中点であってもよい。以下同様。)と筋領域線分724bが代表する筋領域721bの重心723bとを結ぶ直線(図8中にて符号R1を付す破線にて示す。)が求められる。続いて、特定筋領域線分724aの端点725a,726aと直線R1との間の距離D1,D2、および、筋領域線分724bの端点725b,726bと直線R1との間の距離D3,D4(すなわち、端点725a,726a,725b,726bから直線R1に下ろした垂線の長さ)の全てが所定の第1閾値以下であるか否かが確認される。   FIG. 8 is a diagram for explaining the determination as to whether or not the muscle region line segments can be connected. In FIG. 8, the muscle region line segments 724a and 724b in FIG. . When determining whether or not the muscle region line segment 724a is connected to the muscle region line segment 724b using the muscle region line segment 724a as the specific muscle region line segment, first, the center of gravity 723a of the muscle region 721a represented by the specific muscle region line segment 724a is used. (It may be the midpoint of the line segment line segment. The same applies hereinafter.) And the straight line connecting the center of gravity 723b of the line area 721b represented by the line segment line 724b (indicated by the broken line labeled R1 in FIG. 8) Is required). Subsequently, distances D1 and D2 between the end points 725a and 726a of the specific muscle region line segment 724a and the straight line R1, and distances D3 and D4 between the end points 725b and 726b of the muscle region line segment 724b and the straight line R1 ( That is, it is confirmed whether or not all of the lengths of the perpendicular lines (downward from the end points 725a, 726a, 725b, and 726b to the straight line R1) are equal to or less than a predetermined first threshold value.

距離D1〜D4のいずれかが第1閾値よりも大きい場合には筋領域線分の連結が却下される。距離D1〜D4の全てが第1閾値以下である場合には、特定筋領域線分724aが伸びる方向(特定筋領域線分724aが示す筋領域721aの長手方向であり、以下、同様に「長手方向」と呼ぶ。)と筋領域線分724bの長手方向とがほぼ同一であるとされ(図7参照)、続いて、特定筋領域線分724aと筋領域線分724bとの間において最も近接する端点726a,725b間の距離D5、並びに、特定筋領域線分724aと筋領域線分724bとの長さの和が求められる。   When any of the distances D1 to D4 is larger than the first threshold, the connection of the muscle region line segment is rejected. When all of the distances D1 to D4 are equal to or smaller than the first threshold value, the direction in which the specific muscle region line segment 724a extends (the longitudinal direction of the muscle region 721a indicated by the specific muscle region line segment 724a is described below. And the longitudinal direction of the muscle region line segment 724b are substantially the same (see FIG. 7), and then the closest between the specific muscle region line segment 724a and the muscle region line segment 724b. The sum of the distance D5 between the end points 726a and 725b and the length of the specific muscle region line segment 724a and the muscle region line segment 724b is obtained.

距離D5と当該長さの和との比が所定の第2閾値よりも大きい場合には筋領域線分の連結が却下される。当該比が所定の第2閾値以下である場合には、特定筋領域線分724aと筋領域線分724bとが互いに近接しているとされ、さらに、特定筋領域線分724aと筋領域線分724bとの間において最も離れた端点725a,726b間の距離D6と、特定筋領域線分724aと筋領域線分724bとの長さの和との比が求められる。そして、当該比が所定の第3閾値以上である場合には、特定筋領域線分724aと筋領域線分724bとが同一の長手方向に配列されているとされて連結が許可され、第3閾値未満である場合には、筋領域線分の連結が却下される。   When the ratio between the distance D5 and the sum of the lengths is greater than the predetermined second threshold, the connection of the muscle region line segment is rejected. When the ratio is equal to or less than the predetermined second threshold value, the specific muscle region line segment 724a and the muscle region line segment 724b are assumed to be close to each other, and further, the specific muscle region line segment 724a and the muscle region line segment are determined. A ratio between the distance D6 between the end points 725a and 726b farthest from the 724b and the sum of the lengths of the specific muscle region line segment 724a and the muscle region line segment 724b is obtained. When the ratio is equal to or greater than the predetermined third threshold value, the specific muscle region line segment 724a and the muscle region line segment 724b are assumed to be arranged in the same longitudinal direction, and the connection is permitted. If it is less than the threshold value, the connection of the muscle region line segment is rejected.

続いて、連結が許可された特定筋領域線分724aと筋領域線分724bとが連結される。具体的には、特定筋領域線分724aをその中点にて分断した2つの分断線分、および、筋領域線分724bをその中点にて分断した2つの分断線分の集合のモーメントを算出することにより、4つの分断線分の集合に対する慣性主軸の方向が求められ、慣性主軸の方向に伸びるとともに4つの分断線分の集合の重心を通る直線(すなわち、慣性主軸)が、図9中にて符号R2を付す破線(ただし、破線の一部が太くされている。)にて示すように求められる。そして、特定筋領域線分724aおよび筋領域線分724bの各端点725a,726a,725b,726bから直線R2に下ろした垂線と直線R2との交点が求められ、4つの交点のうち互いに最も離れた交点727a,727bを端点とする線分が、新たな筋領域線分(図9中にて破線にて示す直線R2のうち太い破線の部分)として取得され、2つの筋領域線分724a,724bが1つの筋領域線分に更新される。   Subsequently, the specific muscle region line segment 724a and the muscle region line segment 724b that are permitted to be connected are connected. Specifically, the moments of a set of two dividing line segments obtained by dividing the specific muscle region line segment 724a at its midpoint and two dividing line segments obtained by dividing the muscle region line segment 724b at its midpoint are expressed as follows. By calculating, the direction of the inertia main axis with respect to the set of four dividing line segments is obtained, and a straight line extending in the direction of the inertia main axis and passing through the center of gravity of the set of four dividing line segments (that is, the inertia main axis) is shown in FIG. It is calculated | required as shown with the broken line (however, a part of broken line is thickened) which attach | subjects the code | symbol R2. Then, the intersection of the perpendicular line drawn from the end points 725a, 726a, 725b, and 726b of the specific muscle region line segment 724a and the muscle region line segment 724b to the straight line R2 and the straight line R2 is obtained, and the farthest among the four intersecting points is obtained. A line segment having the intersection points 727a and 727b as end points is acquired as a new muscle area line segment (a thick broken line portion of the straight line R2 indicated by a broken line in FIG. 9), and two muscle area line segments 724a and 724b are obtained. Is updated to one line segment.

実際には、特定筋領域線分724aとの連結が許可される全ての筋領域線分が決定された上で、特定筋領域線分724aとこれらの筋領域線分との連結が同時に行われる。すなわち、特定筋領域線分724aおよび連結が許可された複数の筋領域線分のそれぞれをその中点にて分断することにより複数の分断線分が取得され、これらの分断線分の集合に対する慣性主軸を求め、特定筋領域線分724aおよび連結が許可された複数の筋領域線分の端点から慣性主軸に下ろした垂線と慣性主軸との複数の交点のうち互いに最も離れた2つの交点を端点とする線分が、新たな筋領域線分として求められ、特定筋領域線分724aおよび連結が許可された複数の筋領域線分が1つの筋領域線分へと更新される。   Actually, after all the muscle region line segments that are permitted to be connected to the specific muscle region line segment 724a are determined, the specific muscle region line segment 724a and these muscle region line segments are simultaneously connected. . That is, a plurality of dividing line segments are obtained by dividing each of the specific muscle area line segments 724a and the plurality of muscle area line segments permitted to be connected at the midpoint thereof, and inertia with respect to a set of these dividing line segments. The principal axis is obtained, and the two farthest intersections of the specific principal line segment 724a and a plurality of intersections of the perpendicular to the principal axis of inertia from the end points of the plurality of muscle line segments permitted to be connected and the principal principal axis are end points. Are determined as a new muscle region line segment, and the specific muscle region line segment 724a and a plurality of muscle region line segments permitted to be connected are updated to one muscle region line segment.

特定筋領域線分724aに対する他の筋領域線分との連結の可否の判定および連結が行われると、注目矩形表示領域内における特定筋領域線分724aから更新された筋領域線分(連結が行われない場合には、特定筋領域線分724a)以外の一の筋領域線分を特定筋領域線分として特定し、他の筋領域線分との連結の可否の判定および連結が行われる。実際には、複数の2値画像のそれぞれにおいて、各矩形表示領域を注目矩形表示領域として上記処理が行われることにより、各矩形表示領域中に特定される複数の筋領域線分のうち長手方向が同一であり、長手方向に配列され、かつ、互いに近接する複数の筋領域線分が1つの筋領域線分へと更新とされる(ステップS17)。   When it is determined whether or not the specific muscle region line segment 724a can be connected to another muscle region line segment and the connection is performed, the muscle region line segment updated from the specific muscle region line segment 724a in the target rectangular display region (the connection is established). If not, one muscle region line segment other than the specific muscle region line segment 724a) is specified as the specific muscle region line segment, and whether or not it can be connected to another muscle region line segment is determined and connected. . Actually, in each of the plurality of binary images, the above processing is performed with each rectangular display area as the target rectangular display area, so that the longitudinal direction of the plurality of muscle area line segments specified in each rectangular display area Are the same, are arranged in the longitudinal direction, and a plurality of adjacent muscle region line segments are updated to one muscle region line segment (step S17).

続いて、筋ムラ要素特定部63の領域グループ取得部633では、2値化の際における閾値が隣接する(本実施の形態では、閾値が連続する)2つの2値画像において、一方の2値画像における各筋領域線分と、この筋領域線分が含まれる矩形表示領域に対応する他方の2値画像中の矩形表示領域内の筋領域線分のそれぞれとのグループ化の可否が判定される。   Subsequently, in the region group acquisition unit 633 of the streak unevenness element specifying unit 63, one of the binary values in the two binary images adjacent to each other in the binarization (in the present embodiment, the thresholds are continuous) is used. It is determined whether each line segment in the image can be grouped with each line segment in the rectangular display area in the other binary image corresponding to the rectangular display area including the line segment. The

図10は、2値化の際における閾値が隣接する2つの2値画像にそれぞれ含まれる筋領域線分724d,724eを重ねて示す図である。2つの筋領域線分724d,724eのグループ化の可否の判定の際には、まず、一方の筋領域線分724dを延長した直線R3(ただし、筋領域線分724dから延長した部分を破線にて示している。)が設定され、他方の筋領域線分724eの両端点725e,726eのそれぞれと直線R3との距離D7,D8が求められる。距離D7,D8の双方が所定の閾値以下である場合には、各筋領域線分724d,724eに対して、互いに直交する画素の配列方向(図10中のx方向およびy方向)に平行な辺を有する外接矩形727d,727eが求められ、これらの外接矩形727d,727eが少なくとも一部において互いに重なる場合には、筋領域線分724d,724eのグループ化が許可され、同一のグループに含められる。その一方で、一方の筋領域線分を延長した直線と他方の筋領域線分の両端点との間の距離が閾値よりも長い場合や、2つの筋領域線分の外接矩形が互いに重ならない場合には、これらの筋領域線分はグループ化されない。   FIG. 10 is a diagram in which muscle region line segments 724d and 724e included in two binary images adjacent to each other in the threshold value in binarization are overlapped. When determining whether or not the two muscle region line segments 724d and 724e can be grouped, first, a straight line R3 obtained by extending one of the muscle region line segments 724d (however, a portion extending from the muscle region line segment 724d is indicated by a broken line). And the distances D7 and D8 between the two end points 725e and 726e of the other line segment 724e and the straight line R3 are obtained. When both of the distances D7 and D8 are equal to or smaller than a predetermined threshold value, each line segment 724d and 724e is parallel to the pixel arrangement direction (x direction and y direction in FIG. 10) orthogonal to each other. If circumscribed rectangles 727d and 727e having sides are obtained and these circumscribed rectangles 727d and 727e overlap each other at least partially, grouping of the line segment segments 724d and 724e is permitted and included in the same group. . On the other hand, when the distance between the straight line obtained by extending one line segment and the both end points of the other line segment is longer than the threshold, the circumscribed rectangles of the two line segments do not overlap each other In some cases, these muscle line segments are not grouped.

このようにして、各2値画像と閾値が隣接する他の2値画像との間において互いに重なるとみなされる筋領域線分を同一のグループに含めるグループ化が行われ、グループ化されない筋領域線分は削除される。これにより、それぞれが筋ムラの要素を示す複数のグループが求められる(ステップS18)。領域グループ取得部633における上記処理は、閾値が隣接する2値画像において所定の扁平度となる閉領域である筋領域の位置が互いに重なる場合に、これらの筋領域をグループとして特定することと等価であるため、以下の説明では、グループ化された筋領域線分の集合を領域グループと呼ぶ。   In this way, grouping is performed in which the muscle segment line segments that are considered to overlap each other between each binary image and another binary image whose threshold value is adjacent are included in the same group, and the muscle region lines that are not grouped. Minutes are deleted. As a result, a plurality of groups each indicating an element of streak unevenness is obtained (step S18). The above processing in the region group acquisition unit 633 is equivalent to specifying these muscle regions as a group when the positions of the muscle regions which are closed regions having predetermined flatness in the binary images having adjacent threshold values overlap each other. Therefore, in the following description, a set of grouped muscle region line segments is referred to as a region group.

なお、本実施の形態では、2値画像の生成の際に、上閾値および下閾値を用いて値が背景値から離れた閉領域が特定されるが、上閾値を用いて導かれた2値画像と下閾値を用いて導かれた2値画像との間では、画像中の筋領域の種別が異なるものとされ、筋領域線分のグループ化は行われない。もちろん、領域グループ取得部633における筋領域線分のグループ化は他の手法により行われてもよい。   In the present embodiment, when a binary image is generated, a closed region whose value is separated from the background value is specified using the upper threshold and the lower threshold, but the binary derived using the upper threshold is used. Between the image and the binary image derived using the lower threshold, the type of the muscle region in the image is different, and the grouping of the muscle region line segment is not performed. Of course, the grouping of the muscle region line segments in the region group acquisition unit 633 may be performed by other methods.

また、筋ムラ要素特定部63では領域グループに含まれる複数の筋領域線分のうち最長のものが領域グループを代表する筋ムラ要素線分として特定され、筋ムラ要素線分に対応する2値画像中の筋領域が筋ムラ要素領域とされる。以下の説明では、各筋ムラ要素領域に対応する対象画像中の領域(以下、同様に「筋ムラ要素領域」という。)は、筋ムラ要素線分にて特定される。   Further, in the streak unevenness element specifying unit 63, the longest line segment among a plurality of streak region line segments included in the region group is specified as a streak unevenness element line segment representing the region group, and a binary value corresponding to the streak unevenness element line segment is specified. The streak region in the image is a streak unevenness element region. In the following description, an area in the target image corresponding to each stripe unevenness element area (hereinafter, also referred to as “a stripe unevenness element area”) is specified by a stripe unevenness element line segment.

続いて、筋ムラ検出部64では、対象画像中の一の矩形表示領域を対象矩形表示領域として、対象矩形表示領域中の各筋ムラ要素線分と対象矩形表示領域に隣接する複数の矩形表示領域(以下、「隣接矩形領域群」と総称する。)のそれぞれに含まれる各筋ムラ要素線分との連結の可否が筋領域更新部632における図8に示す処理と同様にして判定される。具体的には、図5の対象画像71中の最も左側かつ最も上側の矩形表示領域711aが対象矩形表示領域とされる場合には、対象矩形表示領域711aの右の矩形表示領域711b、対象矩形表示領域711aの右下の矩形表示領域711cおよび対象矩形表示領域711aの下の矩形表示領域711dが隣接矩形領域群とされる。そして、対象矩形表示領域711aおよび隣接矩形領域群711b〜711dにそれぞれ属する2つの筋ムラ要素線分が特定され、2つの筋ムラ要素線分にそれぞれ対応する2つの筋ムラ要素領域の重心間を結ぶ直線と、2つの筋ムラ要素線分の各端点との距離が所定の第4閾値以下であり、2つの筋ムラ要素線分の間の最も近接する端点間の距離と2つの筋ムラ要素線分の長さの和との比が所定の第5閾値以下であり、2つの筋ムラ要素線分の間の最も離れた端点間の距離と2つの筋ムラ要素線分の長さの和との比が所定の第6閾値以上である場合に、2つの筋ムラ要素線分の連結が許可され、他の場合には連結が却下される(図8参照)。   Subsequently, the streak unevenness detection unit 64 sets one rectangular display area in the target image as a target rectangular display area, and displays a plurality of rectangular displays adjacent to each streak uneven element line segment in the target rectangular display area and the target rectangular display area. Whether or not to be connected to each stripe unevenness element line segment included in each of the areas (hereinafter collectively referred to as “adjacent rectangular area group”) is determined in the same manner as the process shown in FIG. 8 in the stripe area update unit 632. . Specifically, when the leftmost and uppermost rectangular display area 711a in the target image 71 of FIG. 5 is the target rectangular display area, the right rectangular display area 711b of the target rectangular display area 711a, the target rectangle The rectangular display area 711c at the lower right of the display area 711a and the rectangular display area 711d under the target rectangular display area 711a are set as an adjacent rectangular area group. Then, two stripe unevenness element line segments respectively belonging to the target rectangle display area 711a and the adjacent rectangle area groups 711b to 711d are specified, and the distance between the centers of gravity of the two stripe unevenness element areas respectively corresponding to the two stripe unevenness element line segments is determined. The distance between the connecting line and each end point of the two streaky element line segments is equal to or less than a predetermined fourth threshold, and the distance between the closest end points between the two streaky element line segments and the two streaky element elements The ratio of the sum of the lengths of the line segments is equal to or less than a predetermined fifth threshold, and the sum of the distance between the farthest end points between the two streaky element line segments and the length of the two streaky element line segments When the ratio to is greater than or equal to a predetermined sixth threshold value, the connection of the two stripe unevenness element line segments is permitted, and in other cases, the connection is rejected (see FIG. 8).

筋ムラ検出部64では、複数の矩形表示領域において対象矩形表示領域を順次切り替えつつ上記処理が繰り返されることにより(ただし、既に対象矩形表示領域とされたものは隣接矩形領域群に含められなくてもよい。)、複数の筋ムラ要素線分のうち、長手方向が同一であり、長手方向に互いに近接しつつ配列され、かつ、互いに隣接する2つの矩形表示領域内にそれぞれ存在する2つの筋ムラ要素線分の組合せが検出される(ステップS19)。そして、各組合せに係る2つの筋ムラ要素線分は、基板9上の一の筋ムラに由来する可能性が高いものとして互いに関連付けられる。   In the streak unevenness detection unit 64, the above processing is repeated while sequentially switching the target rectangular display areas in a plurality of rectangular display areas (however, those already set as the target rectangular display areas are not included in the adjacent rectangular area group. 2) Among the plurality of streak unevenness element line segments, two streaks having the same longitudinal direction and arranged in close proximity to each other in the longitudinal direction and existing in two rectangular display areas adjacent to each other A combination of uneven element line segments is detected (step S19). The two stripe unevenness element line segments related to each combination are associated with each other as having a high possibility of being derived from one stripe unevenness on the substrate 9.

表示制御部65では、互いに関連付けられた各組合せに係る2つの筋ムラ要素線分から、図9を参照して説明した手法と同様にして1つの線分が導かれる。すなわち、これらの筋ムラ要素線分をその中点にて分断することにより4つの分断線分を取得した後、4つの分断線分の集合に対する慣性主軸が求められ、これらの筋ムラ要素線分の端点から慣性主軸に下ろした垂線と慣性主軸との4つの交点のうち互いに最も離れた2つの交点を端点とする線分が、当該2つの筋ムラ要素線分を連結した連結線分として生成される。なお、2つの筋ムラ要素線分の一方が他の筋ムラ要素線分にも関連付けられる場合には、これらの全ての筋ムラ要素線分において上記処理が行われ、1つの連結線分が生成される。連結線分は、一の筋ムラに由来する(可能性が高い)複数の筋ムラ要素領域を連結した連結領域(筋ムラの全体を示す領域)の代表線分であると捉えることができる。   In the display control unit 65, one line segment is derived from the two stripe unevenness element line segments related to each combination in the same manner as described with reference to FIG. That is, after acquiring these four segmental segments by segmenting these non-uniformity element line segments at their midpoints, the principal axes of inertia for the set of four segmental line segments are obtained. Of the four intersections of the perpendicular to the principal axis of inertia and the principal axis of inertia and the two farthest intersections are generated as connected line segments connecting the two streaky element lines Is done. When one of the two stripe unevenness element line segments is also associated with the other stripe unevenness element line segment, the above processing is performed for all of these stripe stripe element line segments to generate one connected line segment. Is done. The connection line segment can be regarded as a representative line segment of a connection area (an area showing the entire stripe unevenness) obtained by connecting a plurality of stripe unevenness element areas derived from one stripe unevenness (highly likely).

続いて、操作者により入力部56を介して表示すべき連結線分の長さの最小値の入力が行われて演算部6にて受け付けられると(ステップS20)、図11に示すように、最小値以上の長さを有する連結線分731が、対象画像71に重ねてディスプレイ55に表示される(ステップS21)。すなわち、最小値以上の長さを有する連結領域の存在位置がディスプレイ55に表示される。これにより、操作者が複数の矩形表示領域711に亘って伸びるとともに最小値以上の長さの筋ムラのみを容易に確認することができる。なお、連結線分が生成されない筋ムラ要素線分(すなわち、他の筋ムラ要素線分との連結が許可されない筋ムラ要素線分であり、単体で1つの筋ムラのほぼ全体を示すもの)であって長さが最小値以上のものも同様にディスプレイ55に表示されてもよい。   Subsequently, when the operator inputs the minimum value of the length of the connecting line segment to be displayed via the input unit 56 and is accepted by the calculation unit 6 (step S20), as shown in FIG. A connecting line segment 731 having a length equal to or longer than the minimum value is displayed on the display 55 so as to overlap the target image 71 (step S21). That is, the presence position of the connected area having a length equal to or longer than the minimum value is displayed on the display 55. As a result, the operator can easily check only the stripe unevenness having a length equal to or longer than the minimum value while extending over the plurality of rectangular display areas 711. It should be noted that the streak uneven element line segment in which the connecting line segment is not generated (that is, the streak uneven element line segment that is not permitted to be connected to other streak uneven element line segments and indicating almost the entire streak unevenness by itself) In addition, those having a length equal to or greater than the minimum value may be similarly displayed on the display 55.

また、ムラ検査装置1では、連結線分をディスプレイ55に表示する前に、各連結線分が由来する複数の筋ムラ要素線分が属する複数の領域グループにおいて筋領域線分が存在する2値画像に対応する閾値の範囲を筋ムラ強度として求め、連結線分のディスプレイ55への表示の際に、各連結線分の色や太さを変更することにより筋ムラ強度が特定可能とされてもよい。また、各連結線分に対する筋ムラ強度および連結線分の長さ(後述するように、実際に連結領域が求められる場合には連結領域の面積であってもよい。)を所定の強度閾値および長さ閾値(面積閾値)とそれぞれ比較することにより、連結線分が示す複数の筋ムラ要素の集合である筋ムラが許容されるか否かの判定(すなわち、欠陥か否かの判定)を行うことも可能である。   Further, in the unevenness inspection apparatus 1, before displaying the connecting line segment on the display 55, a binary value in which a muscle region line segment exists in a plurality of region groups to which a plurality of muscle unevenness element line segments from which each connecting line segment originates belongs. The threshold range corresponding to the image is obtained as the streak unevenness intensity, and the streak unevenness intensity can be specified by changing the color and thickness of each connecting line segment when displayed on the display 55 of the connected line segment. Also good. In addition, the streak unevenness strength and the length of the connecting line segment for each connecting line segment (which may be the area of the connecting area when the connecting area is actually obtained, as will be described later) and a predetermined strength threshold value and By comparing with each of the length threshold value (area threshold value), it is determined whether or not streak unevenness, which is a set of a plurality of streak unevenness elements indicated by the connecting line segment, is allowed (that is, whether or not it is a defect). It is also possible to do this.

以上に説明したように、ムラ検査装置1では、基板9を撮像して取得される多階調の元画像における基板9上の矩形表示領域間の隙間に対応する領域をマスクして対象画像が準備され、対象画像から複数の閾値を用いて導かれる複数の2値画像に基づいて、それぞれが筋ムラ要素領域を代表する複数の筋ムラ要素線分が特定される。そして、複数の筋ムラ要素線分のうち、長手方向が同一であり、長手方向に配列され、かつ、隣接する矩形表示領域内に存在する2つの筋ムラ要素線分を検出することにより、複数の矩形表示領域に亘って伸びる筋ムラを容易に検出することが実現される。これにより、筋ムラの真の長さや起点あるいは終点を精度よく取得することができ、その結果、筋ムラの発生原因を効率よく特定して製造プロセスや形成するパターン等を改善することが可能となる。   As described above, the unevenness inspection apparatus 1 masks an area corresponding to the gap between the rectangular display areas on the substrate 9 in the multi-tone original image acquired by imaging the substrate 9 so that the target image is displayed. Based on a plurality of binary images prepared and derived from the target image using a plurality of threshold values, a plurality of streaky element line segments each representing a streaky element region are identified. By detecting two stripe unevenness element line segments that are the same in the longitudinal direction and are arranged in the longitudinal direction and are present in the adjacent rectangular display area among the plurality of stripe unevenness element line segments. It is possible to easily detect the stripe unevenness extending over the rectangular display area. As a result, the true length, starting point, or end point of streak unevenness can be obtained with high accuracy, and as a result, the cause of streak unevenness can be efficiently identified and the manufacturing process and the pattern to be formed can be improved. Become.

また、筋ムラ要素特定部63では、2値画像の一の矩形表示領域中に特定される複数の筋領域線分のうち、長手方向が同一であり、長手方向に配列され、かつ、互いに近接する2つの筋領域線分が、筋ムラ検出部64にて連結可能な筋ムラ要素線分を検出する際の処理と同様のアルゴリズムにより検出され、1つの筋領域線分へと更新される。ここで、筋ムラ要素線分は領域グループに含まれる複数の筋領域線分のうち最長のものであるため、筋ムラ要素特定部63による筋領域線分に対する上記処理は、一の矩形表示領域中に特定される複数の筋ムラ要素線分のうち、長手方向が同一であり、長手方向に配列され、かつ、互いに近接する2つの筋ムラ要素線分を筋ムラ検出部64における処理と同様のアルゴリズムにより検出し、1つの筋ムラ要素線分へと更新する処理と捉えることができる。このように、筋ムラ要素特定部63において、一の矩形表示領域中にて同一の筋ムラに由来する可能性が高い複数の筋ムラ要素線分が1つの筋ムラ要素線分へと実質的に更新されることにより、ムラ検査装置1では、筋ムラ検出部64や表示制御部65における後続の処理を効率よく行うことが実現される。さらに、表示制御部65では、一の筋ムラに由来する2つの筋ムラ要素線分を連結した連結線分にて連結領域の存在位置がディスプレイ55に表示されることにより、操作者が複数の矩形表示領域に亘って伸びる筋ムラを容易に確認することができる。   Further, in the streak unevenness element specifying unit 63, among the plurality of streak region line segments specified in one rectangular display region of the binary image, the longitudinal direction is the same, the longitudinal direction is arranged, and they are close to each other The two muscle region line segments to be detected are detected by the same algorithm as the processing for detecting the muscle unevenness element line segments that can be connected by the muscle unevenness detecting unit 64, and updated to one muscle region line segment. Here, since the streak unevenness element line segment is the longest of a plurality of streak area line segments included in the area group, the above processing for the streak line segment by the streak unevenness element specifying unit 63 is performed in one rectangular display area. Among the plurality of streak unevenness element lines specified in the inside, the same as the process in the streak unevenness detection unit 64 for two streak unevenness element lines that have the same longitudinal direction, are arranged in the longitudinal direction, and are close to each other. It can be understood as a process of detecting by the above algorithm and updating it to one streak unevenness element line segment. As described above, in the streak unevenness element specifying unit 63, a plurality of streak unevenness element segments that are highly likely to be derived from the same streak unevenness in one rectangular display area are substantially converted into one streak unevenness element line segment. As a result of the update, the unevenness inspection apparatus 1 can efficiently perform subsequent processing in the stripe unevenness detection unit 64 and the display control unit 65. Further, in the display control unit 65, the existence position of the connected area is displayed on the display 55 by a connecting line segment connecting two streaky element line segments derived from one streak unevenness, so that the operator It is possible to easily confirm the stripe unevenness extending over the rectangular display area.

以上、本発明の実施の形態について説明してきたが、本発明は上記実施の形態に限定されるものではなく、様々な変形が可能である。   Although the embodiments of the present invention have been described above, the present invention is not limited to the above-described embodiments, and various modifications can be made.

図1のムラ検査装置1では、筋ムラ要素特定部63において筋ムラ要素領域が筋ムラ要素線分にて特定されることなく筋ムラ検査が行われてもよい。この場合、筋ムラ要素領域の特定に際して、筋領域更新部632では各2値画像において、長手方向が同一であり、長手方向に配列され、かつ、互いに近接する複数の筋領域が1つの筋領域へと更新され、領域グループ取得部633では、閾値が隣接する2つの2値画像において互いに重なる筋領域を同一の領域グループに含めるグループ化によりそれぞれが筋ムラ要素を示す領域グループが求められる。ここで、筋ムラ要素領域は領域グループに含まれる複数の筋領域のうち長手方向の長さが最長のものとされるため、上記筋領域更新部632における処理は、実質的には、2値画像において一の矩形表示領域中に特定される複数の筋ムラ要素領域のうち、長手方向が同一であり、長手方向に配列され、かつ、互いに近接する2つの筋ムラ要素領域を検出して、2つの筋ムラ要素領域を1つの筋ムラ要素領域へと更新する処理に相当する。また、筋ムラ検出部64では、複数の筋ムラ要素領域のうち、長手方向が同一であり、長手方向に配列され、かつ、隣接する矩形表示領域内に存在する2つの筋ムラ要素領域を検出する処理が行われ、表示制御部65では、検出された2つの筋ムラ要素領域を連結した連結領域が生成され、連結領域のエッジを示す線にて連結領域の存在位置が対象画像に重ねてディスプレイ55に表示される。ただし、複数の矩形表示領域に亘って伸びる筋ムラをより容易に検出するという観点では、筋ムラ要素特定部63において筋ムラ要素領域が当該領域を代表する筋ムラ要素線分にて特定され、筋ムラ検出部64および表示制御部65において、筋ムラ要素線分が、対応する筋ムラ要素領域として扱われて処理の簡素化が図られることが好ましい。   In the unevenness inspection apparatus 1 of FIG. 1, the muscle unevenness inspection may be performed without the muscle unevenness element specifying unit 63 specifying the muscle unevenness element region by the muscle unevenness element line segment. In this case, when specifying the streak unevenness element region, the streak region updating unit 632 has a plurality of streak regions that have the same longitudinal direction, are arranged in the longitudinal direction, and are adjacent to each other in one binary region. The area group acquisition unit 633 obtains area groups each indicating a streak unevenness element by grouping the overlapping area in two binary images adjacent to each other in the same area group. Here, the streak unevenness element region has the longest length in the longitudinal direction among the plurality of streak regions included in the region group. Therefore, the processing in the streak region update unit 632 is substantially binary. Among the plurality of streak unevenness element regions specified in one rectangular display region in the image, two streak unevenness element regions having the same longitudinal direction and arranged in the longitudinal direction and close to each other are detected. This corresponds to a process of updating two streak unevenness element regions to one streak unevenness element region. In addition, the streak unevenness detection unit 64 detects two streak unevenness element areas that are the same in the longitudinal direction and are arranged in the longitudinal direction and are present in the adjacent rectangular display area among the plurality of streak unevenness element areas. In the display control unit 65, a connected region that connects the two detected streaky unevenness element regions is generated, and the position of the connected region is overlapped with the target image by a line indicating the edge of the connected region. It is displayed on the display 55. However, from the viewpoint of more easily detecting streak unevenness extending over a plurality of rectangular display areas, the streak unevenness element specifying unit 63 specifies a streak unevenness element area by a streak unevenness element line segment representing the area, In the streak unevenness detection unit 64 and the display control unit 65, it is preferable that the streak unevenness element line segment is handled as a corresponding streak unevenness element region to simplify the process.

上記実施の形態では、対象画像から複数の閾値を用いて導かれる複数の2値画像から筋ムラ要素線分(または筋ムラ要素領域)が特定されるが、1つの閾値のみを用いて2値画像を取得する際には、当該2値画像において長手方向における長さと長手方向に垂直な方向における幅との比が所定値以上となる複数の閉領域がそのまま複数の筋ムラ要素領域として特定されてもよい。   In the above embodiment, a streak unevenness element line segment (or streak unevenness element region) is specified from a plurality of binary images derived from a target image using a plurality of thresholds, but binary using only one threshold. When acquiring an image, in the binary image, a plurality of closed regions in which the ratio of the length in the longitudinal direction to the width in the direction perpendicular to the longitudinal direction is equal to or greater than a predetermined value are directly specified as a plurality of streaky element regions. May be.

筋ムラ検出部64では、隣接する矩形表示領域内に存在する2つの筋ムラ要素線分の各組合せにおいて2つの筋ムラ要素線分の重心を通る直線と各端点との距離、並びに、2つの筋ムラ要素線分の間において最も近い端点間距離および最も遠い端点間距離のそれぞれと2つの筋ムラ要素線分の長さの和との比を求めることにより、連結可能な2つの筋ムラ要素線分が検出されるが、連結可能と判定される2つの筋ムラ要素線分は、少なくとも長手方向が同一であり、長手方向に配列され、かつ、互いに隣接する2つの矩形表示領域内にそれぞれ存在すればよく、必ずしも近接している必要はない。また、連結可能な2つの筋ムラ要素線分の検出は、例えば、隣接する矩形表示領域内に存在する2つの筋ムラ要素線分の各組合せにおいて2つの筋ムラ要素線分を延長した2つの直線のなす角を求める等、他のアルゴリズムにより行うことも可能である。   In the non-uniformity detection unit 64, in each combination of two non-uniformity element line segments existing in the adjacent rectangular display area, the distance between the straight line passing through the center of gravity of the two non-uniformity element line segments and each end point, and two By obtaining the ratio of the distance between the nearest end point distance and the farthest end point distance between the streak unevenness element line segments and the sum of the lengths of the two streak unevenness element line segments, the two streak unevenness elements that can be connected are obtained. Although two line unevenness element line segments that are determined to be connectable but are determined to be connectable are at least the same in the longitudinal direction, arranged in the longitudinal direction, and in two rectangular display areas adjacent to each other, respectively. It only needs to be present and does not necessarily have to be close. In addition, detection of two streaky element line segments that can be connected is performed by, for example, two lines obtained by extending two streaky element line segments in each combination of two streaky element line segments existing in an adjacent rectangular display area. It is also possible to use other algorithms such as obtaining the angle formed by the straight line.

上記実施の形態では、基板9上にレジストの膜が形成されるが、主面上に液体が塗布されることにより形成されるのであるならば、基板上に形成される膜の材料はレジスト液以外であってもよい。ムラ検査装置1は、ガラスの基板上の筋ムラの検査に特に適しているが、一様なパターンを有する複数の矩形表示領域が隙間を空けて縦横に整列して設定され、複数の矩形表示領域に従って多面取りされる他の基板上の筋ムラの検査に用いられてもよい。   In the above embodiment, a resist film is formed on the substrate 9, but if the liquid is applied to the main surface, the material of the film formed on the substrate is a resist solution. It may be other than. The unevenness inspection apparatus 1 is particularly suitable for inspecting streaks on a glass substrate, but a plurality of rectangular display areas having a uniform pattern are set to be aligned vertically and horizontally with a gap therebetween, thereby displaying a plurality of rectangular displays. It may be used for inspecting streaks on other substrates that are multi-faced according to the region.

ムラ検査装置の構成を示す図である。It is a figure which shows the structure of a nonuniformity inspection apparatus. コンピュータの構成を示す図である。It is a figure which shows the structure of a computer. コンピュータが実現する機能構成を示すブロック図である。It is a block diagram which shows the function structure which a computer implement | achieves. ムラ検査装置が基板上の筋ムラを検査する処理の流れを示す図である。It is a figure which shows the flow of the process which a nonuniformity inspection apparatus test | inspects the stripe nonuniformity on a board | substrate. 対象画像を示す図である。It is a figure which shows a target image. 2値画像を示す図である。It is a figure which shows a binary image. 2値画像を示す図である。It is a figure which shows a binary image. 2値画像を示す図である。It is a figure which shows a binary image. 閉領域を示す図である。It is a figure which shows a closed region. 筋領域線分の連結の可否の判定を説明するための図である。It is a figure for demonstrating the decision | availability of the connection of a muscle area line segment. 筋領域線分の連結を説明するための図である。It is a figure for demonstrating the connection of a muscle region line segment. 2つの2値画像中の筋領域線分を重ねて示す図である。It is a figure which overlaps and shows the line segment line segment in two binary images. 連結線分を対象画像に重ねて示す図である。It is a figure which overlaps and shows a connecting line segment on a target image.

符号の説明Explanation of symbols

1 ムラ検査装置
5 コンピュータ
8 記録媒体
9 基板
41 撮像部
55 ディスプレイ
61 対象画像生成部
63 筋ムラ要素特定部
64 筋ムラ検出部
71 対象画像
92 膜
541 プログラム
711,711a〜711d 矩形表示領域
719 背景領域
721a〜721c 閉領域
731 連結線分
S14〜S21 ステップ
DESCRIPTION OF SYMBOLS 1 Nonuniformity inspection apparatus 5 Computer 8 Recording medium 9 Board | substrate 41 Imaging part 55 Display 61 Target image generation part 63 Muscle unevenness element specific | specification part 64 Muscle unevenness detection part 71 Target image 92 Film | membrane 541 Program 711,711a-711d Rectangular display area 719 Background area 721a-721c closed region 731 connecting line segment S14-S21 step

Claims (8)

一様なパターンを有する複数の矩形領域が隙間を空けて縦横に整列して設定され、前記複数の矩形領域に従って多面取りされる基板上の筋ムラを検査するムラ検査方法であって、
a)前記基板を撮像して取得される多階調の元画像の前記隙間に対応する領域をマスクして対象画像を準備する工程と、
b)前記対象画像を2値化した2値画像において長手方向における長さと前記長手方向に垂直な方向における幅との比が所定値以上となる複数の閉領域を複数の筋ムラ要素領域として特定する工程と、
c)前記複数の筋ムラ要素領域のうち、前記長手方向が同一であり、前記長手方向に配列され、かつ、隣接する矩形領域内に存在する2つの筋ムラ要素領域を検出する工程と、
を備えることを特徴とするムラ検査方法。
A non-uniformity inspection method for inspecting non-uniformity on a substrate that is set by aligning a plurality of rectangular regions having a uniform pattern vertically and horizontally with a gap, and is multi-faced according to the plurality of rectangular regions,
a) preparing a target image by masking a region corresponding to the gap in the multi-tone original image obtained by imaging the substrate;
b) In the binary image obtained by binarizing the target image, a plurality of closed regions in which the ratio of the length in the longitudinal direction to the width in the direction perpendicular to the longitudinal direction is a predetermined value or more are identified as a plurality of streaky element regions. And a process of
c) detecting two stripe unevenness element areas that are the same in the longitudinal direction and are arranged in the longitudinal direction and are present in adjacent rectangular areas, among the plurality of stripe unevenness element areas;
An unevenness inspection method comprising:
請求項1に記載のムラ検査方法であって、
前記b)工程において筋ムラ要素領域が当該領域を代表する筋ムラ要素線分にて特定され、前記c)工程において筋ムラ要素線分が対応する筋ムラ要素領域として扱われることを特徴とするムラ検査方法。
The unevenness inspection method according to claim 1,
In the step b), the stripe unevenness element region is specified by the stripe unevenness element line representing the region, and in the step c), the stripe unevenness element line is treated as the corresponding stripe unevenness element region. Unevenness inspection method.
請求項1または2に記載のムラ検査方法であって、
d)前記2つの筋ムラ要素領域を連結した連結領域の存在位置を表示部に表示する工程をさらに備えることを特徴とするムラ検査方法。
The unevenness inspection method according to claim 1 or 2,
d) A method for inspecting unevenness, further comprising a step of displaying on a display unit the position of a connected region obtained by connecting the two streaky unevenness element regions.
請求項3に記載のムラ検査方法であって、
e)前記d)工程の前に、前記d)工程において存在位置が表示される連結領域の長さの最小値の入力を受け付ける工程をさらに備えることを特徴とするムラ検査方法。
The unevenness inspection method according to claim 3,
e) Before the step d), the unevenness inspection method further comprising a step of accepting an input of a minimum value of the length of the connected area where the existence position is displayed in the step d).
請求項1ないし4のいずれかに記載のムラ検査方法であって、
前記b)工程が、一の矩形領域中に特定される複数の筋ムラ要素領域のうち、前記長手方向が同一であり、前記長手方向に配列され、かつ、互いに近接する2つの筋ムラ要素領域を、前記c)工程と同様のアルゴリズムにより検出し、前記2つの筋ムラ要素領域を1つの筋ムラ要素領域へと更新する工程を備えることを特徴とするムラ検査方法。
The unevenness inspection method according to any one of claims 1 to 4,
Among the plurality of streak uneven element regions specified in one rectangular region, the step b) includes two streak uneven element regions that have the same longitudinal direction, are arranged in the longitudinal direction, and are close to each other. Is detected by the same algorithm as in step c), and the two streaky unevenness element regions are updated to one streak unevenness element region.
請求項1ないし5のいずれかに記載のムラ検査方法であって、
前記基板が、一の主面上に液体が塗布されることにより形成された膜を有することを特徴とするムラ検査方法。
The unevenness inspection method according to any one of claims 1 to 5,
The unevenness inspection method, wherein the substrate has a film formed by applying a liquid on one main surface.
一様なパターンを有する複数の矩形領域が隙間を空けて縦横に整列して設定され、前記複数の矩形領域に従って多面取りされる基板上の筋ムラを検査するムラ検査装置であって、
前記基板を撮像して多階調の元画像を取得する撮像部と、
前記元画像の前記隙間に対応する領域をマスクして対象画像を生成する対象画像生成部と、
前記対象画像を2値化した2値画像において長手方向における長さと前記長手方向に垂直な方向における幅との比が所定値以上となる複数の閉領域を複数の筋ムラ要素領域として特定する筋ムラ要素特定部と、
前記複数の筋ムラ要素領域のうち、前記長手方向が同一であり、前記長手方向に配列され、かつ、隣接する矩形領域内に存在する2つの筋ムラ要素領域を検出する筋ムラ検出部と、
を備えることを特徴とするムラ検査装置。
A plurality of rectangular areas having a uniform pattern are set to be aligned vertically and horizontally with a gap, and a non-uniformity inspection apparatus that inspects streaks on a substrate that is multi-faced according to the plurality of rectangular areas,
An imaging unit for imaging the substrate to obtain a multi-tone original image;
A target image generation unit that generates a target image by masking a region corresponding to the gap of the original image;
A streak that identifies a plurality of closed regions in which a ratio of a length in a longitudinal direction to a width in a direction perpendicular to the longitudinal direction is a predetermined value or more as a plurality of streak unevenness element regions in a binary image obtained by binarizing the target image An uneven element identification part;
Among the plurality of stripe unevenness element regions, the stripe unevenness detection unit that detects two stripe unevenness element regions that are the same in the longitudinal direction, are arranged in the longitudinal direction, and exist in adjacent rectangular regions;
A nonuniformity inspection apparatus comprising:
一様なパターンを有する複数の矩形領域が隙間を空けて縦横に整列して設定され、前記複数の矩形領域に従って多面取りされる基板上の筋ムラをコンピュータに検査させるプログラムであって、前記プログラムの前記コンピュータによる実行は、前記コンピュータに、
a)前記基板を撮像して取得される多階調の元画像の前記隙間に対応する領域をマスクして対象画像を準備する工程と、
b)前記対象画像を2値化した2値画像において長手方向における長さと前記長手方向に垂直な方向における幅との比が所定値以上となる複数の閉領域を複数の筋ムラ要素領域として特定する工程と、
c)前記複数の筋ムラ要素領域のうち、前記長手方向が同一であり、前記長手方向に配列され、かつ、隣接する矩形領域内に存在する2つの筋ムラ要素領域を検出する工程と、
を実行させることを特徴とするプログラム。
A program in which a plurality of rectangular areas having a uniform pattern are set to be vertically and horizontally aligned with a gap therebetween, and causes a computer to inspect streaks on a substrate that is multi-faced according to the plurality of rectangular areas. Is executed by the computer,
a) preparing a target image by masking a region corresponding to the gap in the multi-tone original image obtained by imaging the substrate;
b) In the binary image obtained by binarizing the target image, a plurality of closed regions in which the ratio of the length in the longitudinal direction to the width in the direction perpendicular to the longitudinal direction is a predetermined value or more are identified as a plurality of streaky element regions. And a process of
c) detecting two stripe unevenness element areas that are the same in the longitudinal direction and are arranged in the longitudinal direction and are present in adjacent rectangular areas, among the plurality of stripe unevenness element areas;
A program characterized by having executed.
JP2006153146A 2006-06-01 2006-06-01 Unevenness inspection method, unevenness inspection apparatus, and program Active JP4702952B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2006153146A JP4702952B2 (en) 2006-06-01 2006-06-01 Unevenness inspection method, unevenness inspection apparatus, and program
TW096116068A TWI354100B (en) 2006-06-01 2007-05-07 Unevenness inspecting method, unevenness inspectin
KR1020070047740A KR100905155B1 (en) 2006-06-01 2007-05-16 Unevenness inspecting method, unevenness inspecting apparatus, and recording medium
CN2007101065249A CN101082592B (en) 2006-06-01 2007-06-01 Uneven checking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006153146A JP4702952B2 (en) 2006-06-01 2006-06-01 Unevenness inspection method, unevenness inspection apparatus, and program

Publications (2)

Publication Number Publication Date
JP2007322256A JP2007322256A (en) 2007-12-13
JP4702952B2 true JP4702952B2 (en) 2011-06-15

Family

ID=38855211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006153146A Active JP4702952B2 (en) 2006-06-01 2006-06-01 Unevenness inspection method, unevenness inspection apparatus, and program

Country Status (1)

Country Link
JP (1) JP4702952B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5085573B2 (en) * 2009-01-13 2012-11-28 新日本製鐵株式会社 Defect inspection method and defect inspection apparatus
CN103673894B (en) * 2013-11-22 2016-09-07 大连日佳电子有限公司 The method and apparatus looked around is peeped in side
WO2023053728A1 (en) * 2021-09-29 2023-04-06 富士フイルム株式会社 Display processing device, display processing method, and display processing program

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62235551A (en) * 1986-04-04 1987-10-15 Mitsubishi Paper Mills Ltd Defect position display of strip object
JPH02128284A (en) * 1988-11-09 1990-05-16 Toshiba Corp Picture processing method in defect inspection
JPH08190633A (en) * 1995-01-06 1996-07-23 Hitachi Metals Ltd Defect judging method
JPH10185763A (en) * 1996-12-27 1998-07-14 Canon Inc Apparatus and method for inspection of color filter
JP4211092B2 (en) * 1998-08-27 2009-01-21 株式会社Ihi Automatic welding defect detection method in radiographic inspection
JP2001028059A (en) * 1999-07-15 2001-01-30 Dainippon Printing Co Ltd Method and device for color unevenness inspection
JP2005345290A (en) * 2004-06-03 2005-12-15 Seiko Epson Corp Streak-like flaw detecting method and streak-like flaw detector
JP4562126B2 (en) * 2004-09-29 2010-10-13 大日本スクリーン製造株式会社 Defect detection apparatus and defect detection method
JP4353479B2 (en) * 2004-10-08 2009-10-28 大日本スクリーン製造株式会社 Unevenness inspection apparatus, unevenness inspection method, and program for causing computer to inspect shading unevenness

Also Published As

Publication number Publication date
JP2007322256A (en) 2007-12-13

Similar Documents

Publication Publication Date Title
JP4702953B2 (en) Unevenness inspection method, unevenness inspection apparatus, and program
JP2001527645A (en) Uneven defect detection method and detection device
US11313806B2 (en) Defect inspection method and defect inspection device
JP3185559B2 (en) Surface defect inspection equipment
JP2003168114A (en) Defect sorting device
JP4702952B2 (en) Unevenness inspection method, unevenness inspection apparatus, and program
JP2002148195A (en) Surface inspection apparatus and surface inspection method
JP3189588B2 (en) Surface defect inspection equipment
KR20080004346A (en) Unevenness inspecting apparatus, image display apparatus, unevenness inspecting method, and image display method
JP5434385B2 (en) Mesh inspection apparatus, mesh inspection method, program, and recording medium
JP2007322257A (en) Method and device for inspecting unevenness, and program
JP2006190974A (en) Needle-trace sensor, and needle-trace sensing method
JP2002230562A (en) Image processing method and device therefor
KR100905155B1 (en) Unevenness inspecting method, unevenness inspecting apparatus, and recording medium
JP2008003018A (en) Irregularity inspecting device and irregularity inspection method
JP2004296592A (en) Defect classification equipment, defect classification method, and program
JP2007114073A (en) Stylus trace detecting device and method
JP4015436B2 (en) Gold plating defect inspection system
JP6936577B2 (en) Misalignment amount acquisition device, inspection device, misalignment amount acquisition method and inspection method
JP3159063B2 (en) Surface defect inspection equipment
JP3201217B2 (en) Surface defect inspection equipment
JP2007057705A (en) Inspection method and inspection apparatus of display panel
JP2006322871A (en) Inspection method of coating irregularity and its program
JP6114559B2 (en) Automatic unevenness detector for flat panel display
JPH1010053A (en) Inspection device for surface defect

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110224

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110304

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110307

R150 Certificate of patent or registration of utility model

Ref document number: 4702952

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250