KR102260734B1 - Device for inspecting products and method using the same - Google Patents

Device for inspecting products and method using the same Download PDF

Info

Publication number
KR102260734B1
KR102260734B1 KR1020200016379A KR20200016379A KR102260734B1 KR 102260734 B1 KR102260734 B1 KR 102260734B1 KR 1020200016379 A KR1020200016379 A KR 1020200016379A KR 20200016379 A KR20200016379 A KR 20200016379A KR 102260734 B1 KR102260734 B1 KR 102260734B1
Authority
KR
South Korea
Prior art keywords
image
inspection
product
interest
region
Prior art date
Application number
KR1020200016379A
Other languages
Korean (ko)
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 KR1020200016379A priority Critical patent/KR102260734B1/en
Application granted granted Critical
Publication of KR102260734B1 publication Critical patent/KR102260734B1/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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • 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

Landscapes

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

Abstract

The present invention relates to a product inspection device for inspecting the surface and shape of a product, comprising a first analysis unit and a second analysis unit performing a surface and shape inspection of a product by matching and comparing an image of the inspected product with various data obtained through a non-defective image. Through the automatic product inspection characteristics of the first analysis unit and the second analysis unit, the consumption of manpower is minimized during product inspection and the inspection accuracy is further improved compared to the visual and human judgment. In addition, the product inspection method according to the present invention uses the product inspection device. Accordingly, the product inspection method has an effect corresponding to the effect of the product inspection device described above.

Description

제품 검사 장치 및 이를 이용한 제품 검사 방법{Device for inspecting products and method using the same}Device for inspecting products and method using the same

본 발명은 제품 검사 장치 및 제품 검사 방법으로서, 보다 상세하게는 최종 생산된 제품의 표면 및 형상 검사를 수행하기 위한 제품 검사 장치 및 제품 검사 방법에 관한 발명이다.The present invention relates to a product inspection apparatus and a product inspection method, and more particularly, to a product inspection apparatus and a product inspection method for performing surface and shape inspection of a final product.

일련의 공정을 통해 최종 생산된 제품에는 마지막 공정으로서 그 표면 및 형상에 결함이 존재하는지 여부를 판단하기 위한 테스트가 수행된다.The final product produced through a series of processes is tested to determine whether defects exist in its surface and shape as the final process.

그러나, 이와 같은 제품 검사가 육안 및 인간의 판단력에 의해 수행되는 경우 작업자의 피로도 누적으로 인해 그 공정 효율이 상당히 저감될 수 밖에 없고, 정밀 제품의 경우 그 검사 신뢰성이 상당히 낮을 수 밖에 없다.However, when such product inspection is performed by the naked eye and human judgment, the process efficiency is inevitably reduced due to the accumulation of worker's fatigue, and in the case of a precision product, the inspection reliability is inevitably low.

상술한 과제 해결의 일환으로, 본 발명은 인력을 대체하여 제품 검사를 자동 수행하기 위한 제품 검사 장치 및 제품 검사 방법을 제공하고자 하는 것을 그 목적으로 한다.As part of solving the above problems, an object of the present invention is to provide a product inspection apparatus and a product inspection method for automatically performing product inspection by replacing human resources.

본 발명에 의한 제품 검사 방법은, 검사 대상 제품인 피검사품의 표면 이미지인 적어도 하나 이상의 제 1 검사 이미지가 획득되는 검사 화상 획득단계 및 상기 검사 화상 획득단계에서의 상기 제 1 검사 이미지가 분석됨으로써 상기 피검사품의 표면 결함 여부가 판단되는 양부 판정단계 를 포함하는 것을 특징으로 한다.The product inspection method according to the present invention includes an inspection image acquiring step in which at least one first inspection image that is a surface image of an inspection target product, which is an inspection target product, is acquired, and the first inspection image is analyzed in the inspection image acquiring step, so that the It characterized in that it comprises a quality determination step of determining whether the surface defect of the inspection item.

또한, 상기 양부 판정단계는, 상기 제 1 검사 이미지에서 소정 밝기 이하를 나타내는 그레이 레벨(Gray level) 분포가 검출된 경우, 상기 피검사품은 불량인 것으로 판단되는 것을 특징으로 한다.Also, in the quality determination step, when a distribution of a gray level indicating less than a predetermined brightness is detected in the first inspection image, it is characterized in that the inspected product is determined to be defective.

또한, 상기 제품 검사 방법은, 상기 검사 화상 획득단계 이전에 수행되며, 양품의 표면 이미지인 적어도 하나 이상의 제 1 기준 이미지가 획득되는 기준 화상 획득단계, 상기 검사 화상 획득단계 이전에 수행되며, 상기 기준 화상 획득단계에서의 상기 제 1 기준 이미지가 그레이 레벨(Gray level)의 분포도에 대응하여 적어도 하나 이상의 제 1 관심영역(Region of interest)으로 구획되는 관심영역 구획단계 및 상기 피검사품의 표면 양부를 판단하기 위한 기준으로서 그레이 레벨(Gray level)의 밝기 수치인 적어도 하나 이상의 제 1 기준이 상기 각 제 1 관심영역마다 설정되는 기준 설정단계를 더 포함하고, 상기 검사 화상 획득단계는, 상기 제 1 검사 이미지가 상기 제 1 기준 이미지에 대응되게 획득되며, 상기 양부 판정단계는, 상기 제 1 관심영역에 대응하여 상기 제 1 검사 이미지가 적어도 하나 이상의 제 1 대응 관심영역으로 구획된 후, 각각의 상기 제 1 대응 관심영역이 대응되는 상기 각 제 1 기준에 매칭되어, 상기 제 1 기준을 만족하는 상기 제 1 대응 관심영역이 존재하는 경우 해당 피검사품은 불량인 것으로 판단되는 것을 특징으로 한다.In addition, the product inspection method is performed before the inspection image acquiring step, and is performed before the reference image acquiring step in which at least one first reference image that is a surface image of a good product is acquired, and the inspection image acquiring step, In the image acquisition step, the first reference image is partitioned into at least one first region of interest corresponding to the gray level distribution, and determining whether the surface of the inspection object is good or bad The method further includes a reference setting step of setting at least one first reference, which is a brightness value of a gray level, for each of the first regions of interest as a reference for performing the examination, wherein the obtaining the examination image includes: the first examination image is obtained corresponding to the first reference image, and in the determining step, the first inspection image is divided into at least one or more first corresponding ROIs corresponding to the first ROI, and then each of the first When the corresponding ROI matches each of the first criteria, and there is the first corresponding ROI that satisfies the first criterion, it is characterized in that it is determined that the corresponding object to be inspected is defective.

또한, 상기 기준 설정단계는, 상기 제 1 기준에는 상기 그레이 레벨의 크기가 더 포함하여 고려되는 것을 특징으로 한다.In addition, in the reference setting step, the first reference is characterized in that the size of the gray level is further included.

또한, 상기 기준 화상 획득단계는, 양품의 형상 이미지인 적어도 하나 이상의 제 2 기준 이미지가 획득되는 과정이 더 포함되고, 상기 관심영역 구획단계는, 상기 제 2 기준 이미지에서 형상 분포에 관해 소정의 유사도가 존재하는 구간들 각각이 제 2 관심영역으로 구획되는 과정이 더 포함되고, 상기 기준 설정단계는, 상기 피검사품의 형상 양부를 판단하기 위한 기준으로서 상기 각 제 2 관심영역 마다 치수 범위를 포함하는 기준인 제 2 기준이 설정되는 과정이 더 포함되고, 상기 검사 화상 획득단계는, 상기 피검사품의 형상 이미지인 적어도 하나 이상의 제 2 검사 이미지가 상기 제 2 기준 이미지에 대응되게 획득되며, 상기 양부 판정단계는, 상기 제 2 관심영역에 대응하여 상기 제 2 검사 이미지가 적어도 하나 이상의 제 2 대응 관심영역으로 구획된 후, 상기 제 2 대응 관심영역 각각이 대응되는 상기 제 2 기준과 매칭되어, 상기 제 2 기준을 불만족하는 상기 제 2 대응 관심영역이 검출되는 경우 해당 피검사품은 불량인 것으로 판단되는 것을 특징으로 한다.In addition, the step of acquiring the reference image further includes a process of acquiring at least one second reference image that is a shape image of a good product, and the step of dividing the region of interest includes a predetermined degree of similarity with respect to shape distribution in the second reference image. The step of dividing each of the sections in which is present into a second region of interest is further included, and the step of setting the reference includes a dimension range for each of the second regions of interest as a criterion for judging the shape or quality of the inspected object. The method further includes a process of setting a second reference, which is a reference, in the inspection image acquiring step, at least one second inspection image that is a shape image of the inspected object is acquired to correspond to the second reference image, In the step of dividing the second examination image into at least one or more second corresponding ROIs corresponding to the second ROI, each of the second corresponding ROIs is matched with the corresponding second criterion, and the second inspection image is divided into one or more second corresponding ROIs. When the second corresponding ROI that does not satisfy the second criterion is detected, the corresponding inspection object is determined to be defective.

본 발명에 의한 제품 검사 장치는, 검사 대상 제품인 피검사품의 표면 이미지인 적어도 하나 이상의 제 1 검사 이미지를 분석하여 상기 피검사품의 표면 결함 여부를 판단하는 제 1 판정모듈을 포함하여 구성되는 제 1 분석부 를 포함하는 것을 특징으로 한다.The product inspection apparatus according to the present invention comprises a first determination module configured to analyze at least one first inspection image, which is a surface image of an inspection target product, to determine whether the inspection target product has a surface defect. It is characterized in that it contains a part.

또한, 상기 제 1 판정모듈은, 상기 제 1 검사 이미지에서 소정 밝기 이하를 나타내는 그레이 레벨(Gray level) 분포가 검출된 경우 상기 피검사품은 불량인 것으로 판단하는 것을 특징으로 한다.In addition, the first determination module is characterized in that when a distribution of a gray level indicating less than a predetermined brightness in the first inspection image is detected, it is determined that the inspected product is defective.

또한, 상기 제 1 분석부는, 양품의 표면 이미지인 제 1 기준 이미지를 소정의 유사도가 존재하는 그레이 레벨(Gray level)의 분포도에 대응하여 적어도 하나 이상의 제 1 관심영역(Region of interest)으로 구획하는 제 1 구획모듈과, 상기 피검사품의 표면 양부를 판단하기 위한 기준으로서 그레이 레벨(Gray level)의 밝기 수치인 적어도 하나 이상의 제 1 기준을 상기 각 제 1 관심영역마다 설정하는 제 1 기준 설정모듈과, 상기 제 1 관심영역에 대응하여 상기 제 1 검사 이미지를 적어도 하나 이상의 제 1 대응 관심영역으로 구획하는 제 1 대응 구획모듈을 포함하고, 상기 제 1 판정모듈은, 상기 제 1 대응 관심영역 각각을 대응되는 상기 각 제 1 기준에 매칭하여 상기 제 1 기준을 만족하는 상기 제 1 대응 관심영역이 존재하는 경우 해당 피검사품을 불량으로 판정하는 것을 특징으로 한다.In addition, the first analysis unit divides a first reference image, which is a surface image of a non-defective product, into at least one first region of interest corresponding to a distribution of a gray level having a predetermined similarity. A first division module, and a first criterion setting module for setting at least one first criterion, which is a brightness value of a gray level, for each first region of interest as a criterion for judging the quality of the surface of the inspected object; , a first corresponding partitioning module for partitioning the first examination image into at least one first corresponding ROI corresponding to the first ROI, wherein the first determination module is configured to divide each of the first corresponding ROIs. When the first corresponding region of interest that matches the corresponding first criterion and satisfies the first criterion exists, the inspected object is determined to be defective.

또한, 상기 제 1 기준 설정모듈은, 상기 제 1 기준을 설정하는 경우 상기 그레이 레벨의 크기를 더 포함하여 고려하는 것을 특징으로 한다.In addition, the first reference setting module, when setting the first reference, it characterized in that it further includes the size of the gray level to consider.

또한, 상기 제품 검사 장치는, 검사 대상 제품인 피검사품의 형상 이미지인 적어도 하나 이상의 제 2 검사 이미지를 분석하여 상기 피검사품의 형상 결함 여부를 판단하는 제 2 판정모듈을 포함하여 구성되는 제 2 분석부를 더 포함하는 것을 특징으로 한다.In addition, the product inspection apparatus includes a second analysis unit configured to include a second determination module that analyzes at least one second inspection image that is a shape image of an inspection target product and determines whether the inspection target product has a shape defect. It is characterized in that it further comprises.

또한, 상기 제 2 분석부는, 양품의 형상 이미지인 적어도 하나 이상의 제 2 기준 이미지에서 형상 분포에 관해 소정의 유사도가 존재하는 구간들 각각을 제 2 관심영역으로 구획하는 제 2 구획모듈과, 상기 피검사품의 형상 양부를 판단하기 위한 기준으로서 상기 각 제 2 관심영역 마다 치수 범위를 포함하는 기준인 제 2 기준을 설정하는 제 2 기준 설정모듈과, 상기 제 2 관심영역에 대응하여 상기 제 2 검사 이미지를 적어도 하나 이상의 제 2 대응 관심영역으로 구획하는 제 2 대응 구획모듈을 포함하고, 상기 제 2 판정모듈은, 상기 제 2 대응 관심영역 각각을 대응되는 상기 각 제 2 기준에 매칭하여 상기 제 2 기준을 불만족하는 상기 제 2 대응 관심영역이 존재하는 경우 해당 피검사품을 불량으로 판정하는 것을 특징으로 한다.In addition, the second analysis unit includes a second partitioning module for partitioning each of the sections having a predetermined similarity with respect to shape distribution in at least one second reference image that is a shape image of a good product into a second region of interest; a second standard setting module for setting a second standard, which is a standard including a dimensional range for each of the second areas of interest, as a standard for judging whether the shape of the inspection item is good or bad; and the second examination image corresponding to the second area of interest and a second corresponding partitioning module for partitioning the ? into at least one or more second corresponding ROIs, wherein the second determining module is configured to match each of the second corresponding ROIs with the corresponding respective second criteria to match the second criteria. When the second corresponding region of interest that is dissatisfied exists, the inspected object is determined as defective.

본 발명에 의한 제품 검사 장치는, 피검사품의 이미지를 양품 이미지를 통해 획득된 각종 데이터들과 매칭 비교함으로써 제품의 표면 및 형상 검사를 수행하는 제 1 분석부 및 제 2 분석부를 포함하며, 이와 같은 상기 제 1 분석부 및 상기 제 2 분석부의 자동 제품 검사 특성을 통해, 제품 검사시 인력의 소모가 최소화되고 육안 및 인간의 판단력 대비 그 검사 정확도가 더욱 향상되는 효과가 발생한다.The product inspection apparatus according to the present invention includes a first analysis unit and a second analysis unit for performing a surface and shape inspection of a product by matching and comparing an image of the inspected product with various data obtained through the non-defective image, and such Through the automatic product inspection characteristics of the first analysis unit and the second analysis unit, the consumption of manpower is minimized during product inspection and the inspection accuracy is further improved compared to the visual and human judgment.

또한, 본 발명에 의한 제품 검사 방법은, 상기 제품 검사 장치를 이용한 것인 바, 이에 따라 상기 제품 검사 방법은 상술한 상기 제품 검사 장치의 작용 효과에 대응되는 효과를 지닌다.In addition, the product inspection method according to the present invention uses the product inspection apparatus. Accordingly, the product inspection method has an effect corresponding to the effect of the product inspection apparatus described above.

도 1은 본 발명에 의한 제품 검사 장치를 나타내는 구성도이다.
도 2는 도 1에 도시된 표면 이미지 획득 부재에 의해 획득된 이미지의 일 예를 나타내는 사진이다.
도 3은 도 1에 도시된 제 1 분석부를 나타내는 상세 구성도이다.
도 4a는 도 3에 도시된 제 1 구획모듈의 일 사용예를 나타내는 모식도이다.
도 4b는 도 4a에 도시된 제 1 관심영역에 제 1 기준이 설정되는 예시를 나타내는 모식도이다.
도 4c는 제 1 대응 관심영역에 대하여 도 4b에 도시된 제 1 관심영역 및 제 1 기준을 매칭한 예시를 나타내는 모식도이다.
도 5는 도 1에 도시된 형상 이미지 획득 부재에 의해 획득된 이미지의 일 예를 나타내는 사진이다.
도 6은 도 1에 도시된 제 2 분석부를 나타내는 상세 구성도이다.
도 7a는 도 6에 도시된 제 2 구획모듈의 일 사용예를 나타내는 모식도이다.
도 7b는 도 7a에 도시된 제 2 관심영역에 제 2 기준이 설정되는 예시를 나타내는 모식도이다.
도 7c는 제 2 대응 관심영역에 대하여 도 7b에 도시된 제 2 관심영역 및 제 2 기준을 매칭한 예시를 나타내는 모식도이다.
도 8은 본 발명에 의한 제품 검사 방법을 나타내는 흐름도이다.
도 9a는 도 8에 도시된 제 1 분석부의 제품 표면 검사 과정을 나타내는 상세 흐름도이다.
도 9b는 도 8에 도시된 제 2 분석부의 제품 형상 검사 과정을 나타내는 상세 흐름도이다.
1 is a block diagram showing a product inspection apparatus according to the present invention.
FIG. 2 is a photograph showing an example of an image acquired by the surface image acquisition member shown in FIG. 1 .
FIG. 3 is a detailed configuration diagram illustrating the first analysis unit shown in FIG. 1 .
4A is a schematic diagram showing an example of use of the first partition module shown in FIG. 3 .
FIG. 4B is a schematic diagram illustrating an example in which a first criterion is set in the first region of interest shown in FIG. 4A .
4C is a schematic diagram illustrating an example of matching the first ROI and the first criterion shown in FIG. 4B with respect to the first corresponding ROI.
FIG. 5 is a photograph showing an example of an image acquired by the shape image acquiring member shown in FIG. 1 .
FIG. 6 is a detailed configuration diagram illustrating a second analysis unit illustrated in FIG. 1 .
7A is a schematic diagram showing an example of use of the second partition module shown in FIG. 6 .
FIG. 7B is a schematic diagram illustrating an example in which a second criterion is set in the second region of interest shown in FIG. 7A .
FIG. 7C is a schematic diagram illustrating an example of matching the second ROI and the second criterion shown in FIG. 7B with respect to the second corresponding ROI.
8 is a flowchart illustrating a product inspection method according to the present invention.
9A is a detailed flowchart illustrating a product surface inspection process of the first analysis unit shown in FIG. 8 .
9B is a detailed flowchart illustrating a product shape inspection process of the second analysis unit shown in FIG. 8 .

본 발명의 구체적인 설명에 앞서, 본 발명을 실시하기 위한 구체적인 사항들은 다음에 기재할 실시 예 및 도면에 포함되어 있고, 명세서 전체에 걸쳐 기재된 동일 참조 부호는 동일 구성요소를 지칭한다.Prior to the detailed description of the present invention, specific details for carrying out the present invention are included in the embodiments and drawings to be described below, and the same reference numerals described throughout the specification refer to the same components.

또한, 본 명세서에서의 단수형 표현들은 문구에서 특별히 언급하지 않는 이상 복수형도 포함한다 할 것이다.In addition, the singular expressions in this specification will also include the plural unless otherwise specified in the phrase.

이하, 도면들을 참조하여 본 발명에 따른 제품 검사 장치 및 제품 검사 방법에 대해 설명하도록 한다.Hereinafter, a product inspection apparatus and a product inspection method according to the present invention will be described with reference to the drawings.

도 1은 본 발명에 의한 제품 검사 장치를 나타내는 구성도이며, 먼저 이를 참조하여 본 발명에 의한 제품 검사 장치에 대해 설명하도록 한다.1 is a block diagram showing a product inspection apparatus according to the present invention, and first, with reference to this, a product inspection apparatus according to the present invention will be described.

도 1에 도시된 바와 같이, 본 발명에 의한 제품 검사 장치(1000)는 이미지 획득부(100), 회전부(200), 조명부(300), 제 1 분석부(400) 및 제 2 분석부(500)를 포함할 수 있다.As shown in FIG. 1 , the product inspection apparatus 1000 according to the present invention includes an image acquisition unit 100 , a rotation unit 200 , a lighting unit 300 , a first analysis unit 400 , and a second analysis unit 500 . ) may be included.

상기 이미지 획득부(100)의 경우, 양부 판정 대상 제품인 피검사품(1)의 표면 및 형상 이미지를 획득하는 수단으로, 카메라, 스캐너, 캠코더 등 다양한 이미지 획득 수단으로 구성될 수 있다.In the case of the image acquisition unit 100 , it is a means for acquiring the surface and shape images of the inspected product 1 , which is a product to be determined as good or bad, and may be composed of various image acquisition means such as a camera, a scanner, a camcorder, and the like.

그리고, 상기 회전부(200)는 상기 피검사품(1)을 소정의 회전축을 중심으로 회전시키는 수단이다.And, the rotating unit 200 is a means for rotating the inspection target (1) about a predetermined rotation axis.

이때, 상기 회전부(200)에 의해 피검사품(1)이 회전하는 동안 상기 이미지 획득부(100)가 제품을 복수회 촬영하게 된다.In this case, while the object 1 to be inspected 1 is rotated by the rotating unit 200 , the image acquisition unit 100 takes the product a plurality of times.

이와 같은 상기 회전부(200)의 회동에 대응하여, 피검사품(1)의 전체 구조가 이미지 획득부(100)에 노출될 수 있게 되며, 이를 통해 이미지 획득부(100)를 다수개 구비하지 않더라도 피검사품(1)의 전체 구조를 촬영할 수 있게 된다.Corresponding to the rotation of the rotating unit 200, the entire structure of the inspection object 1 can be exposed to the image acquisition unit 100, and through this, even if a plurality of image acquisition units 100 are not provided, the It becomes possible to photograph the whole structure of the inspection object 1 .

덧붙여, 상기 회전부(200)의 회전 속도 또는 상기 이미지 획득부(100)의 촬영 속도 중 적어도 어느 하나 이상은 다양하게 조작될 수 있다.In addition, at least one of the rotation speed of the rotating unit 200 and the photographing speed of the image acquisition unit 100 may be variously manipulated.

그리고, 상기 조명부(300)는 피검사품(1) 주위에 소정의 광을 조사함으로써 촬영에 적합한 밝기를 조성하는 기능을 수행한다.In addition, the lighting unit 300 performs a function of creating brightness suitable for photographing by irradiating a predetermined light around the object 1 to be inspected.

그리고, 상기 제 1 분석부(400)는 상기 이미지 획득부(100)를 통해 구비된 피검사품(1)의 이미지를 분석하여 제품 표면의 양부를 판별하는 기능을 수행한다.In addition, the first analysis unit 400 analyzes the image of the inspection object 1 provided through the image acquisition unit 100 to determine the quality of the product surface.

이 경우, 제품의 표면 결함으로는 긁힘, 이물질 부착, 흑점 등 다양한 종류가 존재할 수 있다.In this case, various types of defects such as scratches, foreign matter adhesion, and black spots may exist as surface defects of the product.

또한, 이와 같은 제품 결함이 존재하는 제품 표면에 상기 조명부(300) 등을 이용하여 광을 조사하면, 해당 결함부위의 면적, 높이, 또는 깊이 등 그 형상에 대응하여 결함부의 주변에는 정상적 표면 대비 소정의 음영이 발생하게 된다.In addition, when light is irradiated using the lighting unit 300 or the like on the surface of the product on which such product defects exist, the periphery of the defective portion has a predetermined value compared to the normal surface in response to the shape, such as the area, height, or depth of the defective portion. shading occurs.

그리고, 이와 같은 음영의 조성으로 인해 결함부의 주변에는 정상 표면부 대비 소정 더 어두운 수치를 나타내는 그레이 레벨(gray level)이 조성된다.In addition, due to the shade composition, a gray level indicating a darker value is formed around the defective portion compared to the normal surface portion.

이와 같이, 상술한 그레이 레벨(gray level)의 차이가 발생하는 구간은 제품 표면 결함이 존재하는 구간이라 할 수 있으며, 상기 제 1 분석부(400)는 이러한 제품 표면의 표면 밝기, 즉 그레이 레벨을 분석함으로써 제품 표면의 하자 여부를 분석한다.In this way, the section in which the above-described gray level difference occurs can be referred to as a section in which product surface defects exist, and the first analysis unit 400 determines the surface brightness of the product surface, that is, the gray level. Analyze whether the product surface is defective or not.

그리고, 상기 제 2 분석부(500)는 상기 이미지 획득부(100)를 통해 구비된 피검사품(1)의 이미지를 분석하여 제품의 형상 결함 여부를 판단하는 기능을 수행한다.In addition, the second analysis unit 500 analyzes the image of the inspected product 1 provided through the image acquisition unit 100 to determine whether the product has a shape defect.

이러한 제품 형상 결함을 판단하기 위해서는 제품의 각부 치수, 곡률, 두께, 경사 등 다양한 요인들이 고려될 수 있다.In order to determine such a product shape defect, various factors such as dimensions, curvature, thickness, and inclination of each part of the product may be considered.

이어서, 다른 도면들을 더 참조하여 상기 제품 검사 장치(1000)의 각 구성들에 대해 상세히 설명하도록 한다.Next, each configuration of the product inspection apparatus 1000 will be described in detail with further reference to other drawings.

도 2는 도 1에 도시된 표면 이미지 획득 부재에 의해 획득된 이미지의 일 예를 나타내는 사진이다.FIG. 2 is a photograph showing an example of an image acquired by the surface image acquisition member shown in FIG. 1 .

도 3은 도 1에 도시된 제 1 분석부를 나타내는 상세 구성도이다.FIG. 3 is a detailed configuration diagram illustrating the first analysis unit shown in FIG. 1 .

그리고, 도 4a는 도 3에 도시된 제 1 구획모듈의 일 사용예를 나타내는 모식도이고, 도 4b는 도 4a에 도시된 제 1 관심영역에 제 1 기준이 설정되는 예시를 나타내는 모식도이며, 도 4c는 제 1 대응 관심영역에 대하여 도 4b에 도시된 제 1 관심영역 및 제 1 기준을 매칭한 예시를 나타내는 모식도이다.And, FIG. 4A is a schematic diagram illustrating an example of using the first partition module shown in FIG. 3 , and FIG. 4B is a schematic diagram illustrating an example in which a first criterion is set in the first region of interest shown in FIG. 4A , FIG. 4C is a schematic diagram illustrating an example of matching the first ROI and the first criterion shown in FIG. 4B with respect to the first corresponding ROI.

도2, 도 3 및 도 4a 내지 도 4c를 더 참조하여 상기 이미지 획득부(100) 및 상기 제 1 분석부(400)에 대해 상세히 설명하도록 한다.The image acquisition unit 100 and the first analysis unit 400 will be described in detail with further reference to FIGS. 2, 3, and 4A to 4C.

먼저, 도 1을 참조한 바와 같이, 상기 이미지 획득부(100)는 표면 이미지 획득 부재(110)를 포함할 수 있다.First, as shown in FIG. 1 , the image acquisition unit 100 may include a surface image acquisition member 110 .

상기 표면 이미지 획득 부재(110)는 앞서 개요적으로 설명한 제 1 분석부(400)의 분석 대상인 제품의 표면 이미지를 획득하고자 하는 수단으로, 라인(Line) 카메라 등으로 구성될 수 있다.The surface image acquisition member 110 is a means for acquiring a surface image of a product to be analyzed by the first analysis unit 400 outlined above, and may be configured as a line camera or the like.

이러한 라인 카메라 등은, 도 2에 예시된 바와 같이, 촬영된 제품의 형상을 2차원적 라인 형상으로 이미지화하는 수단이다.Such a line camera or the like is a means for imaging the shape of a photographed product into a two-dimensional line shape, as illustrated in FIG. 2 .

예컨대, 도 1에는 피검사품(1)으로서 소정의 원통 구조체가 도시되어 있고, 상기 원통 구조체를 라인 카메라 등으로 촬영하면 촬영 부분의 입체적 형상이 아닌, 도 2에 도시된 바와 같이 일종의 평면 화상이 획득될 수 있다.For example, in FIG. 1, a predetermined cylindrical structure is shown as the object to be inspected 1, and when the cylindrical structure is photographed with a line camera or the like, a kind of flat image is obtained as shown in FIG. 2, not the three-dimensional shape of the photographing part. can be

이와 같이, 라인 카메라 등을 이용함으로써 표면 결함이 존재하는 구간과 그 주변구간이 상호 동일 평면상에서 존재하는 것처럼 나타날 수 있게 된다.In this way, by using a line camera or the like, the section where the surface defect exists and the section around it can appear as if they exist on the same plane.

그리하여, 제품 표면의 그레이 레벨 분포는 동일 평면상에서 나타날 수 있게 되므로, 이에 따라 제품 표면의 그레이 레벨 분포는 보다 더 일목 요연하게 파악될 수 있게 된다.Thus, the gray level distribution on the surface of the product can appear on the same plane, and accordingly, the gray level distribution on the surface of the product can be grasped more clearly.

그리고, 도 3을 참조한 바와 같이, 상기 제 1 분석부(400)는 제 1 구획모듈(410)과, 제 1 기준 설정모듈(420)과, 제 1 대응 구획모듈(430)과, 제 1 판정모듈(440)을 포함할 수 있다.And, as shown in FIG. 3 , the first analysis unit 400 includes a first division module 410 , a first reference setting module 420 , a first corresponding division module 430 , and a first determination A module 440 may be included.

이러한 상기 제 1 분석부(400)는 제품 표면 검사를 위한 기준 설정 및 설정된 기준에 따른 제품 표면 검사를 수행한다.The first analysis unit 400 sets standards for product surface inspection and performs product surface inspection according to the set standards.

이때, 제품 표면의 양부 판단 기준을 설정하기 위해서는 양품의 표면 이미지 데이터를 참고할 수 있으며, 상기 제 1 구획모듈(410)과 상기 제 1 기준 설정모듈(420)은 양품의 표면 이미지를 매개로 그 표면 검사 기준을 설정할 수 있다.At this time, in order to set the standard for determining the quality of the product surface, it is possible to refer to the surface image data of the non-defective product, and the first partition module 410 and the first standard setting module 420 are connected to the surface image of the non-defective product through the surface image of the non-defective product. Inspection criteria can be set.

보다 상세하게는, 도 4a에 도시된 바와 같이, 상기 제 1 구획모듈(410)은 양품의 표면 이미지인 제 1 기준 이미지(is)에서 그레이 레벨이 소정의 분포도 내에 형성된 구간들을 파악한다.More specifically, as shown in FIG. 4A , the first partitioning module 410 identifies sections in which gray levels are formed within a predetermined distribution in the first reference image is, which is a surface image of a non-defective product.

또한, 상기 제 1 구획모듈(410)은 이와 같이 그레이 레벨의 분포도가 일정한 구간들 각각을 제 1 관심영역(Region of interest, roi, rs)으로 지정한다.Also, the first partition module 410 designates each of the sections having a uniform gray level distribution as a first region of interest (roi, rs).

예컨대, 도 4a에 도시된 상기 제 1 기준 이미지(is)에서는 그레이 레벨 분포 범위가 145~125, 105~85, 65~45인 것과 같이, 그레이 레벨 분포도가 20 이내인 구간들 각각이 roi 1, roi 2 및 roi n 등과 같은 상기 제 1 관심영역(rs)으로 구획된 것으로 예시되어 있다.For example, in the first reference image (is) shown in FIG. 4A , as gray level distribution ranges are 145 to 125, 105 to 85, 65 to 45, each of the sections in which the gray level distribution is within 20 is roi 1, It is exemplified as being partitioned into the first region of interest rs such as roi 2 and roi n.

이때, 상술한 사항들은 설명을 위한 예시일 뿐이며, 적어도 하나 이상의 제 1 관심영역(rs)을 구획하기 위한 기준은 앞서 언급한 그레이 레벨 분포도 뿐만 아니라, 다양한 파라메터들을 통해 안출될 수 있다 할 것이다.In this case, the above-mentioned matters are merely examples for explanation, and a criterion for partitioning at least one first region of interest rs may be devised through various parameters as well as the aforementioned gray level distribution map.

덧붙여, 상술한 제 1 관심영역(rs) 구획 과정은 사용자가 상기 제 1 구획모듈(410)을 직접 조작함으로써 행해질 수 있다.In addition, the above-described first region of interest (rs) partitioning process may be performed by a user directly manipulating the first partitioning module 410 .

그리고, 도 4b에 도시된 바와 같이, 상기 제 1 기준 설정모듈(420)은 피검사품(1)의 양부를 판단하기 위한 기준인 제 1 기준(p1)을 설정한다.And, as shown in FIG. 4B , the first standard setting module 420 sets a first standard p1 that is a standard for judging the quality of the inspected product 1 .

상세하게는, 앞서 설명한 바와 같이 제품 표면에 결함이 존재하는 경우 이는 주변 구간에 비해 더 어둡게 나타나는 바, 이때 상기 제 1 기준 설정모듈(420)은 각 제 1 관심영역(rs)마다 표면 하자로 인식할 그레이 레벨 범위를 설정하는 기능을 수행한다.In detail, as described above, when a defect exists on the surface of the product, it appears darker than in the surrounding section. In this case, the first reference setting module 420 recognizes a surface defect for each first region of interest rs. Executes the function to set the gray level range to be used.

예컨대, 도 4b에 도시된 바와 같이, roi 1에 해당하는 제 1 관심영역(rs)에서의 상기 제 1 기준(p1)은 그레이 레벨이 115 이하인 것으로 설정되어 있다.For example, as shown in FIG. 4B , the first reference p1 in the first region of interest rs corresponding to roi 1 is set to have a gray level of 115 or less.

또한, 상술한 예시에서 상기 제 1 기준(p1)은 115 이하를 나타내는 그레이 레벨의 크기가 10 이상인 것으로 설정되어 있으며, 이때의 크기 단위는 픽셀(pixel) 등 다양한 종류가 설정될 수 있다.In addition, in the above-described example, the first reference p1 is set to have a gray level of 115 or less and a size of 10 or more, and various types such as a pixel may be set as the size unit at this time.

즉, 이 경우, 해당 제 1 관심영역(rs) 내에서 그레이 레벨이 115 이하이면서도 그 크기가 10 이상인 구간이 검출되는지 여부에 따라 그 표면 결함 여부가 판정되는 것이다. That is, in this case, whether or not the surface defect is determined according to whether a section having a gray level of 115 or less and a size of 10 or more is detected within the first region of interest rs.

이와 같이, 상기 제 1 기준(p1)은, 라인 카메라 취득 이미지에서 표면 결함 여부로 판정하고자 하는 그레이 레벨 범위 및 그 크기를 의미하는 것이며, 이러한 제 1 기준(p1) 설정은 사용자가 상기 제 1 기준 설정모듈(420)을 조작함으로써 수행될 수 있다.As such, the first criterion p1 means the gray level range and the size to be determined as a surface defect in the image acquired by the line camera, and this first criterion p1 setting is determined by the user as the first criterion This may be performed by manipulating the setting module 420 .

다음으로, 도 4c에 도시된 바와 같이, 상기 제 1 대응 구획모듈(430)은 검사 대상품인 피검사품(1)의 표면 이미지인 제 1 검사 이미지(ic)를 상술한 제 1 관심영역(rs)에 대응하여 제 1 대응 관심영역(rc)으로 구획하는 기능을 수행한다.Next, as shown in FIG. 4C , the first corresponding partitioning module 430 describes the first inspection image ic, which is the surface image of the inspection target object 1 , the first region of interest rs ) corresponding to the first corresponding region of interest (rc).

이때, 상기 제 1 기준 이미지(is) 및 상기 제 1 검사 이미지(ic)는, 조명부(300) 및 이미지 획득부(100)의 배치, 회전부(200)의 회전수 및 이미지 획득부(100)의 촬영 속도, 기타 검사 장소의 전체적 조명 상태 등 제품 검사를 위한 모든 조건들이 상호 대응되는 상태인 경우를 기준으로 획득된 것이다.At this time, the first reference image (is) and the first inspection image (ic) are the arrangement of the lighting unit 300 and the image acquisition unit 100 , the number of rotations of the rotation unit 200 , and the image acquisition unit 100 . It was obtained based on a case in which all conditions for product inspection, such as shooting speed and the overall lighting condition of the inspection site, correspond to each other.

이와 같은 촬영 조건의 동일성을 만족하는 것을 전제로 한다면, 도 4c에 예시된 바와 같이 상기 제 1 기준 이미지(is)와 상기 제 1 검사 이미지(ic)는 그 전체 크기가 상호 동일하게 된다.Assuming that the same photographing conditions are satisfied, as illustrated in FIG. 4C , the first reference image is and the first inspection image ic have the same overall size.

그리고, 상술한 양 이미지(is, ic)간의 크기 일치 작용을 통해, 상기 제 1 관심영역(rs)을 상기 제 1 검사 이미지(ic)로 대칭 이동시키는 것과 같이 단순한 과정을 수행하는 것만으로도, 제 1 검사 이미지(ic)상의 상대적 제 1 대응 관심영역(rc) 위치 및 크기는 제 1 기준 이미지(is)상의 상대적 제 1 관심영역(rs) 위치 및 크기에 맞춤하여 정확하게 설정될 수 있게 된다.And, by performing a simple process such as symmetrically moving the first region of interest rs to the first inspection image ic through the size matching action between the above-described both images (is, ic), The position and size of the first relative region of interest rc on the first examination image ic can be precisely set by matching the position and size of the relative first region of interest rs on the first reference image is.

또한, 상술한 이미지 획득 조건 일치를 통해, 상기 제 1 검사 이미지(ic)에서의 그레이 레벨 분포는 결함부를 제외하고는 제 1 기준 이미지(is)와 동일하게 형성되므로, 이에 따라 제 1 검사 이미지(ic)와 제 1 기준 이미지(is)를 대비할 시 그 결함부를 일목 요연하게 파악할 수 있게 된다. In addition, through the above-described image acquisition condition matching, the gray level distribution in the first inspection image ic is formed to be the same as that of the first reference image is except for the defective part, so that the first inspection image ( ic) and the first reference image (is), the defect part can be clearly identified at a glance.

다음으로, 상술한 바와 같이 양 이미지(is, ic)간의 크기 일치 및 양 관심영역(rs, rc)간의 크기와 배치 일치 작용이 진행된 후, 상기 제 1 판정모듈(440)은 상기 제 1 기준(p1)들을 상기 제 1 관심영역(rs) 각각에 대응되는 제 1 대응 관심영역(rc)으로 맞춤 매칭한다. Next, as described above, after the size matching between the images (is, ic) and the size and arrangement matching between the two regions of interest (rs, rc) are performed, the first determination module 440 performs the first criterion ( p1) are custom-matched to a first corresponding ROI rc corresponding to each of the first ROIs rs.

이때, 상기 제 1 기준(p1)을 만족하는 제 1 대응 관심영역(rc)이 존재하는 경우, 상기 제 1 판정모듈(440)은 해당 피검사품(1)이 불량인 것으로 판정한다.At this time, if there is a first corresponding region of interest rc that satisfies the first criterion p1 , the first determination module 440 determines that the inspected object 1 is defective.

예컨대, 도 4c를 참조하면, roi 2에 대응되는 제 1 대응 관심영역(rc)에는 그레이 레벨의 수치가 32이고, 그 크기가 13인 영역이 검출되어 있다.For example, referring to FIG. 4C , a gray level value of 32 and a size of 13 are detected in the first corresponding region of interest rc corresponding to roi 2 .

이때, 해당 제 1 대응 관심 영역(rc) 및 그에 대응되는 제 1 관심영역(rs)을 대상으로한 제 1 기준(p1)은 그레이 레벨이 75 이하이되, 그 크기가 10 이상인 구간이 검출되는 경우 이를 표면 불량으로 인식하는 것으로 설정되어 있다.In this case, when the gray level of the first reference p1 for the corresponding first ROI rc and the corresponding first ROI rs is 75 or less, but a section whose size is 10 or more is detected It is set to recognize this as a surface defect.

즉, 상기 roi 2에 대응되는 제 1 대응 관심 영역(rc)의 경우 그에 대응되는 제 1 기준(p1)을 만족하는 것인 바, 이로써 해당 제 1 대응 관심영역(rc) 상에는 표면 불량이 존재하는 것으로 판정될 수 있다.That is, in the case of the first corresponding ROI rc corresponding to roi 2, the corresponding first criterion p1 is satisfied, so that a surface defect exists on the corresponding first ROI rc. can be judged as

따라서, 이 경우, 상기 roi 2에 해당되는 제 1 대응 관심영역(rc)을 포함하는 제품에는 표면 불량이 존재하는 것으로 최종 판별된다.Therefore, in this case, it is finally determined that a surface defect exists in the product including the first corresponding region of interest rc corresponding to roi 2 .

이러한 제 1 분석부(400)의 이미지 구획 및 구획별 개별 기준 설정 특성은 제품 표면의 조명 불균일, 회전하는 제품을 촬영할 시 발생할 수 있는 드래프트 현상 등 각종 요인에 의해 제품의 표면 결함 여부가 오판되는 것을 방지하기 위함이다.The image division and individual standard setting characteristics for each division of the first analysis unit 400 prevent misjudgment of surface defects of the product due to various factors, such as uneven illumination of the product surface and a draft phenomenon that may occur when photographing a rotating product. is to prevent

예컨대, 도 4a 내지 도 4c에 도시된 제 1 기준 이미지(is)에 대응되는 제 1 검사 이미지(ic)가 획득되는 경우, 정확한 제품 표면 검사가 수행된다면 이러한 제 1 검사 이미지는 양품으로 인식되어야 한다. For example, when a first inspection image ic corresponding to the first reference image is shown in FIGS. 4A to 4C is obtained, if an accurate product surface inspection is performed, the first inspection image must be recognized as a good product. .

다만, 이 경우 도 4a 내지 도 4c에 도시된 바와 같이, 조명의 불균일 등 각종 요인으로 인해 상기 제 1 기준 이미지(is)에는 roi 1, roi 2 내지 roi n 구간들처럼 그 평균적 그레이 레벨 분포도가 다소 상이하게 형성될 수 있다.However, in this case, as shown in FIGS. 4A to 4C , due to various factors such as non-uniformity of illumination, the average gray level distribution of the first reference image (is) is somewhat like the roi 1, roi 2 to roi n sections. may be formed differently.

이때, 표면 결함 여부를 판정하기 위한 그레이 레벨 기준 수치를 단순히 일원적으로만 설정한다면, 상술한 그레이 레벨 분포도에 의해 해당 제품이 불량으로 인식될 수 있다.In this case, if the gray level reference value for determining whether a surface defect exists is simply set in a single way, the product may be recognized as defective by the gray level distribution diagram described above.

이에 대한 상세한 일 예로서, 표면 결함 여부 기준이 110 이하의 그레이 레벨로 설정되어 있고, 상기 제 1 기준 이미지(is)에 대응되는 제 1 검사 이미지(ic)가 획득되었다고 가정한다면, 평균적 그레이 레벨 분포도가 110 이하인 roi 2 내지 roi n 구간은 전부 표면 결함으로 인식될 수 밖에 없다.As a detailed example of this, if it is assumed that the surface defect criterion is set to a gray level of 110 or less, and a first inspection image ic corresponding to the first reference image is is obtained, the average gray level distribution diagram All of the sections roi 2 to roi n in which is 110 or less are inevitably recognized as surface defects.

이와 같이, 표면 결함 기준을 단순 일원적으로만 설정한다면, 실제로 표면 결함이 존재하지 아니한 roi 2 내지 roi n 구간들은 조명의 불균일 등과 같은 다른 요인에 의해 불량으로 인식되는 등 오판이 발생하게 되는 것이다. In this way, if the surface defect criteria are simply and unitarily set, the roi 2 to ro n sections in which the surface defects do not actually exist are recognized as defective by other factors such as non-uniformity of lighting, and misjudgment will occur.

이러한 오판을 방지하기 위하여, 촬영용 조명이 제품 표면에 고루 분포되도록 별도의 조명부(300) 개수 및 배치 구조안을 안출하고, 드래프트 현상 등을 방지하기 위해 표면 이미지 획득 부재(110) 등을 다소 고성능 제품으로 구비하는 방안 등이 있을 수 있다.In order to prevent such a misjudgment, a separate lighting unit 300 number and arrangement structure are devised so that the lighting for shooting is evenly distributed on the surface of the product, and the surface image acquisition member 110 is used as a somewhat high-performance product to prevent draft phenomena. There may be other ways to prepare.

그러나, 이와 같은 조명부(300) 배치안 설계 및 표면 이미지 획득 부재(110) 교체안을 수행하기 위해서는 상당한 설비 비용 및 연구 개발 기간이 소모될 수 밖에 없어 경제적으로 상당한 부담이 발생할 수 있다.However, in order to carry out the design of the lighting unit 300 arrangement plan and the replacement plan of the surface image acquisition member 110 , considerable equipment cost and research and development period are inevitably consumed, which may cause a significant economic burden.

또한, 상술한 설비 배치 및 교체안을 수행하더라도 상당 수준 이내의 조명 불균일 분포 발생 등의 오차는 여전히 피할 수 없는 문제이며, 이로 인해 여전히 표면 결함 여부 오판 가능성이 존재하게 된다.In addition, even if the above-described facility arrangement and replacement plan is performed, errors such as occurrence of uneven distribution of lighting within a significant level are still unavoidable problems, and thus, there is still a possibility of erroneous judgment of surface defects.

그러나, 상기 제 1 분석부(400)를 구비한다면, 전술한 바와 같이 그레이 레벨 분포상의 동일성이 존재하는 구간들 각각이 상술한 제 1 기준(p1) 설정 원리와 같이 맞춤형으로 개별 검사될 수 있게 되므로 그 오판 가능성이 확연히 감소될 수 있게 된다.However, if the first analyzer 400 is provided, as described above, each of the sections having the same gray level distribution can be individually inspected according to the principle of setting the first reference p1 described above. The possibility of that misjudgment can be significantly reduced.

덧붙여, 이러한 고도의 조명 배치 뿐만 아니라, 주변 픽셀 대비 그레이 레벨의 변화율을 세밀하게 검출할 수 있는 알고리즘을 더 구비하더라도 오판 문제 발생은 여전히 발생할 수 있다.In addition, even if an algorithm capable of finely detecting the change rate of the gray level compared to the surrounding pixels is provided in addition to such a high-level lighting arrangement, misjudgment problems may still occur.

보다 상세하게는, 조명의 불균일로 인해 발생하는 그레이 레벨 변화량의 분기점 부근에는 그 그레이 레벨의 변화가 급격히 발생하므로, 이로 인해 해당 알고리즘이 상술한 분기점 구간을 불량으로 오판할 수 있다.More specifically, since the gray level change rapidly occurs near the branch point of the gray level change amount generated due to the non-uniformity of illumination, the algorithm may erroneously judge the aforementioned branch point section as defective.

예컨대, 도 4a 내지 도 4c에 도시된 경우를 예로 들어 설명하자면, 각 제 1 관심영역(rs) 또는 제 1 대응 관심영역(rc) 사이 경계점에는 조명의 불균일 분포로 인해 roi의 급격한 변화가 야기되며, 이때 해당 알고리즘은 이러한 경계점 구간들을 불량으로 오판할 수 있는 것이다.For example, taking the case shown in FIGS. 4A to 4C as an example, at the boundary point between each first region of interest rs or the first corresponding region of interest rc, an abrupt change in roi is caused due to the non-uniform distribution of illumination. , in this case, the algorithm may misjudg these boundary point sections as defective.

따라서, 조명 밝기 등 이미지 획득 조건이 일정하게 유지된다면, 제 1 분석부(400) 특유의 이미지 구획 및 구획별 개별 기준 설정 특성을 통해, 기타 다른 표면 검사 방법들이 공통적으로 가지는 문제점인 조명 분포 변화점 구간에서의 높은 오판 가능성이 획기적으로 저감되는 효과가 발생하게 된다.Therefore, if the image acquisition conditions such as lighting brightness are kept constant, the lighting distribution change point, which is a problem common to other surface inspection methods, through the image section unique to the first analysis unit 400 and individual standard setting characteristics for each section There is an effect that the high probability of misjudgment in the section is remarkably reduced.

이어서, 도 5는 도 1에 도시된 형상 이미지 획득 부재에 의해 획득된 이미지의 일 예를 나타내는 사진이다.Next, FIG. 5 is a photograph showing an example of an image acquired by the shape image acquiring member shown in FIG. 1 .

그리고, 도 6은 도 1에 도시된 제 2 분석부를 나타내는 상세 구성도이다.And, FIG. 6 is a detailed configuration diagram showing the second analysis unit shown in FIG. 1 .

그리고, 도 7a는 도 6에 도시된 제 2 구획모듈의 일 사용예를 나타내는 모식도이고, 도 7b는 도 7a에 도시된 제 2 관심영역에 제 2 기준이 설정되는 예시를 나타내는 모식도이며, 도 7c는 제 2 대응 관심영역에 대하여 도 7b에 도시된 제 2 관심영역 및 제 2 기준을 매칭한 예시를 나타내는 모식도이다.And, FIG. 7A is a schematic diagram illustrating an example of use of the second partition module shown in FIG. 6 , and FIG. 7B is a schematic diagram illustrating an example in which a second criterion is set in the second region of interest shown in FIG. 7A , and FIG. 7C . is a schematic diagram illustrating an example of matching the second ROI and the second criterion shown in FIG. 7B with respect to the second corresponding ROI.

도 5, 도 6 및 도 7a 내지 도 7c를 더 참조하여 상기 이미지 획득부(100) 및 상기 제 2 분석부(500)에 대해 상세히 설명하도록 한다.The image acquisition unit 100 and the second analysis unit 500 will be described in detail with further reference to FIGS. 5, 6 and 7A to 7C .

먼저, 도 1을 더 참조한 바와 같이, 상기 이미지 획득부(100)는 형상 이미지 획득 부재(120)를 더 포함할 수 있다.First, as further referenced to FIG. 1 , the image acquisition unit 100 may further include a shape image acquisition member 120 .

상기 형상 이미지 획득 부재(120)는 앞서 개요적으로 설명한 제 2 분석부(500)의 분석 대상인 제품의 형상 이미지를 획득하고자 하는 수단으로, 에어리어(Area, 영역) 카메라 등으로 구성될 수 있다.The shape image acquisition member 120 is a means for acquiring a shape image of a product to be analyzed by the second analysis unit 500 outlined above, and may be configured as an area camera or the like.

이때, 상기 형상 이미지 획득 부재(120)의 사용 일예로서, 도 5에는 앰플(Ampule)의 측면 형상이 도시되어 있다.At this time, as an example of use of the shape image acquisition member 120 , the side shape of the ampoule is shown in FIG. 5 .

그리고, 도 6을 참조하면, 상기 제 2 분석부(500)는 제 2 구획모듈(510)과, 제 2 기준 설정모듈(520)과, 제 2 대응 구획모듈(530)과, 제 2 판정모듈(540)을 포함할 수 있다.And, referring to FIG. 6 , the second analysis unit 500 includes a second division module 510 , a second reference setting module 520 , a second corresponding division module 530 , and a second determination module. 540 may be included.

이와 같은 상기 제 2 분석부(500)는 앞서 설명한 제 1 분석부(400)와 유사한 원리로서, 양품 이미지 획득을 통한 검사 기준 설정 및 설정된 검사 기준에 따른 제품 형상 검사를 수행한다.As described above, the second analysis unit 500 is similar to the first analysis unit 400 described above, and sets an inspection standard through acquisition of a non-defective product image and performs a product shape inspection according to the set inspection standard.

보다 상세하게는, 도 7a에 도시된 바와 같이, 상기 제 2 구획모듈(510)은 양품의 형상 이미지인 제 2 기준 이미지(ih)에서 형상간의 동일성이 존재하는 구간들 각각을 제 2 관심영역(Region of interest, roi, rh)으로 지정한다.More specifically, as shown in FIG. 7A , the second partitioning module 510 divides each of the sections in which the shape is identical in the second reference image ih, which is a shape image of a good product, into a second region of interest ( Region of interest, roi, rh).

이에 대한 일 예로서, 도 7a를 참조한 바와 같이, 앰플을 나타내는 상기 제 2 기준 이미지(ih)에서 몸체부에 대응되는 영역은 roi 1으로 지정되고, 목부에 대응되는 영역은 roi 2로 지정되어 있다.As an example of this, as shown in FIG. 7A , in the second reference image ih showing the ampoule, the area corresponding to the body is designated as roi 1, and the area corresponding to the neck is designated as roi 2. .

덧붙여, 상술한 제 2 관심영역(rh) 구획 과정은 사용자가 상기 제 2 구획모듈(510)을 직접 조작함으로써 행해질 수 있다.In addition, the above-described second region of interest (rh) partitioning process may be performed by a user directly manipulating the second partitioning module 510 .

그리고, 도 7b에 도시된 바와 같이, 상기 제 2 기준 설정모듈(520)은 피검사품(1)의 양부를 판단하기 위한 기준인 제 2 기준(p2)을 설정한다.And, as shown in FIG. 7B , the second reference setting module 520 sets a second reference p2 that is a reference for determining the quality of the inspected product 1 .

상세하게는, 도 7b를 참조한 바와 같이, 각 제 2 관심영역(rh)에는 각부 치수 범위, 길이 범위, 반경 범위, 곡률 범위 등 형상 검사를 위한 적어도 하나 이상의 파라메터가 지정될 수 있다.In detail, as shown in FIG. 7B , at least one parameter for shape inspection, such as a dimension range, a length range, a radius range, and a curvature range, of each part may be assigned to each second region of interest rh.

덧붙여, 상술한 제 2 기준(p2) 설정은 사용자가 상기 제 2 기준 설정모듈(520)을 조작함으로써 수행될 수 있다.In addition, the above-described setting of the second reference p2 may be performed by the user operating the second reference setting module 520 .

그리고, 도 7c를 참조한 바와 같이, 상기 제 2 대응 구획모듈(530)은 검사 대상품인 피검사품(1)의 형상 이미지인 제 2 검사 이미지(ik)를 상기 제 2 관심영역(rh)에 대응하여 제 2 대응 관심영역(rk)으로 구획하는 기능을 수행한다.And, as shown in FIG. 7C , the second corresponding division module 530 corresponds to the second inspection image ik, which is a shape image of the inspected object 1, which is the inspection object, to the second region of interest rh. to perform a function of partitioning into the second corresponding region of interest (rk).

이때, 상기 제 2 기준 이미지(ih) 및 상기 제 2 검사 이미지(ik)는, 조명부(300) 및 이미지 획득부(100)의 배치, 회전부(200)의 회전수 및 이미지 획득부(100)의 촬영 속도, 기타 검사 장소의 전체적 조명 상태 등 제품 검사를 위한 모든 조건들이 상호 대응되는 조건인 경우를 기준으로 획득된 것이다.At this time, the second reference image (ih) and the second inspection image (ik) are the arrangement of the lighting unit 300 and the image acquisition unit 100 , the number of rotations of the rotation unit 200 , and the image acquisition unit 100 . It was obtained based on the case where all conditions for product inspection, such as shooting speed and the overall lighting condition of the inspection site, correspond to each other.

이 경우, 도 4a 내지 도 4c를 참조하여 전술한 제 1 대응 관심영역(rc) 설정에 대응되는 원리와 같이, 기설정된 상기 제 2 관심영역(rh)을 상기 제 2 검사 이미지(ik)로 대칭 이동시킴으로써 상기 제 2 대응 관심영역(rk)이 설정될 수 있다.In this case, similarly to the principle corresponding to the setting of the first corresponding ROI rc described above with reference to FIGS. 4A to 4C , the preset second ROI rh is symmetrical to the second examination image ik. By moving, the second corresponding region of interest rk may be set.

이와 같은 이미지 획득 조건 및 관심영역(rh, rk) 일치 특성을 통해, 상기 제 2 대응 관심영역(rk) 각각에 그에 대응되는 상기 각 제 2 기준(p2)을 매칭한다 하더라도 오판이 발생할 확률이 현저히 감소하게 되며, 이러한 매칭 검사는 상기 제 2 판정모듈(540)에 의해 수행된다.Through such an image acquisition condition and the ROI (rh, rk) matching characteristic, even if the second corresponding ROI rk is matched with each of the second criteria p2 corresponding thereto, the probability of an erroneous judgment is remarkably high. is reduced, and this matching check is performed by the second determination module 540 .

상세하게는, 도 7c를 참조한 바와 같이, 상기 제 2 판정모듈(540)은 상기 제 2 대응 관심영역(rk) 각각을 대응되는 제 2 관심영역(rh)마다 기설정된 상기 제 2 기준(p2)과 매칭한다.In detail, as shown in FIG. 7C , the second determination module 540 assigns each of the second corresponding regions of interest rk to the preset second reference p2 for each corresponding second region of interest rh. match with

이때, 상기 제 2 기준(p2)을 불만족하는 제 2 대응 관심영역(rk)이 검출되는 경우, 해당 피검사품(1)은 불량으로 인식된다.At this time, when the second corresponding ROI rk that does not satisfy the second criterion p2 is detected, the corresponding inspected object 1 is recognized as defective.

덧붙여, 도 5 및 도 7a 내지 도 7c는 제품의 측면 형상을 기준으로 도시되어 있으나 이는 설명을 위한 일 예일 뿐이다.In addition, although FIGS. 5 and 7A to 7C are illustrated based on the side shape of the product, this is only an example for description.

보다 상세하게는, 전술한 회전부(200)의 검사품 회전 기능을 통해 정면, 평면, 저면 등 피검사품(1)의 다양한 위치가 촬영될 수 있으며, 이때 그 각각의 위치 이미지에 대하여 상술한 제 2 분석부(500)의 기능들이 수행될 수 있다 할 것이다.In more detail, various positions of the inspected object 1 such as the front, plane, and bottom surfaces can be photographed through the inspection article rotation function of the rotating unit 200 described above, and at this time, the second analysis described above for each position image It will be noted that the functions of the unit 500 may be performed.

이어서, 도 8은 본 발명에 의한 제품 검사 방법을 나타내는 흐름도이며, 이를 더 참조하여 본 발명에 의한 제품 검사 방법에 대해 전체적으로 설명하도록 한다.Next, Figure 8 is a flow chart showing a product inspection method according to the present invention, with reference to this will be described as a whole for the product inspection method according to the present invention.

도 8을 더 참조한 바와 같이, 본 발명에 의한 제품 검사 방법은 전술한 제품 검사 장치(1000)를 이용한 것으로서, 기준 화상 획득단계(S100), 관심영역 구획단계(S200), 기준 설정단계(S300), 검사화상 획득단계(S400) 및 양부 판정단계(S500)를 포함한다.8, the product inspection method according to the present invention uses the above-described product inspection apparatus 1000, and includes a reference image acquisition step (S100), a region of interest partitioning step (S200), and a reference setting step (S300). , including an inspection image acquisition step (S400) and a quality determination step (S500).

먼저, 상기 기준 화상 획득단계(S100)에서는 전술한 표면 이미지 획득 부재(110) 및 형상 이미지 획득 부재(120)를 통해 양품의 이미지가 획득된다.First, in the reference image acquisition step ( S100 ), an image of a good product is acquired through the surface image acquisition member 110 and the shape image acquisition member 120 described above.

다음으로, 상기 관심영역 구획단계(S200) 및 상기 기준 설정단계(S300)에서는 제 1 분석부(400) 및 제 2 분석부(500)를 통해 양품 이미지를 매개로 하여 소정의 검사 기준이 설정된다.Next, in the region of interest segmentation step ( S200 ) and the reference setting step ( S300 ), a predetermined inspection standard is set through the first analysis unit 400 and the second analysis unit 500 through the non-defective image. .

다음으로, 상기 검사화상 획득단계(S400)에서는 상기 표면 이미지 획득 부재(110) 및 상기 형상 이미지 획득 부재(120)를 통해 검사하고자 하는 대상인 피검사품(1)의 이미지가 획득된다.Next, in the inspection image acquiring step ( S400 ), an image of the inspection target object 1 to be inspected is acquired through the surface image acquiring member 110 and the shape image acquiring member 120 .

마지막으로, 상기 양부 판정단계(S500)에서는, 상기 관심영역 구획단계(S200) 및 상기 기준 설정단계(S300)에서 설정된 검사 기준이 피검사품(1)의 이미지에 적용되어, 제 1 분석부(400) 및 제 2 분석부(500)를 통해 검사 대상 제품의 표면 및 형상의 양부가 판단된다.Finally, in the quality determination step (S500), the inspection standard set in the region of interest partitioning step (S200) and the reference setting step (S300) is applied to the image of the object to be inspected 1, and the first analysis unit 400 ) and the quality of the surface and shape of the product to be inspected is determined through the second analysis unit 500 .

이와 같이, 상기 제품 검사 방법은 제품의 표면 및 형상 결함 여부를 판단하고자 하는 것이다.As such, the product inspection method is intended to determine whether the surface and shape of the product is defective.

도 9a는 도 8에 도시된 제 1 분석부의 제품 표면 검사 과정을 나타내는 상세 흐름도이며, 이를 더 참조하여 앞서 언급한 제품의 표면 검사 방법에 대해 상세히 설명하도록 한다.9A is a detailed flowchart illustrating a product surface inspection process of the first analysis unit shown in FIG. 8 , and the above-mentioned surface inspection method of the product will be described in detail with reference to this.

먼저, 도 9a를 더 참조한 바와 같이, 상기 기준 화상 획득단계(S100)에서는 표면 이미지 획득 부재(110)를 통해 전술한 제 1 기준 이미지(is)가 획득된다.First, as further referred to in FIG. 9A , in the reference image acquisition step S100 , the above-described first reference image is is acquired through the surface image acquisition member 110 .

다음으로, 상기 관심영역 구획단계(S200)에서는 전술한 제 1 구획모듈(410)을 통해 상기 제 1 기준 이미지(is)에 전술한 제 1 관심영역(rs)이 적어도 하나 이상 설정되는 과정이 진행된다.Next, in the region of interest segmentation step S200 , a process of setting at least one of the first regions of interest rs described above in the first reference image is through the first segmentation module 410 proceeds. do.

이러한 제 1 관심영역(rs)은 상기 제품 검사 장치(1000)에 대해 전술한 바와 같이, 그레이 레벨의 분포도를 기준으로하여 상기 제 1 기준 이미지(is)에 설정되는 것이다.As described above with respect to the product inspection apparatus 1000 , the first region of interest rs is set in the first reference image is based on the gray level distribution.

다음으로, 상기 기준 설정단계(S300)에서는 전술한 제 1 기준 설정모듈(420)을 통해 상기 제 1 관심영역(rs)마다 전술한 제 1 기준(p1)이 설정된다.Next, in the reference setting step S300 , the aforementioned first reference p1 is set for each of the first region of interest rs through the aforementioned first reference setting module 420 .

이러한 제 1 기준(p1)은 전술한 바와 같이, 표면 불량으로 판단하고자 하는 그레이 레벨의 수치 및 그 크기를 나타내는 것이다.As described above, the first reference p1 represents the numerical value and size of a gray level to be determined as a surface defect.

다음으로, 상기 검사화상 획득단계(S400)에서는 상기 표면 이미지 획득 부재(110)를 통해 피검사품(1)의 표면 이미지인 전술한 제 1 검사 이미지(ic)가 획득된다.Next, in the inspection image acquisition step S400 , the first inspection image ic, which is a surface image of the object 1 to be inspected, is acquired through the surface image acquisition member 110 .

이때, 상기 제 1 검사 이미지(ic)는 제 1 기준 이미지(is)와 동일성 있는 검사 조건에서 획득된 것이다.In this case, the first inspection image ic is acquired under the same inspection condition as the first reference image is.

다음으로, 상기 양부 판정단계(S500)에서는, 전술한 제 1 대응 구획모듈(430)을 통해 상기 제 1 검사 이미지(ic)에 적어도 하나 이상의 제 1 대응 관심영역(rc)이 설정되며, 이는 전술한 바와 같이 제 1 검사 이미지(ic)상에서 제 1 관심영역(rs)에 대응되는 개수, 간격 및 크기로 설정된다.Next, in the quality determination step ( S500 ), at least one first corresponding region of interest rc is set in the first inspection image ic through the above-described first corresponding partition module 430 , which is described above. As described above, the number, interval, and size corresponding to the first region of interest rs on the first examination image ic are set.

마지막으로, 전술한 제 1 판정모듈(440)을 통해, 상기 제 1 대응 관심영역(rc)마다 대응되는 상기 제 1 기준(p1)이 매칭된다.Finally, the first criterion p1 corresponding to each of the first corresponding ROIs rc is matched through the above-described first determination module 440 .

이때, 상기 제 1 검사 이미지(ic)에서 적어도 하나 이상의 제 1 기준(p1)을 만족하는 제 1 대응 관심영역(rc)이 존재하는 경우, 해당 피검사품(1)은 불량인 것으로 판단된다.In this case, if there is a first corresponding region of interest rc that satisfies at least one first criterion p1 in the first inspection image ic, it is determined that the corresponding inspection object 1 is defective.

도 9b는 도 8에 도시된 제 2 분석부의 제품 형상 검사 과정을 나타내는 상세 흐름도이며, 이를 더 참조하여 앞서 언급한 제품의 형상 검사 방법에 대해 상세히 설명하도록 한다.9B is a detailed flowchart illustrating a product shape inspection process of the second analysis unit shown in FIG. 8 , and the above-mentioned product shape inspection method will be described in detail with reference to this.

먼저, 도 9b를 참조한 바와 같이, 상기 기준 화상 획득단계(S100)에서는 형상 이미지 획득 부재(120)를 통해 전술한 제 2 기준 이미지(ih)가 획득된다.First, as shown in FIG. 9B , in the reference image acquiring step S100 , the above-described second reference image ih is acquired through the shape image acquiring member 120 .

다음으로, 상기 관심영역 구획단계(S200)에서는 전술한 제 2 구획모듈(510)을 통해 상기 제 2 기준 이미지(ih)에 전술한 제 2 관심영역(rh)이 적어도 하나 이상 설정되는 과정이 진행된다.Next, in the region of interest partitioning step S200 , a process of setting at least one of the aforementioned second regions of interest rh in the second reference image ih through the aforementioned second partitioning module 510 proceeds. do.

이러한 제 2 관심영역(rh)은 상기 제품 검사 장치(1000)에 대해 전술한 바와 같이, 제품 이미지에서 구조 형상에서의 동일성이 존재하는 구간들 각각을 관심영역(Region of interest)으로 지정한 것이다.As described above with respect to the product inspection apparatus 1000 , the second region of interest rh is designated as a region of interest in each of the sections in the product image in which the same structural shape exists.

다음으로, 상기 기준 설정단계(S300)에서는 전술한 제 2 기준 설정모듈(520)을 통해 상기 제 2 관심영역(rh)마다 전술한 제 2 기준(p2)이 설정된다.Next, in the reference setting step S300 , the aforementioned second reference p2 is set for each second region of interest rh through the aforementioned second reference setting module 520 .

이러한 제 2 기준(p2)은 전술한 바와 같이, 각부 치수 범위, 곡률 범위, 반경 범위 등 제품의 형상 검사를 위한 각종 파라메터들을 적어도 하나 이상 포함할 수 있다.As described above, the second reference p2 may include at least one or more of various parameters for inspecting the shape of a product, such as a range of dimensions of each part, a range of curvature, and a radius range.

다음으로, 상기 검사화상 획득단계(S400)에서는 상기 표면 이미지 획득 부재(110)를 통해 피검사품(1)의 형상 이미지인 전술한 제 2 검사 이미지(ik)가 획득된다.Next, in the inspection image acquiring step ( S400 ), the above-described second inspection image ik , which is a shape image of the inspected object 1 , is acquired through the surface image acquiring member 110 .

이때, 상기 제 2 검사 이미지(ik)는 제 2 기준 이미지(ih)와 동일성 있는 검사 조건에서 획득된 것이다.In this case, the second inspection image ik is obtained under the same inspection condition as the second reference image ih.

다음으로, 상기 양부 판정단계(S500)에서는, 전술한 제 2 대응 구획모듈(530)을 통해 상기 제 2 검사 이미지(ik)에 적어도 하나 이상의 제 2 대응 관심영역(rk)이 설정되며, 이는 전술한 바와 같이 제 2 검사 이미지(ik)상에서 제 2 관심영역(rh)에 대응되는 개수, 간격 및 크기로 설정되는 것이다.Next, in the quality determination step S500 , at least one second corresponding region of interest rk is set in the second inspection image ik through the above-described second corresponding division module 530 , which is described above. As described above, the number, interval, and size corresponding to the second region of interest rh on the second examination image ik are set.

마지막으로, 전술한 제 2 판정모듈(540)을 통해 상기 제 2 대응 관심영역(rk)마다 상기 제 2 기준(p2)이 매칭되며, 상기 제 2 검사 이미지(ik)에서 적어도 하나 이상의 제 2 기준(p2)을 불만족하는 제 2 대응 관심영역(rk)이 존재하는 경우, 해당 피검사품(1)은 불량인 것으로 판단된다.Finally, the second criterion p2 is matched for each second corresponding region of interest rk through the above-described second determination module 540, and at least one second criterion in the second inspection image ik is matched. If there is a second corresponding region of interest rk dissatisfied with (p2), it is determined that the inspected object 1 is defective.

덧붙여, 도 9a와 도 9b를 통해 상술한 제품의 표면 및 형상 검사 방법은 각 단계에 대응하여 동시 수행될 수 있을 뿐만 아니라, 어느 하나만 선별적으로 수행될 수 있다.In addition, the method for inspecting the surface and shape of the product described above with reference to FIGS. 9A and 9B may be performed simultaneously in response to each step, and only one of them may be selectively performed.

이상과 같이 본 발명은 제품 검사 장치 및 제품 검사 방법을 제공하고자 하는 것을 주요한 기술적 사상으로 하고 있으며, 도면을 참고하여 상술한 실시 예는 단지 하나의 실시 예에 불과하고, 본 발명의 진정한 권리 범위는 특허 청구범위 및 다양하게 존재할 수 있는 균등한 실시 예들에 미친다 할 것이다.As described above, the present invention has a main technical idea to provide a product inspection apparatus and a product inspection method, and the embodiment described above with reference to the drawings is only one embodiment, and the true scope of the present invention is The scope of the claims and equivalent embodiments that may exist in various ways.

1 : 피검사품
1000 : 본 발명에 의한 제품 검사 장치
100 : 이미지 획득부
110 : 표면 이미지 획득 부재
120 : 형상 이미지 획득 부재
200 : 회전부
300 : 조명부
400 : 제 1 분석부
410 : 제 1 구획모듈
420 : 제 1 기준 설정모듈
430 : 제 1 대응 구획모듈
440 : 제 1 판정모듈
500 : 제 2 분석부
510 : 제 2 구획모듈
520 : 제 2 기준 설정모듈
530 : 제 2 대응 구획모듈
540 : 제 2 판정모듈
1: Item to be inspected
1000: product inspection device according to the present invention
100: image acquisition unit
110: surface image acquisition member
120: shape image acquisition member
200: rotating part
300: lighting unit
400: first analysis unit
410: first compartment module
420: first reference setting module
430: first corresponding partition module
440: first determination module
500: second analysis unit
510: second compartment module
520: second reference setting module
530: second corresponding partition module
540: second determination module

Claims (11)

검사 대상 제품인 피검사품의 표면 이미지인 적어도 하나 이상의 제 1 검사 이미지가 획득되는 검사 화상 획득단계; 및
상기 검사 화상 획득단계에서의 상기 제 1 검사 이미지가 분석됨으로써 상기 피검사품의 표면 결함 여부가 판단되는 양부 판정단계;
상기 양부 판정단계는,
상기 제 1 검사 이미지에서 소정 밝기 이하를 나타내는 그레이 레벨(Gray level) 분포가 검출된 경우, 상기 피검사품은 불량인 것으로 판단되며,
상기 제품 검사 방법은,
상기 검사 화상 획득단계 이전에 수행되며, 양품의 표면 이미지인 적어도 하나 이상의 제 1 기준 이미지가 획득되는 기준 화상 획득단계;
상기 검사 화상 획득단계 이전에 수행되며, 상기 기준 화상 획득단계에서의 상기 제 1 기준 이미지가 그레이 레벨(Gray level)의 분포도에 대응하여 적어도 하나 이상의 제 1 관심영역(Region of interest)으로 구획되는 관심영역 구획단계; 및
상기 피검사품의 표면 양부를 판단하기 위한 기준으로서 그레이 레벨(Gray level)의 밝기 수치인 적어도 하나 이상의 제 1 기준이 상기 각 제 1 관심영역마다 설정되는 기준 설정단계; 를 더 포함하고,
상기 검사 화상 획득단계는,
상기 제 1 검사 이미지가 상기 제 1 기준 이미지에 대응되게 획득되며,
상기 양부 판정단계는,
상기 제 1 관심영역에 대응하여 상기 제 1 검사 이미지가 적어도 하나 이상의 제 1 대응 관심영역으로 구획된 후, 각각의 상기 제 1 대응 관심영역이 대응되는 상기 각 제 1 기준에 매칭되어, 상기 제 1 기준을 만족하는 상기 제 1 대응 관심영역이 존재하는 경우 해당 피검사품은 불량인 것으로 판단하며,
상기 기준 설정단계는,
상기 제 1 기준에는 상기 그레이 레벨의 크기가 더 포함하며,
상기 기준 화상 획득단계는,
양품의 형상 이미지인 적어도 하나 이상의 제 2 기준 이미지가 획득되는 과정이 더 포함되고,
상기 관심영역 구획단계는,
상기 제 2 기준 이미지에서 형상 분포에 관해 소정의 유사도가 존재하는 구간들 각각이 제 2 관심영역으로 구획되는 과정이 더 포함되고,
상기 기준 설정단계는,
상기 피검사품의 형상 양부를 판단하기 위한 기준으로서 상기 각 제 2 관심영역 마다 치수 범위를 포함하는 기준인 제 2 기준이 설정되는 과정이 더 포함되고,
상기 검사 화상 획득단계는,
상기 피검사품의 형상 이미지인 적어도 하나 이상의 제 2 검사 이미지가 상기 제 2 기준 이미지에 대응되게 획득되며,
상기 양부 판정단계는,
상기 제 2 관심영역에 대응하여 상기 제 2 검사 이미지가 적어도 하나 이상의 제 2 대응 관심영역으로 구획된 후, 상기 제 2 대응 관심영역 각각이 대응되는 상기 제 2 기준과 매칭되어, 상기 제 2 기준을 불만족하는 상기 제 2 대응 관심영역이 검출되는 경우 해당 피검사품은 불량인 것으로 판단되는 것을 특징으로 하는 제품 검사 방법.
an inspection image acquisition step of acquiring at least one first inspection image that is a surface image of an inspection target product; and
a quality determination step of determining whether a surface defect of the inspected object is present by analyzing the first inspection image in the inspection image acquiring step;
The quality determination step is,
When a gray level distribution indicating less than a predetermined brightness is detected in the first inspection image, it is determined that the inspection object is defective,
The product inspection method is,
a reference image acquisition step performed before the inspection image acquisition step, wherein at least one first reference image that is a surface image of a good product is acquired;
It is performed before the inspection image acquisition step, and the first reference image in the reference image acquisition step is divided into at least one first region of interest corresponding to a distribution of a gray level. zone division step; and
a reference setting step of setting at least one first criterion, which is a brightness value of a gray level, for each of the first regions of interest as a criterion for judging the quality of the surface of the inspected object; further comprising,
The inspection image acquisition step includes:
The first inspection image is obtained to correspond to the first reference image,
The quality determination step is,
After the first examination image is partitioned into at least one first corresponding ROI corresponding to the first ROI, each of the first corresponding ROIs is matched to the corresponding first criterion, and the first inspection image is divided into one or more first corresponding ROIs. If the first corresponding region of interest that satisfies the criteria exists, it is determined that the inspected item is defective,
The standard setting step is
The first criterion further includes the size of the gray level,
The reference image acquisition step is,
The process of acquiring at least one or more second reference images, which is a shape image of a good product, is further included,
The segmentation step of the region of interest comprises:
In the second reference image, each of the sections having a predetermined similarity with respect to the shape distribution is partitioned into a second region of interest;
The standard setting step is
The step of setting a second standard, which is a standard including a dimensional range for each of the second regions of interest, is set as a standard for determining whether the shape of the inspected object is good or bad
The inspection image acquisition step includes:
At least one second inspection image that is a shape image of the object to be inspected is obtained to correspond to the second reference image,
The quality determination step is,
After the second examination image is divided into at least one or more second corresponding ROIs corresponding to the second ROI, each of the second corresponding ROIs is matched with the corresponding second criterion to determine the second criterion The product inspection method, characterized in that when the unsatisfactory second corresponding region of interest is detected, the inspected object is determined to be defective.
삭제delete 삭제delete 삭제delete 삭제delete 검사 대상 제품인 피검사품의 표면 이미지인 적어도 하나 이상의 제 1 검사 이미지를 분석하여 상기 피검사품의 표면 결함 여부를 판단하는 제 1 판정모듈을 포함하여 구성되는 제 1 분석부;
상기 제 1 판정모듈은,
상기 제 1 검사 이미지에서 소정 밝기 이하를 나타내는 그레이 레벨(Gray level) 분포가 검출된 경우 상기 피검사품은 불량인 것으로 판단하며,
상기 제 1 분석부는,
양품의 표면 이미지인 제 1 기준 이미지를 소정의 유사도가 존재하는 그레이 레벨(Gray level)의 분포도에 대응하여 적어도 하나 이상의 제 1 관심영역(Region of interest)으로 구획하는 제 1 구획모듈과, 상기 피검사품의 표면 양부를 판단하기 위한 기준으로서 그레이 레벨(Gray level)의 밝기 수치인 적어도 하나 이상의 제 1 기준을 상기 각 제 1 관심영역마다 설정하는 제 1 기준 설정모듈과, 상기 제 1 관심영역에 대응하여 상기 제 1 검사 이미지를 적어도 하나 이상의 제 1 대응 관심영역으로 구획하는 제 1 대응 구획모듈을 포함하고,
상기 제 1 판정모듈은,
상기 제 1 대응 관심영역 각각을 대응되는 상기 각 제 1 기준에 매칭하여 상기 제 1 기준을 만족하는 상기 제 1 대응 관심영역이 존재하는 경우 해당 피검사품을 불량으로 판정하며,
상기 제 1 기준 설정모듈은 상기 제 1 기준을 설정하는 경우 상기 그레이 레벨의 크기를 더 포함하며,
상기 제품 검사 장치는,
검사 대상 제품인 피검사품의 형상 이미지인 적어도 하나 이상의 제 2 검사 이미지를 분석하여 상기 피검사품의 형상 결함 여부를 판단하는 제 2 판정모듈을 포함하여 구성되는 제 2 분석부;
상기 제 2 분석부는,
양품의 형상 이미지인 적어도 하나 이상의 제 2 기준 이미지에서 형상 분포에 관해 소정의 유사도가 존재하는 구간들 각각을 제 2 관심영역으로 구획하는 제 2 구획모듈과, 상기 피검사품의 형상 양부를 판단하기 위한 기준으로서 상기 각 제 2 관심영역 마다 치수 범위를 포함하는 기준인 제 2 기준을 설정하는 제 2 기준 설정모듈과, 상기 제 2 관심영역에 대응하여 상기 제 2 검사 이미지를 적어도 하나 이상의 제 2 대응 관심영역으로 구획하는 제 2 대응 구획모듈을 포함하고,
상기 제 2 판정모듈은,
상기 제 2 대응 관심영역 각각을 대응되는 상기 각 제 2 기준에 매칭하여 상기 제 2 기준을 불만족하는 상기 제 2 대응 관심영역이 존재하는 경우 해당 피검사품을 불량으로 판정하는 것을 특징으로 하는 제품 검사 장치.
a first analysis unit configured to include a first determination module that analyzes at least one first inspection image that is a surface image of an inspection target product and determines whether the inspection target product has a surface defect;
The first determination module,
When a gray level distribution indicating less than a predetermined brightness is detected in the first inspection image, it is determined that the inspection object is defective,
The first analysis unit,
A first partitioning module for partitioning a first reference image, which is a surface image of a non-defective product, into at least one first region of interest corresponding to a distribution of a gray level having a predetermined degree of similarity; a first reference setting module for setting at least one first criterion, which is a brightness value of a gray level, for each first region of interest as a criterion for judging the quality of the surface of the inspected object; and corresponding to the first region of interest and a first corresponding partitioning module for partitioning the first inspection image into at least one or more first corresponding ROIs,
The first determination module,
If there is a first corresponding ROI satisfying the first criterion by matching each of the first corresponding ROIs to each of the corresponding first criteria, the corresponding inspection object is determined as defective;
The first reference setting module further includes the size of the gray level when setting the first reference,
The product inspection device,
a second analysis unit configured to include a second determination module that analyzes at least one second inspection image that is a shape image of an inspection target product and determines whether the inspection target product has a shape defect;
The second analysis unit,
a second partitioning module for partitioning each of sections having a predetermined similarity with respect to shape distribution in at least one second reference image that is a shape image of a non-defective product into a second region of interest; a second reference setting module for setting a second reference, which is a reference including a dimensional range for each second region of interest, as a reference, and at least one second corresponding interest in the second inspection image corresponding to the second region of interest Comprising a second corresponding partitioning module partitioning into regions,
The second determination module,
Product inspection apparatus, characterized in that by matching each of the second corresponding regions of interest to each of the corresponding second criteria, and determining that the inspected object is defective when there is a second corresponding region of interest that does not satisfy the second criterion .
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020200016379A 2020-02-11 2020-02-11 Device for inspecting products and method using the same KR102260734B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200016379A KR102260734B1 (en) 2020-02-11 2020-02-11 Device for inspecting products and method using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200016379A KR102260734B1 (en) 2020-02-11 2020-02-11 Device for inspecting products and method using the same

Publications (1)

Publication Number Publication Date
KR102260734B1 true KR102260734B1 (en) 2021-06-07

Family

ID=76374491

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200016379A KR102260734B1 (en) 2020-02-11 2020-02-11 Device for inspecting products and method using the same

Country Status (1)

Country Link
KR (1) KR102260734B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115564715A (en) * 2022-09-09 2023-01-03 国网湖北省电力有限公司超高压公司 Power transmission line defect picture classification method based on small visual blocks

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100367260B1 (en) * 2000-07-18 2003-01-09 이용중 A Powerful Auto Inspection Method Using Algorithm for Panel of Motor Body on the Variable Light Condition
JP2006133127A (en) * 2004-11-08 2006-05-25 N Tech:Kk Method for inspecting appearance of container
JP2006300711A (en) * 2005-04-20 2006-11-02 Omron Corp Defect inspection method for metallic cap, regulation method for inspection thereof, and defect inspection method for metallic cap
KR20110000577A (en) * 2008-04-11 2011-01-03 가부시키가이샤 니콘 Inspection device
JP2011002262A (en) * 2009-06-16 2011-01-06 Toyo Glass Co Ltd Glass product inspection device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100367260B1 (en) * 2000-07-18 2003-01-09 이용중 A Powerful Auto Inspection Method Using Algorithm for Panel of Motor Body on the Variable Light Condition
JP2006133127A (en) * 2004-11-08 2006-05-25 N Tech:Kk Method for inspecting appearance of container
JP2006300711A (en) * 2005-04-20 2006-11-02 Omron Corp Defect inspection method for metallic cap, regulation method for inspection thereof, and defect inspection method for metallic cap
KR20110000577A (en) * 2008-04-11 2011-01-03 가부시키가이샤 니콘 Inspection device
JP2011002262A (en) * 2009-06-16 2011-01-06 Toyo Glass Co Ltd Glass product inspection device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115564715A (en) * 2022-09-09 2023-01-03 国网湖北省电力有限公司超高压公司 Power transmission line defect picture classification method based on small visual blocks
CN115564715B (en) * 2022-09-09 2023-10-13 国网湖北省电力有限公司超高压公司 Power transmission line defect picture classification method based on visual small blocks

Similar Documents

Publication Publication Date Title
US11915407B2 (en) Automated system and method for clarity measurements and clarity grading
EP3311144B1 (en) Colour measurement of gemstones
JP3581314B2 (en) Automatic lens inspection system
EP1931973B1 (en) Method and apparatus for visually inspecting an object
KR20160090359A (en) Surface defect detection method and surface defect detection device
EP3660491A1 (en) Defect inspecting method and defect inspecting device
KR20000064473A (en) Boundary Mapping System and Method
WO2022038575A1 (en) Surface defect detection system
US7903865B2 (en) Automatic optical inspection system and method
WO2021018175A1 (en) Process and system for diamond clarity measurement
CN113109240A (en) Method and system for determining imperfect grains of grains implemented by computer
WO2020079694A1 (en) Optimizing defect detection in an automatic visual inspection process
CN108022219B (en) Two-dimensional image gray level correction method
KR20060056942A (en) Edge normal process
KR102260734B1 (en) Device for inspecting products and method using the same
CN116830157A (en) Image enhancement techniques for automated visual inspection
US6845178B1 (en) Automatic separation of subject pixels using segmentation based on multiple planes of measurement data
CN114663341A (en) Quantitative detection method for glare defect of optical lens
KR102105066B1 (en) Vision checkup method for skeleton precision
KR20200044172A (en) Deep learning method for analyzing defectiveness
RU2787314C1 (en) Automated method for luminescent control of a part
US20230136456A1 (en) Method of optical quality inspection of workpieces
US20220148145A1 (en) Surface inspection system and method for differentiating particulate contamination from defects on a surface of a specimen
US20220318984A1 (en) Use of an hdr image in a visual inspection process
KR20070115616A (en) Unevenness inspecting method, unevenness inspecting apparatus, and recording medium

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant