KR102073676B1 - Method and apparatus for inspecting flat panel display - Google Patents

Method and apparatus for inspecting flat panel display Download PDF

Info

Publication number
KR102073676B1
KR102073676B1 KR1020190078589A KR20190078589A KR102073676B1 KR 102073676 B1 KR102073676 B1 KR 102073676B1 KR 1020190078589 A KR1020190078589 A KR 1020190078589A KR 20190078589 A KR20190078589 A KR 20190078589A KR 102073676 B1 KR102073676 B1 KR 102073676B1
Authority
KR
South Korea
Prior art keywords
image
axis direction
sampling interval
coordinates
pixel
Prior art date
Application number
KR1020190078589A
Other languages
Korean (ko)
Other versions
KR20190082703A (en
Inventor
정승환
Original Assignee
삼성디스플레이 주식회사
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 삼성디스플레이 주식회사 filed Critical 삼성디스플레이 주식회사
Priority to KR1020190078589A priority Critical patent/KR102073676B1/en
Publication of KR20190082703A publication Critical patent/KR20190082703A/en
Application granted granted Critical
Publication of KR102073676B1 publication Critical patent/KR102073676B1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8887Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N2201/00Features of devices classified in G01N21/00
    • G01N2201/10Scanning
    • G01N2201/103Scanning by mechanical motion of stage
    • G01N2201/10353D motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

본 발명의 실시예는 평판 검사 방법 및 장치에 관한 것으로서, 대상물의 상면으로부터 이격되어 배치되고 대상물의 상면을 향해 빛을 조사하는 조명장치, 대상물의 상면으로부터 이격되어 배치되고 조명장치로부터 조사되어 대상물의 상면에서 반사된 빛을 이용하여 영상을 촬영하는 촬영장치, 조명장치 및 촬영장치를 대상물의 상면과 이격되고 평행한 평면 상에서 움직이도록 제어하는 제어부, 및 촬영장치와 연결되고 촬영된 영상을 처리하는 영상처리부를 포함하고, 영상처리부는 촬영된 영상에 포함된 픽셀 중에서 일부를 샘플링하고, 샘플링된 픽셀에 대해 2치화 연산을 수행하는 평판 검사 장치를 제공할 수 있다.An embodiment of the present invention relates to a method and apparatus for inspecting a flat plate, comprising: an illumination device disposed spaced apart from an upper surface of an object and irradiated with light toward an upper surface of the object; A photographing apparatus for photographing an image using light reflected from the upper surface, a controller for controlling the lighting apparatus and the photographing apparatus to move on a plane parallel to and spaced apart from the upper surface of the object, and an image connected to the photographing apparatus and processing the photographed image. The processor may include a processor, and the image processor may provide a flat panel inspection apparatus that samples a part of pixels included in the captured image and performs a binarization operation on the sampled pixels.

Figure 112019066971698-pat00007
Figure 112019066971698-pat00007

Description

평판 검사 방법 및 장치{METHOD AND APPARATUS FOR INSPECTING FLAT PANEL DISPLAY}Flat plate inspection method and apparatus {METHOD AND APPARATUS FOR INSPECTING FLAT PANEL DISPLAY}

본 발명의 실시예는 평판 검사 방법 및 장치에 관한 것으로서, 보다 자세하게는 평판의 광학적 검사시에 검사 시간을 단축시킬 수 있는 평판 검사 방법 및 장치에 관한 것이다.Embodiments of the present invention relate to a plate inspection method and apparatus, and more particularly, to a plate inspection method and apparatus that can reduce the inspection time during the optical inspection of the plate.

정보통신기술의 발달과 다양화된 정보화 사회의 요구에 따라 디스플레이 수요가 증가하고 있고, 그 디스플레이장치로서 종래 대부분의 표시장치로 채용되었던 CRT(Cathode-Ray Tube)장치 대신에 컴팩트화, 절전화 등의 요구에 따라 평판 디스플레이(FPD, Flat Panel Display)가 개발되고 있다. 현재 일반적으로 많이 쓰이는 평판 디스플레이로는 전계발광표시장치(ELD), 액정표시장치(LCD: TFT-LCD, TN/STN), 플라스마 표시패널, 유기 EL 등이 있다.The demand for display is increasing in accordance with the development of information and communication technology and the demand of diversified information society, and as the display device, compactness, power saving, etc. are replaced instead of the CRT (Cathode-Ray Tube) device, which is conventionally used as most display devices. According to the needs of flat panel displays (FPD, Flat Panel Display) is being developed. Flat panel displays that are commonly used now include electroluminescent display (ELD), liquid crystal display (LCD: TFT-LCD, TN / STN), plasma display panel, organic EL, and the like.

이와 같은 평판 디스플레이의 안정적인 품질을 유지하기 위해서는 재료의 개발, 공정의 개발 등도 중요하지만, 제조에 사용되는 유리 또는 플라스틱 등과 같은 패널에도 결함이 없는 것이 좋다. In order to maintain the stable quality of such a flat panel display, the development of materials, the development of processes, etc. are important, but there is no defect in a panel such as glass or plastic used for manufacturing.

통상적으로 평판 디스플레이의 결함을 검사하는 방법으로는 패널 표면에 광을 조사하고, 상기 조사된 광의 광학적 변화로부터 패널 표면의 결함을 검사하는 방식이 이용된다. 즉, 광원으로부터 조사된 빛은 거울, 렌즈, 액정판 등의 경로를 순차적으로 거쳐 피검체인 상기 평판 디스플레이에 조사되고, 검사자는 흠집이나 얼룩과 같은 결함유무를 판별할 수 있다. 그러나, 광의 휘도가 불안정한 경우 구조적으로 평판 디스플레이에서의 불균일한 밝기로 인하여 정확하게 결함 유무를 판별하지 못할 수 있다.In general, as a method of inspecting a defect of a flat panel display, a method of irradiating light onto a panel surface and inspecting a defect on a panel surface from an optical change of the irradiated light is used. That is, the light irradiated from the light source is sequentially irradiated to the flat panel display as a test object through a path such as a mirror, a lens, a liquid crystal plate, and the inspector can determine the presence of a defect such as a scratch or a stain. However, when the brightness of the light is unstable, it may not be possible to accurately determine whether there is a defect due to structurally uneven brightness in the flat panel display.

이외에도, 카메라를 이용하여 자동으로 상기 평판 디스플레이의 결함을 검사하는 방법이 이용될 수 있다. 그러나 상기와 같이 카메라로 평판 디스플레이의 영상을 촬영 및 분석하는 경우, 검사 시간이 많이 소요되는 문제점이 있었다.In addition, a method of automatically inspecting a defect of the flat panel display using a camera may be used. However, when photographing and analyzing the image of the flat panel display with the camera as described above, there was a problem that takes a lot of inspection time.

본 발명의 실시예는 검사 시간을 단축시킬 수 있는 평판 검사 방법 및 장치를 제공할 수 있다.Embodiments of the present invention can provide a flat plate inspection method and apparatus that can reduce the inspection time.

본 발명의 실시예는 평판 검사시에 전체 면적 대비 얼룩의 분포가 적을 경우 종래에 비해 검사 시간을 단축시키면서도 유사한 결과를 얻을 수 있는 평판 검사 방법 및 장치를 제공할 수 있다.Embodiments of the present invention can provide a flat plate inspection method and apparatus that can achieve similar results while reducing the inspection time compared to the conventional case when the distribution of stains relative to the total area is small during flat plate inspection.

본 발명의 실시예를 통해 해결하고자 하는 과제는 이상에서 언급한 과제들로 제한되지 않으며, 언급되지 않은 또 다른 과제들은 아래의 기재로부터 당해 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.Problems to be solved through embodiments of the present invention are not limited to the above-mentioned problems, and other tasks not mentioned above may be clearly understood by those skilled in the art from the following description. There will be.

본 발명의 실시예에 따른 평판 검사 장치는, 대상물의 상면으로부터 이격되어 배치되고 상기 대상물의 상면을 향해 빛을 조사하는 조명장치, 상기 대상물의 상면으로부터 이격되어 배치되고 상기 조명장치로부터 조사되어 상기 대상물의 상면에서 반사된 빛을 이용하여 영상을 촬영하는 촬영장치, 상기 조명장치 및 상기 촬영장치를 상기 대상물의 상면과 이격되고 평행한 평면 상에서 움직이도록 제어하는 제어부, 및 상기 촬영장치와 연결되고 상기 촬영된 영상을 처리하는 영상처리부를 포함하고, 상기 영상처리부는 상기 촬영된 영상에 포함된 픽셀 중에서 일부를 샘플링하고, 상기 샘플링된 픽셀에 대해 2치화 연산을 수행할 수 있다.An apparatus for inspecting a flat plate according to an embodiment of the present invention is disposed spaced apart from an upper surface of an object and irradiated with light toward an upper surface of the object, disposed to be spaced apart from an upper surface of the object and irradiated from the illumination device. A photographing apparatus which photographs an image using light reflected from an upper surface of the controller, a controller which controls the lighting apparatus and the photographing apparatus to move on a plane parallel to and spaced apart from and parallel to the upper surface of the object, and connected to the photographing apparatus and photographing An image processor may be configured to process the captured image, and the image processor may sample a part of pixels included in the photographed image, and perform a binarization operation on the sampled pixel.

본 발명의 실시예에 따른 평판 검사 방법은, 대상물의 상면을 향해 빛을 조사하는 단계, 상기 대상물의 상면으로부터 반사된 빛을 이용하여 영상을 촬영하는 단계, 상기 촬영된 영상에 포함된 픽셀 중에서 일부를 샘플링하는 단계, 및 상기 샘플링된 픽셀에 대해 2치화 연산을 수행하는 단계를 포함할 수 있다.According to an embodiment of the present invention, a flat plate inspection method includes: irradiating light toward an upper surface of an object, photographing an image by using light reflected from the upper surface of the object, and a part of pixels included in the captured image Sampling may be performed, and performing a binarization operation on the sampled pixels.

또한, 상기 촬영된 영상은 2차원 영상이고, 상기 영상처리부는 X축 방향으로의 소정의 샘플링 간격 및 Y축 방향으로의 소정의 샘플링 간격에 따라 상기 촬영된 영상에 포함된 픽셀 중에서 일부를 샘플링할 수 있다.The photographed image may be a two-dimensional image, and the image processor may sample a portion of pixels included in the photographed image at a predetermined sampling interval in the X-axis direction and a predetermined sampling interval in the Y-axis direction. Can be.

또한, 상기 X축 방향으로의 샘플링 간격 및 상기 Y축 방향으로의 샘플링 간격은 동일할 수 있다.In addition, the sampling interval in the X-axis direction and the sampling interval in the Y-axis direction may be the same.

또한, 상기 영상처리부는 샘플링된 임의의 좌표 (a, b)의 픽셀에 대해 상기 2치화 연산을 수행한 다음에, 만약 좌표 (a + (상기 X축 방향으로의 샘플링 간격), b)가 상기 촬영된 영상의 영역을 벗어나지 않으면 상기 좌표 (a + (상기 X축 방향으로의 샘플링 간격)의 픽셀에 대해 상기 2치화 연산을 수행하고, 만약 상기 좌표 (a + (상기 X축 방향으로의 샘플링 간격), b)가 상기 촬영된 영상의 영역을 벗어나고 좌표 (0, b + (상기 Y축 방향으로의 샘플링 간격))가 상기 촬영된 영상의 영역을 벗어나지 않으면 상기 좌표 (0, b + (상기 Y축 방향으로의 샘플링 간격))에 대해 상기 2치화 연산을 수행하고, 만약 상기 좌표 (a + (상기 X축 방향으로의 샘플링 간격), b) 및 상기 좌표(0, b + (상기 Y축 방향으로의 샘플링 간격))가 상기 촬영된 영상의 영역을 벗어나면 상기 촬영된 영상의 처리를 종료할 수 있다.In addition, the image processing unit performs the binarization operation on the pixels of arbitrary coordinates (a, b) sampled, and then if coordinates (a + (sampling interval in the X-axis direction), b) is If the image is not out of the area of the photographed image, the binarization operation is performed on the pixel of the coordinate (a + (sampling interval in the X axis direction), and if the coordinate (a + (sampling interval in the X axis direction) ), b) is outside the area of the captured image and the coordinates (0, b + (sampling interval in the Y-axis direction)) do not leave the area of the captured image, the coordinate (0, b + (the Y The binarization operation), and if the coordinates (a + (sampling interval in the X-axis direction), b) and the coordinates (0, b + (the Y-axis direction) Sampling interval) is outside the area of the photographed image. Processing can be terminated.

또한, 상기 2치화 연산은 임의의 픽셀의 명암값이 제1임계치보다 크고 제2임계치보다 작거나 같은 경우 상기 임의의 픽셀을 1로 나타내고, 상기 명암값이 상기 제1임계치보다 작거나 같거나 상기 제2임계치보다 큰 경우 상기 임의의 픽셀을 0으로 나타내는 연산이고, 상기 영상처리부는 샘플링된 임의의 좌표 (a, b)의 픽셀에 대해 상기 2치화 연산을 수행한 결과가 1인 경우, 상기 촬영된 영상에서 상기 좌표 (a, b)를 중심으로 하여 (상기 X축 방향으로의 샘플링 간격) * (상기 Y축 방향으로의 샘플링 간격)의 범위 내에 존재하는 모든 픽셀에 대해 상기 2치화 연산을 수행할 수 있다.Further, the binarization operation indicates the arbitrary pixel as 1 when the intensity value of any pixel is greater than the first threshold value and less than or equal to the second threshold value, and the contrast value is less than or equal to or greater than the first threshold value. When larger than the second threshold value, the operation represents the arbitrary pixel as 0. When the image processing unit performs the binarization operation on the pixel of the arbitrary coordinates (a, b) sampled, the photographing operation is performed. The binarization operation is performed on all pixels existing within a range of (sampling interval in the X-axis direction) * (sampling interval in the Y-axis direction) with respect to the coordinates (a, b) in the captured image. can do.

또한, 상기 2치화 연산은 임의의 픽셀의 명암값이 제1임계치보다 크고 제2임계치보다 작거나 같은 경우 상기 임의의 픽셀을 1로 나타내고, 상기 명암값이 상기 제1임계치보다 작거나 같거나 상기 제2임계치보다 큰 경우 상기 임의의 픽셀을 0으로 나타내는 연산이고, 상기 영상처리부는 샘플링된 임의의 좌표 (a, b)의 픽셀에 대해 상기 2치화 연산을 수행한 결과가 1인 경우, 상기 촬영된 영상에서 좌표 (a - (상기 X축 방향으로의 샘플링 간격) / 2, b - (상기 Y축 방향으로의 샘플링 간격) / 2), 좌표 (a + (상기 X축 방향으로의 샘플링 간격) / 2, b - (상기 Y축 방향으로의 샘플링 간격) / 2), 좌표 (a - (상기 X축 방향으로의 샘플링 간격) / 2, b + (상기 Y축 방향으로의 샘플링 간격) / 2) 및 좌표 (a + (상기 X축 방향으로의 샘플링 간격) / 2, b + (상기 Y축 방향으로의 샘플링 간격) / 2)를 각 꼭지점으로 한 사각형 영역 내에 존재하는 모든 픽셀에 대해 상기 2치화 연산을 수행할 수 있다.Further, the binarization operation indicates the arbitrary pixel as 1 when the intensity value of any pixel is greater than the first threshold value and less than or equal to the second threshold value, and the contrast value is less than or equal to or greater than the first threshold value. When larger than the second threshold value, the operation represents the arbitrary pixel as 0. When the image processing unit performs the binarization operation on the pixel of the arbitrary coordinates (a, b) sampled, the photographing operation is performed. (A-(sampling interval in the X-axis direction) / 2, b-(sampling interval in the Y-axis direction) / 2), coordinates (a + (sampling interval in the X-axis direction) / 2, b-(sampling interval in the Y-axis direction) / 2), coordinates (a-(sampling interval in the X-axis direction) / 2, b + (sampling interval in the Y-axis direction) / 2 ) And coordinates (a + (sampling interval in the X-axis direction) / 2, b + (sampling interval in the Y-axis direction The binarization operation may be performed on all pixels existing in the rectangular region with each vertex).

또한, 상기 2치화 연산은 임의의 픽셀의 명암값을 이용하여 상기 임의의 픽셀을 0 또는 1로 나타내는 연산일 수 있다.In addition, the binarization operation may be an operation of representing the arbitrary pixel as 0 or 1 using the intensity value of the arbitrary pixel.

또한, 상기 2치화 연산은 임의의 픽셀의 명암값이 제1임계치보다 크고 제2임계치보다 작거나 같은 경우 상기 임의의 픽셀을 1로 나타내고, 상기 명암값이 상기 제1임계치보다 작거나 같거나 상기 제2임계치보다 큰 경우 상기 임의의 픽셀을 0으로 나타내는 연산일 수 있다.Further, the binarization operation indicates the arbitrary pixel as 1 when the intensity value of any pixel is greater than the first threshold value and less than or equal to the second threshold value, and the contrast value is less than or equal to or greater than the first threshold value. When larger than the second threshold value, the operation may be performed to represent the arbitrary pixel as zero.

또한, 상기 영상처리부는 소정의 샘플링 간격에 따라 상기 촬영된 영상에 포함된 픽셀 중에서 일부를 샘플링할 수 있다.The image processor may sample a portion of pixels included in the photographed image at a predetermined sampling interval.

또한, 상기 촬영된 영상은 흑백 영상 또는 색체 영상일 수 있다.In addition, the captured image may be a black and white image or a color image.

또한, 상기 2치화 연산을 수행하는 단계는, 상기 X축 방향으로의 샘플링 간격 및 상기 Y축 방향으로의 샘플링 간격을 이용하여 상기 촬영된 영상에서 다음 샘플픽셀의 좌표를 구하고 현재 좌표를 상기 다음 샘플픽셀의 좌표로 이동시키는 이동단계, 상기 이동된 현재 좌표의 샘플픽셀에 대하여 상기 2치화 연산을 수행하는 2치화단계, 및 상기 이동된 현재 좌표의 샘플픽셀이 마지막 샘플픽셀인지 판단하고, 만약 상기 이동된 현재 좌표의 샘플픽셀이 상기 마지막 샘플픽셀인 경우 종료하고, 만약 상기 이동된 현재 좌표의 샘플픽셀이 상기 마지막 샘플픽셀이 아닌 경우 상기 이동단계부터 상기 2치화단계까지 반복하는 반복단계를 포함할 수 있다.The performing of the binarization operation may include obtaining a coordinate of a next sample pixel in the captured image by using a sampling interval in the X-axis direction and a sampling interval in the Y-axis direction, and converting a current coordinate to the next sample. A shifting step of shifting the coordinates of the pixel, a binarization step of performing the binarization operation on the sample pixels of the moved current coordinates, and determining whether the sample pixel of the shifted current coordinates is the last sample pixel; Ending if the sample pixel of the current coordinate is the last sample pixel, and repeating the moving step to the binarization step if the sample pixel of the moved current coordinate is not the last sample pixel. have.

또한, 상기 이동단계에서, 상기 현재 좌표의 이동되기 전의 좌표를 좌표 (a, b)라 할 때, 만약 좌표 (a + (상기 X축 방향으로의 샘플링 간격), b)가 상기 촬영된 영상의 영역을 벗어나지 않으면 상기 다음 샘플픽셀의 좌표는 상기 좌표 (a + (상기 X축 방향으로의 샘플링 간격)이고, 만약 상기 좌표 (a + (상기 X축 방향으로의 샘플링 간격), b)가 상기 촬영된 영상의 영역을 벗어나고 좌표 (0, b + (상기 Y축 방향으로의 샘플링 간격))가 상기 촬영된 영상의 영역을 벗어나지 않으면 상기 다음 샘플픽셀의 좌표는 상기 좌표 (0, b + (상기 Y축 방향으로의 샘플링 간격))이고, 만약 상기 좌표 (a + (상기 X축 방향으로의 샘플링 간격), b) 및 상기 좌표(0, b + (상기 Y축 방향으로의 샘플링 간격))가 상기 촬영된 영상의 영역을 벗어나면 종료할 수 있다.Also, in the moving step, when the coordinates before the movement of the current coordinates are coordinates (a, b), if coordinates (a + (sampling interval in the X-axis direction), b) of the captured image The coordinate of the next sample pixel is the coordinate (a + (sampling interval in the X-axis direction) if not leaving the area, and if the coordinate (a + (sampling interval in the X-axis direction), b) is the photographing If the coordinates (0, b + (sampling interval in the Y-axis direction)) do not leave the region of the captured image, the coordinates of the next sample pixel are the coordinates (0, b + (the Y). Axial direction)), and if the coordinates (a + (sampling interval in the X axis direction), b) and the coordinates (0, b + (sampling interval in the Y axis direction)) are If it is out of the area of the captured image can be terminated.

또한, 상기 2치화 연산은 임의의 픽셀의 명암값이 제1임계치보다 크고 제2임계치보다 작거나 같은 경우 상기 임의의 픽셀을 1로 나타내고, 상기 명암값이 상기 제1임계치보다 작거나 같거나 상기 제2임계치보다 큰 경우 상기 임의의 픽셀을 0으로 나타내는 연산이고, 상기 2치화단계와 상기 반복단계 사이에, 상기 이동된 현재 좌표의 샘플픽셀에 대한 상기 2치화 연산의 결과가 1인 경우, 상기 촬영된 영상에서 상기 이동된 현재 좌표를 중심으로 하여 (상기 X축 방향으로의 샘플링 간격) * (상기 Y축 방향으로의 샘플링 간격)의 범위 내에 존재하는 모든 픽셀에 대해 상기 2치화 연산을 수행하는 범위2치화단계를 더 포함하고, 상기 반복단계는 만약 상기 이동된 현재 좌표의 샘플픽셀이 상기 마지막 샘플픽셀이 아닌 경우 상기 이동단계부터 상기 범위2치화단계까지 반복할 수 있다.Further, the binarization operation indicates the arbitrary pixel as 1 when the intensity value of any pixel is greater than the first threshold value and less than or equal to the second threshold value, and the contrast value is less than or equal to or greater than the first threshold value. If greater than the second threshold value, the operation represents the arbitrary pixel as 0. Between the binarization step and the repetition step, if the result of the binarization operation on the sample pixel of the moved current coordinate is 1, the The binarization operation is performed on all pixels existing within a range of (sampling interval in the X-axis direction) * (sampling interval in the Y-axis direction) with respect to the moved current coordinates in the captured image. And further comprising a range binarization step, wherein the iterative step includes the range binarization step from the moving step if the sample pixel of the moved current coordinate is not the last sample pixel. Up can be repeated.

또한, 상기 2치화 연산은 임의의 픽셀의 명암값이 제1임계치보다 크고 제2임계치보다 작거나 같은 경우 상기 임의의 픽셀을 1로 나타내고, 상기 명암값이 상기 제1임계치보다 작거나 같거나 상기 제2임계치보다 큰 경우 상기 임의의 픽셀을 0으로 나타내는 연산이고, 상기 2치화단계와 상기 반복단계 사이에, 상기 이동된 현재 좌표의 샘플픽셀에 대한 상기 2치화 연산의 결과가 1인 경우, 상기 이동된 현재 좌표를 좌표 (a, b)라 할 때, 상기 촬영된 영상에서 좌표 (a - (상기 X축 방향으로의 샘플링 간격) / 2, b - (상기 Y축 방향으로의 샘플링 간격) / 2), 좌표 (a + (상기 X축 방향으로의 샘플링 간격) / 2, b - (상기 Y축 방향으로의 샘플링 간격) / 2), 좌표 (a - (상기 X축 방향으로의 샘플링 간격) / 2, b + (상기 Y축 방향으로의 샘플링 간격) / 2) 및 좌표 (a + (상기 X축 방향으로의 샘플링 간격) / 2, b + (상기 Y축 방향으로의 샘플링 간격) / 2)를 각 꼭지점으로 한 사각형 영역 내에 존재하는 모든 픽셀에 대해 상기 2치화 연산을 수행하는 범위2치화단계를 더 포함하고, 상기 반복단계는 만약 상기 이동된 현재 좌표의 샘플픽셀이 상기 마지막 샘플픽셀이 아닌 경우 상기 이동단계부터 상기 범위2치화단계까지 반복할 수 있다.Further, the binarization operation indicates the arbitrary pixel as 1 when the intensity value of any pixel is greater than the first threshold value and less than or equal to the second threshold value, and the contrast value is less than or equal to or greater than the first threshold value. If greater than the second threshold value, the operation represents the arbitrary pixel as 0. Between the binarization step and the repetition step, if the result of the binarization operation on the sample pixel of the moved current coordinate is 1, the When the current coordinate shifted is called coordinate (a, b), the coordinate (a-(sampling interval in the X-axis direction) / 2, b-(sampling interval in the Y-axis direction) in the captured image / 2), coordinates (a + (sampling interval in the X-axis direction) / 2, b-(sampling interval in the Y-axis direction) / 2), coordinates (a-(sampling interval in the X-axis direction) / 2, b + (sampling interval in the Y-axis direction) / 2) and coordinates (a + (in the X-axis direction) And a binarization step of performing the binarization operation on all pixels existing in the rectangular region having each sampling interval) / 2, b + (the sampling interval in the Y-axis direction) / 2) as the vertices. The repeating step may be repeated from the moving step to the range binarization step if the sample pixel of the moved current coordinate is not the last sample pixel.

본 발명의 실시예에 따르면 평판 검사시에 검사 시간을 단축시킬 수 있다.According to the embodiment of the present invention, it is possible to shorten the inspection time when inspecting the plate.

본 발명의 실시예에 따르면 평판 검사시에 전체 면적 대비 얼룩의 분포가 적을 경우 종래에 비해 검사 시간을 단축시키면서도 유사한 결과를 얻을 수 있다.According to an exemplary embodiment of the present invention, when the distribution of the stains relative to the total area is small during the flat plate inspection, similar results may be obtained while reducing the inspection time.

도 1은 본 발명의 실시예에 따른 평판 검사 장치의 구성을 나타내는 사시도이다.
도 2는 본 발명의 실시예에 따라 2치화하는 방법을 설명하기 위한 컬러 히스토그램이다.
도 3은 본 발명의 실시예에 따라 평판을 검사하는 과정을 나타내는 순서도이다.
도 4는 본 발명의 실시예에 따른 평판 검사 방법을 설명하기 위한 참고 도면이다.
도 5는 종래의 방법에 따른 2치화 결과와 본 발명의 실시예에 따른 2치화 결과를 비교하기 위한 참고 도면이다.
1 is a perspective view showing the configuration of a flat plate inspection apparatus according to an embodiment of the present invention.
2 is a color histogram for explaining a binarization method according to an embodiment of the present invention.
3 is a flowchart illustrating a process of inspecting a flat plate according to an embodiment of the present invention.
4 is a reference view for explaining a flat plate inspection method according to an embodiment of the present invention.
5 is a reference diagram for comparing a binarization result according to a conventional method and a binarization result according to an embodiment of the present invention.

이하, 첨부된 도면을 참조하여 본 발명의 실시예에 대해 상세히 설명하기로 한다. 다만, 첨부된 도면은 본 발명의 내용을 보다 쉽게 개시하기 위하여 설명되는 것일 뿐, 본 발명의 범위가 첨부된 도면의 범위로 한정되는 것이 아님은 이 기술분야의 통상의 지식을 가진 자라면 용이하게 알 수 있을 것이다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, the accompanying drawings are only described in order to more easily disclose the contents of the present invention, and the scope of the present invention is not limited to the scope of the accompanying drawings that can be easily understood by those of ordinary skill in the art. You will know.

또한, 명세서 전체에서, 어떤 부분이 다른 부분과 '연결'되어 있다고 할 때, 이는 '직접적으로 연결'되어 있는 경우뿐 아니라, 그 중간에 하나 이상의 다른 구성요소를 사이에 두고 '간접적으로 연결'되어 있는 경우도 포함된다. 또한, 어떤 부분이 어떤 구성요소를 '포함'한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 이외의 다른 구성요소를 제외한다는 의미가 아니라 이외의 다른 구성요소를 더 포함할 수 있다는 것을 의미한다.In addition, throughout the specification, when a part is 'connected' to another part, it is not only 'directly connected' but also 'indirectly connected' with one or more other components in between. It is included if there is. In addition, when a part is said to "include" a certain component, it does not mean that except for the other components unless otherwise stated that may include other components other than.

이하에서는 첨부된 도면을 참조하여 본 발명의 실시예에 따른 평판 검사 방법 및 장치에 대해 상세히 설명하기로 한다.Hereinafter, a method and apparatus for inspecting a flat plate according to an exemplary embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 실시예에 따른 평판 검사 장치의 구성을 나타내는 사시도이다. 도 1을 참조하면, 본 발명의 실시예에 따른 평판 검사 장치는, 대상물(100)의 상면으로부터 이격되어 배치되고 상기 대상물(100)의 상면을 향해 빛을 조사하는 조명장치(110), 상기 대상물(100)의 상면으로부터 이격되어 배치되고 상기 조명장치(110)로부터 조사되어 상기 대상물(100)의 상면에서 반사된 빛을 촬영하는 촬영장치(120), 상기 조명장치(110) 및 상기 촬영장치(120)를 상기 대상물(100)의 상면과 이격되고 평행한 평면 상에서 움직이도록 제어하는 제어부(130), 및 상기 촬영장치(120)와 연결되고 상기 촬영장치(120)가 촬영한 영상을 처리하는 영상처리부(140)를 포함할 수 있다.1 is a perspective view showing the configuration of a flat plate inspection apparatus according to an embodiment of the present invention. Referring to FIG. 1, an apparatus for inspecting a flat plate according to an embodiment of the present invention may be disposed spaced apart from an upper surface of an object 100 to illuminate light toward the upper surface of the object 100, the object. A photographing apparatus 120 disposed to be spaced apart from an upper surface of the photographing apparatus 100 and photographing light reflected from the upper surface of the object 100 by the illumination apparatus 110, the illumination apparatus 110, and the photographing apparatus ( The controller 130 controls the 120 to move on a plane parallel to and spaced apart from the upper surface of the object 100, and an image connected to the photographing apparatus 120 and processing an image photographed by the photographing apparatus 120. It may include a processor 140.

조명장치(110)는 대상물(100)의 상면으로부터 이격되어 배치될 수 있다. 대상물(100)은 평판 검사 장치에 의해 광학적으로 검사될 수 있는 것이라면 무엇이든지 가능하다. 대상물(100)은 예를 들어, OLED 패널일 수 있다. 조명장치(110)는 상기 대상물(100)의 상면을 향해 빛을 조사할 수 있다. The lighting device 110 may be spaced apart from the top surface of the object 100. The object 100 can be anything as long as it can be optically inspected by the plate inspection apparatus. The object 100 may be, for example, an OLED panel. The lighting device 110 may irradiate light toward the upper surface of the object 100.

촬영장치(120)는 상기 대상물(100)의 상면으로부터 이격되어 배치될 수 있다. 촬영장치(120)는 상기 조명장치(110)로부터 조사되어 상기 대상물(100)의 상면에서 반사된 빛을 촬영할 수 있다. 촬영장치(120)는 예를 들어, 카메라일 수 있다.The photographing apparatus 120 may be spaced apart from an upper surface of the object 100. The photographing apparatus 120 may photograph the light reflected from the illumination device 110 and reflected from the upper surface of the object 100. The photographing apparatus 120 may be, for example, a camera.

제어부(130)는 상기 조명장치(110) 및 상기 촬영장치(120)를 움직이도록 제어할 수 있다. 상기 촬영장치(120)가 대상물(100)의 상면의 각 부분에 대해 촬영할 수 있도록 하기 위해 제어부(130)는 상기 촬영장치(120)를 이동시킬 수 있다. 또한, 상기 촬영장치(120)는 상기 조명장치(110)로부터 조사된 빛을 촬영하므로 제어부(130)는 상기 촬영장치(120)와 함께 상기 조명장치(110)도 같이 이동시킬 수 있다. 제어부(130)는 상기 촬영장치(120)가 상기 대상물(100)의 상면으로부터 반사된 빛을 균일하게 촬영하도록 하기 위해, 상기 촬영장치(120)를 상기 대상물(100)의 상면과 이격되고 평행한 평면 상에서 움직이도록 제어할 수 있다. 또한, 제어부(130)는 상기 조명장치(110) 역시 상기 평면 상에서 움직이도록 제어할 수 있다.The controller 130 may control the lighting apparatus 110 and the photographing apparatus 120 to move. The controller 130 may move the photographing apparatus 120 to allow the photographing apparatus 120 to photograph each part of the upper surface of the object 100. In addition, since the photographing apparatus 120 photographs the light emitted from the illumination apparatus 110, the controller 130 may move the illumination apparatus 110 together with the photographing apparatus 120. The controller 130 is spaced apart from and parallel to the upper surface of the object 100 so that the photographing apparatus 120 uniformly photographs the light reflected from the upper surface of the object 100. It can be controlled to move on a plane. In addition, the controller 130 may control the lighting device 110 to move on the plane as well.

영상처리부(140)는 상기 촬영장치(120)와 연결될 수 있다. 영상처리부(140)는 상기 촬영장치(120)가 촬영한 영상을 전달받아 상기 영상을 처리할 수 있다. 상기 촬영장치(120)의 종류에 따라 상기 촬영장치(120)가 촬영한 영상은 흑백 영상일 수도 있고 색채 영상일 수도 있다. The image processor 140 may be connected to the photographing apparatus 120. The image processor 140 may receive the image photographed by the photographing apparatus 120 and process the image. Depending on the type of the photographing apparatus 120, the image photographed by the photographing apparatus 120 may be a black and white image or a color image.

영상처리부(140)는 검사의 목적에 따라 상기 영상을 다양한 방법으로 처리할 수 있다. 통상적으로, 평판을 검사하는 목적은 평판의 구성이 균일한지를 검사하고, 불량이 발생한 부분이 있는지 여부를 검사하고 불량이 있다면 그 위치를 검출하기 위함이다. 이하에서는 평판 디스플레이에 빛을 조사하고 그 반사된 빛을 이용하여 얼룩이 관찰되는 부분을 검출하는 실시예를 가정하기로 한다. 즉, 상기 대상물(100)은 평판 디스플레이일 수 있다.The image processor 140 may process the image in various ways according to the purpose of the inspection. In general, the purpose of inspecting the flat plate is to check whether the flat plate configuration is uniform, to check whether there is a defective part, and to detect the location of the flat plate. In the following description, it is assumed that the flat panel display irradiates light and detects a spot where spots are observed using the reflected light. That is, the object 100 may be a flat panel display.

영상처리부(140)는 상기 대상물(100)의 상면의 특정 지점에서 반사되어 나온 빛이 정상에 해당하는지 또는 얼룩에 해당하는지를 판정하기 위해 상기 촬영장치(120)가 촬영한 영상에 대해 2치화(binarization)를 수행할 수 있다. The image processor 140 binarizes the image photographed by the photographing apparatus 120 to determine whether the light reflected from a specific point on the upper surface of the object 100 corresponds to normal or unevenness. ) Can be performed.

2치화란 각 픽셀이 서로 다른 명도 또는 서로 다른 색상을 가질 수 있는 흑백 영상 또는 컬러 영상으로부터 2치(0 또는 1)의 화상을 얻기 위한 처리를 의미한다. 각 픽셀의 수치에 대해 특정한 임계값과 비교하여 2치화할 수 있다. 2치화는 전체 영상 중에서 대상이 되는 특정 영역을 검출하기 위한 수단으로 사용될 수 있으며, 2치화된 영상이 얻어지면 이를 이용하여 여러 가지 기하학적 분석을 할 수 있다.Binarization refers to a process for obtaining a binary (0 or 1) image from a monochrome image or a color image in which each pixel may have different brightness or different colors. The numerical value of each pixel can be binarized against a specific threshold. The binarization may be used as a means for detecting a specific region of the entire image, and when the binarized image is obtained, various geometrical analyzes may be performed using the binarized image.

도 2는 본 발명의 실시예에 따라 2치화하는 방법을 설명하기 위한 컬러 히스토그램이다. 도 2의 컬러 히스토그램의 가로축은 256 회색레벨의 명암값을 나타내고, 세로축은 각 명암값을 갖는 픽셀들의 빈도수를 나타낸다. 도 2의 컬러 히스토그램은, 대상물(100)과 동일한 종류의 다른 객체의 상면의 모든 부분에 대해 반사되어 나온 빛을 촬영하고, 이를 분석하여 나온 결과일 수 있다.2 is a color histogram for explaining a binarization method according to an embodiment of the present invention. The horizontal axis of the color histogram of FIG. 2 represents a contrast value of 256 gray levels, and the vertical axis represents a frequency of pixels having each contrast value. The color histogram of FIG. 2 may be a result of photographing and reflecting light reflected on all portions of the upper surface of another object of the same kind as the object 100.

도 2의 히스토그램을 참조하면, 명암값이 40 내지 60인 부분에서 빈도수가 높게 나타나고, 명암값이 80 내지 130인 부분에서도 빈도수가 높게 나타남을 알 수 있다. 즉, 도 2에서와 같은 결과가 나온 원본 영상은 명암값이 40 내지 60의 어두운 영역과 명암값이 80 내지 130인 밝은 영역이 주를 이루고 있음을 알 수 있다. 따라서, 도 2의 T1을 경계로 하여 T1보다 작거나 같은 명암값을 갖는 픽셀은 어두운 영역이라고 할 수 있다. 또한, T2를 경계로 하여 T2보다 큰 명암값을 갖는 픽셀은 노이즈로 판정할 수 있다. 따라서 T1보다 크고 T2보다 작거나 같은 명암값을 갖는 부분은 밝은 영역이라고 할 수 있다.Referring to the histogram of FIG. 2, it can be seen that the frequency is high in the portion where the contrast value is 40 to 60, and the frequency is also high in the portion where the contrast value is 80 to 130. That is, it can be seen that the original image having the result as shown in FIG. 2 is mainly composed of a dark region having a contrast value of 40 to 60 and a bright region having a contrast value of 80 to 130. Therefore, a pixel having an intensity value less than or equal to T1 with respect to T1 of FIG. 2 may be referred to as a dark area. In addition, pixels having a contrast value larger than T2 on the basis of T2 can be determined as noise. Therefore, a portion having a contrast value larger than T1 and smaller than or equal to T2 may be referred to as a bright area.

상기 원본 영상은 대상물(100)과 동일한 종류의 객체의 상면의 모든 부분에 대해 반사되어 나온 빛을 촬영한 것이므로, 상기 원본 영상은 2차원의 영상일 수 있다. 상기 영상에서 임의의 픽셀의 좌표를 (x, y)라고 하기로 한다. 또한, 상기 (x, y)에서의 픽셀의 명암값을 f(x, y)라고 하기로 한다.Since the original image photographs the light reflected from all parts of the upper surface of the object of the same type as the object 100, the original image may be a two-dimensional image. Coordinates of arbitrary pixels in the image will be referred to as (x, y). In addition, the contrast value of the pixel at (x, y) will be referred to as f (x, y).

본 발명의 실시예에서는 영상의 각 픽셀에 대해 2치화를 하여 T1보다 크고 T2보다 작거나 같은 명암값을 갖는 부분은 밝은 영역은 1의 2치화 결과를 갖고, T1보다 작거나 같은 명암값을 갖거나 T2보다 큰 명암값을 갖는 픽셀은 0의 2치화 결과를 갖는다고 정의할 수 있다. 따라서 각 픽셀에 대해 2치화를 하기 위해 다음과 같은 함수를 사용할 수 있다. (x, y)에서의 픽셀에 대한 2치화 결과를 g(x, y)라고 하기로 한다.In an exemplary embodiment of the present invention, a portion having a contrast value larger than T1 and less than or equal to T2 by binarizing each pixel of the image has a binarization result of 1, and has a contrast value less than or equal to T1. Or a pixel having a contrast value greater than T2 may be defined as having a binarization result of zero. Therefore, to binarize each pixel, we can use the following function: The binarization result for the pixel at (x, y) will be referred to as g (x, y).

Figure 112019066971698-pat00001
Figure 112019066971698-pat00001

만약 한 픽셀에 대해 2치화 연산을 하는 데에 소요되는 시간이 Tp라고 하면, (W개의 픽셀) * (H개의 픽셀)을 갖는 2차원 영상의 모든 픽셀에 대해 2치화 연산을 하는 데에 소요되는 시간(T)은 다음과 같이 구할 수 있다.If the time required to perform the binarization operation on one pixel is Tp, it is necessary to perform the binarization operation on all the pixels of the 2D image having (W pixels) * (H pixels). The time T can be obtained as follows.

Figure 112019066971698-pat00002
Figure 112019066971698-pat00002

따라서, 만약 대상물(100)의 상면의 모든 부분에서 반사되는 빛을 촬영하고 촬영된 영상의 모든 픽셀에 대해 2치화 연산을 하는 경우, 2치화에 소요되는 시간은 대상물(100)의 상면의 크기 또는 촬영된 영상의 크기에 비례하게 된다. 따라서, 만약 촬영된 영상이 고해상도를 갖는 경우 2치화에 많은 시간이 소요되고 따라서 2치화 결과를 이용한 영상처리에 많은 시간이 소요될 수 있다.Therefore, if the light reflected from all parts of the upper surface of the object 100 is photographed and the binarization operation is performed on all the pixels of the photographed image, the time required for the binarization is the size of the upper surface of the object 100 or the like. It is proportional to the size of the captured image. Therefore, if the photographed image has a high resolution, it takes a lot of time for binarization, and therefore, a lot of time may be required for image processing using the binarization result.

본 발명의 실시예에 따른 평판 검사 방법에서는 상기와 같은 문제점을 개선하여 평판 검사시 검사 시간을 단축시킬 수 있다. 또한, 평판 검사시에 전체 면적 대비 얼룩의 분포가 적을 경우 종래에 비해 검사 시간을 단축시키면서도 유사한 결과를 얻을 수 있다.In the flat plate inspection method according to an embodiment of the present invention can improve the problems as described above can shorten the inspection time during the flat plate inspection. In addition, when the distribution of spots relative to the total area is small at the time of flat plate inspection, similar results can be obtained while reducing the inspection time as compared with the related art.

도 3은 본 발명의 실시예에 따라 평판을 검사하는 과정을 나타내는 순서도이다. 또한, 도 4는 본 발명의 실시예에 따른 평판 검사 방법을 설명하기 위한 참고 도면이다.3 is a flowchart illustrating a process of inspecting a flat plate according to an embodiment of the present invention. 4 is a reference view for explaining a flat plate inspection method according to an embodiment of the present invention.

도 3을 참조하면, 본 발명의 실시예에 따른 평판 검사 방법은 먼저, 전체 영상 중에서 샘플링할 픽셀들의 간격을 설정하는 단계(S1)를 수행할 수 있다. 샘플링할 픽셀들의 간격은 검사의 목적에 따라서 다양한 방법으로 결정될 수 있다. 상기 간격은 예를 들어, 얼룩에 해당하는 밝은 영역의 예상 크기의 1/8로 결정될 수 있다. 결정된 간격에 따라 샘플링할 픽셀들의 간격을 설정할 수 있고, 상기 설정된 간격에 따라 이동하면서 픽셀들을 샘플링할 수 있다. 또한, 2차원 영상의 경우 X축 방향으로의 샘플링 간격 및 Y축 방향으로의 샘플링 간격을 독립적으로 설정할 수 있으며, 동일한 값으로 설정할 수도 있다. 이하에서는 X축 방향으로의 샘플링 간격 및 Y축 방향으로의 샘플링 간격이 동일한 실시예에 대하여 설명하기로 하고, 상기 샘플링 간격을 i라고 하기로 한다.Referring to FIG. 3, in the planar inspection method according to an exemplary embodiment of the present invention, first, an operation (S1) of setting an interval of pixels to be sampled from an entire image may be performed. The spacing of the pixels to be sampled can be determined in various ways depending on the purpose of the inspection. The spacing can be determined, for example, by one eighth of the expected size of the bright area corresponding to the blob. An interval of pixels to be sampled may be set according to the determined interval, and pixels may be sampled while moving according to the set interval. In addition, in the case of a two-dimensional image, the sampling interval in the X-axis direction and the sampling interval in the Y-axis direction may be independently set, or may be set to the same value. Hereinafter, an embodiment in which the sampling interval in the X-axis direction and the sampling interval in the Y-axis direction are the same will be described, and the sampling interval will be referred to as i.

다음으로, 상기 간격에 따라 상기 영상에서 다음 샘플픽셀의 위치를 구하고 현재 위치를 상기 다음 샘플픽셀의 위치로 이동시키는 이동단계(S100)를 수행할 수 있다. 맨 처음 샘플링을 시작하는 경우에는 좌표(0, 0)에서부터 샘플링을 시작할 수 있다. 현재 샘플픽셀의 좌표가 (a, b)라고 하고, 다음 샘플픽셀의 좌표를 (c, d)라고 하기로 한다. c와 d의 값은 실시예에 따라 다양한 방법으로 구할 수 있다. 본 실시예에서는, 샘플픽셀들의 간격에 따라 순차적으로 샘플링할 수 있다. 따라서 다음 샘플픽셀의 좌표는 (a + i, b) 또는 (a, b + i)일 수 있다. 이하에서는 영상의 X축을 따라 먼저 샘플링한 다음, Y축을 따라 i만큼 이동한 뒤 다시 X축을 따라 샘플링하고, 상기 과정을 반복하는 실시예에 대해 설명하기로 한다.Next, a moving step (S100) of obtaining a position of the next sample pixel in the image according to the interval and moving the current position to the position of the next sample pixel may be performed. If you start sampling for the first time, you can start sampling from the coordinates (0, 0). Let the coordinates of the current sample pixel be (a, b) and the coordinates of the next sample pixel be (c, d). The values of c and d can be obtained in various ways depending on the embodiment. In this embodiment, sampling may be performed sequentially according to the interval of the sample pixels. Therefore, the coordinate of the next sample pixel may be (a + i, b) or (a, b + i). Hereinafter, an embodiment in which an image is first sampled along the X axis, then moved along the Y axis by i and then again along the X axis, will be described.

따라서, 이전에 (a, b)의 픽셀에 대해 샘플링을 하였다면 다음 샘플픽셀의 좌표의 후보는 (a + i, b)일 수 있다. 만약 (a + i, b)에 해당하는 위치가 영상의 끝부분을 지난 경우에는, 다음 샘플픽셀의 좌표의 후보는 (0, b + i)일 수 있다. 만약 (0, b + i)에 해당하는 위치가 영상의 끝부분을 지난 경우에는, 더이상 샘플픽셀이 없는 것으로 판단할 수 있고, 샘플링을 종료할 수 있다.Therefore, if the previous sample of (a, b) is sampled, the candidate of the coordinate of the next sample pixel may be (a + i, b). If the position corresponding to (a + i, b) is past the end of the image, the candidate of the coordinate of the next sample pixel may be (0, b + i). If the position corresponding to (0, b + i) passes the end of the image, it may be determined that there are no more sample pixels, and the sampling may be terminated.

다음으로, 현재 위치의 픽셀에 대하여 2치화를 수행하는 2치화단계(S110)를 수행할 수 있다. 2치화 연산 방법은 상술한 바와 같다.Next, a binarization step S110 of performing binarization on the pixel at the current position may be performed. The binarization calculation method is as described above.

다음으로, 상기 2치화 결과로 나온 값을 비교하는 비교단계(S120)를 수행할 수 있다. 만약 상기 2치화 결과로 나온 값이 1인 경우, 현재 위치를 중심으로 하여 영상에서 (X축에 대한 샘플링 간격) * (Y축에 대한 샘플링 간격)의 범위 내에 존재하는 모든 픽셀에 대해 2치화를 수행하는 범위2치화단계(S130)를 수행할 수 있다. 본 실시예에서는 X축에 대한 샘플링 간격 및 Y축에 대한 샘플링 간격이 모두 i이므로, 현재 위치가 (a, b)인 경우 (a - i / 2, b - i / 2), (a + i / 2, b - i / 2), (a - i / 2, b + i / 2), (a + i / 2, b + i / 2)를 각 꼭지점으로 한 사각형 영역 내에 존재하는 모든 픽셀에 대해 2치화를 수행할 수 있다. Next, a comparison step (S120) of comparing the values resulting from the binarization may be performed. If the result of the binarization is 1, the binarization is performed for all pixels existing in the range of (sampling interval for the X axis) * (sampling interval for the Y axis) in the image based on the current position. A range binarization step (S130) may be performed. In this embodiment, since the sampling interval on the X axis and the sampling interval on the Y axis are both i, when the current position is (a, b) (a-i / 2, b-i / 2), (a + i / 2, b-i / 2), (a-i / 2, b + i / 2), (a + i / 2, b + i / 2) for every pixel that exists within a rectangular area with each vertex Binarization can be performed for

도 4에 나타난 실시예를 참조하면, 밝은 영역 내의 샘플픽셀을 샘플링하였다. 상기 샘플픽셀에 대해 2치화 연산을 수행하면 결과로서 1이 나올 수 있다. 도 4에 나타난 실시예에서는 X축에 대한 샘플링 간격(Pw) 및 Y축에 대한 샘플링 간격(Ph)이 모두 11이므로, 상기 샘플픽셀을 중심으로 하여 11 * 11 범위 내에 존재하는 모든 픽셀에 대하여 2치화 연산을 수행할 수 있으며 그 결과는 도 4의 오른쪽 아래 부분에 도시되어 있다.Referring to the embodiment shown in FIG. 4, sample pixels in bright areas were sampled. When the binarization operation is performed on the sample pixel, 1 may be obtained as a result. In the embodiment shown in FIG. 4, since the sampling interval Pw on the X-axis and the sampling interval Ph on the Y-axis are both 11, 2 for all pixels existing within the range of 11 * 11 around the sample pixel. A digitization operation can be performed and the result is shown in the lower right part of FIG.

만약 현재 위치의 픽셀에 대한 2치화 결과로 나온 값이 0인 경우에는, 상기 과정을 수행하지 않고 바로 다음 단계를 수행할 수 있다.If the result of the binarization of the pixel at the current position is 0, the next step may be performed without performing the above process.

다음으로, 현재 위치의 픽셀이 마지막 샘플픽셀인지 판단하고, 마지막 픽셀인 경우 종료하고, 마지막 픽셀이 아닌 경우 상기 이동단계(S100)부터 상기 범위2치화단계(S130)까지 반복하는 반복단계(S140)를 수행할 수 있다. 현재 위치의 픽셀이 마지막 샘플픽셀인지 여부는 상기 이동단계(S100)에서와 비슷한 방법을 이용하여 판단할 수 있다.Next, it is determined whether the pixel of the current position is the last sample pixel, and if it is the last pixel, the step is terminated, and if it is not the last pixel, the repeating step (S140) to repeat from the moving step (S100) to the range binarization step (S130) Can be performed. Whether the pixel at the current position is the last sample pixel may be determined using a method similar to that in the moving step S100.

상기와 같이 본 발명의 실시예에 따른 평판 검사 방법에 따라 (W개의 픽셀) * (H개의 픽셀)을 갖는 2차원 영상에 대해 2치화 연산을 수행하는 경우 소요되는 시간(T')은 아래 식에 의해 구할 수 있다. 아래 식에서, Pw는 X축에 대한 샘플링 간격이고, Ph는 Y축에 대한 샘플링 간격을 나타낸다. 또한, C는 샘플링된 모든 픽셀 중에서 g(x, y)값이 1인 픽셀의 개수를 나타낸다.As described above, the time required to perform a binarization operation on a two-dimensional image having (W pixels) * (H pixels) according to the flat plate inspection method according to an embodiment of the present invention is represented by the following equation. Can be obtained by In the equation below, Pw is the sampling interval for the X axis, and Ph is the sampling interval for the Y axis. In addition, C represents the number of pixels having a g (x, y) value of 1 among all the pixels sampled.

Figure 112019066971698-pat00003
Figure 112019066971698-pat00003

여기에서, C는 샘플링된 모든 픽셀 중에서 g(x, y)값이 1인 픽셀의 개수이므로, 다음과 같은 부등식이 성립할 수 있다.Here, since C is the number of pixels having a g (x, y) value of 1 among all the sampled pixels, the following inequality can be established.

Figure 112019066971698-pat00004
Figure 112019066971698-pat00004

따라서, 본 발명의 실시예에 따른 평판 검사 방법에 따라 소요되는 시간(T')은 종래와 같이 모든 픽셀에 대해 2치화 연산을 하는 데에 소요되는 시간(T)보다 작거나 같음을 알 수 있다.Accordingly, it can be seen that the time T ′ required by the flat plate inspection method according to the embodiment of the present invention is less than or equal to the time T required to perform the binarization operation on all pixels as in the prior art. .

따라서, 본 발명의 실시예에 따른 평판 검사 방법은 평판 검사시 검사 시간을 단축시킬 수 있다. 특히, 전체 영상의 크기에 비해 얼룩의 분포가 적은 경우 C가 더욱 작아지게 되어 검사 시간을 더욱 단축시킬 수 있다.Therefore, the flat plate inspection method according to the embodiment of the present invention can shorten the inspection time during the flat plate inspection. In particular, when the distribution of spots is smaller than the size of the entire image, C becomes smaller and thus the inspection time may be further shortened.

도 5는 종래의 방법에 따른 2치화 결과와 본 발명의 실시예에 따른 2치화 결과를 비교하기 위한 참고 도면이다. 도 5의 왼쪽 부분은 종래의 방법에 따라, 촬영된 영상의 모든 픽셀에 대해 2치화 연산을 수행한 결과를 도시한다. 또한, 도 5의 오른쪽 부분은 본 발명의 실시예에 따른 평판 검사 방법에 따라 2치화 연산을 수행한 결과를 도시한다.5 is a reference diagram for comparing a binarization result according to a conventional method with a binarization result according to an embodiment of the present invention. The left part of FIG. 5 illustrates a result of performing a binarization operation on all pixels of the captured image according to a conventional method. 5 shows a result of performing a binarization operation according to the flat plate inspection method according to an exemplary embodiment of the present invention.

도 5에 나타난 각 결과를 비교하면 알 수 있듯이, 본 발명의 실시예에 따른 평판 검사 방법에 따라 2치화 연산을 수행하는 경우, 종래에 비해 검사 시간을 단축시키면서도 유사한 결과를 얻을 수 있다.As can be seen by comparing the results shown in Figure 5, when performing the binarization operation according to the plate inspection method according to an embodiment of the present invention, similar results can be obtained while reducing the inspection time compared to the prior art.

이상에서 본 발명의 실시예를 중심으로 설명하였으나 이는 단지 예시일 뿐 본 발명을 한정하는 것이 아니며, 본 발명이 속하는 분야의 통상의 지식을 가진 자라면 본 발명의 실시예의 본질적인 특성을 벗어나지 않는 범위에서 이상에 예시되지 않은 여러 가지의 변형과 응용이 가능함을 알 수 있을 것이다. 예를 들어, 본 발명의 실시예에 구체적으로 나타난 각 구성 요소는 변형하여 실시할 수 있다. 그리고 이러한 변형과 응용에 관계된 차이점들은 첨부된 청구 범위에서 규정하는 본 발명의 범위에 포함되는 것으로 해석되어야 할 것이다.Although described above with reference to the embodiments of the present invention, which is merely an example and not limiting the present invention, those skilled in the art to which the present invention pertains without departing from the essential characteristics of the embodiments of the present invention. It will be appreciated that various modifications and applications not illustrated above are possible. For example, each component specifically shown in the embodiment of the present invention may be modified. And differences relating to these modifications and applications will have to be construed as being included in the scope of the invention defined in the appended claims.

100: 대상물
110: 조명장치
120: 촬영장치
130: 제어부
140: 영상처리부
100: object
110: lighting device
120: recording device
130: control unit
140: image processing unit

Claims (10)

대상물의 상면으로부터 이격되어 배치되고 상기 대상물의 상면을 향해 빛을 조사하는 조명장치;
상기 대상물의 상면으로부터 이격되어 배치되고 상기 조명장치로부터 조사되어 상기 대상물의 상면에서 반사된 빛을 이용하여 영상을 촬영하는 촬영장치;
상기 조명장치 및 상기 촬영장치를 상기 대상물의 상면과 이격되고 평행한 평면 상에서 움직이도록 제어하는 제어부; 및
상기 촬영장치와 연결되고 상기 촬영된 영상을 처리하는 영상처리부를 포함하고,
상기 영상처리부는 상기 촬영된 영상에 포함된 픽셀 중에서 일부를 샘플링하고, 상기 샘플링된 픽셀에 대해 2치화 연산을 수행하되,
상기 촬영된 영상은 2차원 영상이고, 상기 영상처리부는 X축 방향으로의 소정의 샘플링 간격 및 Y축 방향으로의 소정의 샘플링 간격에 따라 상기 촬영된 영상에 포함된 픽셀 중에서 일부를 샘플링하고,
상기 2치화 연산은 임의의 픽셀의 명암값이 제1임계치보다 크고 제2임계치보다 작거나 같은 경우 상기 임의의 픽셀을 1로 나타내고, 상기 명암값이 상기 제1임계치보다 작거나 같거나 상기 제2임계치보다 큰 경우 상기 임의의 픽셀을 0으로 나타내는 연산이고,
상기 제1임계치와 상기 제2임계치는 하나의 픽셀에 대해 상기 2치화 연산을 하는데 소요되는 시간과 상기 촬영된 영상에 포함된 픽셀의 개수를 곱한 값에 의해 정의되고,
상기 영상처리부는 샘플링된 임의의 좌표 (a, b)의 픽셀에 대해 상기 2치화 연산을 수행한 결과가 1인 경우, 상기 촬영된 영상에서 상기 좌표 (a, b)를 중심으로 하여 (상기 X축 방향으로의 샘플링 간격) * (상기 Y축 방향으로의 샘플링 간격)의 범위 내에 존재하는 모든 픽셀에 대해 상기 2치화 연산을 수행하는 평판 검사 장치.
An illumination device disposed spaced apart from an upper surface of the object and irradiating light toward the upper surface of the object;
A photographing apparatus arranged to be spaced apart from an upper surface of the object and photographing an image by using light reflected from the upper surface of the object to be irradiated from the illumination device;
A controller for controlling the illumination device and the photographing device to move on a plane spaced apart from and parallel to an upper surface of the object; And
An image processor connected to the photographing apparatus and processing the photographed image;
The image processor samples a portion of the pixels included in the captured image and performs a binarization operation on the sampled pixels.
The photographed image is a two-dimensional image, and the image processor samples a portion of pixels included in the photographed image at a predetermined sampling interval in the X-axis direction and a predetermined sampling interval in the Y-axis direction,
The binarization operation indicates the arbitrary pixel as 1 when the intensity value of any pixel is greater than the first threshold value and less than or equal to the second threshold value, and the contrast value is less than or equal to or greater than the first threshold value. Is greater than a threshold, the operation represents the arbitrary pixel as zero,
The first threshold value and the second threshold value are defined by a value obtained by multiplying the time required to perform the binarization operation on one pixel by the number of pixels included in the captured image.
If the result of performing the binarization operation on the pixels of the arbitrary coordinates (a, b) sampled is 1, the image processor is configured to be centered on the coordinates (a, b) in the captured image (the X And a binarization operation for all pixels existing within a range of a sampling interval in the axial direction) * (the sampling interval in the Y-axis direction).
삭제delete 제1항에 있어서,
상기 X축 방향으로의 샘플링 간격 및 상기 Y축 방향으로의 샘플링 간격은 동일한 평판 검사 장치.
The method of claim 1,
And a sampling interval in the X-axis direction and a sampling interval in the Y-axis direction are the same.
제1항에 있어서,
상기 영상처리부는 샘플링된 임의의 좌표 (a, b)의 픽셀에 대해 상기 2치화 연산을 수행한 다음에, 만약 좌표 (a + (상기 X축 방향으로의 샘플링 간격), b)가 상기 촬영된 영상의 영역을 벗어나지 않으면 상기 좌표 (a + (상기 X축 방향으로의 샘플링 간격), b)의 픽셀에 대해 상기 2치화 연산을 수행하고, 만약 상기 좌표 (a + (상기 X축 방향으로의 샘플링 간격), b)가 상기 촬영된 영상의 영역을 벗어나고 좌표 (0, b + (상기 Y축 방향으로의 샘플링 간격))가 상기 촬영된 영상의 영역을 벗어나지 않으면 상기 좌표 (0, b + (상기 Y축 방향으로의 샘플링 간격))에 대해 상기 2치화 연산을 수행하고, 만약 상기 좌표 (a + (상기 X축 방향으로의 샘플링 간격), b) 및 상기 좌표 (0, b + (상기 Y축 방향으로의 샘플링 간격))가 상기 촬영된 영상의 영역을 벗어나면 상기 촬영된 영상의 처리를 종료하는 평판 검사 장치.
The method of claim 1,
The image processing unit performs the binarization operation on the pixels of arbitrary coordinates (a, b) sampled, and then if coordinates (a + (sampling interval in the X-axis direction), b) are taken If not out of the area of the image, the binarization operation is performed on the pixel of the coordinate (a + (sampling interval in the X-axis direction), b), and if the coordinate (a + (sampling in the X-axis direction) Interval), b) is outside the area of the captured image and the coordinates (0, b + (the sampling interval in the Y-axis direction)) do not leave the area of the captured image. The binarization operation for the Y-axis direction), and if the coordinates (a + (sampling interval in the X-axis direction), b) and the coordinates (0, b + (the Y-axis) Sampling interval in the direction) is outside the area of the photographed image. Flatbed inspection device to shut down.
삭제delete 대상물의 상면으로부터 이격되어 배치되고 상기 대상물의 상면을 향해 빛을 조사하는 조명장치;
상기 대상물의 상면으로부터 이격되어 배치되고 상기 조명장치로부터 조사되어 상기 대상물의 상면에서 반사된 빛을 이용하여 영상을 촬영하는 촬영장치;
상기 조명장치 및 상기 촬영장치를 상기 대상물의 상면과 이격되고 평행한 평면 상에서 움직이도록 제어하는 제어부; 및
상기 촬영장치와 연결되고 상기 촬영된 영상을 처리하는 영상처리부를 포함하고,
상기 영상처리부는 상기 촬영된 영상에 포함된 픽셀 중에서 일부를 샘플링하고, 상기 샘플링된 픽셀에 대해 2치화 연산을 수행하되,
상기 촬영된 영상은 2차원 영상이고, 상기 영상처리부는 X축 방향으로의 소정의 샘플링 간격 및 Y축 방향으로의 소정의 샘플링 간격에 따라 상기 촬영된 영상에 포함된 픽셀 중에서 일부를 샘플링하고,
상기 2치화 연산은 임의의 픽셀의 명암값이 제1임계치보다 크고 제2임계치보다 작거나 같은 경우 상기 임의의 픽셀을 1로 나타내고, 상기 명암값이 상기 제1임계치보다 작거나 같거나 상기 제2임계치보다 큰 경우 상기 임의의 픽셀을 0으로 나타내는 연산이고,
상기 제1임계치와 상기 제2임계치는 하나의 픽셀에 대해 상기 2치화 연산을 하는데 소요되는 시간과 상기 촬영된 영상에 포함된 픽셀의 개수를 곱한 값에 의해 정의되고,
상기 영상처리부는 샘플링된 임의의 좌표 (a, b)의 픽셀에 대해 상기 2치화 연산을 수행한 결과가 1인 경우, 상기 촬영된 영상에서 좌표 (a - (상기 X축 방향으로의 샘플링 간격) / 2, b - (상기 Y축 방향으로의 샘플링 간격) / 2), 좌표 (a + (상기 X축 방향으로의 샘플링 간격) / 2, b - (상기 Y축 방향으로의 샘플링 간격) / 2), 좌표 (a - (상기 X축 방향으로의 샘플링 간격) / 2, b + (상기 Y축 방향으로의 샘플링 간격) / 2) 및 좌표 (a + (상기 X축 방향으로의 샘플링 간격) / 2, b + (상기 Y축 방향으로의 샘플링 간격) / 2)를 각 꼭지점으로 한 사각형 영역 내에 존재하는 모든 픽셀에 대해 상기 2치화 연산을 수행하는 평판 검사 장치.
An illumination device disposed spaced apart from an upper surface of the object and irradiating light toward the upper surface of the object;
A photographing apparatus arranged to be spaced apart from an upper surface of the object and photographing an image by using light reflected from the upper surface of the object to be irradiated from the illumination device;
A controller for controlling the illumination device and the photographing device to move on a plane spaced apart from and parallel to an upper surface of the object; And
An image processor connected to the photographing apparatus and processing the photographed image;
The image processor samples a portion of the pixels included in the captured image and performs a binarization operation on the sampled pixels.
The photographed image is a two-dimensional image, and the image processor samples a portion of pixels included in the photographed image at a predetermined sampling interval in the X-axis direction and a predetermined sampling interval in the Y-axis direction,
The binarization operation represents the arbitrary pixel as 1 when the intensity value of any pixel is greater than the first threshold value and less than or equal to the second threshold value, and the contrast value is less than or equal to the first threshold value or the second value. Is greater than a threshold, the operation represents the arbitrary pixel as zero,
The first threshold value and the second threshold value are defined by a value obtained by multiplying the time required to perform the binarization operation on one pixel by the number of pixels included in the captured image.
If the result of performing the binarization operation on the pixel of the arbitrary coordinates (a, b) sampled is 1, the image processing unit coordinates (a-(sampling interval in the X-axis direction) in the captured image). / 2, b-(sampling interval in the Y-axis direction) / 2), coordinates (a + (sampling interval in the X-axis direction) / 2, b-(sampling interval in the Y-axis direction) / 2 ), Coordinates (a-(sampling interval in the X-axis direction) / 2, b + (sampling interval in the Y-axis direction) / 2) and coordinates (a + (sampling interval in the X-axis direction) / And 2) b + (sampling interval in the Y-axis direction) / 2) for the binarization operation for all pixels existing in the rectangular region with each vertex.
삭제delete 삭제delete 삭제delete 제1항에 있어서,
상기 촬영된 영상은 흑백 영상 또는 색체 영상인 평판 검사 장치.
The method of claim 1,
And the photographed image is a black and white image or a color image.
KR1020190078589A 2019-07-01 2019-07-01 Method and apparatus for inspecting flat panel display KR102073676B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190078589A KR102073676B1 (en) 2019-07-01 2019-07-01 Method and apparatus for inspecting flat panel display

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190078589A KR102073676B1 (en) 2019-07-01 2019-07-01 Method and apparatus for inspecting flat panel display

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020120079490A Division KR101996917B1 (en) 2012-07-20 2012-07-20 Method and apparatus for inspecting flat panel display

Publications (2)

Publication Number Publication Date
KR20190082703A KR20190082703A (en) 2019-07-10
KR102073676B1 true KR102073676B1 (en) 2020-03-03

Family

ID=67254781

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190078589A KR102073676B1 (en) 2019-07-01 2019-07-01 Method and apparatus for inspecting flat panel display

Country Status (1)

Country Link
KR (1) KR102073676B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050105152A1 (en) * 2003-11-15 2005-05-19 Daewoo Electronics Corporation Apparatus and method for processing holographic data reproduced from a holographic medium
JP2010151655A (en) * 2008-12-25 2010-07-08 Hitachi High-Technologies Corp Defect inspection method and apparatus therefore

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI324326B (en) * 2006-11-03 2010-05-01 Univ Nat Taipei Technology A mura defect detection algorithm for flat panel displays

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050105152A1 (en) * 2003-11-15 2005-05-19 Daewoo Electronics Corporation Apparatus and method for processing holographic data reproduced from a holographic medium
JP2010151655A (en) * 2008-12-25 2010-07-08 Hitachi High-Technologies Corp Defect inspection method and apparatus therefore

Also Published As

Publication number Publication date
KR20190082703A (en) 2019-07-10

Similar Documents

Publication Publication Date Title
JP2008170325A (en) Stain flaw detection method and stain flaw detection device
JP6265253B1 (en) Inspection apparatus and inspection method
TWI495867B (en) Application of repeated exposure to multiple exposure image blending detection method
KR101996917B1 (en) Method and apparatus for inspecting flat panel display
JP2006292412A (en) Surface inspection system, surface inspection method and substrate manufacturing method
JP2009229197A (en) Linear defect detecting method and device
KR20160087197A (en) Defect detecting apparatus and method for thereof
JP2005345290A (en) Streak-like flaw detecting method and streak-like flaw detector
CN105928952B (en) AOI control system and its control method
KR102073676B1 (en) Method and apparatus for inspecting flat panel display
JP2009097977A (en) Visual inspection device
JP2012237585A (en) Defect inspection method
KR102632169B1 (en) Apparatus and method for inspecting glass substrate
KR101217173B1 (en) Apparatus for inspecting substrate and method of inspecting substrate
JPWO2020170389A1 (en) Foreign matter inspection device and foreign matter inspection method
KR101198406B1 (en) Pattern inspection device
KR101362171B1 (en) Apparatus and method of testing display device
KR20140082335A (en) Method and apparatus of inspecting mura of flat display
JP2004117290A (en) Periodic pattern inspection method and apparatus
JP4563183B2 (en) Inspection method and apparatus for streaky unevenness defect
KR100943242B1 (en) Method and apparatus for inspecting display panel
JP2010008066A (en) Va (vertical alignment) pattern deficiency inspection method and inspection device
KR100249599B1 (en) Apparatus for inspecting optical uniformity and method therefor
JPH085573A (en) Method and apparatus for inspecting work surface
KR102284293B1 (en) Apparatus and Method for inspecting defect of object including opacity area

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant