KR20220095100A - Image processing method for object with smooth surface on optical detection and detection system thereof - Google Patents

Image processing method for object with smooth surface on optical detection and detection system thereof Download PDF

Info

Publication number
KR20220095100A
KR20220095100A KR1020210141508A KR20210141508A KR20220095100A KR 20220095100 A KR20220095100 A KR 20220095100A KR 1020210141508 A KR1020210141508 A KR 1020210141508A KR 20210141508 A KR20210141508 A KR 20210141508A KR 20220095100 A KR20220095100 A KR 20220095100A
Authority
KR
South Korea
Prior art keywords
gray scale
image
value
gradient
measurement
Prior art date
Application number
KR1020210141508A
Other languages
Korean (ko)
Other versions
KR102602369B1 (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 크로마 에이티이 인코포레이티드
Publication of KR20220095100A publication Critical patent/KR20220095100A/en
Application granted granted Critical
Publication of KR102602369B1 publication Critical patent/KR102602369B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/95Investigating the presence of flaws or contamination characterised by the material or shape of the object to be examined
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/30Measuring arrangements characterised by the use of optical techniques for measuring roughness or irregularity of surfaces
    • G01B11/306Measuring arrangements characterised by the use of optical techniques for measuring roughness or irregularity of surfaces for measuring evenness
    • 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/8806Specially adapted optical and illumination features
    • 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
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/506Illumination models
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • 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/40Analysis of texture
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • G01N2021/8887Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges based on image processing techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30108Industrial image inspection

Abstract

The present invention provides an image processing method for optical measurement of an object to be measured having a smooth surface, and a measurement system thereof. According to the image processing method, images of different light irradiation directions of an object to be measured are captured and synthesized based on a photometric stereoscopic method, and an image data pre-processing step is performed after the image is obtained and before the image is synthesized, to perform non-linear adjustment of a gray scale value of each pixel, such that, by settings, gray scale change ratios of a plurality of pixels whose gray scale value before adjustment is less than a gray scale threshold value are relative to grays scale change ratios of other pixels whose gray scale value before adjustment is not less than the gray scale threshold value. Accordingly, the measurement system based on the photometric stereoscopic method provided by the present invention may be applied to measure an object to be measured having a smooth surface after corresponding image processing and is not limited by uniform parallel irradiation light.

Description

매끄러운 표면을 지닌 측정 대상물의 광학 측정 영상 처리 방법 및 그 측정 시스템{IMAGE PROCESSING METHOD FOR OBJECT WITH SMOOTH SURFACE ON OPTICAL DETECTION AND DETECTION SYSTEM THEREOF}Optical measurement image processing method of a measurement object having a smooth surface and a measurement system therefor

본 발명은 광학 측정 영상 처리 방법 및 그 측정 시스템에 관한 것으로서, 특히 매끄러운 표면을 지닌 측정 대상물의 광학 측정 영상 처리 및 그 측정 시스템에 관한 것이다.The present invention relates to an optical measurement image processing method and a measurement system therefor, and more particularly, to an optical measurement image processing method and a measurement system for a measurement object having a smooth surface.

측광 입체시법(Photometric Stereo Method, PSM)은 광학 투영 영상 형성법에서 비롯된 물체 표면 정보를 재건하는 연산법으로서, 단일 카메라를 통해 같은 촬영 각도에서 측정 대상물의 복수의 영상을 취득하고, 측정 대상물이 빛 조사 방향이 다른 조사 광에 의해 차례로 조사를 받은 후 연산법으로 영상을 겹쳐서 합성 영상을 생성한다.Photometric Stereo Method (PSM) is a calculation method that reconstructs object surface information derived from optical projection image formation. Multiple images of a measurement object are acquired from the same shooting angle through a single camera, and the measurement object is illuminated with light. After being irradiated one after another by irradiated light with different irradiation directions, the images are superimposed by an arithmetic method to generate a composite image.

전통적으로 측광 입체시법은 광학의 완전확산(perfect diffusion) 모델을 사용하여 측정 대상물 표면의 구배(gradients)를 계산한 다음 벡터장의 적분을 통해 삼차원 모델을 취득한 후 측정 대상물 표면의 광 세기 분포 상황을 취득한다.Traditionally, the photometric stereoscopic method uses a perfect diffusion model of optics to calculate gradients on the surface of the measurement object, then acquires a three-dimensional model through vector field integration, and then calculates the light intensity distribution on the surface of the measurement object. acquire

측광 입체시법은 광 세기 값을 전체 모델의 계산 의거로 하며, 해답을 구하는 과정에서 광 세기에 영향을 주는 모든 파라미터(예를 들어 반사 계수)를 계산할 필요 없이 좋은 결과를 취득할 수 있기 때문에 광범위하게 응용되고 있다.Photometric stereopsis uses the light intensity value as the basis of the calculation of the entire model, and it is widely is being applied.

하지만 측광 입체시법은 광학의 완전 확산 모델을 이용해서 해답을 구해야 하기 때문에 그 응용에 있어서는 거친 표면을 지닌 측정 대상물이며 반드시 균일한 평행 광원이 함께 있어야 하는 조건 제한을 받는다. 따라서 매끄러운 표면을 지니거나 쉽게 반사하는 특성을 가진 측정 대상물, 그리고 조준되지 않은 광원이 있는 상황에서는 측정을 진행할 수 없다.However, since the photometric stereoscopic method has to find a solution using the perfect diffusion model of optics, its application is limited by the condition that it is a measurement object with a rough surface and a uniform, parallel light source must be present together. Therefore, measurement cannot be carried out in the presence of a measurement object with a smooth surface or easily reflective properties, and a light source that is not aimed.

본 발명의 목적 중 하나는 측광 입체시법을 매끄러운 표면을 지닌 측정 대상물의 측정에 적용하고 균일한 평행 조사 광 조건의 제한을 받지 않을 수 있는 것이다.One of the objects of the present invention is to apply the photometric stereoscopic method to the measurement of a measurement object having a smooth surface and not be limited by the conditions of uniform parallel irradiation light.

본 발명의 다른 목적은 금속 재질의 측정 대상물의 돌출되거나 오목한 미세한 하자도 쉽게 측정되게 하는 것이다.Another object of the present invention is to make it possible to easily measure even a minute defect protruding or concave of a measurement object made of a metal material.

본 발명의 또 다른 목적은 비교적 작은 측정 시스템 배치 공간을 이용하는 동시에 매끄러운 표면을 지닌 측정 대상물의 하자 측정 정확도를 향상시키는 것이다.Another object of the present invention is to improve the accuracy of measurement of defects in a measurement object having a smooth surface while using a relatively small measurement system arrangement space.

상기 목적 및 기타 목적을 달성하기 위해 본 발명은 매끄러운 표면을 지닌 측정 대상물의 광학 측정 영상 처리 방법을 제시한다. 이 방법은, 해당 측정 대상물에 대한 각각의 다른 빛 조사 방향에 근거하여 순차적으로 각 빛 조사 방향에 대응하는 각각의 오리지널 영상을 취득하는 단계- 해당 오리지널 영상 취득 수는 최소 3개-; 각각의 오리지널 영상 내 각 화소의 조절 전 그레이 스케일 값에 대해 비선형 조절을 시행하여 대응하는 조절 후 그레이 스케일 값을 생성하며, 그레이 스케일 한계 값이 인버트 한계 값보다 작을 때, 조절 전 그레이 스케일 값이 그레이 스케일 한계 값보다 작은 복수 화소의 그레이 스케일 변화 비율을 조절 전 그레이 스케일 값이 그레이 스케일 한계 값보다 작지 않은 나머지 화소의 그레이 스케일 변화 비율보다 모두 크게 하며, 그레이 스케일 한계 값이 인버트 한계 값보다 클 때, 조절 전 그레이 스케일 값이 그레이 스케일 한계 값보다 작은 복수 화소의 그레이 스케일 변화 비율을 조절 전 그레이 스케일 값이 그레이 스케일 한계 값보다 작지 않은 나머지 화소의 그레이 스케일 변화 비율보다 작게 하는 영상 자료 전처리 단계; 및 측광 입체시법에 근거하여 영상 자료 전처리 단계를 통해 처리된 각각의 오리지널 영상이 후속 하자 측정에 사용되는 합성 영상으로 합성되는 합성 단계를 포함한다.In order to achieve the above and other objects, the present invention provides an optical measurement image processing method of a measurement object having a smooth surface. This method includes the steps of sequentially acquiring each original image corresponding to each light irradiation direction based on each different light irradiation direction for the measurement object - the number of acquisitions of the corresponding original image is at least three; Non-linear adjustment is performed on the gray scale value before adjustment of each pixel in each original image to generate a corresponding gray scale value after adjustment. When the gray scale limit value is smaller than the invert limit value, the gray scale value before adjustment is gray Before adjusting the gray scale change ratio of a plurality of pixels smaller than the scale limit value, the gray scale value is made larger than the gray scale change ratio of the remaining pixels that are not smaller than the gray scale limit value. When the gray scale limit value is greater than the invert limit value, an image data pre-processing step of adjusting the gray scale change ratio of a plurality of pixels whose gray scale value before adjustment is smaller than the gray scale limit value to be smaller than the gray scale change ratio of the remaining pixels whose gray scale value is not smaller than the gray scale limit value; and a synthesis step of synthesizing each original image processed through the image data pre-processing step based on the photometric stereoscopic method into a composite image used for subsequent defect measurement.

본 발명의 한 가지 실시예에서, 상기 합성 단계 후에는 영상 자료 후처리 단계가 더 포함될 수 있다. 이 단계에서는 합성 영상의 그레이 스케일 분포 자료에 근거하여 대응하는 구배 분포 자료 중 제1 구배 한계 값보다 작거나 제2 구배 한계 값보다 큰 구배 값을 모두 0으로 조절하고, 0~255의 그레이 스케일 값을 제1 구배 한계 값과 제2 구배 한계 값 사이에 분포시켜 차후의 하자 측정에 사용되는 신규 그레이 스케일 분포를 갖는 분석 대상 영상을 생성한다.In one embodiment of the present invention, an image data post-processing step may be further included after the synthesizing step. In this step, all gradient values smaller than the first gradient limit value or greater than the second gradient limit value among the corresponding gradient distribution data are adjusted to 0 based on the gray scale distribution data of the synthesized image, and gray scale values of 0 to 255 are adjusted to 0. is distributed between the first gradient limit value and the second gradient limit value to generate an analysis target image having a new gray scale distribution used for subsequent defect measurement.

본 발명의 한 가지 실시예에서, 절대 값을 취한 제1 구배 한계 값은 제2 구배 한계 값의 수치와 같을 수 있다.In one embodiment of the present invention, the first gradient limit value taken as an absolute value may be equal to the numerical value of the second gradient limit value.

본 발명의 한 가지 실시예에서, 상기 제1 구배 한계 값은-0.5이고, 제2 구배 한계 값은 0.5일 수 있다.In one embodiment of the present invention, the first gradient limit value may be -0.5, and the second gradient limit value may be 0.5.

본 발명의 한 가지 실시예에서, 구배 값 0이 대응하는 신규 그레이 스케일 분포의 그레이 스케일 값은 128일 수 있다.In one embodiment of the present invention, the gray scale value of the new gray scale distribution to which the gradient value 0 corresponds may be 128.

본 발명의 한 가지 실시예에서, 측정 대상물의 피측정 구역 표면 거침 정도 Ra 값은 1.6(μm)보다 작거나 같다.In one embodiment of the present invention, the surface roughness Ra value of the area to be measured of the measurement object is less than or equal to 1.6 (μm).

상기 목적 및 기타 목적을 달성하기 위해 본 발명은 또한 상기 영상 처리 방법을 사용하는 측정 시스템을 제시한다. 이 시스템은 측정 대상물을 놓는 스탠드; 스탠드 위에 배치되는 영상 취득 장치; 영상 취득 장치 주변을 에워싸서 설치되는 광원 모듈; 및 영상 취득 장치 및 광원 모듈과 연결되는 제어 호스트가 포함한다. 해당 광원 모듈은 복수의 광원 장치를 포함하며, 해당 제어 호스트는 상기 영상 처리 방법을 시행한다.In order to achieve the above object and other objects, the present invention also provides a measurement system using the image processing method. The system includes a stand for placing the measurement object; an image acquisition device disposed on the stand; a light source module installed to surround the image acquisition device; and a control host connected to the image acquisition device and the light source module. The light source module includes a plurality of light source devices, and the control host executes the image processing method.

본 발명의 한 가지 실시예에서, 상기 제어 호스트는 하자 판단 프로그램 시행에 사용될 수 있다. 여기서 분석 대상 영상의 그레이 스케일 값이 돌출 하자 한계 값보다 큰 화소를 돌출 하자로 정의하며, 분석 대상 영상의 그레이 스케일 값이 오목 하자 한계 값보다 작은 화소를 오목 하자로 정의한다.In one embodiment of the present invention, the control host may be used to implement a defect determination program. Here, a pixel whose gray scale value of the analysis target image is greater than the protrusion defect threshold is defined as a protrusion defect, and a pixel whose gray scale value of the analysis target image is smaller than the concave defect threshold is defined as a concave defect.

본 발명의 한 가지 실시예에서, 각 광원 장치의 광 조사 방향과 영상 취득 장치의 광축 사이 협각은 0~30도 일 수 있다.In one embodiment of the present invention, a narrow angle between the light irradiation direction of each light source device and the optical axis of the image acquisition device may be 0 to 30 degrees.

이에 따라 본 발명이 제시하는 실시예에서는 입력된 영상 자료에 대해 비선형 변환 전처리 단계를 진행해서 측광 입체시법에 근거하여 작동되는 컴퓨팅 모델이 매끄러운 표면을 지닌 측정 대상물로부터 온 영상 자료를 정확하게 처리할 수 있게 하고, 영상 중 밝기가 균일하지 않은 문제를 개선하여 반사가 쉽게 생기는 측정 대상물에도 적용할 수 있게 한다. 또한 합성된 영상에 대해 한정된 정규화 후처리 단계를 진행하면 영상 자료 구간이 일치하지 않은 문제도 개선할 수 있어 미세한 하자도 정확히 측정될 수 있게 한다.Accordingly, in the embodiment presented by the present invention, the nonlinear transformation pre-processing step is performed on the input image data, and the computing model operated based on the photometric stereoscopic method can accurately process the image data from the measurement object having a smooth surface. and improve the problem of uneven brightness in the image, so that it can be applied to the measurement object that easily reflects. In addition, if a limited post-processing of normalization is performed on the synthesized image, the problem of inconsistent image data sections can be improved, so that even minute defects can be accurately measured.

그러므로 본 발명이 제시하는 측광 입체시법에 근거한 측정 시스템은 대응하는 영상 처리 후 매끄러운 표면을 지닌 측정 대상물의 측정에 적용될 수 있으며 균일한 평행 조사 광을 사용해야 하는 제한도 받지 않는다.Therefore, the measurement system based on the photometric stereoscopic method proposed by the present invention can be applied to the measurement of a measurement object having a smooth surface after the corresponding image processing, and is not limited to the use of uniform parallel irradiation light.

도 1은 본 발명의 한 실시예 중의 영상 처리 방법 흐름도이다.
도 2는 본 발명의 다른 실시예 중의 영상 처리 방법 흐름도이다.
도 3은 본 발명의 한 실시예 중의 측정 시스템의 개략도이다.
도 4는 도 3의 측정 시스템을 위에서 내려다보는 시각에서의 개략도이다.
1 is a flowchart of an image processing method according to an embodiment of the present invention.
2 is a flowchart of an image processing method according to another embodiment of the present invention.
3 is a schematic diagram of a measurement system in one embodiment of the present invention;
Fig. 4 is a schematic view of the measurement system of Fig. 3 in a top down view;

본 발명의 목적, 특징 및 효과를 충분히 이해하기 위해 아래의 구체적인 실시예와 도면을 결합하여 본 발명을 다음과 같이 자세히 설명한다.In order to fully understand the object, features and effects of the present invention, the present invention will be described in detail as follows in conjunction with the following specific examples and drawings.

본 설명서에서는 '하나' 또는 '한 개'로 단계, 부품, 구조, 장치, 모듈, 시스템, 부위 또는 구역 등을 묘사한다. 이는 단지 설명상의 편의와 본 발명의 범주에 대해 일박적인 의미를 제공하기 위함뿐이다. 따라서 분명하게 별도의 뜻을 제시하는 경우를 제외하고, 이러한 묘사는 한 개 또는 최소한 한 개로, 그리고 단수 역시 동시에 복수를 포함하는 것으로 이해해야 한다.In this manual, a step, part, structure, device, module, system, part, or area is described as 'a' or 'a'. This is only for convenience of description and to provide a clear meaning to the scope of the present invention. Accordingly, except where expressly provided otherwise, these descriptions are to be understood as including one or at least one, and the singular also includes the plural at the same time.

본 설명서에서 사용하는 '포함, 있다, 지닌' 또는 기타 유사한 용어는 본 설명서에서 열거하는 부재에만 제한되는 것이 아니라 명확하게 열거되지 않았으나 단계, 부품, 구조, 장치, 모듈, 시스템, 부위 또는 구역의 통상적인 고유한 기타 부재도 포함될 수 있다.As used herein, the term 'comprising, having, having,' or other similar terms is not limited to the members enumerated in this manual and is not explicitly enumerated, but is intended to refer to steps, parts, structures, devices, modules, systems, parts, or regions in common. Other elements unique to phosphorus may also be included.

본 설명서에서 사용하는 '제1' 또는 '제2' 등 서수와 유사한 용어는 같거나 유사한 단계, 프로그램 또는 컴퓨팅 자료를 구분하거나 지칭하는 데 사용되며, 필연적으로 이러한 단계, 프로그램 또는 컴퓨팅 자료의 시간 상의 순서를 함축하는 것은 아니다. 이해해야 할 점은 일부 상황이나 배치에서, 서수 용어는 서로 교환해서 사용해도 본 발명의 실시에 영향을 주지 않는다는 것이다.As used in this manual, terms similar to ordinal numbers, such as 'first' or 'second', are used to distinguish or refer to the same or similar steps, programs, or computing materials, and inevitably, the timing of such steps, programs, or computing materials. It does not imply order. It should be understood that, in some situations or arrangements, the terms ordinal numbers are used interchangeably without affecting the practice of the present invention.

본 발명이 제시하는 실시예에서는 측정 대상물에 대해 영상 취득을 두 번 이상 실행하며, 매번 영상 취득 시의 빛 조사 조건은 서로 달라 측광 입체시법에 의거하여 컴퓨팅 할 수 있는 복수의 오리지널 영상을 취득한다. 다만 측광 입체시법은 랑베르 표면과 비슷한 표면을 지닌 측정 대상물에 비교적 적용되기 때문에, 측정 대상물의 표면이 매끄러워서 반사가 쉽게 일어날 경우 취득한 오리지널 영상을 측광 입체시법의 컴퓨팅 모델에 직접 적용시키는 것이 어렵게 된다. 따라서 측광 입체시법의 장점을 이용하기 위해, 본 발명이 제시하는 실시예에서는 취득한 오리지널 영상에 대해 전처리를 진행해서 오리지널 영상의 그레이 스케일이 측광 입체시법의 컴퓨팅 모델에 적용될 수 있게 하고, 측광 입체시법을 운용해서 영상 합성을 진행한 다음, 표면이 매끄러운 측정 대상물의 하자 측정 수요에 근거하여 영상 자료의 정규화를 진행하여 분석 대상 영상을 생성할 수 있다. 이를 통해서 영상 자료 구간의 일치성을 증강하고, 나아가 하자 구역이 분석 대상 영상에서 쉽게 식별되게 하여 백엔드 하자 측정의 정확성을 높인다.In the embodiment presented by the present invention, the image acquisition is performed twice or more for the measurement object, and the light irradiation conditions at the time of image acquisition are different, so that a plurality of original images that can be computed based on the photometric stereoscopic method are acquired. . However, since the photometric stereoscopic method is relatively applied to a measurement object with a surface similar to the Lambert surface, it is difficult to directly apply the acquired original image to the photometric stereoscopic computing model if the surface of the measurement object is smooth and reflection easily occurs. do. Therefore, in order to take advantage of the photometric stereoscopic method, in the embodiment presented by the present invention, preprocessing is performed on the acquired original image so that the gray scale of the original image can be applied to the photometric stereoscopic computing model, and the photometric stereoscopic method After synthesizing the image by operating the method, the image to be analyzed can be generated by normalizing the image data based on the demand for measurement of defects in the measurement object with a smooth surface. Through this, the consistency of the image data section is enhanced, and furthermore, the defect area can be easily identified in the analysis target image, thereby increasing the accuracy of back-end defect measurement.

측정 대상물의 표면 윤곽 변화 정도는 표면 거침 정도를 통해 나타낼 수 있다(ISO 13565의 규정에 따라 측정). 예를 들어, 수학적 평균 거침 정도 Ra 값으로 표시할 수 있다. Ra 값이 1.6(μm)보다 작거나 같을 때는 확산 정도가 낮기 때문에 측광 입체시법의 컴퓨팅 모델에 직접 적용시키는 것이 어렵다. 본 실시예가 제시하는 전처리는 이 문제를 해결하는 데 사용될 수 있다. The degree of change in the surface contour of the object to be measured can be expressed through the degree of surface roughness (measured according to ISO 13565). For example, it can be expressed as a mathematical average roughness Ra value. When the Ra value is less than or equal to 1.6 (μm), the degree of diffusion is low, so it is difficult to directly apply it to the computing model of the photometric stereoscopic method. The preprocessing presented in this embodiment can be used to solve this problem.

도 1을 참고한다. 이는 본 발명의 한 실시예 중의 영상 처리 방법 흐름도이다. 우선 단계 S100을 진행하여 다른 빛 조사 방향에서의 각각의 오리지널 영상을 취득한 다음, 영상 자료 전처리(비선형 조절) 단계인 단계 S200를 진행하고, 계속해서 측광 입체시법에 근거한 영상 합성 단계인 단계 S300을 진행하여 각 오리지널 영상이 합성 영상으로 합성되어서 차후의 하자 측정에 사용될 수 있게 한다.See FIG. 1 . This is a flowchart of an image processing method according to an embodiment of the present invention. First, proceed to step S100 to acquire each original image in different light irradiation directions, then proceed to step S200, which is the image data preprocessing (non-linear adjustment) step, and then proceed to step S300, which is the image synthesis step based on the photometric stereoscopic method. In the process, each original image is synthesized into a composite image so that it can be used for subsequent defect measurement.

단계 S100에서는 측정 대상물의 피측정 표면에 대해 다른 빛 조사 방향에서의 조사 영상을 취득한다. 예를 들어 피측정 표면에 있어서 세 개의 다른 조사 방향의 조사 광을 이용해서 순차적으로 조사하여 각 빛 조사 방향에 대응하는 각각의 오리지널 영상을 취득할 수 있다. 비교적 바람직한 실행 방식은 세 개 이상의 서로 다른 조사 방향의 조사 광을 이용해서 위에서 설명한 것처럼 대응하는 오리지널 영상을 세 개 이상 포착(캡처)한다.In step S100, irradiation images from different light irradiation directions are acquired with respect to the measurement target surface of the measurement object. For example, by sequentially irradiating the surface to be measured using irradiated lights in three different irradiating directions, each original image corresponding to each light irradiating direction may be acquired. A relatively preferred implementation is to capture (capture) three or more corresponding original images as described above using irradiated lights from three or more different irradiation directions.

단계 S200에서 비선형 조절은 영상의 그레이 스케일 값을 처리하는 것이다. 즉, 각 오리지널 영상 내 각 화소의 조절 전 그레이 스케일 값 G1에 대해 각각 비선형 조절을 진행하여 그에 대응하는 조절 후 그레이 스케일 값 G2을 생성한다. 여기서 조절 전 및 조절 후의 그레이 스케일 값의 비율 G2/G1은 그레이 스케일 변화 비율이다.The non-linear adjustment in step S200 is to process the gray scale value of the image. That is, each non-linear adjustment is performed on the gray scale value G1 before adjustment of each pixel in each original image to generate the gray scale value G2 after the adjustment corresponding thereto. Here, the ratio G2/G1 of the gray scale values before and after the adjustment is the gray scale change ratio.

단계 S200의 비선형 조절은 그레이 스케일 한계 값 하나를 두 구역 수치로 구분하는 상이성 배분이다. 조절 전 그레이 스케일 값 G1의 수치는 한 화소의 그레이 스케일 표현에 대응한다. 한 화소의 조절 전 및 조절 후 그레이 스케일 값은 비율 G2/G1을 갖는다. 상기 그레이 스케일 한계 값은 조절 전 그레이 스케일 값 G1을 구분을 위한 수치의 위치로 하며, 조절 전 그레이 스케일 한계 값 G1의 선택을 그레이 스케일 변화 비율을 두개의 구역으로 구분하는 조건으로 한다. 예를 들어, 매끄러운 표면의 측정 대상물의 그레이 스케일 한계 값(조절 전 그레이 스케일 값 G1)은 50~60 사이로 선택할 수 있고, 기타 상황에서는 170~180로 설정할 수 있다. 그레이 스케일 한계 값은 수용할 수 없는 하자 포인트의 정도에 의거하여 하자 포인트 및 그 주변의 평균 그레이 스케일 값으로 규정할 수 있다. 예를 들어, 수용할 수 없는 하자 포인트 정도 및 그 주변의 평균 그레이 스케일 값을 40으로 설정하는 경우, 그레이 스케일 한계 값을 40보다 큰 위치(예를 들어 50)에 설정할 수 있다. 또 예를 들어, 수용할 수 없는 하자 포인트 정도 및 그 주변의 평균 그레이 스케일 값을 180으로 설정하는 경우, 그레이 스케일 한계 값을 180보다 작은 위치(예를 들어 170)에 설정할 수 있다.The non-linear adjustment of step S200 is disparity distribution in which one gray scale limit value is divided into two zone values. The numerical value of the gray scale value G1 before adjustment corresponds to the gray scale representation of one pixel. The gray scale values before and after adjustment of one pixel have the ratio G2/G1. The gray scale limit value is a numerical position for classifying the gray scale value G1 before adjustment, and the selection of the gray scale limit value G1 before adjustment is a condition for dividing the gray scale change rate into two zones. For example, the gray scale limit value (gray scale value G1 before adjustment) of a measurement object with a smooth surface can be selected between 50 and 60, and can be set between 170 and 180 in other situations. The gray scale limit value may be defined as an average gray scale value of the defective point and its surroundings based on the degree of unacceptable defective point. For example, when the unacceptable degree of the defect point and the average gray scale value around it are set to 40, the gray scale limit value may be set to a position greater than 40 (eg, 50). Also, for example, when the unacceptable degree of defect point and the average gray scale value around it are set to 180, the gray scale limit value may be set to a position smaller than 180 (eg, 170 ).

두 구역 수치의 상이성 배분의 실행 방식에 있어서, 그레이 스케일 한계 값의 조절 전 그레이 스케일 값 G1보다 작은 수치 구역은 제1 구역으로 칭하고, 그레이 스케일 한계 값의 조절 전 그레이 스케일 값 G1보다 큰 수치 구역은 제2 구역으로 칭한다. 그레이 스케일 한계 값이 인버트 한계 값보다 작을 때, 상기 비선형 조절은 제1 구역의 그레이 스케일 변화 비율 G2/G1을 제2 구역의 그레이 스케일 변화 비율 G2/G1보다 모두 크게 하는 조절 규칙을 의미한다. 이와 반대로, 그레이 스케일 한계 값이 인버트 한계 값보다 클 때, 상기 비선형 조절은 제1 구역의 그레이 스케일 변화 비율 G2/G1을 제2 구역의 그레이 스케일 변화 비율 G2/G1보다 모두 작게 하는 조절 규칙을 의미한다. 즉, 이 조절 규칙에 근거하여 매끄러운 표면을 지닌 측정 대상물은 측광 입체시법의 컴퓨팅 모델에 적용될 수 있다. 단계 S200를 통해 조절된 오리지널 영상은 차후의 합성 단계에 의해 영상이 합성될 수 있다. 인버트 한계 값은 위에서 설명한 두 가지의 서로 상반되는 비선형 조절 방식의 분계 위치를 규정할 수 있으며, 그레이 스케일 한계 값이 대응해야 하는 비선형 조절 방식의 조절 규칙이 어떤 것인지 확정하는 데 사용된다. 이 인버트 한계 값은 70~80 사이의 임의의 수치로 설정될 수 있다.In the implementation manner of disparity distribution of values in two zones, a numerical zone smaller than the gray scale value G1 before adjustment of the gray scale limit value is called a first zone, and a numerical zone larger than the gray scale value G1 before adjustment of the gray scale limit value is called the second zone. When the gray scale threshold value is smaller than the invert threshold value, the non-linear adjustment refers to an adjustment rule that makes both the gray scale change ratio G2/G1 of the first zone larger than the gray scale change ratio G2/G1 of the second zone. Conversely, when the gray scale limit value is greater than the invert limit value, the non-linear adjustment means an adjustment rule that makes both the gray scale change ratio G2/G1 of the first zone smaller than the gray scale change ratio G2/G1 of the second zone do. That is, based on this adjustment rule, a measurement object having a smooth surface can be applied to the computing model of the photometric stereoscopic method. The original image adjusted in step S200 may be synthesized by a subsequent synthesizing step. The invert threshold value can define the boundary positions of the two opposite nonlinear adjustment methods described above, and is used to determine which adjustment rule of the nonlinear adjustment method the gray scale threshold value should correspond to. This invert limit value can be set to any value between 70 and 80.

단계 S300에서는 측광 입체시법의 컴퓨팅 모델에 근거하여 합성 영상을 생성한다. 이 단계에서는 입력된 각 오리지널 영상에 대해 전체적인 표면 법선 벡터를 계산하며, 이에 근거하여 표면 법선 벡터에 수직하는 직교 벡터를 계산하고 벡터장의 적분을 통해 깊이 영상을 획득한다. 이 깊이 영상이 곧 합성 후 차후의 하자 측정에 사용될 수 있는 합성 영상이다. 측광 입체시법의 컴퓨팅 모델은 주지의 컴퓨팅 처리 기술로서 광 세기 값을 전체 모델의 계산 의거로 하며, 여기서는 컴퓨팅의 세부 사항은 생략한다.In step S300, a synthesized image is generated based on the computing model of the photometric stereoscopic method. In this step, an overall surface normal vector is calculated for each input original image, and an orthogonal vector perpendicular to the surface normal vector is calculated based on this, and a depth image is obtained through integration of the vector field. This depth image is a synthesized image that can be used for subsequent defect measurement after synthesizing. The computational model of the photometric stereoscopic method is a well-known computational processing technique, and the light intensity value is based on the calculation of the entire model, and the details of the computation are omitted here.

이어 도 2를 참고한다. 이는 본 발명의 다른 실시예 중의 영상 처리 방법 흐름도이다. 도 1의 실시예와 비교하면 도 2에는 영상 자료 후처리 단계 S400이 더 포함된다. 단계 S400은 영상 자료에 대해 정규화를 진행해서 분석 대상 영상을 생성하고 이를 통해 영상 자료 구간의 일치성을 증강시켜 차후의 하자 판단의 정확성을 높인다.Next, refer to FIG. 2 . This is a flowchart of an image processing method in another embodiment of the present invention. Compared with the embodiment of FIG. 1 , the image data post-processing step S400 is further included in FIG. 2 . In step S400, the image data is normalized to generate an analysis target image, and through this, the consistency of the image data section is enhanced to increase the accuracy of subsequent defect judgment.

단계 S400에는 그레이 스케일 값 분포를 구배 값 분포로 전환하는 단계 S410, 구배 값을 조절하는 단계 S420, 그리고 구배 값 분포를 그레이 스케일 값 분포로 다시 전환하는 단계 S430가 포함될 수 있다.Step S400 may include a step S410 of converting the gray scale value distribution into a gradient value distribution, a step S420 of adjusting the gradient value, and a step S430 of converting the gradient value distribution back to the gray scale value distribution.

단계 S410은 합성 영상의 각 화소가 대응하는 그레이 스케일 분포 자료에 대해 구배 값 전환을 진행한다. 구배 값은 인접한 화소의 그레이 스케일 값의 변화 정도를 의미한다. 따라서 이 단계는 영상 자료의 행 또는 열의 순서 방향에 의거하여 순차적으로 배열된 각 화소에 대해 그레이 스케일 값 변화 정도를 계산한다. 즉, 서열 중 바로 앞 순서의 구배 값과 변화 정도를 계산하고 순서 배열 방향 상의 구배 분포 자료를 취득한다. 구배 분포 자료의 수치는 -1~1 사이에 있게 된다.In step S410, a gradient value is converted for gray scale distribution data corresponding to each pixel of the composite image. The gradient value refers to the degree of change in gray scale values of adjacent pixels. Therefore, in this step, the degree of change in the gray scale value is calculated for each sequentially arranged pixel based on the order direction of the row or column of the image data. That is, the gradient value and the degree of change of the immediately preceding sequence are calculated, and the gradient distribution data in the sequence direction is acquired. The values of the gradient distribution data are between -1 and 1.

단계 S420은 구배 분포 자료에서 구배 값이 제1 구배 한계 값보다 작거나 제2 구배 한계 값보다 큰 구배 값을 선택하고, 이러한 선별된 구배 값을 모두 0으로 설정 조절하는 것을 의미한다. 이 단계는 한정화된 정규화 처리이다. 구배 분포 자료에 한정화 처리를 더하면 하자가 더욱 잘 나타나게 할 수 있다. 상기 제1 구배 한계 값과 제2 구배 한계 값은 절대 값을 취한 후 같은 수치에 해당하는 두 개의 한계 값일 수 있다. 예를 들어, 측정 대상물 표면의 산술 평균 거침 정도 Ra 값이 1.6(μm)보다 작거나 같은 피측정 구역에 있어서, 제1 구배 한계 값은 -0.5으로 선정할 수 있고, 제2 구배 한계 값은 0.5로 선정할 수 있으며, 나아가 산술 평균 거침 정도 Ra 값이 0.8(μm)보다 작거나 같은 피측정 구역에 적용할 수 있다.Step S420 means selecting a gradient value having a gradient value smaller than the first gradient limit value or greater than the second gradient limit value from the gradient distribution data, and setting and adjusting all of these selected gradient values to 0. This step is a qualified normalization process. If we add a qualifying treatment to the gradient distribution data, we can make the defects more visible. The first gradient limit value and the second gradient limit value may be two limit values corresponding to the same value after taking an absolute value. For example, in the measurement target area in which the arithmetic mean roughness Ra value of the surface of the measurement object is less than or equal to 1.6 (μm), the first gradient limit value may be selected as -0.5, and the second gradient limit value may be 0.5 It can be selected as , and furthermore, it can be applied to the area to be measured where the arithmetic mean roughness Ra value is less than or equal to 0.8 (μm).

단계 S430은 0~255의 그레이 스케일 값을 조절 후의 구배 분포 자료에 분배하여 그레이 스케일 분포 자료로 전환되게 한다. 이 단계는 단계 S410의 역처리에 해당한다. In step S430, gray scale values of 0 to 255 are distributed to the adjusted gradient distribution data to be converted into gray scale distribution data. This step corresponds to the reverse processing of step S410.

0~255의 그레이 스케일 값은 제1 구배 한계 값과 제2 구배 한계 값 사이에 분포되어 신규 그레이 스케일 분포를 갖는 분석 대상 영상을 생성하여 차후의 하자 측정에 사용된다. 제1 구배 한계 값과 제2 구배 한계 값 사이 이외 범위의 구배 값은 모두 0이기 때문에, 단계 S430은 0~255의 그레이 스케일 값을 제1 구배 한계 값과 제2 구배 한계 값 사이에 분포시켜 신규 그레이 스케일 분포를 갖는 분석 대상 영상을 생성하는 것에 해당한다. 구배 값 0이 대응하는 신규 그레이 스케일 값을 128로 설정하여 전환 기초로 할 수 있다.Gray scale values of 0 to 255 are distributed between the first gradient limit value and the second gradient limit value to generate an analysis target image having a new gray scale distribution and used for subsequent defect measurement. Since all of the gradient values in the range other than between the first gradient limit value and the second gradient limit value are 0, step S430 distributes the gray scale values of 0 to 255 between the first gradient limit value and the second gradient limit value to create a new It corresponds to generating an analysis target image having a gray scale distribution. A new gray scale value corresponding to a gradient value of 0 may be set to 128 as a transition basis.

이제 도 3과 도 4를 함께 참고한다. 도 3은 본 발명의 한 실시예 중의 측정 시스템의 개략도이고 도 4는 도 3의 측정 시스템을 위에서 내려다보는 시각에서의 개략도로서, 광원 장치(31) 상호간 및 광원 장치(31)와 영상 취득 장치(20) 사이의 상대적 위치를 보여줄 수 있다. 측정 시스템은 스탠드(10), 영상 취득 장치(20), 광원 모듈(30) 및 제어 호스트(40)를 포함한다. 스탠드(10)는 측정 대상물(50)을 놓는데 사용된다. 영상 취득 장치(20)는 스탠드(10) 위에 배치된다. 광원 모듈(30)에는 영상 취득 장치(20) 주변을 에워싸서 설치되는 복수의 광원 장치(31)가 구비된다. 제어 호스트(40)는 영상 취득 장치(20)와 광원 모듈(30)에 연결되어 영상 취득 장치(20)와 광원 모듈(30)을 제어하고 위에서 설명한 영상 처리 방법을 수행한다.Reference is now made to FIGS. 3 and 4 together. 3 is a schematic diagram of a measurement system in one embodiment of the present invention, and FIG. 4 is a schematic diagram of the measurement system of FIG. 3 from a top-down perspective, between the light source device 31 and the light source device 31 and the image acquisition device ( 20) can show the relative position between The measurement system includes a stand 10 , an image acquisition device 20 , a light source module 30 , and a control host 40 . The stand 10 is used to place the measurement object 50 . The image acquisition device 20 is disposed on the stand 10 . The light source module 30 is provided with a plurality of light source devices 31 installed to surround the image acquisition device 20 . The control host 40 is connected to the image acquisition device 20 and the light source module 30 to control the image acquisition device 20 and the light source module 30 and perform the image processing method described above.

기계 조건이 매우 엄격한 상황에서는 측정 시스템을 배치할 수 있는 공간이 매우 제한적일 수 있다. 특히 영상 취득 장치(20)와 광원 모듈(30)은 반드시 콤팩트하게 배치되어야 하며 스탠드(10) 위에 위치하여야 한다. 심지어 점유 공간을 더욱 축소하기 위해, 영상 취득 장치(20)는 반드시 스탠드(10)의 바로 위에 위치하여야 하고 광원 모듈(30)은 영상 취득 장치(20)와 바로 인접해야 한다.In situations where the mechanical conditions are very stringent, the space available for placing the measuring system can be very limited. In particular, the image acquisition device 20 and the light source module 30 must be arranged compactly and located on the stand 10 . Even in order to further reduce the occupied space, the image acquisition device 20 must be located directly above the stand 10 and the light source module 30 must be directly adjacent to the image acquisition device 20 .

따라서 이런 공간이 협소한 조건에서는 일반적인 매끄러운 표면 측정 배치처럼 할 수 없어, 반사된 광선이 쉽게 영상 취득 장치(20)로 입사할 수 있게 영상 취득 장치(20)와 광원 모듈(30)을 각각 스탠드(10)의 양 상대 쪽에 배치하거나 상대적 위치를 바꿀 수 없다. 이에 따라, 주지의 측광 입체시법과 본 발명의 영상 처리 방법을 같이 사용하여 관련 영상 자료를 조절하면 이러한 기술 상의 문제를 해결할 수 있고, 금속 재질의 측정 대상물의 돌출 또는 오목한 미세한 하자가 쉽게 검출되게 하며, 매끄러운 표면을 지닌 측정 대상물의 하자 측정 정확도도 향상시킨다.Therefore, in such a narrow space condition, it is not possible to do like a general smooth surface measurement arrangement, so that the image acquisition device 20 and the light source module 30 are each mounted on a stand ( 10) cannot be placed on opposite sides or changed relative positions. Accordingly, if the related image data is adjusted by using the well-known photometric stereoscopic method and the image processing method of the present invention together, this technical problem can be solved, and a small protrusion or concave defect of a metal material to be measured can be easily detected. , it also improves the accuracy of measurement of defects in objects with smooth surfaces.

제어 호스트(40)는 나아가 하자 판단 프로그램을 수행할 수 있다. 분석 대상 영상상 화소의 그레이 스케일 값이 돌출 하자 한계 값보다 클 때, 이러한 화소는 돌출 하자로 정의될 수 있다. 그리고 분석 대상 영상상 화소의 그레이 스케일 값이 오목 하자 한계 값보다 작을 때, 이러한 화소는 오목 하자로 정의될 수 있다. 영상의 조절 후 화소의 그레이 스케일 값의 표현에 근거하고 하자 한계 값 설정을 통해, 비교적 매끄러운 측정 대상물 표면에서 하자의 위치와 상황을 판단할 수 있다. 일반 상황에서, 비교적 매끄러운 측정 대상물 표면의 돌출 하자 한계 값은 155~160 사이의 임의의 수치로 설정될 수 있고, 오목 하자 한계 값은 95~100 사이의 임의의 수치로 설정될 수 있다. 기타 상황에서는 영상의 조절 후 각 화소의 그레이 스케일 표현을 이용해서, 검출해야 하는 오목 정도와 돌출 정도(조건이 더 엄하거나 느슨함)에 따라 오목 하자 한계 값과 돌출 하자 한계 값을 설정할 수 있다. 이렇게 하면 각 광원 장치(31)의 평균 광 조사 방향과 영상 취득 장치(20)의 광축 사이 협각(θ)이 30도 이내이거나 심지어 0~10도 사이이더라도, 본 발명이 제시하는 영상 처리 방법에 따라 관련된 영상 자료를 조절하고 오목 또는 돌출 하자 구역을 확실히 나타낼 수 있다. The control host 40 may further execute a defect determination program. When the gray scale value of a pixel on the analysis target image is greater than the protrusion defect threshold value, such a pixel may be defined as a protrusion defect. In addition, when the gray scale value of a pixel on the analysis target image is smaller than the concave defect limit value, such a pixel may be defined as a concave defect. After the image is adjusted, the position and situation of the defect can be determined on the relatively smooth surface of the object to be measured based on the expression of the gray scale value of the pixel and setting the defect limit value. In a general situation, the protrusion defect limit value of the relatively smooth surface of the measurement object may be set to any value between 155 and 160, and the concave defect limit value may be set to any value between 95 and 100. In other situations, by using the gray scale representation of each pixel after image adjustment, the concave defect limit value and the protrusion defect limit value can be set according to the degree of concavity and protrusion to be detected (the condition is stricter or looser). In this way, even if the angle θ between the average light irradiation direction of each light source device 31 and the optical axis of the image acquisition device 20 is within 30 degrees or even between 0 and 10 degrees, according to the image processing method proposed by the present invention, Relevant imaging data can be adjusted and areas of concave or protruding defects can be clearly identified.

위에서 설명한 내용을 종합하면, 본 발명이 제시하는 측광 입체시법에 근거한 측정 시스템은 대응하는 영상 처리 후 매끄러운 표면을 지닌 측정 대상물의 표면 하자를 측정하는 데 적용될 수 있으며, 균일한 평행 조사 광의 제한을 받지 않을 수 있어 측광 입체시법의 응용 대상이 반드시 거친 표면을 지니거나 쉽게 반사되지 않는 표면을 지녀야 한다는 문제를 해결할 수 있다.Summarizing the above, the measurement system based on the photometric stereoscopic method proposed by the present invention can be applied to measure the surface defect of a measurement object having a smooth surface after the corresponding image processing, and it is possible to avoid the limitation of uniform parallel irradiation light. This can solve the problem that the application target of the photometric stereoscopic method must have a rough surface or a surface that is not easily reflected.

10: 스탠드
20: 영상 취득 장치
30: 광원 모듈
31: 광원 장치
40: 제어 호스트
50: 측정 대상물
S100~S400: 단계
S410~S430: 단계
θ: 협각
10: stand
20: image acquisition device
30: light source module
31: light source device
40: control host
50: measurement object
S100~S400: Step
S410~S430: Step
θ: narrow angle

Claims (10)

매끄러운 표면을 지닌 측정 대상물의 광학 측정 영상 처리 방법에 있어서,
상기 측정 대상물에 대한 각각의 다른 빛 조사 방향에 근거하여 순차적으로 각 빛 조사 방향에 대응하는 측정 대상물의 각각의 오리지널 영상을 취득하는 단계- 상기 오리지널 영상 수는 최소 3개-;
각각의 오리지널 영상 내 각 화소의 조절 전 그레이 스케일 값에 대해 비선형 조절을 시행하여 대응하는 조절 후 그레이 스케일 값을 생성하며, 그레이 스케일 한계 값이 인버트 한계 값보다 작을 때, 상기 조절 전 그레이 스케일 값이 상기 그레이 스케일 한계 값보다 작은 복수 화소의 그레이 스케일 변화 비율을 상기 조절 전 그레이 스케일 값이 상기 그레이 스케일 한계 값보다 작지 않은 나머지 화소의 그레이 스케일 변화 비율보다 모두 크게 하며, 상기 그레이 스케일 한계 값이 상기 인버트 한계 값보다 클 때, 상기 조절 전 그레이 스케일 값이 상기 그레이 스케일 한계 값보다 작은 복수 화소의 그레이 스케일 변화 비율을 상기 조절 전 그레이 스케일 값이 상기 그레이 스케일 한계 값보다 작지 않은 나머지 화소의 그레이 스케일 변화 비율보다 모두 작게 하는 영상 자료 전처리 단계; 및
측광 입체시법에 근거하여 상기 영상 자료 전처리 단계를 통해 처리된 각각의 오리지널 영상이 후속 하자 측정에 사용되는 합성 영상으로 합성되는 합성 단계를 포함하는, 매끄러운 표면을 지닌 측정 대상물의 광학 측정 영상 처리 방법.
In the optical measurement image processing method of a measurement object having a smooth surface,
sequentially acquiring each original image of the measurement object corresponding to each light irradiation direction based on each different light irradiation direction for the measurement object - the number of the original images is at least 3 -;
Non-linear adjustment is performed on the gray scale value before adjustment of each pixel in each original image to generate a corresponding gray scale value after adjustment, and when the gray scale limit value is smaller than the invert limit value, the gray scale value before adjustment is All of the gray scale change ratios of the plurality of pixels smaller than the gray scale limit value are greater than the gray scale change ratios of the remaining pixels whose gray scale values are not smaller than the gray scale limit value before the adjustment, and the gray scale limit value is the invert When it is greater than the threshold value, the gray scale change ratio of the plurality of pixels whose gray scale value before the adjustment is smaller than the gray scale threshold value is the gray scale change ratio of the remaining pixels whose gray scale value is not smaller than the gray scale threshold value before the adjustment image data pre-processing step of making them all smaller; and
An optical measurement image processing method of a measurement object having a smooth surface, comprising a synthesis step of synthesizing each original image processed through the image data preprocessing step based on the photometric stereoscopic method into a composite image used for subsequent defect measurement .
청구항 1에 있어서,
상기 합성 단계 후에는 영상 자료 후처리 단계가 더 포함되며, 상기 영상 자료 후처리 단계에서는 상기 합성 영상의 그레이 스케일 분포 자료에 근거하여, 대응하는 구배 분포 자료 중 제1 구배 한계 값보다 작거나 제2 구배 한계 값보다 큰 구배 값을 모두 0으로 조절하고, 0~255의 그레이 스케일 값을 상기 제1 구배 한계 값과 상기 제2 구배 한계 값 사이에 분포시켜 차후의 하자 측정에 사용되는 신규 그레이 스케일 분포를 갖는 분석 대상 영상을 생성하는 영상 처리 방법.
The method according to claim 1,
After the synthesizing step, an image data post-processing step is further included, and in the image data post-processing step, based on the gray scale distribution data of the synthesized image, it is smaller than a first gradient threshold value or a second gradient distribution data of the corresponding gradient distribution data. A new gray scale distribution used for subsequent defect measurement by adjusting all gradient values greater than the gradient limit value to 0, and distributing gray scale values of 0 to 255 between the first gradient limit value and the second gradient limit value An image processing method for generating an analysis target image having
청구항 2에 있어서,
절대 값을 취한 상기 제1 구배 한계 값은 상기 제2 구배 한계 값의 수치와 같은 영상 처리 방법.
3. The method according to claim 2,
The first gradient threshold value obtained by taking an absolute value is the same as the numerical value of the second gradient threshold value.
청구항 2에 있어서,
상기 제1 구배 한계 값은 -0.5이며 상기 제2 구배 한계 값은 0.5인 영상 처리 방법.
3. The method according to claim 2,
The first gradient threshold value is -0.5 and the second gradient threshold value is 0.5.
청구항 4에 있어서,
구배 값 0이 대응하는 신규 그레이 스케일 분포의 그레이 스케일 값은 128인 영상 처리 방법.
5. The method according to claim 4,
An image processing method in which the gray scale value of the new gray scale distribution to which the gradient value 0 corresponds is 128.
청구항 1 내지 5에 있어서,
상기 측정 대상물의 피측정 구역의 표면 거침 정도 Ra 값은 1.6(μm)보다 작거나 같은 영상 처리 방법.
6. The method of claim 1 to 5,
An image processing method wherein the surface roughness Ra value of the measurement target area of the measurement object is less than or equal to 1.6 (μm).
측정 대상물을 놓는 스탠드;
상기 스탠드 위에 배치되는 영상 취득 장치;
상기 영상 취득 장치 주변을 에워싸서 설치되는 복수의 광원 장치를 포함하는 광원 모듈; 및
상기 영상 취득 장치 및 상기 광원 모듈과 연결되며, 청구항 1 내지 6 중 어느 한 항에 따른 영상 처리 방법을 수행하는 제어 호스트를 포함하는, 청구항 1 내지 6중 어느 한 항에 따른 영상 처리 방법을 사용하는 측정 시스템.
a stand for placing the measurement object;
an image acquisition device disposed on the stand;
a light source module including a plurality of light source devices installed to surround the image acquisition device; and
Using the image processing method according to any one of claims 1 to 6, which is connected to the image acquisition device and the light source module, and includes a control host that performs the image processing method according to any one of claims 1 to 6 measuring system.
청구항 7에 있어서,
각각의 상기 광원 장치의 광 조사 방향과 상기 영상 취득 장치의 광축 사이 협각은 0~30도 인 측정 시스템.
8. The method of claim 7,
An angle between the light irradiation direction of each of the light source devices and the optical axis of the image acquisition device is 0 to 30 degrees.
측정 대상물을 놓는 스탠드;
상기 스탠드 위에 배치되는 영상 취득 장치;
상기 영상 취득 장치 주변을 에워싸서 설치되는 복수의 광원 장치를 포함하는 광원 모듈; 및
상기 영상 취득 장치 및 상기 광원 모듈과 연결되고, 청구항 5에 따른 영상 처리 방법을 수행하는 제어 호스트를 포함하며, 상기 제어 호스트는 하자 판단 프로그램을 수행하여 상기 분석 대상 영상의 그레이 스케일 값이 돌출 하자 한계 값보다 큰 화소를 돌출 하자로 정의하고, 상기 분석 대상 영상의 그레이 스케일 값이 오목 하자 한계 값보다 작은 화소를 오목 하자로 정의하는, 청구항 5에 따른 영상 처리 방법을 사용하는 측정 시스템.
a stand for placing the measurement object;
an image acquisition device disposed on the stand;
a light source module including a plurality of light source devices installed to surround the image acquisition device; and
and a control host connected to the image acquisition device and the light source module and configured to perform the image processing method according to claim 5 , wherein the control host executes a defect determination program so that the gray scale value of the analysis target image protrudes. A measurement system using the image processing method according to claim 5 , wherein a pixel larger than the value is defined as a protrusion defect, and a pixel having a gray scale value smaller than a concave defect threshold value of the analysis target image is defined as a concave defect.
청구항 9에 있어서,
각각의 상기 광원 장치의 광 조사 방향과 상기 영상 취득 장치의 광축 사이 협각은 0~30도 인 측정 시스템.
10. The method of claim 9,
An angle between the light irradiation direction of each of the light source devices and the optical axis of the image acquisition device is 0 to 30 degrees.
KR1020210141508A 2020-12-29 2021-10-22 Image processing method for object with smooth surface on optical detection and detection system thereof KR102602369B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011591862.8A CN114689604A (en) 2020-12-29 2020-12-29 Image processing method for optical detection of object to be detected with smooth surface and detection system thereof
CN202011591862.8 2020-12-29

Publications (2)

Publication Number Publication Date
KR20220095100A true KR20220095100A (en) 2022-07-06
KR102602369B1 KR102602369B1 (en) 2023-11-16

Family

ID=82131720

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210141508A KR102602369B1 (en) 2020-12-29 2021-10-22 Image processing method for object with smooth surface on optical detection and detection system thereof

Country Status (2)

Country Link
KR (1) KR102602369B1 (en)
CN (1) CN114689604A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117314924A (en) * 2023-11-30 2023-12-29 湖南西欧新材料有限公司 Image feature-based electroplated product surface flaw detection method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001514386A (en) * 1997-08-22 2001-09-11 スペクトラ−フィジックス・ビジョンテック・オイ Method and apparatus for automatic inspection of moving surfaces
JP2012507013A (en) * 2009-02-10 2012-03-22 クロマ エーティーイー インコーポレイティッド Light source measurement method and light source measurement system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001514386A (en) * 1997-08-22 2001-09-11 スペクトラ−フィジックス・ビジョンテック・オイ Method and apparatus for automatic inspection of moving surfaces
JP2012507013A (en) * 2009-02-10 2012-03-22 クロマ エーティーイー インコーポレイティッド Light source measurement method and light source measurement system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
배철민, 문영식, 측광입체시법을 이용한 하이라이트 검출과 농담 차이를 이용한 물체 복원, 한국정보처리학회논문지, 제4권4호, Pages 1132-1140, 1997(1997.04.30.) 1부.* *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117314924A (en) * 2023-11-30 2023-12-29 湖南西欧新材料有限公司 Image feature-based electroplated product surface flaw detection method
CN117314924B (en) * 2023-11-30 2024-02-09 湖南西欧新材料有限公司 Image feature-based electroplated product surface flaw detection method

Also Published As

Publication number Publication date
CN114689604A (en) 2022-07-01
KR102602369B1 (en) 2023-11-16

Similar Documents

Publication Publication Date Title
CN109642787B (en) System and method for 3D surface measurement
Feng et al. General solution for high dynamic range three-dimensional shape measurement using the fringe projection technique
US5135308A (en) Method and apparatus for non-contact measuring of object surfaces
JP6319329B2 (en) Surface attribute estimation using plenoptic camera
US5135309A (en) Method and apparatus for non-contact measuring of object surfaces
Song et al. Quality assessment of laser speckle patterns for digital image correlation by a multi-factor fusion index
JP6161714B2 (en) Method for controlling the linear dimension of a three-dimensional object
KR20070058652A (en) Method and system for measuring the relief of an object
CN109767425B (en) Machine vision light source uniformity evaluation device and method
GB2483481A (en) Method and apparatus of measuring the shape of an object
CN105913401B (en) Industrial camera photography measurement image luminance compensation method
WO2019124104A1 (en) Device and method for measuring object shape, and program
KR102602369B1 (en) Image processing method for object with smooth surface on optical detection and detection system thereof
CN116802688A (en) Apparatus and method for correspondence analysis within an image
Pei et al. Profile measurement of non-Lambertian surfaces by integrating fringe projection profilometry with near-field photometric stereo
CN114241059B (en) Synchronous calibration method for camera and light source in photometric stereo vision system
CN109643444B (en) Polishing correction method and device
CN116385520A (en) Wear surface topography luminosity three-dimensional reconstruction method and system integrating full light source images
RU125335U1 (en) DEVICE FOR MONITORING LINEAR SIZES OF THREE-DIMENSIONAL OBJECTS
Lertrusdachakul et al. Dynamic (de) focused projection for three-dimensional reconstruction
Zhu et al. Three-dimensional measurement of fringe projection based on the camera response function of the polarization system
CN111487201B (en) Characterization method of polarization image information and calculation method of characterization parameters
JP4028118B2 (en) Fiber dive angle measuring method and system
Poncelet et al. A Digital Image Correlation algorithm with light reflection compensation
CN107835931B (en) Method for monitoring linear dimension of three-dimensional entity

Legal Events

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