KR102518378B1 - Flaw detection device and flaw part detecting method by flaw detection device - Google Patents
Flaw detection device and flaw part detecting method by flaw detection device Download PDFInfo
- Publication number
- KR102518378B1 KR102518378B1 KR1020160033396A KR20160033396A KR102518378B1 KR 102518378 B1 KR102518378 B1 KR 102518378B1 KR 1020160033396 A KR1020160033396 A KR 1020160033396A KR 20160033396 A KR20160033396 A KR 20160033396A KR 102518378 B1 KR102518378 B1 KR 102518378B1
- Authority
- KR
- South Korea
- Prior art keywords
- wound
- area
- candidate
- flaw
- detection device
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N27/00—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
- G01N27/72—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables
- G01N27/82—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables for investigating the presence of flaws
- G01N27/83—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables for investigating the presence of flaws by investigating stray magnetic fields
- G01N27/87—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables for investigating the presence of flaws by investigating stray magnetic fields using probes
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N27/00—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
- G01N27/72—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables
- G01N27/82—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables for investigating the presence of flaws
- G01N27/83—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables for investigating the presence of flaws by investigating stray magnetic fields
- G01N27/84—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables for investigating the presence of flaws by investigating stray magnetic fields by applying magnetic powder or magnetic ink
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan 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
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N27/00—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means
- G01N27/72—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables
- G01N27/74—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables of fluids
- G01N27/76—Investigating or analysing materials by the use of electric, electrochemical, or magnetic means by investigating magnetic variables of fluids by investigating susceptibility
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N21/1717—Systems in which incident light is modified in accordance with the properties of the material investigated with a modulation of one or more physical properties of the sample during the optical investigation, e.g. electro-reflectance
- G01N2021/1727—Magnetomodulation
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N2021/1765—Method using an image detector and processing of image signal
- G01N2021/177—Detector of the video camera type
- G01N2021/1776—Colour camera
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/84—Systems specially adapted for particular applications
- G01N21/88—Investigating the presence of flaws or contamination
- G01N21/8851—Scan 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/8887—Scan 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
Abstract
본 발명은 상처부의 검출 누락 및 과검출을 방지하여, 상처부의 검출율이 향상된 탐상 장치, 및 탐상 장치에 의한 상처부 검출 방법을 제공한다.
피검사물(10)의 표면을 촬상하는 촬상 장치(16)와, 촬상 장치(16)에 의해 촬상된 원화상을 처리하여, 표면에 있어서의 상처부를 검출하는 검출 장치(30)를 구비하는 자분 탐상 장치(1)에 있어서, 검출 장치(30)는, 원화상을 제1 문턱값으로 2치화 처리하여 제1 상처 후보부(40)를 추출하는 제1 추출부(31)와, 제1 상처 후보부(40)가 포함되도록 검사 영역(42)을 생성하는 검사 영역 생성부(32)와, 검사 영역(41)을 제2 문턱값으로 2치화 처리하여 제2 상처 후보부(42)를 추출하는 제2 추출부(33)와, 제2 상처 후보부(42)를 팽창 처리하여 상처부를 검출하는 상처 판정부(34)를 구비한다.The present invention provides a flaw detector with an improved detection rate of a flaw by preventing omission and over-detection of a flaw, and a method of detecting a flaw using the flaw detector.
Magnetic particle flaw detection comprising an imaging device 16 that captures an image of the surface of an inspected object 10 and a detection device 30 that processes an original image captured by the imaging device 16 and detects a flaw on the surface In the device (1), the detection device (30) includes a first extraction unit (31) for binarizing an original image with a first threshold value to extract a first wound candidate portion (40); An examination area generator 32 for generating an examination area 42 to include the examination area 40, and binarization of the examination area 41 with a second threshold value to extract a second wound candidate portion 42. A second extraction unit 33 and a wound determining unit 34 that expands the second potential wound portion 42 and detects the wound portion are provided.
Description
본 발명은, 피(被)검사물의 표면을 촬상(撮像)하는 촬상 장치와, 촬상 장치에 의해 촬상된 원화상(原畵像)을 처리하여, 표면에 있어서의 상처부(傷部)를 검출하는 검출 장치를 구비하는 탐상(探傷) 장치, 및 탐상 장치에 의한 상처부 검출 방법에 관한 것이다.The present invention provides an imaging device for capturing an image of the surface of an object to be inspected, and processing an original image captured by the imaging device to detect a scratch on the surface. It relates to a flaw detector having a detection device for detecting a flaw, and a wound detection method using the flaw detector.
종래, 피검사물의 표면의 탐상 검사는, 비파괴 검사 방법의 일종인, 자분(磁粉) 탐상 시험이나 침투 탐상 시험 등에 의해 행해지고 있다. 자분 탐상 시험에서는, 피검사물의 표면에 자분 또는 자분을 함유하는 자분 용액을 도포하는 동시에, 피검사물에 자기장(磁場)을 인가하는 등에 의해 피검사물을 자화(磁化)한다. 피검사물의 표면의 상처부에는 자속(磁束)이 집중되기 때문에, 이 자속에 자분이 끌어 들여져 자분에 의한 지시모양(指示模樣, indication)이 형성된다. 그리고, 이 자분지시모양을 관측함으로써 결함을 검사한다.BACKGROUND OF THE INVENTION [0002] Conventionally, surface flaw inspection of an object to be inspected is performed by a magnetic particle inspection test, a penetrant inspection test, or the like, which is a type of nondestructive inspection method. In a magnetic particle inspection test, magnetic particles or a magnetic particle solution containing magnetic particles are applied to the surface of an object to be inspected, and at the same time, a magnetic field is applied to the object to be inspected to magnetize the object to be inspected. Since magnetic flux is concentrated on the wound on the surface of the object to be inspected, magnetic particles are drawn into this magnetic flux and an indication is formed by the magnetic particles. Then, the defect is inspected by observing this magnetic particle directing pattern.
한편으로, 침투 탐상 시험에서는, 우선, 침투액을 피검사물의 표면에 도포하여 표면에 개구되어 있는 균열이나 핀 홀(pin hole) 등의 미세한 결함에 상기 침투액을 침투시킨다. 다음으로, 표면에 부착되어 있는 잉여(剩餘) 침투액을 제거하고, 현상제 분말을 표면에 도포하여 결함에 침투되어 있는 침투액을 모세관 현상에 의해 표면으로 빨아낸다. 그리고, 그 빨아 올려진 침투액에 의한 침투 지시모양을 관찰함으로써 결함을 검사한다.On the other hand, in the penetrant test, first, a penetrant is applied to the surface of an object to be inspected, and the penetrant is penetrated into fine defects such as cracks and pin holes opened on the surface. Next, excess penetrant adhering to the surface is removed, and developer powder is applied to the surface to suck the penetrant penetrating into the defect to the surface by capillary action. Then, defects are inspected by observing the permeation indicating pattern by the sucked-up penetrating liquid.
이들 자분 탐상 시험이나 침투 탐상 시험은, 자동 장치화가 이루어져, 피검사물의 표면을 촬상하는 촬상 장치와, 촬상 장치에 의해 촬상된 원화상을 처리하여, 표면에 있어서의 상처부를 검출하는 검출 장치를 구비하는 탐상 장치에 의해 행해진다.These magnetic particle inspection tests and penetrant inspection tests are automatically equipped with an imaging device that captures an image of the surface of the inspected object, and a detection device that processes the original image captured by the imaging device and detects scratches on the surface. It is done by a flaw detection device that
특허문헌 1에는, 반송되고 있는 피검사재의 표면에 생긴 자분모양(磁粉模樣)을 촬상 수단에 의해 촬상하고, 촬상된 화상으로부터 피검사재의 표면 결함을 검출하는 자분 탐상 장치에 있어서, 화상에 있어서의 휘도(輝度)의 평균과 휘도의 표준 편차의 정수배(定數倍)의 합을 2치화(二値化)의 문턱값으로 하고, 이 문턱값을 이용해 화상을 2치화하여 표면 결함을 검출하는 것을 특징으로 하는 자분 탐상 장치가 개시되어 있다.In
특허문헌 1의 구성에 의하면, 피검사재의 표면 거칠기(surface roughening), 광원의 휘도 불균일(luminance unevenness) 등의 탐상 조건에 따라 탐상 화상의 휘도의 편차 상태가 변화하였다 하더라도, 항상 적정한 2치화의 문턱값을 결정할 수 있게 되어, 검출 오류를 적게 하고, 또한 누락 없이 표면의 결함을 검출할 수 있다고 되어 있다.According to the configuration of
여기서, 자분 탐상 시험에 있어서, 깊이가 깊은 상처나 폭이 넓은 상처는 밝게 촬상된다. 한편으로, 깊이가 얕은 상처나 폭이 좁은 상처는 그다지 밝게 촬상되지 않는다. 이는, 깊이가 깊은 상처나 폭이 넓은 상처는 누설 자속(leakage flux)이 커지기 때문에, 보다 많은 자분이 끌어 들여지기 때문이다. 마찬가지로, 침투 탐상 시험에 있어서도, 깊이가 깊은 상터나 폭이 넓은 상처는 밝게 촬상된다. 한편으로, 깊이가 얕은 상처나 폭이 좁은 상처는 그다지 밝게 촬상되지 않는다. 이는, 깊이가 깊은 상처나 폭이 넓은 상처에는 많은 침투액이 침투하기 때문이다.Here, in the magnetic particle inspection test, deep wounds and wide wounds are imaged brightly. On the other hand, shallow wounds or narrow wounds are not imaged very brightly. This is because a deep wound or a wide wound has a large leakage flux, so more magnetic particles are drawn in. Similarly, also in the penetrant test, a deep wound or a wide wound is brightly imaged. On the other hand, shallow wounds or narrow wounds are not imaged very brightly. This is because a large amount of penetrating liquid penetrates deep wounds or wide wounds.
표면에 형성되는 결함으로서의 상처는, 그 크기나 깊이는 다양하다. 또한, 하나의 연속되는 상처, 예컨대 선 형상으로 연장되는 상처는, 그 깊이나 폭은 일정하지 않다. 즉, 자분 탐상 시험이나 침투 탐상 시험에 있어서, 깊이가 얕은 부분과 깊은 부분이나 폭이 넓은 부분과 좁은 부분이 혼재(混在)하는 것과 같은 하나의 연속되는 상처는, 그 부분마다 밝기가 다른 화상으로서 촬상된다.Wounds as defects formed on the surface vary in size and depth. In addition, the depth or width of one continuous wound, for example, a wound extending in a linear shape, is not constant. That is, in a magnetic particle inspection test or penetrant inspection test, a single continuous flaw, such as a mixture of shallow and deep areas, wide areas and narrow areas, is an image with different brightness for each area. is filmed
따라서, 화상의 휘도에 근거하여 상처인지 여부를 판정할 경우, 하나의 연속되는 상처라 하더라도, 띄엄띄엄 끊어진 것이 되어 결함으로서의 상처로 판정되지 않아, 상처를 놓치는 경우가 있다. 한편, 상처로 판정되기 쉽게 하는, 즉 기준이 되는 휘도를 낮추면, 불필요한 미세한 상처나 버(burr), 먼지 등이 결함으로서의 상처로서 판정되어, 불필요한 상처나 먼지 등을 검출하는 상태인 과검출(過檢出)이 되고 마는 경우가 있다. 그리고, 특허문헌 1에서는, 탐상 조건에 따른 화상의 휘도의 편차 상태에 의한 검출 오류의 방지는 고려되고 있지만, 상처의 깊이나 폭에 기인하는 휘도의 편차에 의한 검출 오류에 대해서는 아무런 고려가 이루어지지 않고 있다.Therefore, when determining whether or not it is a wound based on the luminance of an image, even if it is a single continuous wound, it may be intermittently broken and not judged as a flaw as a wound, and the wound may be missed. On the other hand, if the luminance that makes it easier to be judged as a flaw, that is, when the standard luminance is lowered, unnecessary fine scratches, burrs, dust, etc. are judged as flaws, and unnecessary scratches, dust, etc. are judged as defects, and over-detection (過) There is a case where it becomes a 檢出. And, in
이에 본 발명의 목적은, 상처부의 검출 누락 및 과검출을 방지하여, 상처부의 검출율이 향상된 탐상 장치, 및 탐상 장치에 의한 상처부 검출 방법을 제공하는 데에 있다.Accordingly, an object of the present invention is to provide a flaw detection device with an improved detection rate of a flaw by preventing omission and over-detection of a flaw, and a method of detecting a flaw by the flaw detection device.
상기 과제를 해결하기 위하여, 본 발명은, 피검사물의 표면을 촬상하는 촬상 장치와, 상기 촬상 장치에 의해 촬상된 원화상을 처리하여, 상기 표면에 있어서의 상처부를 검출하는 검출 장치를 구비하는 탐상 장치로서, 상기 검출 장치는, 상기 원화상을 제1 문턱값으로 2치화 처리하여 제1 상처 후보부를 추출하는 제1 추출부와, 상기 제1 상처 후보부가 포함되도록 검사 영역을 생성하는 검사 영역 생성부와, 상기 검사 영역을 제2 문턱값으로 2치화 처리하여 제2 상처 후보부를 추출하는 제2 추출부와, 상기 제2 상처 후보부를 팽창 처리하여 상기 상처부를 검출하는 상처 판정부를 구비하는 것을 특징으로 한다.In order to solve the above problems, the present invention provides a flaw detection system comprising: an imaging device that captures an image of the surface of an inspected object; and a detection device that processes an original image captured by the imaging device and detects a flaw on the surface. An apparatus, wherein the detection apparatus comprises: a first extraction unit which performs binarization on the original image with a first threshold value to extract a first wound candidate portion; a second extraction unit for extracting a second wound candidate portion by binarizing the examination area with a second threshold value; and a wound determination unit for detecting the wound portion by expanding the second wound candidate portion. to be
또한, 본 발명의 탐상 장치에 관한 상기 제2 문턱값은, 상기 제1 문턱값보다 작은 것을 특징으로 한다.In addition, the second threshold value of the flaw detection device of the present invention is smaller than the first threshold value.
또, 본 발명의 탐상 장치에 관한 상기 검사 영역은, 상기 제1 상처 후보부가 포함되는 최소의 직사각형을, 소정의 폭만큼 확대시킨 직사각형에 의해 둘러싸이는 영역인 것을 특징으로 한다.Further, the inspection area of the flaw detection device of the present invention is characterized in that it is an area surrounded by a rectangle obtained by enlarging a minimum rectangle including the first flaw candidate portion by a predetermined width.
더욱이, 본 발명의 탐상 장치에 관한 상기 팽창 처리는, 상기 제2 상처 후보부를 각각의 장축(長軸) 방향으로 팽창시키는 처리인 것을 특징으로 한다.Further, the expansion processing of the flaw detector of the present invention is characterized in that the second flaw candidate portion is expanded in the direction of each major axis.
또한, 본 발명은, 촬상 장치가, 피검사물의 표면을 촬상하고, 검출 장치가, 상기 촬상 장치에 의해 촬상된 원화상을 처리하여, 상기 표면에 있어서의 상처부를 검출하는 탐상 장치에 의한 상처부 검출 방법으로서, 상기 검출 장치가, 상기 원화상을 제1 문턱값으로 2치화 처리하여 제1 상처 후보부를 추출하고, 상기 제1 상처 후보부가 포함되도록 검사 영역을 생성하며, 상기 검사 영역을 제2 문턱값으로 2치화 처리하여 제2 상처 후보부를 추출하고, 상기 제2 상처 후보부를 팽창 처리하여 상기 상처부를 검출하는 것을 특징으로 한다.In addition, the present invention is a flaw part by a flaw detection device in which an imaging device images the surface of an object to be inspected, and a detection device processes an original image captured by the imaging device to detect a scratch portion on the surface. In the detection method, the detection device binarizes the original image with a first threshold value to extract a first wound candidate portion, generates an examination area including the first wound candidate portion, and sets the examination area to a second It is characterized in that the second wound candidate is extracted by binary processing with a threshold value, and the wound is detected by expanding the second wound candidate.
또, 본 발명의 상처부 검출 방법에 관한 상기 제2 문턱값은, 상기 제1 문턱값보다 작은 것을 특징으로 한다.In addition, the second threshold value in the method for detecting a wound portion of the present invention is smaller than the first threshold value.
또한, 본 발명의 상처부 검출 방법에 관한 상기 검사 영역은, 상기 제1 상처 후보부가 포함되는 최소의 직사각형을, 소정의 폭만큼 확대시킨 직사각형에 의해 둘러싸이는 영역인 것을 특징으로 한다.In addition, the inspection area according to the method for detecting a wound portion of the present invention is characterized in that it is an area surrounded by a rectangle obtained by enlarging a minimum rectangle including the first potential wound portion by a predetermined width.
또, 본 발명의 상처부 검출 방법에 관한 상기 팽창 처리는, 상기 제2 상처 후보부를 각각의 장축 방향으로 팽창시키는 처리인 것을 특징으로 한다.Further, the expansion processing according to the wound portion detection method of the present invention is characterized in that the second wound candidate portion is expanded in the respective major axis directions.
본 발명에 의하면, 피검사물의 표면을 촬상하는 촬상 장치와, 상기 촬상 장치에 의해 촬상된 원화상을 처리하여, 상기 표면에 있어서의 상처부를 검출하는 검출 장치를 구비하는 탐상 장치로서, 상기 검출 장치는, 상기 원화상을 제1 문턱값으로 2치화 처리하여 제1 상처 후보부를 추출하는 제1 추출부와, 상기 제1 상처 후보부가 포함되도록 검사 영역을 생성하는 검사 영역 생성부와, 상기 검사 영역을 제2 문턱값으로 2치화 처리하여 제2 상처 후보부를 추출하는 제2 추출부와, 상기 제2 상처 후보부를 팽창 처리하여 상기 상처부를 검출하는 상처 판정부를 구비하기 때문에, 상처부의 검출 누락 및 과검출을 방지하여, 상처부의 검출율이 향상된 탐상 장치를 제공할 수가 있다.According to the present invention, there is provided a flaw detection device comprising an imaging device for capturing an image of the surface of an object to be inspected, and a detection device for detecting a flaw in the surface by processing an original image captured by the imaging device, wherein the detection device A first extraction unit for extracting a first wound candidate by binarizing the original image with a first threshold value, an examination area generator for generating an examination area to include the first wound candidate, and the examination area Since it is provided with a second extraction unit for extracting the second wound candidate portion by binarizing with a second threshold value and a wound determination unit for detecting the wound portion by expanding the second wound candidate portion, detection omission of the wound portion and excessive It is possible to provide a flaw detection device that prevents detection and improves the detection rate of the scratch portion.
또, 상기 제2 문턱값은, 상기 제1 문턱값보다 작은 구성에 의하면, 상처부의 검출 누락 및 과검출을 방지하여, 상처부의 검출율이 향상된 탐상 장치를 제공할 수가 있다.In addition, according to the configuration in which the second threshold value is smaller than the first threshold value, it is possible to provide a flaw detection device with an improved detection rate of a wound portion by preventing omission and over-detection of the wound portion.
또한, 상기 검사 영역은, 상기 제1 상처 후보부가 포함되는 최소의 직사각형을, 소정의 폭만큼 확대시킨 직사각형에 의해 둘러싸이는 영역인 구성에 의하면, 검출 장치의 연산량의 증대를 방지할 수가 있다.Further, according to the configuration in which the inspection area is an area surrounded by a rectangle obtained by enlarging the minimum rectangle including the first wound candidate portion by a predetermined width, an increase in the amount of calculation of the detection device can be prevented.
또, 상기 팽창 처리는, 상기 제2 상처 후보부를 각각의 장축 방향으로 팽창시키는 처리인 구성에 의하면, 보다 높은 확실도(確度)로 상처부의 검출 누락을 방지할 수가 있다.In addition, according to the configuration in which the expansion processing is a process of expanding the second potential wound portion in the direction of each major axis, detection omission of the wound portion can be prevented with higher reliability.
본 발명에 의하면, 촬상 장치가, 피검사물의 표면을 촬상하고, 검출 장치가, 상기 촬상 장치에 의해 촬상된 원화상을 처리하여, 상기 표면에 있어서의 상처부를 검출하는 탐상 장치에 의한 상처부 검출 방법으로서, 상기 검출 장치가, 상기 원화상을 제1 문턱값으로 2치화 처리하여 제1 상처 후보부를 추출하고, 상기 제1 상처 후보부가 포함되도록 검사 영역을 생성하며, 상기 검사 영역을 제2 문턱값으로 2치화 처리하여 제2 상처 후보부를 추출하고, 상기 제2 상처 후보부를 팽창 처리하여 상기 상처부를 검출하기 때문에, 상처부의 검출 누락 및 과검출을 방지하여, 상처부의 검출율이 향상된 탐상 장치에 의한 상처부 검출 방법을 제공할 수가 있다.According to the present invention, an imaging device images the surface of an object to be inspected, and a detection device processes an original image captured by the imaging device to detect scratches on the surface. In the method, the detection device binarizes the original image with a first threshold value to extract a first wound candidate portion, generates an examination area including the first wound candidate portion, and sets the examination area to a second threshold value. Since the second wound candidate portion is extracted by binarization and the second wound candidate portion is expanded and the wound portion is detected, detection omission and over-detection of the wound portion are prevented, and the detection rate of the wound portion is improved. A wound detection method can be provided.
또, 상기 제2 문턱값은, 상기 제1 문턱값보다 작은 방법에 의하면, 상처부의 검출 누락 및 과검출을 방지하여, 상처부의 검출율이 향상된 탐상 장치에 의한 상처부 검출 방법을 제공할 수 있다.In addition, according to the method in which the second threshold value is smaller than the first threshold value, it is possible to provide a method for detecting a wound portion by a flaw detector with an improved detection rate of the wound portion by preventing omission and over-detection of the wound portion. .
또한, 상기 검사 영역은, 상기 제1 상처 후보부가 포함되는 최소의 직사각형을, 소정의 폭만큼 확대시킨 직사각형에 의해 둘러싸이는 영역인 방법에 의하면, 검출 장치의 연산량의 증대를 방지할 수가 있다.In addition, according to the method, the inspection area is an area surrounded by a rectangle obtained by enlarging the minimum rectangle including the first wound candidate portion by a predetermined width, thereby preventing an increase in the calculation amount of the detection device.
또, 상기 팽창 처리는, 상기 제2 상처 후보부를 각각의 장축 방향으로 팽창시키는 처리인 방법에 의하면, 보다 높은 확실도로 상처부의 검출 누락을 방지할 수가 있다.In addition, according to the method in which the expansion processing is a process of expanding the second potential wound portion in the respective major axis direction, detection omission of the wound portion can be prevented with higher reliability.
도 1은 본 실시형태에 관한 탐상 장치의 일례로서의 자분 탐상 장치의 구성이 도시된 모식도이다.
도 2는 자분 탐상 장치의 제어 계통의 블록도이다.
도 3은 검출 장치의 검출 동작의 일례를 설명하기 위한 플로우 차트(flow chart)이다.
도 4는 제1 추출부에 의해 2치화 처리된 화상의 일례가 도시된 개략도이다.
도 5는 추출된 제1 상처 후보부의 일례가 도시된 화상의 개략도이다.
도 6은 생성된 검사 영역의 일례가 도시된 화상의 개략도이다.
도 7은 제2 추출부에 의해 2치화 처리된 화상의 일례가 도시된 개략도이다.
도 8은 추출된 제2 상처 후보부의 일례가 도시된 화상의 개략도이다.
도 9는 제2 상처 후보부가 팽창 처리된 일례가 도시된 화상의 개략도이다.1 is a schematic diagram showing the configuration of a magnetic particle flaw detector as an example of a flaw detector according to the present embodiment.
2 is a block diagram of a control system of a magnetic particle inspection device.
3 is a flow chart for explaining an example of the detection operation of the detection device.
4 is a schematic diagram showing an example of a binary image processed by the first extraction unit.
5 is a schematic diagram of an image showing an example of an extracted first wound candidate part.
6 is a schematic diagram of an image showing an example of a generated inspection area.
7 is a schematic diagram showing an example of a binarized image by a second extraction unit.
8 is a schematic diagram of an image showing an example of an extracted second wound candidate part.
9 is a schematic diagram of an image showing an example in which a second wound candidate portion is expanded.
이하, 도면을 참조하면서 본 발명을 실시하기 위한 최선의 형태에 대해 상세히 기술한다. 도 1은, 본 실시형태에 관한 탐상 장치의 일례로서의 자분 탐상 장치(1)의 구성이 도시된 모식도이다. 또한, 도 1에 있어서의 화살표는, 피검사물(10)의 반송 방향을 나타내고, 피검사물(10)은, 도 1에 있어서의 우측으로부터 좌측을 향하여 반송된다.Hereinafter, the best mode for carrying out the present invention will be described in detail while referring to the drawings. 1 is a schematic diagram showing the configuration of a magnetic
도 1에 나타내는 바와 같이, 자분 탐상 장치(1)는, 예컨대 길이가 긴(長尺) 각기둥(角柱) 형상의 강재(鋼材) 등의 피검사물(10)의 표면에 있어서의 결함으로서의 상처부를, 자분을 이용하여 자동 제어에 의해 검출하는 탐상 장치이다. 그리고, 자분 탐상 장치(1)는, 반송 장치(11)와, 자분 살포(散布) 장치(12)와, 자화 장치(13)와, 에어 블로우 장치(14)와, 자외선 탐상등(15)과, 촬상 장치(16)와, 마킹 장치(17) 등을 구비한다. 또, 자분 탐상 장치(1)는, 여기에서는 도시되지 않은 컨트롤러(C)나 검출 장치(30) 등도 구비한다.As shown in FIG. 1, the magnetic
반송 장치(11)는, 피검사물(10)을 반송하는 것이다. 반송 장치(11)는, 복수의 롤러 등으로 구성되는 롤러 컨베이어(roller conveyer)로서, 피검사물(10)을 원하는 속도로 반송할 수 있도록 구성되어 있다. 그리고, 피검사물(10)은, 도 1에 있어서, 자분 살포 장치(12)가 위치하는 우측으로부터 마킹 장치(17)가 위치하는 좌측으로 반송된다. 또한, 반송 장치(11)는, 여기에서는 도시되지 않은 반송거리 계측장치(18)를 구비한다. 반송거리 계측장치(18)는, 피검사물(10)의 반송 거리를 계측하는 것이다. 반송거리 계측장치(18)로서는, 반송 장치(11)의 롤러의 회전의 변위를 계측하는 로터리 인코더(rotary encorder) 등으로 구성되는 측정 장치를 이용할 수가 있다. 또한, 반송거리 계측장치(18)의 구성은 특별히 한정되는 것은 아니며, 비접촉에 의한 측정 장치, 예컨대, 레이저 표면 속도계가 이용되어도 무방하고, 이들을 조합한 구성이어도 무방하다. 또, 반송 장치(11)의 구성도 특별히 한정되는 것은 아니며, 예컨대, 무단체(無端體)인 벨트 등으로 구성되는 벨트 컨베이어 등이어도 무방하다.The conveying
자분 살포 장치(12)는, 자분 검사액을 피검사물(10)의 표면에 살포하는 것으로서, 반송 방향에 있어서의 상류 측에 배치되어 있다. 자분 살포 장치(12)는, 도시되지 않은 탱크, 펌프, 노즐 등으로 구성된다. 탱크에 수용된 자분 검사액이, 펌프에 의해 노즐로 가압 이송(壓送)되어, 노즐로부터 자분 검사액이 분출된다. 자분 검사액은, 표면이 형광체로 피복된 자분을 함유하는 용액이다. 자분 살포 장치(12)는, 원하는 양의 자분 검사액을 피검사물(10)의 표면에 연속하여 살포할 수 있도록 구성되어 있다. 또한, 자분 살포 장치(12)의 구성은 특별히 한정되는 것은 아니다.The magnetic
자화 장치(13)는, 피검사물(10)에 자기장을 인가하는 것이며, 자분 살포 장치(12)의 하류 측에 인접하여 배치된다. 자화 장치(13)는, 반송 방향의 상류 측과 하류 측에 대향하여 배치되는 2개의 관통 코일(19, 20)과, 2개의 관통 코일(19, 20)의 사이로서, 반송 방향으로 열(列)을 이루어 배치되는 2개의 극간(極間) 코일(21, 22) 등으로 구성된다. 관통 코일(19, 20)은 원형 링(圓環) 형상으로 형성되며, 피검사물(10)은 그 중심을 관통하도록 하여 반송된다. 한편, 극간 코일(21, 22)은 U자 형상으로 형성되며, 피검사물(10)은 그 공극(空隙)을 통과하도록 반송된다. 그리고, 자화 장치(13)는, 이 2개의 극간 코일(21, 22)을 구비함으로써, 2개의 관통 코일(19, 20)의 사이에서 균일한(一樣, uniform) 회전 자계를 발생시킬 수가 있다.The
보다 상세하게는, 관통 코일(19, 20)과 극간 코일(21, 22)에 전류가 흐름에 따라, 관통 코일(19, 20)에서는 피검사물(10)의 반송 방향으로 자기장이 생성되고, 극간 코일(21, 22)에서는 그 공극 방향인 피검사물(10)의 반송 방향과 직교하는 방향으로 자기장이 생성된다. 그리고, 관통 코일(19, 20)과 극간 코일(21, 22)에 위상이 90도 어긋난 교류 전류가 흐르면, 관통 코일(19, 20)에 의해 생성되는 자기장의 방향(반송 방향)과 극간 코일(21, 22)에 의해 생성되는 자기장의 방향(반송 방향과 직교하는 방향)으로 형성되는 평면 내에 있어서, 일정한 자계 강도로 회전하는 회전 자계가 생성된다.More specifically, as current flows through the through
또한, 자화 장치(13)의 구성은 특별히 한정되는 것은 아니며, 관통 코일(19, 20)이나 극간 코일(21, 22)의 수 등은 적절히 설계할 수 있다. 예컨대, 자화 장치(13)는, 극간 코일(21, 22) 외에 추가로 복수의 극간 코일을 갖는 구성이어도 무방하다. 또, 자화 장치(13)는, 1개의 관통 코일(19)과 1개의 극간 코일(21)로 구성되는 것이어도 무방하다.The configuration of the
에어 블로우 장치(14)는, 피검사물(10)을 향해 중력을 거스르는 방향으로 에어를 분출하는 것이다. 에어 블로우 장치(14)는, 2개의 관통 코일(19, 20)의 사이로서, 관통 코일(19)과 극간 코일(21)의 사이, 2개의 극간 코일(21, 22)의 사이, 및 극간 코일(22)과 관통 코일(20)의 사이에 각각 설치되어 있다. 상기 에어 블로우 장치(14)에 의해, 피검사물(10)의 표면을 흐르는 자분 검사액의 유속(流速)을 조절할 수가 있다. 또한, 에어 블로우 장치(14)의 구성은 특별히 한정되는 것은 아니다.The
자외선 탐상등(15)은, 2개의 관통 코일(19, 20)의 사이에 있어서, 피검사물(10)의 표면의 자분 검사액에 자외선을 조사하는 것이다. 자외선 탐상등(15)은, 자화 장치(13)에 의해 생성되는 강한 회전 자계의 영향을 피하기 위하여, 피검사물(10)로부터 소정의 거리, 예컨대 600㎜~2000㎜ 정도 떨어진 위치에 배치된다. 또한, 자외선 탐상등(15)의 구성은 특별히 한정되는 것은 아니며, 예컨대, 자기 실드(magnetic shield)가 행해지는 구성이어도 무방하다.The ultraviolet
촬상 장치(16)는, 자외선 탐상등(15)에 의해 자외선이 조사된 피검사물(10)의 표면을 촬상하는 것이다. 촬상 장치(16)는, 피검사물(10)의 표면에 대해서 수직 방향으로부터 촬상할 수 있도록 배치되어 있다. 또, 촬상 장치(16)는, 자화 장치(13)에 의해 생성되는 강한 회전 자계의 영향을 피하기 위하여, 피검사물(10)로부터 소정의 거리, 예컨대 600㎜~2000㎜ 정도 떨어진 위치에 배치되는 동시에, 자기 실드가 행해지고 있다. 또한, 촬상 장치(16)는, 자외선 탐상등(15)에 의해 자외선이 조사된 피검사물(10)의 표면을 촬상할 수 있으면 되며, 그 촬상 방향은 한정되는 것은 아니다. 그러나, 상처부를 높은 확실도로 검출한다는 관점에 있어서, 촬상 장치(16)는, 피검사물(10)의 표면에 대해 수직 방향으로부터 촬상하도록 구성되는 것이 바람직하다. 촬상 장치(16)로서는, 에어리어 카메라(area camera) 또는 라인 카메라(line camera)를 이용할 수 있으며, 특별히 한정되는 것은 아니다. 예컨대, CCD(Charge Coupled Device) 카메라를 이용할 수 있다.The
마킹 장치(17)는, 후술하는 검출 장치(30)에 의해 검출된 피검사물(10)의 표면에 있어서의 결함으로서의 상처부에, 눈으로 확인 가능한 마킹(marking)을 하는 것이다. 마킹 장치(17)로서는, 예컨대, 공기압을 이용하여 잉크를 분사함으로써 마킹을 행하는 마킹 건(marking gun)을 이용할 수가 있다. 또한, 마킹 장치(17)의 구성은 특별히 한정되는 것은 아니다.The marking
검출 장치(30)는, 촬상 장치(16)에 의해 촬상된 화상 신호(원화상)를 읽어 들이는 동시에, 원화상에 소정의 처리를 행함으로써, 피검사물(10)의 표면의 상처부를 검출하는 것이며, 그 구성 및 검출 방법에 대해서는 후술하기로 한다.The
다음으로, 본 실시형태에 관한 자분 탐상 장치(1)의 제어 계통에 대해 설명한다. 도 2는, 자분 탐상 장치(1)의 제어 계통의 블록도이다. 자분 탐상 장치(1)는 컨트롤러(C)를 구비하며, 이 컨트롤러(C)에 의해, 반송 장치(11), 반송거리 계측장치(18), 자분 살포 장치(12), 자화 장치(13), 에어 블로우 장치(14), 자외선 탐상등(15), 촬상 장치(16), 마킹 장치(17) 등이 제어되고, 자동 제어에 의해 피검사물(10)의 표면의 상처부를 검출할 수 있도록 구성되어 있다.Next, the control system of the magnetic
컨트롤러(C)는, 각종의 설정치나, 각종 센서에 의한 검출치 등의 입력 신호를 읽어 들이는 동시에, 제어 신호를 출력함으로써, 자분 탐상 장치(1)가 구비하는 각종 장치의 동작을 제어하도록 구성되어 있다. 컨트롤러(C)는, 연산 처리 및 제어 처리를 행하는 처리 장치, 데이터가 저장되는 주(主)기억장치 등으로 구성되어 있다. 컨트롤러(C)는, 예컨대, 처리 장치로서의 CPU(Central Processing Unit), 주기억장치로서의 ROM(Read Only Memory)이나 RAM(Random Access Memory), 타이머, 입력 회로, 출력 회로, 전원 회로 등을 구비하는 마이크로 컴퓨터이다. 주기억장치에는, 본 실시형태에 관한 동작을 실행하기 위한 제어 프로그램이나, 각종 데이터 등이 저장되어 있다. 또한, 이들 각종 프로그램이나 데이터 등은, 컨트롤러(C)와는 별개의 개체로서 설치되는 기억장치에 저장되어, 컨트롤러(C)가 읽어내는 형태여도 무방하다.The controller C reads input signals such as various set values and detection values by various sensors, and outputs a control signal, thereby controlling the operation of various devices included in the magnetic
컨트롤러(C)에는, 반송 장치(11)와, 반송거리 계측장치(18)와, 자분 살포 장치(12)와, 자화 장치(13)와, 에어 블로우 장치(14)와, 자외선 탐상등(15)과, 촬상 장치(16)와, 마킹 장치(17)와, 검출 장치(30)가 전기적으로 접속되어 있다. 또한, 컨트롤러(C)에는, 도 2에 도시된 구성 이외의 각종 센서 등이 전기적으로 접속되어 있다.The controller C includes a conveying
검출 장치(30)는, 컨트롤러(C)와 마찬가지로, 연산 처리 및 제어 처리를 행하는 처리 장치, 데이터가 저장되는 주기억장치 등으로 구성되며, 예컨대, CPU, 주기억장치, 타이머, 입력 회로, 출력 회로, 전원 회로 등을 구비하는 마이크로 컴퓨터이다.Like the controller C, the
검출 장치(30)는, 제1 추출부(31)를 가지고 있다. 제1 추출부(31)는, 예컨대 프로그램에 의해 구성된다. 상세한 것에 대해서는 후술하겠으나, 제1 추출부(31)는, 촬상 장치(16)에 의해 촬상된 화상 신호(원화상)를 미리 정해진 제1 문턱값으로 2치화 처리하여 제1 상처 후보부를 추출하도록 구성된다. 또한, 촬상 장치(16)에 의해 촬상된 원화상은, 컨트롤러(C)를 통해 검출 장치(30)에 입력된다.The
검출 장치(30)는, 검사 영역 생성부(32)를 더 가지고 있다. 검사 영역 생성부(32)도, 예컨대 프로그램에 의해 구성된다. 상세한 것에 대해서는 후술하겠으나, 검사 영역 생성부(32)는, 제1 추출부(31)에 의해 추출된 제1 상처 후보부가 포함되도록 검사 영역을 생성하도록 구성되어 있다.The
검출 장치(30)는, 제2 추출부(33)를 더 가지고 있다. 제2 추출부(33)도, 예컨대 프로그램에 의해 구성된다. 상세한 것에 대해서는 후술하겠으나, 제2 추출부(33)는, 검사 영역 생성부(32)에 의해 생성된 검사 영역을 미리 정해진 제2 문턱값으로 2치화 처리하여 제2 상처 후보부를 추출하도록 구성되어 있다.The
검출 장치(30)는, 상처 판정부(34)를 더 가지고 있다. 상처 판정부(34)도, 예컨대 프로그램에 의해 구성된다. 상세한 것에 대해서는 후술하겠으나, 상처 판정부(34)는, 제2 추출부(33)에 의해 추출된 제2 상처 후보부를 팽창 처리하여 상처부를 검출하도록 구성되어 있다. 그리고, 검출 장치(30)는, 상처 판정부(34)에 의해 검출된 상처부의 위치 데이터를 컨트롤러(C)에 보내도록 구성되어 있다.The
다음으로, 자분 탐상 장치(1)의 동작에 대해 설명한다. 자분 탐상 장치(1)는, 반송 장치(11)에 의해 피검사물(10)을 차례차례 각 장치로 반송하여 피검사물(10)의 표면의 상처부를 검출하도록 구성되어 있다. 피검사물(10)은, 우선, 자분 살포 장치(12)에 반송되어 표면에 자분 검사액이 살포된다. 표면에 자분 검사액이 살포된 피검사물(10)은, 자화 장치(13)에 의해 형성된 회전 자계 영역 내에 반송된다.Next, the operation of the magnetic
이 때, 피검사물(10)의 표면에 상처부가 존재하는 경우, 그 상처부에 기인하는 누설 자계가 생겨, 자분 검사액에 포함되는 자분이, 그 누설 자계로 끌어 들여진다. 여기서, 자화 장치(13)에 의해 형성된 자계는 회전하고 있기 때문에, 상처부가 연장되는 방향(형상)에 관계없이 누설 자계가 발생하여, 상처부에 자분이 끌어 들여진다. 그리고, 자분이 상처부에 집합함으로써, 상처부에 기인하는 자분지시모양이 피검사물(10)의 표면에 형성된다.At this time, when there is a scratched portion on the surface of the inspected
또한, 피검사물(10)의 표면을 흐르는 자분 검사액의 유속은, 에어 블로우 장치(14)에 의해 적절히 조절된다. 자분지시모양을 안정적으로 형성시키는 관점에 있어서, 자분 검사액의 유속은, 5~100㎜/s가 바람직하다. 자분 검사액의 유속이 100㎜/s보다 빠르면, 자분이 상처부에 기인하는 누설 자계에 끌어 들여지기 어려워져, 자분지시모양이 불안정한 것이 된다. 한편, 자분 검사액의 유속이 5㎜/s보다 느리면, 안정적인 자분지시모양의 형성에 많은 시간을 필요로 하게 되어, 검사 효율의 저하로 이어진다.In addition, the flow rate of the magnetic particle test liquid flowing on the surface of the inspected
이와 같이 하여 형성된 자분지시모양은, 자외선 탐상등(15)에 의해 자외선을 조사함으로써, 자분의 표면을 피복하는 형광체를 여기시켜, 촬상 장치(16)에 의해 촬상된다. 상기 촬상 장치(16)에 의해 촬상된 원화상은, 검출 장치(30)에 보내진다. 검출 장치(30)는, 이 원화상에 소정의 처리를 행하여, 원화상 내에 있어서의 상처부를 검출하고, 그 위치 데이터를 컨트롤러(C)에 보낸다. 그리고, 컨트롤러(C)는, 상기 상처부의 위치 데이터와 반송거리 계측장치(18)의 계측 데이터에 근거하여, 마킹 장치(17)의 동작을 제어하여, 피검사물(10)의 표면의 상처부에 마킹을 행한다.The magnetic particle indicator pattern formed in this way is captured by the
다음으로, 검출 장치(30)에 의한 상처부의 검출 방법에 대해 설명한다. 도 3은, 검출 장치(30)의 검출 동작의 일례를 설명하기 위한 플로우 차트이다. 검출 장치(30)는, 촬상 장치(16)에 의해 촬상된 화상 신호(원화상)를 컨트롤러(C)를 통해 도입한다(단계 S1). 여기서, 촬상된 원화상은, 예컨대 세로 960×가로 1280의 화소로 구성된다. 또, 원화상에는, 촬상 장치(16)에 의해 촬상된 시각(時刻)이 관련지어져 있다.Next, the detection method of the wound part by the
다음으로, 검출 장치(30)는, 제1 추출부(31)에 의해, 도입된 원화상에 대하여, 전처리(pre-processing)로서, 각종의 필터를 이용한 강조 처리를 행한다(단계 S2). 여기서, 강조 처리는, 원화상에 있어서의 상처부가 강조되는 것과 같은 처리이면 무방하며, 예컨대, LUT(Look Up Table) 변환 처리, 확대·수축 처리, 셰이딩(shading) 처리 등이며, 이들 각종 처리를 조합한 처리로 하여도 무방하다.Next, the
그리고, 제1 추출부(31)는, 강조 처리된 화상을, 제1 문턱값으로 2치화 처리한다(단계 S3). 제1 추출부(31)에 의해 2치화 처리된 화상의 일례가 도시된 개략도를 도 4에 나타낸다. 또한, 제1 문턱값은 미리 설정되는 것이며, 검출 장치(30)의 도시되지 않은 주(主)기억장치에 저장되어 있다.Then, the
또, 제1 추출부(31)는, 2치화 처리된 화상에 있어서, 라벨링(labelling) 처리를 행한다(단계 S4). 여기서, 라벨링 처리란, 2치화 화상에 있어서, 연속하는 화소에 대해 동일한 라벨을 부여하여, 영역 나누기를 행하는 처리이다.Also, the
그리고, 제1 추출부(31)는, 라벨이 부여된 영역마다, 판정치로서, 예컨대, 면적, 길이, 종방향의 폭, 횡방향의 폭 등을 산출하고, 이들 산출된 판정치와 미리 저장되어 있는 제1 판정 기준치를 비교하여 제1 상처 후보부인지 여부를 판정함으로써, 제1 상처 후보부에 해당하는 영역을 추출한다(단계 S5).Then, the
여기서, 제1 상처 후보부란, 상처부로 상정(想定)되는 영역을 나타낸다. 또, 제1 추출부(31)는, 라벨이 부여된 모든 영역에 대하여, 판정치의 산출, 산출된 판정치와 제1 판정 기준치의 비교, 및 제1 상처 후보부인지 여부의 판정을 행한다. 그리고, 도 5에는, 추출된 제1 상처 후보부(40)의 일례가 도시된 화상의 개략도를 나타낸다. 또한, 도 5는, 영역의 길이를 판정치로 하여 제1 상처 후보부(40)가 추출된 상태로서, 4개의 제1 상처 후보부(40a, 40b, 40c, 40d)가 추출된 상태이다.Here, the first potential wound portion indicates a region assumed to be a wound portion. In addition, the
또한, 판정치는, 상기의 것으로 한정되는 것은 아니며, 영역의 특징을 비교할 수 있는 것이면 되고, 적절히 설정된다. 또, 제1 상처 후보부(40)인지 여부에 대한 판정은, 1종류의 판정치에 근거하여 행해져도 무방하고, 복수 종류의 판정치에 근거하여 행해져도 무방하다. 또, 복수 종류의 판정치에 근거하여 제1 상처 후보부(40)인지 여부에 대한 판정이 이루어지는 경우, 이들 복수 종류의 판정치 중에서 적어도 1종류의 판정치에 근거하여 판정이 이루어지면 된다. 예컨대, 3종류의 판정치 중에서 적어도 2종류의 판정치가 제1 판정 기준을 만족하는 경우에, 그 영역을 제1 상처 후보부(40)인 것으로 판정하는 것과 같은 구성이어도 무방하다.In addition, the judgment value is not limited to the above, and can be set appropriately as long as it can compare the characteristics of the area. In addition, the determination as to whether or not the first wound candidate part 40 is present may be made based on one type of judgment value or may be performed based on a plurality of types of judgment values. In addition, when a determination is made as to whether or not the first wound candidate part 40 is based on a plurality of types of determination values, the determination may be made based on at least one type of determination values among these plurality of kinds of determination values. For example, it may be configured such that the area is determined to be the first wound candidate 40 when at least two of the three types of judgment values satisfy the first judgment criterion.
또, 제1 추출부(31)는, 영역마다 단계 S5를 반복하는 구성으로 한정되는 것은 아니며, 모든 영역에 대해서 판정치를 산출하고, 이어서, 영역마다, 산출된 판정치와 제1 판정 기준치의 비교, 및 제1 상처 후보부인지 여부에 대한 판정을 행하는 것과 같은 구성이어도 무방하다.In addition, the first extracting
다음으로, 검출 장치(30)는, 검사 영역 생성부(32)에 의해, 제1 추출부(31)에 의해 추출된 제1 상처 후보부(40)마다, 각각이 포함되는 검사 영역(41)을 생성한다(단계 S6). 그리고, 도 6에는, 생성된 검사 영역(41)의 일례가 도시된 화상의 개략도를 나타낸다. 또한, 도 6은, 4개의 제1 상처 후보부(40a, 40b, 40c, 40d)에 대한 검사 영역(41a, 41b, 41c, 41d)이 생성된 상태이다. 검사 영역(41)은, 종방향 및 횡방향으로 연장되는 직사각형에 의해 둘러싸이는 영역이다. 그리고, 검사 영역(41)은, 그 면적이 최소가 되는 것을 종방향 및 횡방향으로 각각 소정의 폭만큼 확대시킨 직사각형에 의해 둘러싸이는 영역이다. 여기서, 검사 영역(41)의 형상이나 크기 등은 한정되는 것은 아니며, 제1 상처 후보부(40)가 포함되는 영역이면 된다. 예컨대, 검사 영역(41)은, 마름모꼴(菱形), 사다리꼴(台形), 원, 타원 등에 의해 둘러싸이는 영역이어도 무방하다. 또, 검사 영역(41)은, 기울어진 영역이어도 무방하며, 예컨대, 제1 상처 후보부(40)의 장축(長軸) 방향으로 연장되는 직사각형 등이어도 무방하다.Next, the
다음으로, 검출 장치(30)는, 제2 추출부(33)에 의해, 검사 영역(41)에 대응하는 원화상을 골라낸다(단계 S7).Next, the
그리고, 제2 추출부(33)는, 제1 추출부(31)와 마찬가지로, 검사 영역(41)에 대응하는 원화상이 골라내어진 화상에 강조 처리를 행한다(단계 S8). 또, 제2 추출부(33)는, 그 강조 처리된 화상을, 제2 문턱값으로 2치화 처리한다(단계 S9). 제2 추출부(33)에 의해 2치화 처리된 화상의 일례가 도시된 개략도를 도 7에 나타낸다. 또한, 제2 문턱값은 미리 설정되는 것이며, 검출 장치(30)의 도시되지 않은 주기억장치에 저장되어 있다. 그리고, 상기 제2 문턱값은, 제1 문턱값보다 작다. 여기서, 도 7에서는, 도 4에 비해, 보다 작은 영역이 다수 형성되어 있다. 또, 도 6에 있어서의 제1 상처 후보부(40b)에 대응하는 영역과 제1 상처 후보부(40d)에 대응하는 영역은 연결되어, 1개의 영역으로서 형성되어 있다. 이는, 제2 문턱값은, 제1 문턱값보다 작으며, 휘도가 보다 작은 영역도 포함되는 상태이기 때문이다.Then, the
여기서, 상처부는, 그 깊이나 폭에 따라, 휘도가 큰 영역과 휘도가 작은 영역이 무작위로(random) 존재하는 상태에서 촬상된다. 그러나, 상기 제2 문턱값으로 2치화 처리하는 단계 S9에 의해, 휘도가 보다 작은 영역도 후술하는 제2 상처 후보부에 포함시킬 수 있어, 상처부에 상당하는 영역이 도중에 끊어진 것이 되지 않도록 할 수가 있다.Here, the wound portion is imaged in a state in which a region of high luminance and a region of low luminance exist randomly, depending on the depth or width thereof. However, by the step S9 of binarization with the second threshold value, it is possible to include an area having a lower luminance in a second wound candidate part to be described later, so that the area corresponding to the damaged part is not cut off in the middle. there is.
또, 제2 추출부(33)는, 제1 추출부(31)와 마찬가지로, 2치화 처리된 화상에 있어서, 라벨링 처리를 행한다(단계 S10). 그리고, 제2 추출부(33)는, 라벨이 부여된 영역마다, 판정치로서, 예컨대, 면적, 길이, 종(縱)방향의 폭, 횡(橫)방향의 폭 등을 산출하고, 이들 산출된 판정치와 미리 저장되어 있는 제2 판정 기준치를 비교해 제2 상처 후보부인지 여부를 판정하여, 제2 상처 후보부에 해당하는 영역을 추출한다(단계 S11).Also, the
여기서, 제2 상처 후보부란, 제1 상처 후보부와 마찬가지로, 상처부로 상정되는 영역을 나타낸다. 또, 제2 추출부(33)에 있어서의 제2 판정 기준치는, 제1 추출부(31)에 있어서의 제1 판정 기준치와는 다르다. 제2 판정 기준치는, 제1 판정 기준치보다, 영역이 추출되기 어려운 상태로 하는 것이다. 또한, 추출되기 어려운 상태란, 예컨대, 보다 큰 영역이나 보다 긴 영역이 추출되는 상태를 나타낸다. 한편, 추출되기 쉬운 상태란, 예컨대, 보다 작은 영역이나 보다 짧은 영역이 추출되는 상태를 나타낸다. 그리고, 예컨대, 영역의 길이에 관해서, 제2 판정 기준치의 범위는, 제1 판정 기준치의 범위보다 좁은 범위이며, 또한 제1 판정 기준치의 범위에 포함되는 범위가 된다.Here, the second wound candidate portion indicates a region assumed to be a wound portion, similarly to the first wound candidate portion. In addition, the second criterion value in the
또, 제2 추출부(33)는, 라벨이 부여된 모든 영역에 대하여, 판정치의 산출, 산출된 판정치와 제2 판정 기준치의 비교, 및 제2 상처 후보부인지 여부에 대한 판정을 행한다. 그리고, 도 8에는, 추출된 제2 상처 후보부(42)의 일례가 도시된 화상의 개략도를 나타낸다. 또한, 도 8은, 영역의 길이를 판정치로 하여 제2 상처 후보부(42)가 추출된 상태이며, 2개의 제2 상처 후보부(42a, 42b)가 추출된 상태이다. 그리고, 도 8에서는, 도 5에 있어서의 제1 상처 후보부(40c)에 대응하는 영역은 추출되어 있지 않다. 이는, 제2 판정 기준치가 제1 판정 기준치보다 영역이 추출되기 어려운 상태로 하는 것이기 때문에, 제1 상처 후보부(40c)에 대응하는 영역이 상처부로 상정되는 영역이 아닌 것으로 판정되었기 때문이다.In addition, the
또한, 판정치는, 상기의 것으로 한정되는 것은 아니며, 영역의 특징을 비교할 수 있는 것이면 되고, 적절히 설정된다. 또, 제2 상처 후보부(42)인지 여부에 대한 판정은, 1종류의 판정치에 근거하여 행해져도 무방하고, 복수 종류의 판정치에 근거하여 행해져도 무방하다. 또, 복수 종류의 판정치에 근거하여 제2 상처 후보부(42)인지 여부에 대한 판정이 이루어지는 경우, 이들 복수 종류의 판정치 중에서 적어도 1종류의 판정치에 근거하여 판정이 이루어지면 된다. 예컨대, 3종류의 판정치 중에서 적어도 2종류의 판정치가 판정 기준을 만족할 경우에, 그 영역을 제2 상처 후보부(42)인 것으로 판정하는 것과 같은 구성이어도 무방하다.In addition, the judgment value is not limited to the above, and can be set appropriately as long as it can compare the characteristics of the area. In addition, the determination as to whether or not it is the second wound candidate portion 42 may be performed based on one type of judgment value, or may be performed based on a plurality of types of judgment values. In addition, when the determination as to whether or not the second wound candidate part 42 is based on a plurality of types of determination values is made, the determination may be made based on at least one type of determination values among these plurality of kinds of determination values. For example, a configuration may be used in which the area is determined to be the second wound candidate portion 42 when at least two of the three types of judgment values satisfy the judgment criteria.
또, 제2 판정 기준치는, 제1 판정 기준치보다, 영역이 추출되기 어려운 상태로 하는 것이면 되며, 상술한 구성으로 한정되는 것은 아니다. 예컨대, 제2 판정 기준치와 제1 판정 기준치는 같아도 무방하고, 이러한 경우에는, 제2 추출부(33)는, 제1 추출부(31)보다 많은 종류의 판정치에 근거하여, 제2 상처 후보부인지 여부에 대한 판정을 하도록 구성한다.Further, the second criterion value may be set to a state in which regions are more difficult to extract than the first criterion value, and is not limited to the configuration described above. For example, the second criterion value and the first criterion value may be the same. In this case, the
또, 제2 추출부(33)는, 제1 추출부(31)와 마찬가지로, 영역마다 단계 S11을 반복하는 구성으로 한정되는 것은 아니며, 모든 영역에 대해 판정치를 산출하고, 이어서, 영역마다, 산출된 판정치와 판정 기준치의 비교, 및 제1 상처 후보부인지 여부에 대한 판정을 행하는 것과 같은 구성이어도 무방하다.In addition, the
다음으로, 검출 장치(30)는, 상처 판정부(34)에 의해, 제2 상처 후보부(42)를 각각 팽창 처리한다(단계 S12). 여기서, 팽창 처리란, 제2 상처 후보부(42)를 확대시키는 처리이다. 또한, 상처 판정부(34)는, 제2 상처 후보부(42)마다, 각각의 외형(外形)에 있어서의 장축(長軸)이 되는 방향을 산출하여, 제2 상처 후보부(42)를 상기 장축 방향으로 소정의 양만큼 확대시킨다. 즉, 상처 판정부(34)의 팽창 처리는, 제2 후보부(42)를 길게 하는 것과 같은 처리이다. 그리고, 도 9에는, 제2 상처 후보부(42)가 팽창 처리된 일례가 도시된 화상의 개략도를 나타낸다. 또한, 도 9는, 도 8에 있어서의 2개의 제2 상처 후보부(42a, 42b)가 팽창 처리된 상태이다. 그리고, 제2 상처 후보부(42a)와 제2 상처 후보부(42b)는, 각각 팽창됨에 따라 연결되어, 1개의 영역(43)이 형성되어 있다.Next, the
또, 상처 판정부(34)는, 제1 추출부(31) 및 제2 추출부(33)와 마찬가지로, 제2 상처 후보부(42)가 팽창 처리된 화상에 있어서, 라벨링 처리를 행한다(단계 S13). 그리고, 상처 판정부(34)는, 라벨이 부여된 영역마다, 판정치로서, 예컨대, 면적, 길이, 종방향의 폭, 횡방향의 폭 등을 산출하고, 이들 산출된 판정치와 미리 저장되어 있는 상처 판정 기준치를 비교해 상처부인지 여부를 판정하여, 상처부에 해당하는 영역을 상처부로서 검출한다(단계 S14).Further, similarly to the
여기서, 상처 판정부(34)에 있어서의 상처 판정 기준치는, 제2 추출부(33)에 있어서의 제2 판정 기준치와는 다르다. 상처 판정 기준치는, 제2 판정 기준치보다, 영역이 추출되기 어려운 상태로 하는 것이다. 예컨대, 영역의 길이에 관하여, 상처 판정 기준치의 범위는, 제2 판정 기준치의 범위보다 좁은 범위이며, 또한 제2 판정 기준치의 범위에 포함되는 범위가 된다.Here, the wound determination standard value in the
또, 상처 판정부(34)는, 라벨이 부여된 모든 영역에 대하여, 판정치의 산출, 산출된 판정치와 상처 판정 기준치의 비교, 및 상처부인지 여부에 대한 판정을 행한다. 예컨대, 상처 판정부(34)는, 도 9에 있어서, 팽창된 제2 상처 후보부(42a)와 제2 상처 후보부(42b)가 연결됨에 따라 형성된 1개의 영역(43)을, 1개의 상처부로서 검출한다. 그리고, 검출 장치(30)는, 컨트롤러(C)에 검출한 상처부의 위치 데이터를 보낸다.In addition, the
또한, 판정치는, 상기한 것으로 한정되는 것은 아니며, 영역의 특징을 비교할 수 있는 것이면 되고, 적절히 설정된다. 또, 상처부인지 여부에 대한 판정은, 1종류의 판정치에 근거하여 행해져도 무방하며, 복수 종류의 판정치에 근거하여 행해져도 무방하다. 또, 복수 종류의 판정치에 근거하여 상처부인지 여부에 대한 판정이 이루어지는 경우, 이들 복수 종류의 판정치 중에서 적어도 1종류의 판정치에 근거하여 판정이 이루어지면 된다. 예컨대, 3종류의 판정치 중에서 적어도 2종류의 판정치가 판정 기준을 만족할 경우에, 그 영역을 상처부인 것으로 판정하는 것과 같은 구성이어도 무방하다.In addition, the judgment value is not limited to the above, and can be set appropriately as long as it can compare the characteristics of the area. In addition, the determination as to whether or not it is a wound portion may be performed based on one type of judgment value, or may be performed based on a plurality of types of judgment values. In addition, when determination of whether or not it is a wound part is made based on plural types of judgment values, the judgment may be made based on at least one type of judgment values among these plural types of judgment values. For example, a configuration may be used in which the area is determined to be a wound portion when at least two of the three types of judgment values satisfy the judgment criteria.
또, 상처 판정 기준치는, 제2 판정 기준치보다, 영역이 추출되기 어려운 상태로 하는 것이면 되며, 상술한 구성으로 한정되는 것은 아니다. 예컨대, 상처 판정 기준치와 제2 판정 기준치는 같아도 무방하고, 이러한 경우에는, 상처 판정부(34)는, 제2 추출부(33)보다 많은 종류의 판정치에 근거하여, 상처부인지 여부에 대한 판정을 하도록 구성한다.In addition, the damage criterion value may be set to a state in which regions are less likely to be extracted than the second criterion value, and is not limited to the configuration described above. For example, the wound determination standard value and the second determination standard value may be the same. In this case, the
또, 상처 판정부(34)는, 제1 추출부(31), 제2 추출부(33)와 마찬가지로, 영역마다 단계 S14를 반복하는 구성으로 한정되는 것은 아니며, 모든 영역에 대해 판정치를 산출하고, 이어서, 영역마다, 산출된 판정치와 판정 기준치의 비교, 및 제1 상처 후보부인지 여부에 대한 판정을 행하는 것과 같은 구성이어도 무방하다.In addition, like the
또, 검출 장치(30)는, 제1 상처 후보부(40)가 추출된 화상, 생성된 검사 영역(41), 제2 상처 후보부(42)가 추출된 화상, 제2 상처 후보부(42)가 팽창 처리된 화상, 상처부가 검출된 화상, 산출된 판정치 등의 데이터가 적절히 주기억부에 저장되도록 구성되어도 무방하다.In addition, the
또, 검출 장치(30)는, 단계 S2에 있어서, 강조 처리된 화상을 주기억부에 저장하고, 단계 S7에 있어서, 검사 영역(41)에 대응하는 이 강조 처리된 화상을 골라내어, 그 검사 영역(41)에 대응하는 강조 처리된 화상을, 제2 문턱값으로 2치화 처리하도록 구성되어 있어도 무방하다. 이러한 구성으로 함으로써, 강조 처리를 행하는 단계 S8를 생략할 수 있어, 검출 장치(30)의 연산량을 저감할 수가 있다.In step S2, the
이와 같이, 본 실시형태에서는, 검출 장치(30)가, 제1 추출부(31)에 의해, 원화상을 제1 문턱값으로 2치화 처리하여 제1 상처 후보부(40)를 추출하고, 검사 영역 생성부(32)에 의해, 검사 영역(41)을 생성하며, 제2 추출부(33)에 의해, 검사 영역(41)을 제2 문턱값으로 2치화 처리하여 제2 상처 후보부(42)를 추출하고, 상처 판정부(34)에 의해, 제2 상처 후보부(42)를 팽창 처리하여 상처부를 검출한다. 이 방법에 의하면, 상처부의 검출 누락 및 과검출을 방지하여, 상처부의 검출율이 향상된 탐상 장치에 의한 상처부 검출 방법을 제공할 수가 있다.In this way, in the present embodiment, the
여기서, 단계 S9에 있어서의 제2 문턱값은, 단계 S3에 있어서의 제1 문턱값보다 작다. 즉, 단계 S9는, 단계 S3에 비해, 보다 휘도가 낮은 화소도 추출된다. 또, 단계 S9는, 한정된 영역인 검사 영역(41)에 대한 처리이다. 그리고, 검출 장치(30)는, 우선, 상처부로 상정되는 영역인 제1 상처 후보부(40)를 추출하고, 그 제1 상처 후보부(40)를 포함하는 한정된 영역 내에 대하여, 다시 상처부로 상정되는 영역으로서 보다 휘도가 낮은 것이 포함되는 제2 상처 후보부(42)를 추출한다. 따라서, 검출 장치(30)는, 원화상의 모든 영역에 대해서, 휘도가 낮은 것이 포함되는 상처 후보부의 추출을 행하지 않기 때문에, 미세한 상처, 버(burr), 먼지 등을 상처부로서 검출하는 것(과검출)을 방지할 수가 있다. 또, 단계 S9는, 한정된 영역인 검사 영역(41)의 2치화 처리이므로, 검출 장치(30)의 연산량이 증대되는 것이 방지된다.Here, the second threshold in step S9 is smaller than the first threshold in step S3. That is, in step S9, compared to step S3, pixels with lower luminance are also extracted. Further, step S9 is processing for the inspection area 41, which is a limited area. Then, the
또, 상처 판정부(34)는, 제2 상처 후보부(42)를 팽창 처리하여 상처부를 검출하기 때문에, 하나의 연속되는 상처를, 띄엄띄엄 끊어진 것으로서 상처부는 아닌 것으로 판정하는 경우가 방지되어, 상처부의 검출 누락을 방지할 수가 있다. 또, 상처 판정부(34)는, 제1 문턱값보다 작은 휘도인 제2 문턱값을 이용한 2치화 처리로부터 추출된 제2 상처 후보부(42)를 팽창 처리하기 때문에, 상처부의 검출 누락을 보다 효과적으로 방지할 수가 있다.In addition, since the
또, 상처 판정부(34)에 의한 팽창 처리는, 제2 상처 후보부(42)의 장축 방향으로 팽창시키는 처리, 즉, 하나의 연속되는 상처부인 경우에는, 그 연장되는 방향이라 상정되는 방향으로 팽창시키는 처리이다. 따라서, 상처 판정부(34)는, 상처부에 상당하는 영역이 띄엄띄엄 끊어진 것이 되어 상처부는 아닌 것으로 판정하는 경우가 보다 확실히 방지되어, 보다 높은 확실도로 상처부의 검출 누락을 방지할 수가 있다.In addition, the expansion processing by the
또, 검출 장치(30)는, 제1 문턱값, 제2 문턱값, 제1 판정 기준치, 제2 판정 기준치, 상처 판정 기준치를 적절히 설정함으로써, 상처부로서 검출하는 상처부의 크기를 적절히 변경할 수 있고, 상처부의 검사 정밀도를 적절히 조절할 수 있어, 사용하기 편리하다.In addition, the
이상과 같이, 본 실시형태에서는, 촬상 장치(16)가, 피검사물(10)의 표면을 촬상하고, 검출 장치(30)가, 촬상 장치(16)에 의해 촬상된 원화상을 처리하여, 표면에 있어서의 상처부를 검출하는 자분 탐상 장치(1)의 상처부 검출 방법에 있어서, 검출 장치(30)가, 원화상을 제1 문턱값으로 2치화 처리하여 제1 상처 후보부(40)를 추출하고, 제1 상처 후보부(40)가 포함되도록 검사 영역(41)을 생성하며, 검사 영역(41)을 제2 문턱값으로 2치화 처리하여 제2 상처 후보부(42)를 추출하고, 제2 상처 후보부(42)를 팽창 처리하여 상처부를 검출한다.As described above, in the present embodiment, the
따라서, 본 실시형태에 의하면, 상처부의 검출 누락 및 과검출을 방지하여, 상처부의 검출율이 향상된 탐상 장치에 의한 상처부 검출 방법을 제공할 수가 있다.Therefore, according to the present embodiment, it is possible to provide a method for detecting a wound portion by a flaw detection device that prevents omission and over-detection of the wound portion and improves the detection rate of the wound portion.
또, 피검사물(10)의 표면을 촬상하는 촬상 장치(16)와, 촬상 장치(16)에 의해 촬상된 원화상을 처리하여, 표면에 있어서의 상처부를 검출하는 검출 장치(30)를 구비하는 자분 탐상 장치(1)에 있어서, 원화상을 제1 문턱값으로 2치화 처리하여 제1 상처 후보부(40)를 추출하는 제1 추출부(31)와, 제1 상처 후보부(40)가 포함되도록 검사 영역(41)을 생성하는 검사 영역 생성부(32)와, 검사 영역(41)을 제2 문턱값으로 2치화 처리하여 제2 상처 후보부(42)를 추출하는 제2 추출부(33)와, 제2 상처 후보부(42)를 팽창 처리하여 상처부를 검출하는 상처 판정부(34)를 구비하도록 구성되어 있다.In addition, an
그리고, 본 실시형태에 의하면, 상처부의 검출 누락 및 과검출을 방지하여, 상처부의 검출율이 향상된 자분 탐상 장치(1)를 제공할 수가 있다.Further, according to the present embodiment, it is possible to provide the magnetic
또한, 탐상 장치로서의 자분 탐상 장치(1)는, 상술한 구성으로 한정되는 것은 아니다. 예컨대, 컨트롤러(C)와 검출 장치(30)가 일체로 구성되어도 무방하다. 즉, 컨트롤러(C)가, 제1 추출부(31), 검사 영역 생성부(32), 제2 추출부(33), 및 상처 판정부(34)를 구비하는 구성이어도 무방하다. 이러한 구성으로 함으로써, 자분 탐상 장치(1)가 간소화되어, 소형화가 도모된다. 또, 검출 장치(30)는, 제1 상처 후보부(40)가 추출된 화상, 생성된 검사 영역(41), 제2 상처 후보부(42)가 추출된 화상, 제2 상처 후보부(42)가 팽창 처리된 화상, 검출된 상처부의 화상, 산출된 판정치 등의 데이터를 표시시키는 모니터를 구비하는 구성이어도 무방하다. 이러한 구성에 의해, 적절히 상처부의 검출 결과를 확인할 수 있어, 사용하기 편리하다.In addition, the magnetic particle
또, 자분 탐상 장치(1)는, 컨트롤러(C)에 접속되는 다른 컨트롤러를 더 구비하는 구성이어도 무방하다. 다른 컨트롤러는, 컨트롤러(C)와 마찬가지로, 연산 처리 및 제어 처리를 행하는 처리 장치, 데이터가 저장되는 주기억장치 등으로 구성되며, 예컨대, CPU, 주기억장치, 타이머, 입력 회로, 출력 회로, 전원 회로 등을 구비하는 마이크로 컴퓨터이다. 컨트롤러(C)는, 제1 상처 후보부(40)가 추출된 화상, 생성된 검사 영역(41), 제2 상처 후보부(42)가 추출된 화상, 제2 상처 후보부(42)가 팽창 처리된 화상, 검출된 상처부의 화상, 산출된 판정치 등의 데이터를 다른 컨트롤러에 보낸다. 한편, 다른 컨트롤러는, 컨트롤러(C)로부터 보내지는 이들 데이터를, 그 주기억장치에, 미리 저장된 피검사물(10)의 사이즈나 재질 등의 데이터에 관련지어 저장한다.In addition, the magnetic
이러한 구성으로 함으로써, 다른 컨트롤러에 의해 피검사물(10)의 상처부의 매핑 데이터(mapping data)를 작성할 수 있어, 피검사물(10)의 생산관리를 용이하게 행할 수 있다. 또한, 컨트롤러(C)가, 다른 컨트롤러로부터 피검사물(10)의 사이즈나 재질 등의 데이터를 수취하여, 피검사물(10)의 상처부의 매핑 데이터를 작성하도록 구성되어 있어도 무방하다.With this configuration, mapping data of the wound portion of the inspected
또, 본 발명의 탐상 장치는, 자분 탐상 장치(1)로 한정되는 것은 아니며, 예컨대, 침투액을 이용하여 피검사물의 표면의 상처부를 탐상하는 침투 탐상 장치여도 무방하고, 피검사물의 표면을 촬상하는 촬상 장치와 촬상 장치에 의해 촬상된 원화상을 처리하여 표면에 있어서의 상처부를 검출하는 검출 장치를 구비하는, 모든 탐상 장치에 적용할 수 있다.In addition, the flaw detector of the present invention is not limited to the magnetic
1; 자분 탐상 장치(탐상 장치)
10; 피검사물
16; 촬상 장치
30; 검출 장치
31; 제1 추출부
32; 검사 영역 생성부
33; 제2 추출부
34; 상처 판정부
40; 제1 상처 후보부
41; 검사 영역
42; 제2 상처 후보부One; Magnetic Particle Detector (Flaw Detector)
10; test item
16; imaging device
30; detection device
31; 1st extraction section
32; Inspection area creation unit
33; 2nd extraction part
34; Wound Adjudication Department
40; 1st Wound Candidate
41; inspection area
42; 2nd Wound Candidate
Claims (8)
상기 촬상 장치에 의해 촬상된 원화상(原畵像)을 처리하여, 상기 표면에 있어서의 상처부를 검출하는 검출 장치
를 구비하는 탐상(探傷) 장치로서,
상기 검출 장치는,
상기 원화상을 제1 문턱값으로 2치화(二値化) 처리한 2치화 화상으로부터 연속하는 화소를 갖는 하나 이상의 제1 영역을 추출하고, 각 제1 영역의 면적, 길이, 종방향의 폭, 횡방향의 폭 중 하나 이상을 제1 판정 기준치와 비교하여 제1 상처 후보부를 추출하는 제1 추출부와,
상기 제1 상처 후보부가 포함되도록 그 면적이 최소가 되는 것을 종방향 및 횡방향으로 각각 소정의 폭만큼 확대시킨 직사각형에 의해 둘러싸이는 검사 영역을 생성하는 검사 영역 생성부와,
상기 검사 영역을 상기 제1 문턱값보다 작은 제2 문턱값으로 2치화 처리한 2치화 화상으로부터 연속하는 화소를 갖는 하나 이상의 제2 영역을 추출하고, 각 제2 영역의 면적, 길이, 종방향의 폭, 횡방향의 폭 중 하나 이상을, 상기 제1 판정 기준치보다 영역이 추출되기 어려운 상태인 제2 판정 기준치와 비교하여 제2 상처 후보부를 추출하는 제2 추출부와,
상기 제2 상처 후보부를 팽창 처리하여 상기 상처부를 검출하는 상처 판정부
를 구비하는 것을 특징으로 하는, 탐상 장치.an imaging device that captures an image of a surface of an object to be inspected;
A detection device for processing an original image captured by the imaging device to detect a scratch on the surface.
As a flaw detection device having a,
The detection device,
One or more first regions having consecutive pixels are extracted from the binarized image obtained by binarizing the original image with a first threshold value, and the area, length, width in the vertical direction of each first region, a first extraction unit configured to compare one or more widths in the transverse direction with a first criterion value to extract a first wound candidate;
an examination area generating unit configured to generate an examination area surrounded by a rectangle obtained by enlarging a minimum area by a predetermined width in a longitudinal direction and a transverse direction, respectively, so as to include the first wound candidate;
One or more second regions having consecutive pixels are extracted from a binarized image obtained by binarizing the inspection region with a second threshold value smaller than the first threshold value, and the area, length, and vertical direction of each second region are determined. a second extraction unit that compares at least one of a width and a width in a lateral direction with a second criterion value in which an area is more difficult to extract than the first criterion value, and extracts a second wound candidate part;
A wound determination unit configured to expand the second wound candidate portion and detect the wound portion.
Characterized in that it comprises a, flaw detector.
상기 검사 영역은, 상기 제1 상처 후보부가 포함되는 최소의 직사각형을, 소정의 폭만큼 확대시킨 직사각형에 의해 둘러싸이는 영역인 것을 특징으로 하는, 탐상 장치.According to claim 1,
The flaw detector according to claim 1, wherein the inspection area is an area surrounded by a rectangle obtained by enlarging a minimum rectangle including the first scratch candidate portion by a predetermined width.
상기 팽창 처리는, 상기 제2 상처 후보부를 각각의 장축(長軸) 방향으로 팽창시키는 처리인 것을 특징으로 하는, 탐상 장치.According to claim 1,
The flaw detection apparatus according to claim 1, wherein the expansion treatment is a treatment of expanding the second potential scars in the respective major axis directions.
검출 장치가, 상기 촬상 장치에 의해 촬상된 원화상을 처리하여, 상기 표면에 있어서의 상처부를 검출하는 탐상 장치에 의한 상처부 검출 방법으로서,
상기 검출 장치가,
상기 원화상을 제1 문턱값으로 2치화 처리한 2치화 화상으로부터 연속하는 화소를 갖는 하나 이상의 제1 영역을 추출하고, 각 제1 영역의 면적, 길이, 종방향의 폭, 횡방향의 폭 중 하나 이상을 제1 판정 기준치와 비교하여 제1 상처 후보부를 추출하고,
상기 제1 상처 후보부가 포함되도록 그 면적이 최소가 되는 것을 종방향 및 횡방향으로 각각 소정의 폭만큼 확대시킨 직사각형에 의해 둘러싸이는 검사 영역을 생성하고,
상기 검사 영역을 상기 제1 문턱값보다 작은 제2 문턱값으로 2치화 처리한 2치화 화상으로부터 연속하는 화소를 갖는 하나 이상의 제2 영역을 추출하고, 각 제2 영역의 면적, 길이, 종방향의 폭, 횡방향의 폭 중 적어도 하나 이상을, 상기 제1 판정 기준치보다 영역이 추출되기 어려운 상태인 제2 판정 기준치와 비교하여 제2 상처 후보부를 추출하고,
상기 제2 상처 후보부를 팽창 처리하여 상기 상처부를 검출하는 것을 특징으로 하는, 탐상 장치에 의한 상처부 검출 방법.The imaging device images the surface of the inspected object,
A flaw detecting method using a flaw detection device in which a detecting device processes an original image captured by the imaging device to detect a scratched portion on the surface,
the detection device,
One or more first regions having consecutive pixels are extracted from the binarized image obtained by binarizing the original image with a first threshold value, and among the area, length, width in the vertical direction, and width in the horizontal direction of each first region, Extracting a first wound candidate by comparing one or more with a first criterion;
Creating an examination area surrounded by a rectangle obtained by extending a minimum area by a predetermined width in the longitudinal and lateral directions, respectively, so that the first wound candidate portion is included;
One or more second regions having consecutive pixels are extracted from a binarized image obtained by binarizing the inspection region with a second threshold value smaller than the first threshold value, and the area, length, and vertical direction of each second region are determined. A second wound candidate is extracted by comparing at least one of the width and the width in the lateral direction with a second criterion value in which a region is more difficult to extract than the first criterion value,
A method for detecting a wound portion by a flaw detector, characterized in that the second wound candidate portion is subjected to an expansion treatment to detect the wound portion.
상기 검사 영역은, 상기 제1 상처 후보부가 포함되는 최소의 직사각형을, 소정의 폭만큼 확대시킨 직사각형에 의해 둘러싸이는 영역인 것을 특징으로 하는, 탐상 장치에 의한 상처부 검출 방법.According to claim 5,
The method of detecting a wound portion by a flaw detection device, characterized in that the inspection area is an area surrounded by a rectangle obtained by enlarging a minimum rectangle including the first scratch candidate portion by a predetermined width.
상기 팽창 처리는, 상기 제2 상처 후보부를 각각의 장축 방향으로 팽창시키는 처리인 것을 특징으로 하는, 탐상 장치에 의한 상처부 검출 방법.According to claim 5,
The method for detecting a wound portion by a flaw detection device, characterized in that the expansion processing is a processing of expanding the second potential wound portion in each major axis direction.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JPJP-P-2015-076333 | 2015-04-02 | ||
JP2015076333A JP6596188B2 (en) | 2015-04-02 | 2015-04-02 | Flaw detector and flaw detection method using flaw detector |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20160118932A KR20160118932A (en) | 2016-10-12 |
KR102518378B1 true KR102518378B1 (en) | 2023-04-04 |
Family
ID=57173507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160033396A KR102518378B1 (en) | 2015-04-02 | 2016-03-21 | Flaw detection device and flaw part detecting method by flaw detection device |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP6596188B2 (en) |
KR (1) | KR102518378B1 (en) |
CN (1) | CN106053593B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6697302B2 (en) * | 2016-03-25 | 2020-05-20 | マークテック株式会社 | Flaw detection device and defect detection method using flaw detection device |
CN110892255B (en) * | 2017-07-07 | 2024-03-01 | 佳能株式会社 | Image processing apparatus, method and storage medium for detecting defect from image |
CN108844965A (en) * | 2018-07-04 | 2018-11-20 | 武汉黎赛科技有限责任公司 | Defect image acquires display system, method, apparatus, computer and storage medium |
CN109799240A (en) * | 2019-02-01 | 2019-05-24 | 信阳舜宇光学有限公司 | A kind of detection method of surface flaw |
CN111562273A (en) * | 2020-06-05 | 2020-08-21 | 大连工业大学 | Hyperspectrum-based fish water jet descaling slight damage visualization method |
CN115082431B (en) * | 2022-07-20 | 2023-01-06 | 惠州威尔高电子有限公司 | PCB surface defect detection method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000002523A (en) * | 1998-06-18 | 2000-01-07 | Ohbayashi Corp | Crack measuring method for structure surface |
JP2001330567A (en) | 2000-05-19 | 2001-11-30 | Shimadzu Corp | X-ray inspection device |
JP2003168114A (en) * | 2001-12-04 | 2003-06-13 | Olympus Optical Co Ltd | Defect sorting device |
JP4009409B2 (en) | 1999-10-29 | 2007-11-14 | 株式会社日立製作所 | Pattern defect inspection method and apparatus |
JP2007335602A (en) * | 2006-06-14 | 2007-12-27 | Renesas Technology Corp | Semiconductor failure analysis device, method, and program |
JP2008082860A (en) | 2006-09-27 | 2008-04-10 | Ntn Corp | Crack inspection method and its inspection apparatus |
KR101492336B1 (en) | 2013-09-24 | 2015-02-11 | 서울여자대학교 산학협력단 | Automatic detection system and the method of internal and surface cracks of metal products |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3440569B2 (en) * | 1994-09-13 | 2003-08-25 | 住友金属工業株式会社 | Magnetic particle flaw detection method and apparatus |
JPH10304196A (en) * | 1997-04-30 | 1998-11-13 | Nippon Telegr & Teleph Corp <Ntt> | Device and method for binarizing gradation image information |
JP2009145285A (en) * | 2007-12-18 | 2009-07-02 | Dainippon Screen Mfg Co Ltd | Defect detecting method and defect detecting apparatus |
JP2011013007A (en) | 2009-06-30 | 2011-01-20 | Kobe Steel Ltd | Magnetic particle flaw inspection apparatus |
JP5315417B2 (en) * | 2009-11-18 | 2013-10-16 | 本田技研工業株式会社 | Surface inspection apparatus and surface inspection method |
CN104062354A (en) * | 2013-03-18 | 2014-09-24 | 宝山钢铁股份有限公司 | Steel pipe magnetic powder inspection fluorescent image detection apparatus and detection method |
-
2015
- 2015-04-02 JP JP2015076333A patent/JP6596188B2/en active Active
-
2016
- 2016-03-21 KR KR1020160033396A patent/KR102518378B1/en active IP Right Grant
- 2016-04-01 CN CN201610202357.7A patent/CN106053593B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000002523A (en) * | 1998-06-18 | 2000-01-07 | Ohbayashi Corp | Crack measuring method for structure surface |
JP4009409B2 (en) | 1999-10-29 | 2007-11-14 | 株式会社日立製作所 | Pattern defect inspection method and apparatus |
JP2001330567A (en) | 2000-05-19 | 2001-11-30 | Shimadzu Corp | X-ray inspection device |
JP2003168114A (en) * | 2001-12-04 | 2003-06-13 | Olympus Optical Co Ltd | Defect sorting device |
JP2007335602A (en) * | 2006-06-14 | 2007-12-27 | Renesas Technology Corp | Semiconductor failure analysis device, method, and program |
JP2008082860A (en) | 2006-09-27 | 2008-04-10 | Ntn Corp | Crack inspection method and its inspection apparatus |
KR101492336B1 (en) | 2013-09-24 | 2015-02-11 | 서울여자대학교 산학협력단 | Automatic detection system and the method of internal and surface cracks of metal products |
Also Published As
Publication number | Publication date |
---|---|
KR20160118932A (en) | 2016-10-12 |
JP6596188B2 (en) | 2019-10-23 |
CN106053593B (en) | 2021-05-11 |
CN106053593A (en) | 2016-10-26 |
JP2016197033A (en) | 2016-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102518378B1 (en) | Flaw detection device and flaw part detecting method by flaw detection device | |
KR102342791B1 (en) | A flaw detection device, and a method for detecting defects by the flaw detection device | |
JP2004109047A (en) | Inspection method and inspection device of printed matter | |
JP7028091B2 (en) | Surface defect detection device and surface defect detection method | |
CN107709977B (en) | Surface defect detection device and surface defect detection method | |
WO2020110667A1 (en) | Surface defect detecting method, surface defect detecting device, method for manufacturing steel material, steel material quality control method, steel material manufacturing equipment, method for creating surface defect determination model, and surface defect determination model | |
JP2011013007A (en) | Magnetic particle flaw inspection apparatus | |
JP2005024549A (en) | X-ray inspection device | |
JP2016156647A (en) | Inspection device using electromagnetic wave | |
JP2002214153A (en) | Foreign matter inspecting device and method in liquid filled vessel | |
JP3860154B2 (en) | X-ray inspection equipment | |
JP3492509B2 (en) | Surface defect inspection apparatus and fluorescent magnetic particle inspection method | |
KR100194776B1 (en) | Surface inspection system | |
JP3076515B2 (en) | Flow coat coating state detection method and apparatus | |
JP2014168763A (en) | Foreign matter detecting device and parts feeder | |
JP2007071789A (en) | Chestnut quality inspection method | |
JP2011069742A (en) | Defect detector and defect detection method | |
JPH0882616A (en) | Method and apparatus for inspecting flaw with magnetic particle | |
WO2015159352A1 (en) | Web inspection device, web inspection method, and web inspection program | |
JP4474006B2 (en) | Inspection device | |
JP2015059854A (en) | Defect inspection method and defect inspection device | |
JP2011153874A (en) | Apparatus, system and method for visual inspection | |
JP2005106640A (en) | X-ray inspection device | |
JP2010281654A (en) | X-ray inspection apparatus and inspection program for the same | |
Rodriguez et al. | Adaptive thresholding by region of interest applied to quality control of gas electron multiplier foils |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
AMND | Amendment | ||
E601 | Decision to refuse application | ||
X091 | Application refused [patent] | ||
AMND | Amendment | ||
X701 | Decision to grant (after re-examination) | ||
GRNT | Written decision to grant |