KR102613682B1 - Moire detecting method for inspecting defect - Google Patents

Moire detecting method for inspecting defect Download PDF

Info

Publication number
KR102613682B1
KR102613682B1 KR1020210095689A KR20210095689A KR102613682B1 KR 102613682 B1 KR102613682 B1 KR 102613682B1 KR 1020210095689 A KR1020210095689 A KR 1020210095689A KR 20210095689 A KR20210095689 A KR 20210095689A KR 102613682 B1 KR102613682 B1 KR 102613682B1
Authority
KR
South Korea
Prior art keywords
moiré
region
image
candidate group
interest
Prior art date
Application number
KR1020210095689A
Other languages
Korean (ko)
Other versions
KR20230014401A (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 KR1020210095689A priority Critical patent/KR102613682B1/en
Publication of KR20230014401A publication Critical patent/KR20230014401A/en
Application granted granted Critical
Publication of KR102613682B1 publication Critical patent/KR102613682B1/en

Links

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/94Investigating contamination, e.g. dust
    • 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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/007Dynamic range modification
    • G06T5/90
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]

Abstract

이물 검사를 위한 모아레 검출 방법 및 장치가 개시된다. 본 발명의 일 측면에 따르면, 카메라 모듈의 이물 검사를 위한 모아레(moire) 검출 장치로서, 상기 카메라 모듈을 이용하여 촬영한 입력 이미지를 획득하는 이미지 획득부; 상기 입력 이미지에 대해 1차 이물 검사를 통해 실제 이물 영역과 모아레 영역을 포함하는 모아레 후보군을 강조 처리하는 후보군 강조부; 및 강조 처리된 상기 모아레 후보군을 관심영역으로 선정하고, 상기 관심영역에 대해 색감도(sensitivity) 분석을 통해 모아레 특성을 나타내는 모아레 영역을 판별하는 모아레 판별부를 포함하는 이물 검사를 위한 모아레 검출 장치가 제공된다. A moiré detection method and device for foreign matter inspection are disclosed. According to one aspect of the present invention, there is a moire detection device for inspecting foreign matter in a camera module, comprising: an image acquisition unit that acquires an input image captured using the camera module; a candidate group highlighting unit for highlighting a moiré candidate group including an actual foreign material area and a moiré area through primary foreign matter inspection for the input image; and a moiré detection unit for selecting the highlighted moiré candidate group as a region of interest and determining a moiré region exhibiting moiré characteristics through color sensitivity analysis for the region of interest. do.

Description

이물 검사를 위한 모아레 검출 방법 및 장치{Moire detecting method for inspecting defect}Moire detection method and device for inspecting foreign substances {Moire detecting method for inspecting defect}

본 발명은 디스플레이, 카메라 모듈 등의 제조 공정 중 이물 검사를 위한 모아레 검출 방법 및 장치에 관한 것이다. The present invention relates to a moiré detection method and device for inspecting foreign substances during the manufacturing process of displays, camera modules, etc.

최근 전자기기의 수요가 급증하면서 카메라, 디스플레이 등의 장비에 대한 공급량이 증가하고 있다. Recently, as the demand for electronic devices has rapidly increased, the supply of equipment such as cameras and displays is increasing.

신뢰성 있는 제품을 제공하기 위해 제조 공정 중에 이물 흡착 및 렌즈 보호를 위해 보호테이프를 부착하여 사용하고 있다. 보호테이프는 투명한 재질을 사용하지만, 테이프의 단가, 업체의 상황 등에 따라 모아레(Moire) 현상을 야기할 수 있다. In order to provide reliable products, we use protective tapes to absorb foreign substances and protect the lenses during the manufacturing process. Although protective tape is made of a transparent material, it can cause moiré phenomenon depending on the unit price of the tape, the company's situation, etc.

이 경우 제품에 대한 검사 공정에서 이물과 유사한 불량이 출력되면서 신뢰성 있는 검사 데이터를 획득할 수 없는 문제점이 있다. In this case, there is a problem in that reliable inspection data cannot be obtained as defects similar to foreign substances are output during the product inspection process.

보호테이프를 사용해야 하는 상황에서 이물에 대한 정상적인 검출이 불가한 경우 생산업체의 출하량에 타격을 입으며, 이로 인한 기준 변경 시 품질을 저하시키는 원인이 된다. If normal detection of foreign substances is not possible in a situation where protective tape must be used, the shipment volume of the manufacturer is affected, and this causes quality to deteriorate when standards are changed.

한국공개특허 제10-2005-0117424호 (2005.12.14. 공개) - 디지털 카메라 모듈의 이물질 검출 장치 및 방법Korean Patent Publication No. 10-2005-0117424 (published on December 14, 2005) - Apparatus and method for detecting foreign substances in a digital camera module

본 발명은 이물과 모아레 현상을 구분하여 보호테이프로 인해 야기되는 모아레 현상을 검출하고 배제시킴으로써 카메라와 같은 생산제품에 대한 이물의 정상적인 검출이 가능하게 하여 검사의 신뢰성을 확보할 수 있는 이물 검사를 위한 모아레 검출 방법 및 장치를 제공하기 위한 것이다. The present invention distinguishes between foreign matter and moiré phenomenon, detects and excludes the moiré phenomenon caused by protective tape, and enables normal detection of foreign matter in manufactured products such as cameras, thereby securing the reliability of the inspection. The purpose is to provide a moiré detection method and device.

본 발명의 이외의 목적들은 하기의 설명을 통해 쉽게 이해될 수 있을 것이다.Other objects of the present invention may be easily understood through the following description.

본 발명의 일 측면에 따르면, 카메라 모듈의 이물 검사를 위한 모아레(moire) 검출 장치로서, 상기 카메라 모듈을 이용하여 촬영한 입력 이미지를 획득하는 이미지 획득부; 상기 입력 이미지에 대해 1차 이물 검사를 통해 실제 이물 영역과 모아레 영역을 포함하는 모아레 후보군을 강조 처리하는 후보군 강조부; 및 강조 처리된 상기 모아레 후보군을 관심영역으로 선정하고, 상기 관심영역에 대해 색감도(sensitivity) 분석을 통해 모아레 특성을 나타내는 모아레 영역을 판별하는 모아레 판별부를 포함하는 이물 검사를 위한 모아레 검출 장치가 제공된다. According to one aspect of the present invention, there is a moire detection device for inspecting foreign matter in a camera module, comprising: an image acquisition unit that acquires an input image captured using the camera module; a candidate group highlighting unit for highlighting a moiré candidate group including an actual foreign material area and a moiré area through primary foreign matter inspection for the input image; and a moiré detection unit for selecting the highlighted moiré candidate group as a region of interest and determining a moiré region exhibiting moiré characteristics through color sensitivity analysis for the region of interest. do.

상기 후보군 강조부는, 상기 입력 이미지에 대해 소정의 전처리를 수행하여 휘도값을 가지는 제1 이미지로 변환하는 이미지 전처리부와; 상기 제1 이미지에 대해 컨트라스트 스트레칭 및 블러 처리를 수행하여 컨트라스트 이미지를 생성하는 컨트라스트 이미지 생성부와; 상기 컨트라스트 이미지에 대해 적응적 임계값 설정에 따른 이진화 처리를 수행하여 상기 모아레 후보군을 강조하는 이미지 처리부를 포함할 수 있다.The candidate group highlighting unit includes an image preprocessing unit that performs predetermined preprocessing on the input image and converts it into a first image having a luminance value; a contrast image generator that generates a contrast image by performing contrast stretching and blur processing on the first image; It may include an image processing unit that performs binarization processing on the contrast image according to an adaptive threshold setting to emphasize the moiré candidate group.

상기 모아레 판별부는, 상기 모아레 후보군이 강조된 이미지에 대해 이진화 데이터 밀집 구간을 상기 모아레 후보군이 존재하는 위치에 관한 관심영역으로 선정하는 관심영역 선정부와; 상기 관심영역 내의 이미지에 대한 색감도를 분석하는 색감도 계산부와; 상기 색감도의 분석 결과에 대해 반올림 함수를 적용하는 필터링부와; 수평 방향 및 수직 방향 중 어느 하나 이상의 방향에 대한 상기 색감도의 변화 추세로부터 상기 모아레 후보군이 모아레 영역인지 여부를 판정하는 판정부를 포함할 수 있다.The moiré determination unit includes a region of interest selection unit that selects a binarized data-dense section of the image in which the moiré candidate group is emphasized as a region of interest regarding the location of the moiré candidate group; a color sensitivity calculation unit that analyzes color sensitivity of the image within the region of interest; a filtering unit that applies a rounding function to the color sensitivity analysis result; It may include a determination unit that determines whether the moiré candidate group is a moiré area based on a change trend of the color sensitivity in one or more of the horizontal and vertical directions.

상기 관심영역 선정부는 소정 크기의 이진화 데이터 검색 블록을 설정하고, 상기 이진화 데이터 검색 블록을 수평 및 수직 방향 중 어느 하나 이상의 방향으로 이동시키면서 이진화 데이터의 존부를 검색하며, 상기 이진화 데이터 검색 블록 내에 이진화 데이터가 포함될 때 상기 이진화 데이터의 시작점을 기준으로 상기 이진화 데이터 검색 블록에 상응하는 구역의 2배 크기를 상기 관심영역으로 선정할 수 있다.The region of interest selection unit sets a binarized data search block of a predetermined size, moves the binarized data search block in one or more of the horizontal and vertical directions, and searches for the presence or absence of binarized data, and binarized data within the binarized data search block. When included, a region twice the size of the area corresponding to the binarized data search block can be selected as the region of interest based on the starting point of the binarized data.

상기 색감도 계산부는 상기 관심영역을 소정 개수의 ROI 분할영역으로 분할하고, 상기 ROI 분할영역 각각에 대한 R/G 혹은 B/G의 평균값을 색 비율 데이터로 계산하여 상기 색감도를 산출할 수 있다.The color sensitivity calculator may calculate the color sensitivity by dividing the region of interest into a predetermined number of ROI divisions and calculating an average value of R/G or B/G for each ROI division as color ratio data. .

상기 색감도 계산부는 상기 색감도에 대해 보수를 취할 수 있다.The color sensitivity calculation unit may take a complement to the color sensitivity.

상기 필터링부는 상기 반올림 함수를 통해 상기 색감도에 관한 데이터를 소수점 4번째 자리까지 반올림하고, 차이가 발생하는 경우 이진화를 수행할 수 있다.The filtering unit may round the color sensitivity data to the fourth decimal place through the rounding function and perform binarization if a difference occurs.

상기 판정부는 상기 ROI 분할영역 내에서 이진화 데이터의 변화량을 카운트하여 미리 정해진 수량 이상이 카운트되면 해당 ROI 분할영역을 카운트하고, 상기 ROI 분할영역 단위의 카운트 총량이 소정 기준 이상일 경우 상기 관심영역이 모아레 영역인 것으로 판정할 수 있다.The determination unit counts the amount of change in binarized data within the ROI division area, and if more than a predetermined amount is counted, counts the corresponding ROI division area. If the total count amount of the ROI division unit is more than a predetermined standard, the region of interest is a moiré area. It can be determined that it is.

한편 본 발명의 다른 측면에 따르면, 카메라 모듈의 이물 검사를 위한 모아레(moire) 검출 장치에서 수행되는 모아레 검출 방법으로서, 이미지 획득부에서 상기 카메라 모듈을 이용하여 촬영한 입력 이미지를 획득하는 단계; 후보군 강조부에서 상기 입력 이미지에 대해 1차 이물 검사를 수행하여 실제 이물 영역과 모아레 영역을 포함하는 모아레 후보군을 강조 처리하는 단계; 및 강조 처리된 상기 모아레 후보군을 모아레 판별부에서 관심영역으로 선정하는 단계; 상기 관심영역에 대해 색감도(sensitivity) 분석을 수행하는 단계; 및 상기 색감도의 분석 결과를 통해 모아레 특성을 나타내는 모아레 영역을 판별하는 단계를 포함하는 이물 검사를 위한 모아레 검출 방법이 제공된다. Meanwhile, according to another aspect of the present invention, there is a moiré detection method performed in a moire detection device for inspecting foreign matter in a camera module, comprising: acquiring an input image captured using the camera module in an image acquisition unit; performing a primary foreign matter inspection on the input image in a candidate group highlighting unit to highlight a moiré candidate group including an actual foreign material area and a moiré area; and selecting the highlighted moiré candidate group as a region of interest in a moiré determination unit; performing color sensitivity analysis on the region of interest; and determining a moiré area showing moiré characteristics through the color sensitivity analysis results. A moiré detection method for foreign matter inspection is provided.

전술한 것 외의 다른 측면, 특징, 이점이 이하의 도면, 특허청구범위 및 발명의 상세한 설명으로부터 명확해질 것이다.Other aspects, features and advantages in addition to those described above will become apparent from the following drawings, claims and detailed description of the invention.

본 발명의 실시예에 따르면, 이물과 모아레 현상을 구분하여 보호테이프로 인해 야기되는 모아레 현상을 검출하고 배제시킴으로써 카메라와 같은 생산제품에 대한 이물의 정상적인 검출이 가능하게 하여 검사의 신뢰성을 확보할 수 있는 효과가 있다. According to an embodiment of the present invention, by distinguishing between foreign matter and moire phenomenon and detecting and excluding the moiré phenomenon caused by the protective tape, normal detection of foreign matter in products such as cameras is possible, thereby ensuring the reliability of inspection. There is an effect.

도 1은 본 발명의 일 실시예에 따른 이물 검사를 위한 모아레 검출 장치의 구성도,
도 2는 본 발명의 일 실시예에 따른 이물 검사를 위한 모아레 검출 방법의 순서도,
도 3은 1차 이물 검출 과정에 따른 이미지들(입력 이미지, 평균 이미지, 컨트라스트 이미지, 출력 이미지)을 나타낸 도면,
도 4는 이진화 처리 과정을 위한 이미지 분할 및 히스토그램을 나타낸 도면,
도 5는 제1 히스토그램에서의 이진화 처리 과정을 설명하기 위한 도면,
도 6은 모아레 검출을 위한 이진화 데이터 밀집구간의 예시도,
도 7은 모아레 후보군에 대한 색감도 분석 결과 화면,
도 8은 등고선 제거 화면,
도 9는 모아레 특성 분석 화면,
도 10은 모아레 영역의 명시 과정을 나타낸 도면.
1 is a configuration diagram of a moiré detection device for foreign matter inspection according to an embodiment of the present invention;
2 is a flowchart of a moiré detection method for foreign matter inspection according to an embodiment of the present invention;
Figure 3 is a diagram showing images (input image, average image, contrast image, output image) according to the first foreign matter detection process;
Figure 4 is a diagram showing image segmentation and histogram for the binarization process;
Figure 5 is a diagram for explaining the binarization process in the first histogram;
Figure 6 is an example of a dense section of binarized data for moiré detection;
Figure 7 is a screen showing the color sensitivity analysis results for moiré candidates;
8 shows the contour line removal screen,
9 is a moiré characteristic analysis screen;
Figure 10 is a diagram showing the process of specifying a moiré area.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다. 그러나 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.Since the present invention can make various changes and have various embodiments, specific embodiments will be illustrated in the drawings and described in detail. However, this is not intended to limit the present invention to specific embodiments, and should be understood to include all changes, equivalents, and substitutes included in the spirit and technical scope of the present invention.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. When a component is said to be "connected" or "connected" to another component, it is understood that it may be directly connected to or connected to the other component, but that other components may exist in between. It should be. On the other hand, when it is mentioned that a component is “directly connected” or “directly connected” to another component, it should be understood that there are no other components in between.

제1, 제2 등의 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다. Terms such as first, second, etc. may be used to describe various components, but the components should not be limited by the terms. The above terms are used only for the purpose of distinguishing one component from another.

본 명세서에서 사용한 용어는 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terms used herein are only used to describe specific embodiments and are not intended to limit the invention. Singular expressions include plural expressions unless the context clearly dictates otherwise. In this specification, terms such as “comprise” or “have” are intended to indicate the presence of features, numbers, steps, operations, components, parts, or combinations thereof described in the specification, but are not intended to indicate the presence of one or more other features. It should be understood that this does not exclude in advance the possibility of the existence or addition of elements, numbers, steps, operations, components, parts, or combinations thereof.

또한, 각 도면을 참조하여 설명하는 실시예의 구성 요소가 해당 실시예에만 제한적으로 적용되는 것은 아니며, 본 발명의 기술적 사상이 유지되는 범위 내에서 다른 실시예에 포함되도록 구현될 수 있으며, 또한 별도의 설명이 생략될지라도 복수의 실시예가 통합된 하나의 실시예로 다시 구현될 수도 있음은 당연하다.In addition, the components of the embodiments described with reference to each drawing are not limited to the corresponding embodiments, and may be implemented to be included in other embodiments within the scope of maintaining the technical spirit of the present invention, and may also be included in separate embodiments. Even if the description is omitted, it is natural that a plurality of embodiments may be re-implemented as a single integrated embodiment.

또한, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일하거나 관련된 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 본 명세서에 첨부된 도면에서는 구성요소의 구분을 돕고자 색상이 부여되어 있다. 하지만, 동일 구성요소라 할지라도 사시도와 단면도에서는 그 색상이 달라질 수 있다. 그리고 다른 구성요소라 할지라도 동일 혹은 유사한 색상이 부여될 수도 있다.In addition, when describing with reference to the accompanying drawings, identical or related reference numbers will be assigned to identical or related elements regardless of the drawing symbols, and overlapping descriptions thereof will be omitted. In describing the present invention, if it is determined that a detailed description of related known technologies may unnecessarily obscure the gist of the present invention, the detailed description will be omitted. In the drawings attached to this specification, colors are assigned to help distinguish components. However, even for the same component, its color may vary in perspective and cross-sectional views. And even different components may be given the same or similar colors.

또한, 명세서에 기재된 "…부", "…유닛", "…모듈", "…기" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.In addition, terms such as “… unit,” “… unit,” “… module,” and “… unit” used in the specification refer to a unit that processes at least one function or operation, which refers to hardware or software or hardware and software. It can be implemented by combining .

도 1은 본 발명의 일 실시예에 따른 이물 검사를 위한 모아레 검출 장치의 구성도이고, 도 2는 본 발명의 일 실시예에 따른 이물 검사를 위한 모아레 검출 방법의 순서도이며, 도 3은 1차 이물 검출 과정에 따른 이미지들(입력 이미지, 평균 이미지, 컨트라스트 이미지, 출력 이미지)을 나타낸 도면이고, 도 4는 이진화 처리 과정을 위한 이미지 분할 및 히스토그램을 나타낸 도면이며, 도 5는 제1 히스토그램에서의 이진화 처리 과정을 설명하기 위한 도면이고, 도 6은 모아레 검출을 위한 이진화 데이터 밀집구간의 예시도이며, 도 7은 모아레 후보군에 대한 색감도 분석 결과 화면이고, 도 8은 등고선 제거 화면이며, 도 9는 모아레 특성 분석 화면이고, 도 10은 모아레 영역의 명시 과정을 나타낸 도면이다. 1 is a configuration diagram of a moiré detection device for foreign matter inspection according to an embodiment of the present invention, FIG. 2 is a flowchart of a moiré detection method for foreign matter inspection according to an embodiment of the present invention, and FIG. 3 is a first It is a diagram showing images (input image, average image, contrast image, output image) according to the foreign matter detection process, Figure 4 is a diagram showing image segmentation and histogram for the binarization process, and Figure 5 is a diagram showing the image segmentation and histogram for the binarization process. This is a diagram for explaining the binarization process, Figure 6 is an example of a dense section of binarization data for moiré detection, Figure 7 is a color sensitivity analysis result screen for the moiré candidate group, Figure 8 is a contour line removal screen, and Figure 9 is a moiré characteristic analysis screen, and Figure 10 is a diagram showing the process of specifying a moiré area.

본 발명의 일 실시예에 따른 이물 검사를 위한 모아레 검출 장치(10)는 제조 공정 중에 구성품의 보호를 위한 보호테이프가 부착되는 제품(예를 들어, 렌즈 보호를 위한 카메라 모듈)에서 보호테이프로 인해 야기되는 모아레 현상을 검출하고 배제함으로써 이물과 구분 가능하여 해당 제품에 대한 이물 검사가 정상적으로 진행될 수 있게 한 것을 특징으로 한다. The moiré detection device 10 for foreign matter inspection according to an embodiment of the present invention is a product to which a protective tape for protecting components is attached during the manufacturing process (for example, a camera module for lens protection) due to the protective tape. It is characterized by detecting and excluding the resulting moiré phenomenon so that it can be distinguished from foreign matter, allowing the foreign matter inspection for the product to proceed normally.

본 실시예에 따른 이물 검사를 위한 모아레 검출 장치(10)는 카메라 모듈 검사 장비(1) 중 하나로, 후단에 이물 검사 모듈(20)이 부가되어 이물을 검사하는 장비의 구성 중 하나로 구현될 수 있다. The moiré detection device 10 for foreign matter inspection according to this embodiment is one of the camera module inspection equipment 1, and the foreign matter inspection module 20 is added at the rear end to be implemented as one of the configurations of equipment for inspecting foreign matter. .

도 1을 참조하면, 이물 검사를 위한 모아레 검출 장치(10)는 이미지 획득부(110), 후보군 강조부(120), 모아레 판별부(130)를 포함할 수 있다. Referring to FIG. 1 , the moiré detection device 10 for foreign matter inspection may include an image acquisition unit 110, a candidate group highlighting unit 120, and a moiré determination unit 130.

이미지 획득부(110)는 검사 대상이 되는 제품(예를 들어, 카메라 모듈)을 이용하여 촬영한 입력 이미지를 획득한다. The image acquisition unit 110 acquires an input image captured using a product to be inspected (eg, a camera module).

본 실시예에서는 이물 검사를 위해 카메라 모듈에 대해 신뢰성 있는 평가 기준을 제공하고자 한다. 신뢰성 있는 평가 기준을 제공하기 위해서는 동일한 환경일 것이 요구되는 바, 카메라 모듈을 이용하여 백색간지 혹은 광원을 촬영한 이미지를 입력 이미지로 획득할 수 있다. 이물 검사를 위한 환경 조건을 일정하게 유지시킴으로써, 입력 이미지에 대해 환경에 따른 편차가 최소화된 것을 조건으로 할 수 있다. In this embodiment, we aim to provide reliable evaluation standards for camera modules for foreign matter inspection. In order to provide reliable evaluation standards, the same environment is required, and an image of a white sheet or light source can be obtained as an input image using a camera module. By keeping the environmental conditions for foreign matter inspection constant, it is possible to set the condition that the environmental deviation of the input image is minimized.

또한, 이미지 획득부(110)는 획득하는 입력 이미지에 포함된 미리 설정된 수량의 이미지 프레임을 평균화한 평균 이미지를 생성할 수 있다. 카메라 모듈로 특정 시점을 촬영할 경우 그 전후로 다수의 이미지 프레임이 동시에 획득될 수 있는 바, 입력 이미지는 연속된 혹은 일정 간격을 가지는 소정 수량의 이미지 프레임으로 구성될 수 있다. 평균 이미지를 생성하기 위한 이미지 프레임의 수량은 필요에 따라 가변 설정될 수 있다. Additionally, the image acquisition unit 110 may generate an average image by averaging a preset number of image frames included in the acquired input image. When shooting a specific point in time with a camera module, multiple image frames before and after can be acquired simultaneously, and the input image may consist of a predetermined number of image frames that are continuous or have a certain interval. The quantity of image frames for generating an average image can be variably set as needed.

평균 이미지는 복수의 이미지 프레임에 대하여 각 좌표에서의 픽셀값(예를 들어, RGB 값)을 평균화함으로써 생성될 수 있다. 즉, 제1 이미지 프레임의 (x1, y1) 좌표의 픽셀값 p_1(x1,y1)에서부터 제n 이미지 프레임의 (x1, y1) 좌표의 픽셀값 p_n(x1,y1)을 평균한 평균 픽셀값을 평균이미지의 (x1, y1) 좌표의 픽셀값(p_avg(x1,y1))으로 설정할 수 있다. The average image may be generated by averaging pixel values (eg, RGB values) at each coordinate for a plurality of image frames. That is, the average pixel value is obtained by averaging the pixel value p_1(x1,y1) of the (x1, y1) coordinate of the first image frame to the pixel value p_n(x1,y1) of the (x1, y1) coordinate of the nth image frame. It can be set to the pixel value (p_avg(x1,y1)) of the (x1, y1) coordinate of the average image.

이미지 획득이 이루어진 경우, 후보군 강조부(120)는 입력 이미지(혹은 평균 이미지, 이하 '입력 이미지'라 칭함)에 대해 1차적으로 이물 검사를 수행한다. 1차 이물 검사에서는 적응적 임계치(adaptive threshold)를 활용한 이물 검사를 통해 실제 이물과 모아레를 포함하는 모아레 후보군을 강조하여, 후단에서 용이한 구분이 가능하게 한다. 이는 모아레 영역이 컨트라스트 조정 시 더욱 도드라지게 나타나는 현상을 이용한 것이다. When an image is acquired, the candidate highlighting unit 120 primarily performs a foreign matter inspection on the input image (or average image, hereinafter referred to as 'input image'). In the first foreign matter inspection, the moiré candidate group, which includes actual foreign matter and moiré, is emphasized through foreign matter inspection using an adaptive threshold, enabling easy distinction at the rear end. This takes advantage of the phenomenon that the moiré area appears more prominent when adjusting the contrast.

후보군 강조부(120)는 이미지 전처리부(121), 컨트라스트 이미지 생성부(123) 및 이미지 처리부(125)를 포함할 수 있다. The candidate group highlighting unit 120 may include an image pre-processing unit 121, a contrast image generating unit 123, and an image processing unit 125.

이미지 전처리부(121)는 입력 이미지에 대해 렌즈로 인해 발생하는 렌즈 쉐이딩(lens shading) 현상을 보정하기 위해 렌즈 쉐이딩 보상(LSC, lens shading compensation)을 수행한다. 카메라 모듈에 장착된 렌즈에 상응하여 미리 계산된 LSC 비율(LSC ratio)을 곱하여 줌으로써 렌즈 쉐이딩 보상이 수행될 수 있다. The image pre-processing unit 121 performs lens shading compensation (LSC) to correct the lens shading phenomenon caused by the lens on the input image. Lens shading compensation can be performed by multiplying a pre-calculated LSC ratio corresponding to the lens mounted on the camera module.

렌즈 쉐이딩 보상된 이미지는 오토 화이트 밸런스(AWB, auto white balance) 처리하여 컬러 채널별(R, G, B 채널) 밝기값을 동일하게 맞춰줄 수 있다. Lens shading compensated images can be processed with auto white balance (AWB) to equalize the brightness values for each color channel (R, G, and B channels).

이후 그레이 스케일(Gray Scale)을 통해 이미지의 각 픽셀에 대한 휘도(Y) 값(R, G, B 픽셀값의 평균)을 가져온다. 컨트라스트 이미지 생성부(123)는 전술한 것과 같이 전처리된 이미지, 즉 휘도(Y)값을 구한 이미지에 대해 컨트라스트 스트레칭(contrast stretching) 연산을 수행하여 컨트라스트 이미지를 생성한다. Afterwards, the luminance (Y) value (average of R, G, and B pixel values) for each pixel of the image is obtained through gray scale. The contrast image generator 123 generates a contrast image by performing a contrast stretching operation on the image that has been preprocessed as described above, that is, the image for which the luminance (Y) value has been obtained.

컨트라스트 스트레칭은 입력 이미지의 밝기값 중에서 최소값과 최대값 사이의 유효 범위를 이미지가 표현할 수 있는 절대 최소값(예컨대, 0)과 절대 최대값(예컨대, 255) 사이의 최대 범위로 밝기값을 변경하여 컨트라스트를 확장하는 튜닝 과정이다. 이를 위해 최대값과 최소값의 편차량에 대한 기울기를 이용할 수 있다. Contrast stretching changes the brightness value to the maximum range between the absolute minimum value (e.g., 0) and the absolute maximum value (e.g., 255) that the image can express, which is the valid range between the minimum and maximum brightness values of the input image. It is a tuning process that expands . For this purpose, the slope of the deviation between the maximum and minimum values can be used.

입력 이미지에 속하는 모든 픽셀의 밝기값 중 최소값을 Min, 최대값을 Max로 가정하고, 최대값과 최소값의 편차량에 대한 기울기 a와 가중치 W를 하기 수학식 1 및 수학식 2와 같이 구한다. Assuming that the minimum value of the brightness values of all pixels belonging to the input image is Min and the maximum value is Max, the slope a and weight W for the amount of deviation between the maximum and minimum values are obtained as shown in Equation 1 and Equation 2 below.

컨트라스트 이미지의 각 픽셀의 변경된 밝기값 P는 하기 수학식 3 및 4와 같이 계산될 수 있다. The changed brightness value P of each pixel of the contrast image can be calculated as shown in Equations 3 and 4 below.

P는 튜닝된 픽셀 밝기값이며, 계산된 P가 255보다 큰 경우에는 255로, 0보다 작은 경우에는 0으로 변경할 수 있다.P is the tuned pixel brightness value. If the calculated P is greater than 255, it can be changed to 255, and if it is less than 0, it can be changed to 0.

컨트라스트 이미지 생성부(123)에 의해 각 픽셀의 밝기값이 튜닝됨으로써 입력 이미지보다 큰 컨트라스트를 갖는 컨트라스트 이미지가 생성될 수 있다.The brightness value of each pixel is tuned by the contrast image generator 123, so that a contrast image with greater contrast than the input image can be generated.

이미지 처리부(125)는 컨트라스트 이미지에 대해 소정의 이미지 프로세싱 알고리즘을 적용하여 모아레 후보가 보다 명시적으로 부각되도록 할 수 있다. The image processing unit 125 may apply a predetermined image processing algorithm to the contrast image so that the moiré candidate is more clearly highlighted.

이미지 처리부(125)는 이진화 처리 모듈을 포함할 수 있다. The image processing unit 125 may include a binarization processing module.

이진화 처리 모듈은 컨트라스트 이미지를 미리 설정된 수량의 조각 이미지로 분할할 수 있다. 도 4를 참조하면, 컨트라스트 이미지(300)가 6개의 조각 이미지(ROI_1 ~ ROI_6)로 분할된 예시가 도시되어 있다. 각 조각 이미지(ROI_n)는 동일한 크기 및 형상을 가질 수 있다. The binarization processing module can divide the contrast image into a preset number of fragment images. Referring to FIG. 4, an example in which the contrast image 300 is divided into six fragment images (ROI_1 to ROI_6) is shown. Each piece image (ROI_n) may have the same size and shape.

이진화 처리 모듈은 분할된 각 조각 이미지(ROI_n)마다의 특성, 즉 픽셀들의 밝기값의 범위 형태를 분석하고 각 조각 이미지(ROI_n)마다 개별화된 이진화 기준을 설정하여 이진화 처리를 수행할 수 있다. The binarization processing module may analyze the characteristics of each segmented image (ROI_n), that is, the range form of the brightness values of pixels, and perform binarization processing by setting an individualized binarization standard for each segment image (ROI_n).

일례로, 이진화 처리 모듈은 분할된 각 조각 이미지(ROI-n)에 대해 히스토그램 조건부 계산을 수행한다. For example, the binarization processing module performs histogram conditional calculation on each segmented image (ROI-n).

각 조각 이미지(ROI_n)에 대해 픽셀의 밝기값에 대한 히스토그램(H_1 ~ H_6)을 구할 수 있다. 각 히스토그램(H_n)에서 X축은 픽셀의 밝기값이고, Y축은 해당 밝기값의 빈도를 나타낸다. For each fragment image (ROI_n), a histogram (H_1 to H_6) of the brightness value of the pixel can be obtained. In each histogram (H_n), the X-axis is the brightness value of the pixel, and the Y-axis represents the frequency of that brightness value.

히스토그램의 빈도가 상승과 하락이 변화되는 지점 중 최소값을 기준으로 해당 조각 이미지에 대한 임계값(threshold)을 설정한다. 이 임계값은 컨트라스트 이미지에서 하위 데이터에 대한 이진화를 위한 기준이 된다. The threshold for the corresponding fragment image is set based on the minimum value among the points where the histogram frequency rises and falls. This threshold becomes the standard for binarization of lower data in the contrast image.

도 5에서 제1 조각 이미지(ROI_1)에 대한 히스토그램이 도시되어 있다. In Figure 5, a histogram for the first fragment image (ROI_1) is shown.

히스토그램에서 값의 빈도가 가장 많은 값을 M_1, 2번??로 많은 값을 M_2라 할 때, M_1과 M_2 사이에서 상승과 하락이 변화되는 지점 중 최소 빈도를 가지는 값을 Mid로 설정할 수 있다. M_1 <= Mid && Mid <= M_2 혹은 M_2 <= Mid && Mid <= M_1 일 수 있다. In the histogram, when the value with the most frequency is M_1 and the most frequent value is M_2, the value with the lowest frequency among the points where the rise and fall changes between M_1 and M_2 can be set as Mid. It can be M_1 <= Mid && Mid <= M_2 or M_2 <= Mid && Mid <= M_1.

Mid를 임계값으로 하고, 해당 조각 이미지에서 Mid보다 낮은 값을 가지는 빈도량에 대해서는 배제 처리(삭제 처리)할 수 있다. 도 5에서 Mid의 빈도량(F_Mid)보다 작은 빈도수를 가지는 픽셀값들(M_3보다 작거나 M_4보다 큰 픽셀값들)에 대해서는 노이즈로 판단하고 그 데이터를 무시할 수 있다. Mid is set as the threshold, and frequencies with lower values than Mid in the corresponding fragment image can be excluded (deleted). In Figure 5, pixel values (pixel values less than M_3 or greater than M_4) with a frequency less than the frequency of Mid (F_Mid) can be judged as noise and the data can be ignored.

그리고 히스토그램에서 Mid의 좌측편에 속하는 픽셀들에 대해서는 그 밝기값을 0(zero)으로 변경시킬 수 있다. And for the pixels on the left side of Mid in the histogram, the brightness value can be changed to 0 (zero).

조각 이미지(ROI_n)의 밝기 분포에 따라 Mid가 다르게 설정될 수 있으며, 조각 이미지별로 보다 정교한 이진화 처리가 가능해질 수 있다. Mid may be set differently depending on the brightness distribution of the fragment image (ROI_n), and more sophisticated binarization processing may be possible for each fragment image.

또한, 이미지 처리부(125)는 블러 처리 모듈을 더 포함할 수 있다. Additionally, the image processing unit 125 may further include a blur processing module.

블러 처리 모듈은 모폴로지(Morphology) 연산을 통해 이진화 처리된 컨트라스트 이미지에서 노이즈를 제거할 수 있다. 예를 들어, 모폴로지 연산으로는 3 x 3 배열의 침식 연산(erosion)이 적용될 수 있다. The blur processing module can remove noise from the binarized contrast image through morphology calculation. For example, erosion of a 3 x 3 array can be applied as a morphology operation.

이진화 처리(혹은 블러 처리 과정까지 포함)가 완료된 컨트라스트 이미지에는 모아레 후보에 해당하는 부분만이 부각(강조)될 수 있다. In a contrast image where binarization processing (or even blur processing) has been completed, only the portion corresponding to the moiré candidate can be highlighted (emphasized).

후보군 강조부(120)는 전술한 이미지 처리를 통해 모아레 후보군을 검출할 수 있다. 이진화 데이터(예컨대, '1')가 밀집된 구역이 이물 혹은 모아레가 존재하는 영역으로 볼 수 있는 바, 이를 모아레 후보군으로 선정할 수 있다. The candidate group highlighting unit 120 may detect the moiré candidate group through the image processing described above. An area where binarized data (e.g., '1') is dense can be viewed as an area where foreign matter or moiré exists, and this can be selected as a moiré candidate group.

후보군 강조부(120)에 의해 선정된 모아레 후보군에는 모아레 영역 이외에 실제 이물도 포함되어 있는 바, 이를 구분할 필요가 있다. Since the moiré candidate group selected by the candidate group highlighting unit 120 includes actual foreign matter in addition to the moiré area, it is necessary to distinguish them.

모아레 판별부(130)에서는 후보군 강조부(120)에서 강조된 모아레 후보군에 대해 소정의 이미지 처리를 수행하여 모아레를 판별하여 실제 이물과 구분하고, 모아레 후보군 중에서 모아레로 판별된 이물 후보는 배제시킴으로써, 후단의 이물 검사 모듈(20)에서 보다 정확하고 높은 신뢰성을 가지는 이물 검사 결과가 도출되게 할 수 있다. The moiré determination unit 130 performs predetermined image processing on the moiré candidate group highlighted in the candidate group highlighting unit 120 to determine moiré and distinguish it from an actual foreign matter, and excludes the foreign matter candidate determined as moiré from the moiré candidate group, so that the rear stage The foreign matter inspection module 20 can produce more accurate and highly reliable foreign matter inspection results.

모아레 판별부(130)는 관심영역 선정부(131), 색감도 계산부(133), 필터링부(135), 판정부(137)를 포함할 수 있다. The moire determination unit 130 may include a region of interest selection unit 131, a color sensitivity calculation unit 133, a filtering unit 135, and a determination unit 137.

관심영역 선정부(131)는 모아레 후보군이 강조된 이미지에 대해 모아레 후보군이 존재하는 위치에 관한 관심영역(ROI)을 선정한다. 이진화 데이터 밀집 구간을 1차 모아레 후보 구간으로 선정할 수 있다(도 6 참조). The region of interest selection unit 131 selects a region of interest (ROI) related to the location of the moiré candidate group for the image in which the moiré candidate group is emphasized. The binarized data-dense section can be selected as the first moiré candidate section (see Figure 6).

이를 위해, 이미지는 미리 정해진 M x N 개의 영역으로 분할될 수 있다. 예를 들어, M, N은 15일 수 있다. For this purpose, the image can be divided into predetermined M x N regions. For example, M and N may be 15.

분할 영역마다 소정 크기의 이진화 데이터 검색 블록(예컨대, 가로 및 세로 10픽셀 씩의 크기(10 * 10))을 설정하고, 이진화 데이터 검색 블록을 수평 및/또는 수직 방향으로 이동시키면서 이진화 데이터의 존부를 검색한다. For each partition, a binarized data search block of a predetermined size (e.g., 10 pixels in width and height (10 * 10)) is set, and the presence or absence of binarized data is checked by moving the binarized data search block in the horizontal and/or vertical direction. Search.

이동 중에 이진화 데이터 검색 블록 전체(즉, 100개의 픽셀들)가 '1'이라는 이진화 데이터로 이루어지는 상황이 발생할 때, 해당 분할 영역을 관심영역(ROI)으로 선정할 수 있다.During movement, when a situation occurs in which the entire binarized data search block (i.e., 100 pixels) consists of binarized data called '1', the corresponding segmented area can be selected as a region of interest (ROI).

또는 이진화 데이터의 시작점을 기준으로 이진화 데이터 검색 블록에서 연속적으로 확장된 구역의 2배 크기를 관심영역으로 선정할 수도 있다. Alternatively, based on the starting point of the binarized data, twice the size of the continuously expanded area in the binarized data search block can be selected as the region of interest.

수학식 5의 조건 1)에서는 Rn은 10 * 10 블록의 관심영역으로 선택된 블록을 의미하며, 10 * 10 블록으로 이미지 검사 시 데이터 값이 0인 경우 R에 포함되지 않는다. In condition 1) of Equation 5, Rn refers to the block selected as the region of interest in the 10 * 10 block, and if the data value is 0 when inspecting the image in the 10 * 10 block, it is not included in R.

조건 2에서는 10 * 10 블록의 주변 블록에 대해 데이터가 '0'을 초과하는 데이터, 즉 '1'이 있을 경우 하나의 R의 범위로 포함시킨다. In condition 2, if there is data exceeding '0', that is, '1', for the surrounding blocks of the 10 * 10 block, it is included in the range of one R.

조건 3에서는 R 범위에 대해서 (X1, Y1)을 시작점으로 하고 (X2, Y2)를 끝점으로 사용하며 2배수 크기를 최종 관심영역으로 선정한다. In Condition 3, for the R range, (X1, Y1) is used as the starting point and (X2, Y2) is used as the end point, and a size multiple of 2 is selected as the final region of interest.

관심영역이 선정되면, 색감도 계산부(133)에서는 관심영역 내의 색감도(sensitivity)를 계산한다. Once the area of interest is selected, the color sensitivity calculation unit 133 calculates the color sensitivity within the area of interest.

일반적인 이물의 경우 감도의 변화가 단조롭지만, 모아레의 경우에는 물결 무늬를 가지는 특성으로 인해 특이한 감도 변화 양상을 나타낸다. 따라서, 본 실시예에서는 감도를 계산하고 감도 변화 양상을 분석하여 모아레 후보군이 일반 이물인지 혹은 모아레인지 여부를 구분하고자 한다. In the case of general foreign substances, the change in sensitivity is monotonous, but in the case of moiré, it shows a unique change in sensitivity due to its wave-like characteristics. Therefore, in this embodiment, we calculate the sensitivity and analyze the sensitivity change pattern to distinguish whether the moiré candidate group is a general foreign matter or moiré range.

색감도 계산부(133)는 선정된 관심영역에 대하여 소정 개수의 ROI 분할 영역으로 분할한다. 예컨대, 32 x 32 개의 ROI 분할 영역으로 분할할 수 있다. The color sensitivity calculation unit 133 divides the selected region of interest into a predetermined number of ROI division regions. For example, it can be divided into 32 x 32 ROI partition areas.

그리고 각 ROI 분할 영역에 대해 픽셀값을 평균화하여 해당 ROI 분할 영역의 대표값으로 산출한다. 산출 시 기준은 R, G, B(예컨대, 24 bit 기준) 값을 R/G(R 픽셀값/G 픽셀값) 및/또는 B/G(B 픽셀값/G 픽셀값) 로 색 비율 데이터를 계산하여 색감도를 산출한다. Then, the pixel value for each ROI division area is averaged to calculate the representative value of the ROI division area. The standard for calculation is color ratio data of R, G, B (e.g., 24 bit standard) values as R/G (R pixel value/G pixel value) and/or B/G (B pixel value/G pixel value). Calculate color sensitivity.

색감도는 가중치를 주기 위해 보수를 취해 극대화할 수도 있다. Color sensitivity can also be maximized by taking conservatives to give weight.

수학식 6에서 M은 관심영역의 32 x 32 분할값으로, 블록당 평균값이 저장된다. 그리고, 3 * 3 의 평균화를 진행한 결과에 대해 2제곱 할 수 있다. In Equation 6, M is the 32 x 32 division value of the region of interest, and the average value per block is stored. And, the result of averaging 3 * 3 can be squared by 2.

도 7을 참조하면, RGB 이미지를 기준으로 색감도 검사를 수행하고, R/G, B/G 값에 대한 결과값으로 표현한 결과가 도시되어 있다. 또한, 렌즈의 화각 증가로 발생하는 등고선으로 인하여 이미지의 깨짐 현상 발생에 따른 이미지 데이터 상승량에 대비하여 상승비율을 임의로 삽입함으로써 이러한 깨짐 현상 제거 시 도 8과 같은 정상결과를 얻을 수 있다. Referring to FIG. 7, a color sensitivity test is performed based on an RGB image, and the results expressed as result values for R/G and B/G values are shown. In addition, normal results as shown in FIG. 8 can be obtained by arbitrarily inserting a rise rate in preparation for the amount of image data rise due to the occurrence of image breaking due to contour lines generated as the angle of view of the lens increases, thereby removing the breaking phenomenon.

필터링부(135)는 모아레 특성을 살리기 위해 수학식 7과 같이 반올림 함수(Round 함수)와 같은 필터를 적용한다. The filtering unit 135 applies a filter such as a rounding function (Round function) as shown in Equation 7 to utilize the moire characteristic.

필터를 적용하기 위해 32 x 32 데이터 평균화를 추가적으로 실행하며, 값의 차이를 줄어들게 하여 값의 편차를 명확하게 나누는 효과를 가진다. 주변 값의 차가 발생할 경우 이진화하여 데이터의 차액 값 발생 구간을 명시적으로 나누어줄 수 있다. To apply the filter, 32 x 32 data averaging is additionally performed, which has the effect of clearly dividing the value deviation by reducing the difference in values. If a difference in surrounding values occurs, the data can be binarized to explicitly divide the interval in which the difference value occurs.

데이터 평균화를 진행한 경우 정상 영역에서는 데이터의 차액이 일반적으로 균등하게 나오는 특성을 가진다. 하지만, 모아레 영역에서는 차액 지점이 울퉁불퉁하여 균등하게 나오지 않는다. 따라서, 이 차액 값을 계산할 경우 소수점 4번째자리부터 차액을 획득할 수 있다. 차액 부분에 대해서는 이진화를 진행하여 변화량에 대해 구분 진행할 수 있다. When data averaging is performed, the data differences are generally evenly distributed in the normal region. However, in the moiré area, the difference points are uneven and do not appear evenly. Therefore, when calculating this difference, the difference can be obtained from the 4th decimal place. The difference portion can be binarized to distinguish the amount of change.

수학식 7은 Round 함수로서, 소수점 4번째 자리까지 반올림한다. 그리고 소수점 4번째 자리까지의 값의 차이가 발생하는 경우에 대해서는 이진화를 수행한다. Equation 7 is a Round function, which rounds to the 4th decimal place. In cases where there is a difference in values up to the 4th decimal place, binarization is performed.

모아레는 색감도 측면에서 색 비율 데이터의 상승 혹은 하락이 반복적으로 나타나게 되는 바, 이진화 변화량(0 -> 1 및 1 -> 0)이 반복적으로 확인된다(도 9의 (a) 참조). 이에 비해, 모아레가 아닌 경우에는 도 9의 (b)에 도시된 것과 같이 일정하게 상승하거나 일정하게 감소하는 추세를 나타내게 된다. In terms of color sensitivity, moiré is a repeated increase or decrease in color ratio data, and the amount of binarization change (0 -> 1 and 1 -> 0) is repeatedly confirmed (see Figure 9 (a)). In contrast, in the case of non-moire, it shows a steadily rising or steadily decreasing trend as shown in (b) of FIG. 9.

출력된 결과에 대해 판정부(137)에서는 수평 혹은 수직 방향으로 데이터를 수집하여 ROI 분할영역 내에서 이진화 데이터의 변화량을 카운트하고, 미리 정해진 수량(예를 들어, 10개) 이상일 경우 해당 ROI 분할영역을 카운트하고, ROI 분할영역 단위의 카운트 총량이 소정 기준(예를 들어, 13) 이상일 경우 해당 관심영역이 모아레 영역인 것으로 판정한다. For the output result, the determination unit 137 collects data in the horizontal or vertical direction, counts the amount of change in the binarized data within the ROI segment, and if it is more than a predetermined quantity (for example, 10), the corresponding ROI segment is divided. is counted, and if the total count amount of the ROI segment unit is more than a predetermined standard (for example, 13), it is determined that the region of interest is a moiré region.

수학식 8에 따르면, 수평 방향 혹은 수직 방향의 데이터 값이 10 이상인 경우 Count를 1씩 증가시키고, 32개의 블록을 진행하는 동안 Count 값이 13 이상인 경우 모아레로 인식할 수 있다. According to Equation 8, if the data value in the horizontal or vertical direction is 10 or more, Count is increased by 1, and if the Count value is 13 or more during 32 blocks, it can be recognized as moiré.

도 10을 참조하면, 모아레 구간에 대한 명시화가 도시되어 있다. (a)는 모아레 검사 위치의 R/G 배열 결과이며, (b)는 평균화 진행 후 소수점 4째 자리 반올림에 대한 결과가 왼쪽 -> 오른쪽의 데이터 크기가 다른 경우 이진화 순차 변화이며, (c)는 (b)에서 추출된 결과에 대해 왼쪽 -> 오른쪽 데이터가 다를 경우 이진화 진행 결과 화면이다. Referring to FIG. 10, the specification of the moiré section is shown. (a) is the R/G array result of the moire test position, (b) is the binarization sequential change when the data size from left to right is different, and (c) is the result of rounding to 4 decimal places after averaging. This is the binarization result screen if the left -> right data is different for the results extracted in (b).

주변 대비 값의 차가 발생하는 영역에 대하여 이진화 필터 적용 시 블록 단위의 구간 표출이 가능하며, 결과 값이 표출 구간에 대하여 상승 하락이 반복되어 모아레 판정이 가능하게 된다. When a binarization filter is applied to an area where a difference in value compared to the surrounding area occurs, it is possible to display sections in block units, and the resultant value repeatedly rises and falls for the displayed section, making moiré judgment possible.

데이터의 편차 값이 발생한 구간에 대해서만 명시화가 가능하며, 진행 라인에 대한 추출이 가능하여 해당 라인이 포함된 영역을 배제함으로써 모아레 구간을 회피할 수 있게 된다. It is possible to specify only the section where the data deviation value occurred, and the progress line can be extracted, making it possible to avoid the moiré section by excluding the area containing the line.

본 실시예에 따른 모아레 검출 방법에 따르면, 검사 대상이 되는 카메라 모듈로 촬영한 이미지가 획득되면(S200), 1차적으로 이물 검사를 수행하여 모아레 후보군이 강조되게 한다(S205). 모아레 후보군이 강조된 이미지에서 관심영역을 선정하되(S210) 모아레 후보군에 대해 2배수의 관심영역 크기를 가지게 되고, 관심영역 내 이미지에 대해 RGB 3채널의 픽셀 데이터를 취득하여 색감도(R/G, B/G)를 획득하고(S215), 소정 개수(예. 32 x 32)의 ROI 분할영역으로 분할된 각 블록에 대해 값을 평균화한다. 값의 극대화를 위해 보수를 취하고, 2차 평균화를 진행한 후, 주변 대비 차이값이 발생할 경우 이진화로 데이터를 표현한다(S220). 이후 수평 혹은 수직 방향의 이진화 데이터 개수를 근거로 모아레 여부를 판정할 수 있다(S225, S230). According to the moiré detection method according to this embodiment, when an image taken by a camera module to be inspected is acquired (S200), a foreign matter inspection is first performed to highlight the moiré candidate group (S205). A region of interest is selected from the image in which the moiré candidate group is emphasized (S210), but the size of the region of interest is twice that of the moiré candidate group, and pixel data of 3 RGB channels is acquired for the image within the region of interest to determine color sensitivity (R/G, B/G) is obtained (S215), and the values are averaged for each block divided into a predetermined number (e.g. 32 x 32) ROI partitions. To maximize the value, a conservative is taken, secondary averaging is performed, and if a difference value occurs compared to the surroundings, the data is expressed by binarization (S220). Afterwards, moiré can be determined based on the number of binarized data in the horizontal or vertical direction (S225, S230).

모아레로 판정된 관심영역에 대해서는 이후 카메라 모듈에 대한 이물 검사 시 검사영역에서 배제시킴으로써(S235), 이물로 오분류되는 상황을 차단하여 보호테이프로 인해 정상적인 카메라 모듈이 이물 불량으로 판정되는 것을 방지할 수 있다. The area of interest determined to be moiré is excluded from the inspection area when inspecting the camera module for foreign matter (S235), thereby preventing a situation where it is misclassified as a foreign material and preventing a normal camera module from being judged as defective due to a foreign material due to the protective tape. You can.

본 실시예에 따르면, 모아레 현상으로 인한 카메라 모듈의 제조공정 중 이물 불량 오버킬 발생에 따른 이물 검출의 모호함이 해결될 수 있는 명시 기준을 만들어 줄 수 있다. According to this embodiment, it is possible to create a specific standard that can resolve the ambiguity of foreign matter detection due to the occurrence of defective foreign matter overkill during the manufacturing process of a camera module due to the moiré phenomenon.

또한, 별도의 추가 장비 없이 광원만으로도 검사가 가능하여 비용이 절감되는 효과가 있다. In addition, inspection can be performed with just a light source without any additional equipment, which has the effect of reducing costs.

또한, 카메라 모듈의 해상도 증가와 렌즈 화각 크기 증가와 관계없이 이물의 확장 및 모아레 확장에 대한 검출 기준을 수립할 수 있게 한다. In addition, it is possible to establish detection standards for foreign matter expansion and moiré expansion regardless of the increase in resolution of the camera module and the size of the lens angle of view.

전술한 모아레 검출 방법은, 컴퓨터에 의해 실행되는 애플리케이션이나 프로그램 모듈과 같은 컴퓨터에 의해 실행가능한 명령어를 포함하는 기록매체의 형태로도 구현될 수 있다. 컴퓨터 판독 가능 매체는 컴퓨터에 의해 액세스될 수 있는 임의의 가용 매체일 수 있고, 휘발성 및 비휘발성 매체, 분리형 및 비분리형 매체를 모두 포함한다. 또한, 컴퓨터 판독 가능 매체는 컴퓨터 저장 매체를 포함할 수 있다. 컴퓨터 저장 매체는 컴퓨터 판독 가능 명령어, 데이터 구조, 프로그램 모듈 또는 기타 데이터와 같은 정보의 저장을 위한 임의의 방법 또는 기술로 구현된 휘발성 및 비휘발성, 분리형 및 비분리형 매체를 모두 포함한다. The moiré detection method described above can also be implemented in the form of a recording medium containing instructions executable by a computer, such as an application or program module executed by a computer. Computer-readable media can be any available media that can be accessed by a computer and includes both volatile and non-volatile media, removable and non-removable media. Additionally, computer-readable media may include computer storage media. Computer storage media includes both volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules, or other data.

전술한 모아레 검출 방법은, 단말기에 기본적으로 설치된 애플리케이션(이는 단말기에 기본적으로 탑재된 플랫폼이나 운영체제 등에 포함된 프로그램을 포함할 수 있음)에 의해 실행될 수 있고, 사용자가 애플리케이션 스토어 서버, 애플리케이션 또는 해당 서비스와 관련된 웹 서버 등의 애플리케이션 제공 서버를 통해 마스터 단말기에 직접 설치한 애플리케이션(즉, 프로그램)에 의해 실행될 수도 있다. 이러한 의미에서, 전술한 모아레 검출 방법은 단말기에 기본적으로 설치되거나 사용자에 의해 직접 설치된 애플리케이션(즉, 프로그램)으로 구현되고 단말기 등의 컴퓨터로 읽을 수 있는 기록매체에 기록될 수 있다. The moiré detection method described above can be executed by an application installed by default on the terminal (this may include programs included in the platform or operating system, etc. installed by default on the terminal), and the user can use the application store server, application, or corresponding service. It may also be executed by an application (i.e. program) installed directly on the master terminal through an application providing server such as a web server related to the. In this sense, the moiré detection method described above can be implemented as an application (i.e., program) installed by default in the terminal or directly installed by the user and recorded on a computer-readable recording medium such as the terminal.

상기에서는 본 발명의 실시예를 참조하여 설명하였지만, 해당 기술 분야에서 통상의 지식을 가진 자라면 하기의 청구범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the present invention has been described above with reference to embodiments, those skilled in the art can make various modifications and changes to the present invention without departing from the spirit and scope of the present invention as set forth in the claims below. You will understand that you can do it.

1: 카메라 모듈 검사 장비 10: 모아레 검출 장치
20: 이물 검사 모듈 110: 이미지 획득부
120: 후보군 강조부 121: 이미지 전처리부
123: 컨트라스트 이미지 생성부 125: 이미지 처리부
130: 모아레 판별부 131: 관심영역 선정부
133: 색감도 계산부 135: 필터링부
137: 판정부
1: Camera module inspection equipment 10: Moiré detection device
20: Foreign matter inspection module 110: Image acquisition unit
120: Candidate highlighting unit 121: Image preprocessing unit
123: Contrast image generation unit 125: Image processing unit
130: Moiré determination unit 131: Area of interest selection unit
133: Color sensitivity calculation unit 135: Filtering unit
137: Judgment panel

Claims (9)

카메라 모듈의 이물 검사를 위한 모아레(moire) 검출 장치로서,
상기 카메라 모듈을 이용하여 촬영한 입력 이미지를 획득하는 이미지 획득부;
상기 입력 이미지에 대해 1차 이물 검사를 통해 실제 이물 영역과 모아레 영역을 포함하는 모아레 후보군을 강조 처리하는 후보군 강조부; 및
강조 처리된 상기 모아레 후보군을 관심영역으로 선정하고, 상기 관심영역에 대해 색감도(sensitivity) 분석을 통해 모아레 특성을 나타내는 모아레 영역을 판별하는 모아레 판별부를 포함하되,
상기 후보군 강조부는,
상기 입력 이미지에 대해 소정의 전처리를 수행하여 휘도값을 가지는 제1 이미지로 변환하는 이미지 전처리부와;
상기 제1 이미지에 대해 컨트라스트 스트레칭 및 블러 처리를 수행하여 컨트라스트 이미지를 생성하는 컨트라스트 이미지 생성부와;
상기 컨트라스트 이미지에 대해 적응적 임계값 설정에 따른 이진화 처리를 수행하여 상기 모아레 후보군을 강조하는 이미지 처리부를 포함하는 것을 특징으로 하는 이물 검사를 위한 모아레 검출 장치.
A moire detection device for inspecting foreign substances in a camera module,
an image acquisition unit that acquires an input image captured using the camera module;
a candidate group highlighting unit for highlighting a moiré candidate group including an actual foreign material area and a moiré area through primary foreign matter inspection for the input image; and
A moiré determination unit that selects the highlighted moiré candidate group as a region of interest and determines a moiré region exhibiting moiré characteristics through color sensitivity analysis of the region of interest,
The candidate group emphasis section is,
an image pre-processing unit that performs pre-processing on the input image and converts it into a first image with a luminance value;
a contrast image generator that generates a contrast image by performing contrast stretching and blur processing on the first image;
A moiré detection device for foreign matter inspection, comprising an image processing unit that performs binarization processing on the contrast image according to an adaptive threshold setting to emphasize the moiré candidate group.
삭제delete 카메라 모듈의 이물 검사를 위한 모아레(moire) 검출 장치로서,
상기 카메라 모듈을 이용하여 촬영한 입력 이미지를 획득하는 이미지 획득부;
상기 입력 이미지에 대해 1차 이물 검사를 통해 실제 이물 영역과 모아레 영역을 포함하는 모아레 후보군을 강조 처리하는 후보군 강조부; 및
강조 처리된 상기 모아레 후보군을 관심영역으로 선정하고, 상기 관심영역에 대해 색감도(sensitivity) 분석을 통해 모아레 특성을 나타내는 모아레 영역을 판별하는 모아레 판별부를 포함하되,
상기 모아레 판별부는,
상기 모아레 후보군이 강조된 이미지에 대해 이진화 데이터 밀집 구간을 상기 모아레 후보군이 존재하는 위치에 관한 관심영역으로 선정하는 관심영역 선정부와;
상기 관심영역 내의 이미지에 대한 색감도를 분석하는 색감도 계산부와;
상기 색감도의 분석 결과에 대해 반올림 함수를 적용하는 필터링부와;
수평 방향 및 수직 방향 중 어느 하나 이상의 방향에 대한 상기 색감도의 변화 추세로부터 상기 모아레 후보군이 모아레 영역인지 여부를 판정하는 판정부를 포함하는 것을 특징으로 하는 이물 검사를 위한 모아레 검출 장치.
A moire detection device for inspecting foreign substances in a camera module,
an image acquisition unit that acquires an input image captured using the camera module;
a candidate group highlighting unit for highlighting a moiré candidate group including an actual foreign material area and a moiré area through primary foreign matter inspection for the input image; and
A moiré determination unit that selects the highlighted moiré candidate group as a region of interest and determines a moiré region exhibiting moiré characteristics through color sensitivity analysis of the region of interest,
The moiré determination unit,
a region of interest selection unit that selects a binarized data-dense section of the image in which the moiré candidate group is emphasized as a region of interest regarding the location of the moiré candidate group;
a color sensitivity calculation unit that analyzes color sensitivity of the image within the region of interest;
a filtering unit that applies a rounding function to the color sensitivity analysis result;
A moiré detection device for foreign matter inspection, comprising a determination unit that determines whether the moiré candidate group is a moiré area based on a change trend of the color sensitivity in one or more of the horizontal and vertical directions.
제3항에 있어서,
상기 관심영역 선정부는 소정 크기의 이진화 데이터 검색 블록을 설정하고, 상기 이진화 데이터 검색 블록을 수평 및 수직 방향 중 어느 하나 이상의 방향으로 이동시키면서 이진화 데이터의 존부를 검색하며, 상기 이진화 데이터 검색 블록 내에 이진화 데이터가 포함될 때 상기 이진화 데이터의 시작점을 기준으로 상기 이진화 데이터 검색 블록에 상응하는 구역의 2배 크기를 상기 관심영역으로 선정하는 것을 특징으로 하는 이물 검사를 위한 모아레 검출 장치.
According to paragraph 3,
The region of interest selection unit sets a binarized data search block of a predetermined size, moves the binarized data search block in one or more of the horizontal and vertical directions, and searches for the presence or absence of binarized data, and binarized data within the binarized data search block. When included, a moiré detection device for foreign matter inspection, characterized in that twice the size of the area corresponding to the binarized data search block is selected as the region of interest based on the starting point of the binarized data.
제4항에 있어서,
상기 색감도 계산부는 상기 관심영역을 소정 개수의 ROI 분할영역으로 분할하고, 상기 ROI 분할영역 각각에 대한 R/G 혹은 B/G의 평균값을 색 비율 데이터로 계산하여 상기 색감도를 산출하는 것을 특징으로 하는 이물 검사를 위한 모아레 검출 장치.
According to paragraph 4,
The color sensitivity calculation unit divides the region of interest into a predetermined number of ROI divisions and calculates the color sensitivity by calculating an average value of R/G or B/G for each ROI division as color ratio data. Moiré detection device for foreign matter inspection.
제5항에 있어서,
상기 색감도 계산부는 상기 색감도에 대해 보수를 취하는 것을 특징으로 하는 이물 검사를 위한 모아레 검출 장치.
According to clause 5,
A moiré detection device for foreign matter inspection, wherein the color sensitivity calculation unit takes a complement to the color sensitivity.
제5항에 있어서,
상기 필터링부는 상기 반올림 함수를 통해 상기 색감도에 관한 데이터를 소수점 4번째 자리까지 반올림하고, 차이가 발생하는 경우 이진화를 수행하는 것을 특징으로 하는 이물 검사를 위한 모아레 검출 장치.
According to clause 5,
The filtering unit rounds the color sensitivity data to 4 decimal places through the rounding function, and performs binarization when a difference occurs.
제7항에 있어서,
상기 판정부는 상기 ROI 분할영역 내에서 이진화 데이터의 변화량을 카운트하여 미리 정해진 수량 이상이 카운트되면 해당 ROI 분할영역을 카운트하고, 상기 ROI 분할영역 단위의 카운트 총량이 소정 기준 이상일 경우 상기 관심영역이 모아레 영역인 것으로 판정하는 것을 특징으로 하는 이물 검사를 위한 모아레 검출 장치.
In clause 7,
The determination unit counts the amount of change in binarized data within the ROI division area, and if more than a predetermined amount is counted, counts the corresponding ROI division area. If the total count amount of the ROI division unit is more than a predetermined standard, the region of interest is a moiré area. A moiré detection device for foreign matter inspection, characterized in that it determines that it is.
카메라 모듈의 이물 검사를 위한 모아레(moire) 검출 장치에서 수행되는 모아레 검출 방법으로서,
이미지 획득부에서 상기 카메라 모듈을 이용하여 촬영한 입력 이미지를 획득하는 단계;
후보군 강조부에서 상기 입력 이미지에 대해 1차 이물 검사를 수행하여 실제 이물 영역과 모아레 영역을 포함하는 모아레 후보군을 강조 처리하는 단계; 및
강조 처리된 상기 모아레 후보군을 모아레 판별부에서 관심영역으로 선정하는 단계;
상기 관심영역에 대해 색감도(sensitivity) 분석을 수행하는 단계; 및
상기 색감도의 분석 결과를 통해 모아레 특성을 나타내는 모아레 영역을 판별하는 단계를 포함하되,
상기 관심영역으로 선정하는 단계에서는 상기 모아레 후보군이 강조된 이미지에 대해 이진화 데이터 밀집 구간을 상기 모아레 후보군이 존재하는 위치에 관한 관심영역으로 선정하고,
상기 색감도 분석을 수행하는 단계에서는 상기 관심영역 내의 이미지에 대한 색감도를 분석하며,
상기 모아레 영역을 판별하는 단계에서는 상기 색감도의 분석 결과에 대해 반올림 함수를 적용하고, 수평 방향 및 수직 방향 중 어느 하나 이상의 방향에 대한 상기 색감도의 변화 추세로부터 상기 모아레 후보군이 모아레 영역인지 여부를 판정하는 것을 특징으로 하는 이물 검사를 위한 모아레 검출 방법.

A moire detection method performed in a moire detection device for inspecting foreign substances in a camera module, comprising:
Acquiring an input image captured using the camera module in an image acquisition unit;
performing a primary foreign matter inspection on the input image in a candidate group highlighting unit to highlight a moiré candidate group including an actual foreign material area and a moiré area; and
selecting the highlighted moiré candidate group as a region of interest in a moiré determination unit;
performing color sensitivity analysis on the region of interest; and
Including the step of determining a moiré area showing moiré characteristics through the color sensitivity analysis results,
In the step of selecting the region of interest, the binarized data dense section of the image in which the moiré candidate group is emphasized is selected as the region of interest regarding the location of the moiré candidate group,
In the step of performing the color sensitivity analysis, the color sensitivity of the image within the region of interest is analyzed,
In the step of determining the moiré area, a rounding function is applied to the color sensitivity analysis result, and whether the moiré candidate group is a moiré area is determined from the change trend of the color sensitivity in one or more of the horizontal and vertical directions. Moiré detection method for foreign matter inspection, characterized in that determination.

KR1020210095689A 2021-07-21 2021-07-21 Moire detecting method for inspecting defect KR102613682B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210095689A KR102613682B1 (en) 2021-07-21 2021-07-21 Moire detecting method for inspecting defect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210095689A KR102613682B1 (en) 2021-07-21 2021-07-21 Moire detecting method for inspecting defect

Publications (2)

Publication Number Publication Date
KR20230014401A KR20230014401A (en) 2023-01-30
KR102613682B1 true KR102613682B1 (en) 2023-12-14

Family

ID=85106292

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210095689A KR102613682B1 (en) 2021-07-21 2021-07-21 Moire detecting method for inspecting defect

Country Status (1)

Country Link
KR (1) KR102613682B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000283741A (en) 1999-03-31 2000-10-13 Sharp Corp Fringe detector, photosensitive drum tester using the same, liquid crystal tester using the same, fringe detecting method, and medium with recorded fringe detection program
US20040119854A1 (en) * 2002-07-25 2004-06-24 Fujitsu Limited Image processing circuit providing improved image quality
JP2007322258A (en) 2006-06-01 2007-12-13 Dainippon Screen Mfg Co Ltd Method and device for inspecting unevenness, and program
JP2019040449A (en) * 2017-08-25 2019-03-14 旭精工株式会社 Disk discrimination device and disk discrimination method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100605226B1 (en) 2004-06-10 2006-07-31 주식회사 팬택앤큐리텔 Apparatus and method for detecting foreign material in digital camera module

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000283741A (en) 1999-03-31 2000-10-13 Sharp Corp Fringe detector, photosensitive drum tester using the same, liquid crystal tester using the same, fringe detecting method, and medium with recorded fringe detection program
US20040119854A1 (en) * 2002-07-25 2004-06-24 Fujitsu Limited Image processing circuit providing improved image quality
JP2007322258A (en) 2006-06-01 2007-12-13 Dainippon Screen Mfg Co Ltd Method and device for inspecting unevenness, and program
JP2019040449A (en) * 2017-08-25 2019-03-14 旭精工株式会社 Disk discrimination device and disk discrimination method

Also Published As

Publication number Publication date
KR20230014401A (en) 2023-01-30

Similar Documents

Publication Publication Date Title
CN106851264B (en) Camera module lens surface detection method and device
EP1498847A2 (en) Method of obtaining a depth map from a digital image
EP2400459A1 (en) Automated, computerized method for processing an image and computer program product
KR100241504B1 (en) Display screen inspection method
US7333656B2 (en) Image processing method and image processing apparatus
CN113109368A (en) Glass crack detection method, device, equipment and medium
CN111753794B (en) Fruit quality classification method, device, electronic equipment and readable storage medium
CN115917595A (en) Surface defect detection system
CN108022219B (en) Two-dimensional image gray level correction method
KR101867015B1 (en) Device and method for inspecting defect of glass and inspection system
JP2005172559A (en) Method and device for detecting line defect on panel
KR101828536B1 (en) Method and apparatus of panel inspection
US6229331B1 (en) Apparatus for and method of inspecting patterns on semiconductor integrated devices
KR102613682B1 (en) Moire detecting method for inspecting defect
JP6199799B2 (en) Self-luminous material image processing apparatus and self-luminous material image processing method
CN113281017A (en) Display screen quality detection method, terminal and storage medium
US7646892B2 (en) Image inspecting apparatus, image inspecting method, control program and computer-readable storage medium
CN115797327A (en) Defect detection method and device, terminal device and storage medium
EP2302582B1 (en) Correcting defects in an image
KR102290273B1 (en) Defect pixel detecting device and method
CN114937003A (en) Multi-type defect detection system and method for glass panel
KR102372027B1 (en) Foreign material detecting device and method for camera module using contrast
JP2006194869A (en) Automatic testing equipment and debris inspection method
CN110441315B (en) Electronic component testing apparatus and method
JPH08297020A (en) Defect inspection method and apparatus therefor

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant