KR102111533B1 - Apparatus and method for measuring density of metal product using optical microscope image - Google Patents

Apparatus and method for measuring density of metal product using optical microscope image Download PDF

Info

Publication number
KR102111533B1
KR102111533B1 KR1020180080748A KR20180080748A KR102111533B1 KR 102111533 B1 KR102111533 B1 KR 102111533B1 KR 1020180080748 A KR1020180080748 A KR 1020180080748A KR 20180080748 A KR20180080748 A KR 20180080748A KR 102111533 B1 KR102111533 B1 KR 102111533B1
Authority
KR
South Korea
Prior art keywords
density
value
binarization
image
threshold
Prior art date
Application number
KR1020180080748A
Other languages
Korean (ko)
Other versions
KR20200006863A (en
Inventor
권오형
이창우
김형균
함민지
Original Assignee
한국생산기술연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국생산기술연구원 filed Critical 한국생산기술연구원
Priority to KR1020180080748A priority Critical patent/KR102111533B1/en
Publication of KR20200006863A publication Critical patent/KR20200006863A/en
Application granted granted Critical
Publication of KR102111533B1 publication Critical patent/KR102111533B1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/8851Scan or image signal processing specially adapted therefor, e.g. for scan signal adjustment, for detecting different kinds of defects, for compensating for structures, markings, edges
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N9/00Investigating density or specific gravity of materials; Analysing materials by determining density or specific gravity
    • 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
    • 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

Abstract

본 발명은 금속 용융을 통해 생산되는 제품의 밀도를 측정하는 기술에 관한 것으로서, 상세하게는 광학 현미경 이미지로부터 금속 제품의 밀도를 측정할 수 있는 밀도 측정 장치 및 방법에 관한 것이다. 이를 위해, 본 발명에 따른 금속 제품의 밀도 측정 장치는 광학 현미경으로부터 획득한 컬러 이미지를 흑백 이미지로 변환하는 이미지 변환부와, 상기 흑백 이미지의 픽셀에 대해 임계값을 기준으로 이진화를 수행하여 이진화 맵을 생성하는 이진화부와, 상기 이진화 맵을 이용하여 밀도를 계산하는 밀도 계산부와, 상기 이진화 수행을 위한 임계값을 결정하는 임계값 설정부를 포함한다.The present invention relates to a technique for measuring the density of a product produced through metal melting, and more particularly, to a density measuring apparatus and method capable of measuring the density of a metal product from an optical microscope image. To this end, the apparatus for measuring the density of metal products according to the present invention includes an image conversion unit for converting a color image obtained from an optical microscope into a black and white image, and a binarization map by performing binarization based on a threshold value for pixels of the black and white image It includes a binarization unit for generating, a density calculation unit for calculating density using the binarization map, and a threshold setting unit for determining a threshold for performing the binarization.

Description

광학 현미경 이미지를 이용한 금속 제품의 밀도 측정 장치 및 방법{Apparatus and method for measuring density of metal product using optical microscope image}Apparatus and method for measuring density of metal product using optical microscope image

본 발명은 금속 용융을 통해 생산되는 제품의 밀도를 측정하는 기술에 관한 것으로서, 상세하게는 광학 현미경 이미지로부터 금속 제품의 밀도를 측정할 수 있는 밀도 측정 장치 및 방법에 관한 것이다. The present invention relates to a technique for measuring the density of a product produced through metal melting, and more particularly, to a density measuring apparatus and method capable of measuring the density of a metal product from an optical microscope image.

주조나 금속 3D 프린팅 등과 같이 금속의 용융을 통해 제품을 생산할 때 생산 제품의 밀도, 강도, 연신율 등의 기계적 물성을 측정할 필요가 있다. When producing a product through melting of metal, such as casting or metal 3D printing, it is necessary to measure mechanical properties such as density, strength, and elongation of the product.

금속 용융을 이용해 생산하는 제품의 밀도를 측정하는 종래 방법으로는 아르키메데스 방법이나 CT를 이용하는 방법이 있다.Conventional methods for measuring the density of products produced using metal melting include Archimedes method or CT method.

그러나 아르키메데스 방법은 측정 정확도가 낮으며 CT 방법은 고가의 비용이 든다는 문제점이 있다. However, the Archimedes method has a problem that the measurement accuracy is low and the CT method is expensive.

이에 대하여 광학 현미경 이미지를 이용해 제품의 밀도를 측정할 수 있는데, 이미지 상에서 기공의 유무를 판단하는 기준이 측정자마다 다르고 광학 현미경의 측정 셋팅에 따라 이미지 밝기가 달라지므로 신뢰성 있는 밀도 측정이 어렵다는 문제점이 있다. On the other hand, it is possible to measure the density of a product using an optical microscope image. However, since the criteria for determining the presence or absence of pores on an image are different for each measurer and the image brightness varies depending on the measurement setting of the optical microscope, there is a problem that it is difficult to measure the density with reliability. .

일본공개특허 제2002-0092587호Japanese Patent Publication No. 2002-0092587

본 발명은 상기와 같은 문제점을 해결하기 위해 창안된 것으로서, 본 발명의 목적은 금속 용융을 통해 생산되는 제품의 밀도를 낮은 비용으로 정확도 높게 측정하는 것이다. The present invention was devised to solve the above problems, and an object of the present invention is to measure the density of a product produced through metal melting with high accuracy at a low cost.

본 발명의 다른 목적은 광학 현미경 이미지로부터 제품의 밀도를 측정할 때 기준에 따라 측정값이 달라지는 문제를 해결하여 신뢰성 있는 밀도 측정을 하는 것이다. Another object of the present invention is to measure a density of a product from an optical microscope image, and to solve a problem that a measurement value varies according to a standard, thereby making reliable density measurement.

이를 위해, 본 발명에 따른 금속 제품의 밀도 측정 장치는 광학 현미경으로부터 획득한 컬러 이미지를 흑백 이미지로 변환하는 이미지 변환부와, 상기 흑백 이미지의 픽셀에 대해 임계값을 기준으로 이진화를 수행하여 이진화 맵을 생성하는 이진화부와, 상기 이진화 맵을 이용하여 밀도를 계산하는 밀도 계산부와, 상기 이진화 수행을 위한 임계값을 결정하는 임계값 설정부를 포함한다. To this end, the apparatus for measuring density of a metal product according to the present invention includes an image conversion unit for converting a color image obtained from an optical microscope into a black and white image, and a binarization map by performing binarization based on a threshold value for pixels of the black and white image It includes a binarization unit for generating, a density calculation unit for calculating density using the binarization map, and a threshold setting unit for determining a threshold for performing the binarization.

여기서, 상기 이진화부는 상기 흑백 이미지의 각 픽셀 값이 임계값 이상이면 해당 픽셀 값을 픽셀 최댓값으로 대체하고, 임계값 미만이면 해당 픽셀 값을 픽셀 최솟값으로 대체하여 이진화를 수행하는 것을 특징으로 한다.Here, the binarization unit is characterized in that each pixel value of the black-and-white image is replaced with a pixel maximum value when the pixel value is greater than or equal to a threshold value, and if the pixel value is less than a threshold value, the pixel value is replaced with a pixel minimum value to perform binarization.

여기서, 상기 밀도 계산부는 상기 흑백 이미지의 전체 픽셀 수 중에서 픽셀 최댓값인 픽셀 수의 비율로 밀도를 계산하는 것을 특징으로 한다. Here, the density calculator is characterized in that the density is calculated as a ratio of the maximum number of pixels of the pixel among the total number of pixels of the black and white image.

여기서, 상기 임계값 설정부가 임계값을 초깃값부터 최댓값까지 순차 변경하면서, 상기 이진화부로부터 생성된 이진화 맵을 이용하여 상기 밀도 계산부에 의해 계산된 밀도로부터 밀도의 미분값을 구하여 미분 최솟값에 대응하는 임계값을 결정하는 것을 특징으로 한다.Here, while the threshold setting unit sequentially changes the threshold value from the initial value to the maximum value, the differential value of density is obtained from the density calculated by the density calculation unit using the binarization map generated from the binarization unit to correspond to the differential minimum value. Characterized in that to determine the threshold.

또한, 본 발명에 따른 금속 제품의 밀도 측정 방법은 금속 제품의 밀도 측정 장치가 광학 현미경 이미지를 이용해 밀도를 측정하는 방법으로서, 광학 현미경 이미지를 흑백 이미지로 변환하는 이미지 변환 단계와, 상기 흑백 이미지의 픽셀에 대해 임계값을 기준으로 이진화를 수행하여 이진화 맵을 생성하는 이진화 단계와, 상기 이진화 맵을 이용하여 밀도를 계산하는 밀도 계산 단계를 포함한다.In addition, the method for measuring the density of a metal product according to the present invention is a method for measuring the density of a metal product using an optical microscope image, an image conversion step of converting an optical microscope image into a black and white image, and And a binarization step of generating a binarization map by performing binarization based on a threshold value for a pixel, and a density calculation step of calculating density using the binarization map.

여기서, 상기 이진화 단계는 상기 흑백 이미지의 각 픽셀 값이 임계값 이상이면 해당 픽셀 값을 픽셀 최댓값으로 대체하고, 임계값 미만이면 해당 픽셀 값을 픽셀 최솟값으로 대체하여 이진화를 수행하는 것을 특징으로 한다. Here, in the binarization step, if each pixel value of the black and white image is greater than or equal to a threshold value, the corresponding pixel value is replaced with a pixel maximum value, and if it is less than a threshold value, the corresponding pixel value is replaced with a pixel minimum value to perform binarization.

여기서, 상기 밀도 계산 단계는 상기 흑백 이미지의 전체 픽셀 수 중에서 픽셀 최댓값인 픽셀 수의 비율로 밀도를 계산하는 것을 특징으로 한다. Here, the density calculation step is characterized in that the density is calculated as a ratio of the number of pixels that is the maximum pixel value among the total number of pixels in the black and white image.

여기서, 본 발명에 따른 금속 제품의 밀도 측정 방법은 상기 임계값을 설정하는 단계를 더 포함하여, 임계값을 초깃값부터 최댓값까지 순차 변경하면서, 순차 변경된 임계값에 따라 생성된 이진화 맵을 이용하여 계산된 밀도로부터 밀도의 미분값을 구하여 미분 최솟값에 대응하는 임계값을 결정하는 것을 특징으로 한다. Here, the method for measuring the density of a metal product according to the present invention further comprises the step of setting the threshold value, while sequentially changing the threshold value from the initial value to the maximum value, using a binarization map generated according to the sequentially changed threshold value. It is characterized in that a threshold value corresponding to the minimum differential value is determined by obtaining a differential value of the density from the calculated density.

상술한 바와 같이, 본 발명은 광학 현미경 이미지를 이용해 금속 제품의 밀도를 측정할 때 밀도 계산의 기준이 되는 최적 임계값을 수학적으로 구함으로써, 금속 용융을 통해 생산되는 제품의 밀도를 낮은 비용으로 정확도 높게 측정할 수 있는 효과가 있다.As described above, according to the present invention, the density of a product produced through metal melting is accurately obtained at a low cost by mathematically obtaining an optimal threshold that is a basis for density calculation when measuring the density of a metal product using an optical microscope image. It has the effect of being highly measurable.

또한, 광학 현미경 이미지로부터 기공 여부 판단 기준이나 광학 현미경의 측정 셋팅에 따라 측정값이 달라지는 문제를 해결함으로써 신뢰성 있는 밀도 측정을 할 수 있는 효과가 있다. In addition, there is an effect that a reliable density measurement can be performed by solving a problem in which a measurement value varies depending on a criterion for determining whether pores are obtained from an optical microscope image or a measurement setting of an optical microscope.

도 1은 본 발명에 따른 금속 제품의 밀도 측정 장치의 개략적인 구성도.
도 2는 본 발명에 따른 광학 현미경 이미지를 처리하는 과정에서 생성되는 결과를 나타낸 도면.
도 3은 본 발명에 따른 금속 제품의 밀도 측정 과정을 나타낸 순서도.
도 4는 본 발명에 따른 밀도 측정을 위한 임계값을 결정하는 과정을 나타낸 순서도.
도 5는 임계값 조절에 따른 밀도 변화 그래프를 나타낸 도면.
도 6은 임계값에 대한 밀도의 미분 그래프를 나타낸 도면.
1 is a schematic configuration diagram of a density measuring device for a metal product according to the present invention.
Figure 2 is a view showing the results generated in the process of processing an optical microscope image according to the present invention.
Figure 3 is a flow chart showing the density measurement process of the metal product according to the present invention.
4 is a flow chart showing a process for determining a threshold for density measurement according to the present invention.
5 is a graph showing a density change graph according to a threshold adjustment.
6 is a graph showing a differential graph of density with respect to a threshold value.

이하, 첨부된 도면을 참조하여 본 발명에 따른 실시 예를 상세하게 설명한다. 본 발명의 구성 및 그에 따른 작용 효과는 이하의 상세한 설명을 통해 명확하게 이해될 것이다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The configuration of the present invention and the effect of the action will be clearly understood through the following detailed description.

도 1은 본 발명에 따른 금속 제품의 밀도 측정 장치의 개략적인 구성을 나타낸 것이다.1 shows a schematic configuration of a density measuring device for a metal product according to the present invention.

도 1을 참조하면, 금속 제품의 밀도 측정 장치는 광학 현미경(10), 이미지 변환부(20), 이진화부(30), 밀도 계산부(40), 임계값 설정부(50) 등을 포함한다. Referring to FIG. 1, the density measurement device for a metal product includes an optical microscope 10, an image conversion unit 20, a binarization unit 30, a density calculation unit 40, a threshold setting unit 50, and the like. .

광학 현미경(10)은 표본에 빛을 비추어 표본을 통과하거나 반사한 빛이 렌즈를 통해 확대된 이미지를 관찰할 수 있는 장비이다. 광학 현미경(10)은 렌즈를 통해 확대된 이미지를 촬상 소자를 거쳐 전자적 이미지로 변환한다. The optical microscope 10 is a device capable of observing a magnified image through light through a lens by reflecting light on the specimen or passing through the specimen. The optical microscope 10 converts the image magnified through the lens into an electronic image through an imaging element.

본 발명에 따른 광학 현미경(10)은 금속 용융을 통해 생산된 금속 제품의 표면에 대해 확대된 컬러 이미지를 획득한다. The optical microscope 10 according to the present invention acquires an enlarged color image of the surface of a metal product produced through metal melting.

이미지 변환부(20)는 광학 현미경(10)으로부터 획득한 컬러 이미지를 흑백 이미지로 변환한다. 흑백 이미지의 픽셀 세기는 8비트로서 0~255 값을 가진다. The image conversion unit 20 converts the color image obtained from the optical microscope 10 into a black and white image. The pixel intensity of a black and white image is 8 bits and has a value of 0 to 255.

이진화부(30)는 흑백 이미지의 픽셀에 대해 이진화를 수행한다. 이진화부(30)는 임계값(threshold)을 기준으로 임계값 이상은 255로 하고 임계값 미만은 0으로 하는 이진화를 수행한다. 이진화부(30)는 흑백 이미지의 모든 픽셀에 대해 이진화를 수행하여 이진화 맵(map)을 생성한다. The binarization unit 30 binarizes pixels of a black and white image. The binarization unit 30 performs binarization with a threshold value equal to or greater than 255 and a threshold value equal to zero based on a threshold. The binarization unit 30 generates binarization map by performing binarization on all pixels of the black and white image.

밀도 계산부(40)는 이진화 맵을 이용하여 금속 제품의 밀도를 계산한다. 이진화부(30)의 이진화 수행 결과에 따라 흑백 이미지의 전체 픽셀 수 중에서 픽셀 세기가 255인 픽셀 수의 비율로 밀도를 계산한다. The density calculator 40 calculates the density of the metal product using the binarization map. According to the result of the binarization performed by the binarization unit 30, the density is calculated as a ratio of the number of pixels having a pixel intensity of 255 among the total number of pixels in a black and white image.

임계값 설정부(50)는 흑백 이미지를 이진화하는 기준이 되는 임계값을 설정한다. 임계값 설정부(50)는 임계값을 초깃값 0부터 최댓값 255까지 순차적으로 변경시키면서 이진화부(30)로부터 생성된 이진화 맵을 이용해 밀도 계산부(40)에서 순차 계산된 밀도로부터 밀도의 미분값을 구하여 미분 최솟값에 대응하는 임계값을 결정한다. The threshold value setting unit 50 sets a threshold value as a reference for binarizing a black and white image. The threshold value setting unit 50 uses the binarization map generated from the binarization unit 30 while sequentially changing the threshold value from the initial value 0 to the maximum value of 255, and the differential value of density from the density sequentially calculated by the density calculation unit 40. Determine the threshold value corresponding to the minimum derivative value.

본 발명에 따른 금속 제품의 밀도 측정 장치는 미분 최솟값에 대응하는 임계값에 따라 계산된 밀도를 금속 제품의 밀도로 결정하게 된다. The apparatus for measuring the density of a metal product according to the present invention determines the density calculated according to a threshold value corresponding to the minimum differential value as the density of the metal product.

도 2는 본 발명에 따른 광학 현미경 이미지를 처리하는 과정에서 생성되는 이미지를 나타낸 것이다. 2 shows an image generated in the process of processing an optical microscope image according to the present invention.

도 2의 (a)에 도시된 금속 제품을 광학 현미경(10)을 통해 관찰하면 도 2의 (b)와 같은 광학 현미경의 컬러 이미지가 획득된다. 컬러 이미지는 이미지 변환부(20)를 거쳐 도 2의 (c)와 같은 흑백 이미지로 변환된다. 흑백 이미지는 이진화부(30)를 거쳐 도 2의 (d)와 같은 이진화 이미지인 이진화 맵으로 출력된다. When the metal product shown in FIG. 2(a) is observed through the optical microscope 10, a color image of the optical microscope as shown in FIG. 2(b) is obtained. The color image is converted into a black and white image as shown in FIG. 2C through the image conversion unit 20. The black and white image is output to the binarization map, which is a binarization image as shown in FIG. 2D through the binarization unit 30.

도 3은 본 발명에 따른 금속 제품의 밀도 측정 과정을 나타낸 것이다. 3 shows a process for measuring the density of a metal product according to the present invention.

도 3을 참조하면, 먼저 금속 제품의 밀도 측정 장치는 광학 현미경으로부터 획득된 광학 현미경 이미지를 입력받아 컬러 이미지를 흑백 이미지로 변환하는 이미지 변환 단계(S10)를 수행한다. Referring to FIG. 3, first, the density measurement device for a metal product performs an image conversion step (S10) of receiving an optical microscope image obtained from an optical microscope and converting a color image into a black and white image.

다음, 후술하는 방식으로 결정된 임계값을 이용하여 흑백 이미지의 모든 픽셀에 대해 이진화 단계(S20)를 수행하여 이진화 맵을 생성한다. 금속 제품의 밀도 측정 장치는 흑백 이미지의 각 픽셀 값이 임계값 이상이면 해당 픽셀 값을 픽셀 최댓값으로 대체하고, 임계값 미만이면 해당 픽셀 값을 픽셀 최솟값으로 대체하여 이진화를 수행한다. Next, a binarization map is generated by performing a binarization step (S20) for all pixels of the black and white image using a threshold value determined in a manner described below. The density measurement device of the metal product performs binarization by replacing the corresponding pixel value with the maximum pixel value when each pixel value of the black and white image is greater than or equal to the threshold value, and replacing the pixel value with the minimum pixel value when the threshold value is less than the threshold value.

흑백 이미지에 대한 이진화가 완료되면, 금속 제품의 밀도 측정 장치는 이진화 맵을 이용하여 금속 제품의 밀도를 계산한다(S30). 금속 제품의 밀도 측정 장치는 이진화 맵을 구성하는 전체 픽셀 수에서 픽셀 최댓값인 픽셀 수의 비율로 밀도를 계산한다. When the binarization of the black and white image is completed, the density measuring device of the metal product calculates the density of the metal product using the binarization map (S30). The density measuring device of the metal product calculates the density as a ratio of the total number of pixels constituting the binarization map to the maximum number of pixels.

도 4는 본 발명에 따른 밀도 측정을 위한 임계값을 결정하는 과정을 나타낸 것이다. 4 shows a process for determining a threshold for density measurement according to the present invention.

흑백 이미지의 픽셀 세기를 8비트로 한 경우, 임계값은 초깃값 0부터 최댓값 255까지 순차적으로 변경된다. When the pixel intensity of the black and white image is 8 bits, the threshold value is sequentially changed from the initial value 0 to the maximum value 255.

먼저 임계값 0이 이진화부(30)에 입력되면(S100), 이진화부(30)는 임계값 0을 기준으로 흑백 이미지를 이진화하여 이진화 이미지(이진화 맵)을 생성하고 밀도를 계산한다(S110). First, when the threshold 0 is input to the binarization unit 30 (S100), the binarization unit 30 binarizes the black and white image based on the threshold 0 to generate a binarization image (binarization map) and calculate density (S110). .

다음, 임계값을 1씩 더해 가면서(S120) 임계값이 256이 될 때까지 이진화 및 밀도 계산 과정(S110)을 반복한다. Next, by adding the threshold value by one (S120), the binarization and density calculation process (S110) is repeated until the threshold value is 256.

임계값이 256이 되면(S130), 이진화 및 밀도 계산 과정(S110)을 중단하고 임계값 0~255까지의 밀도 변화 그래프를 생성하여 밀도 변화 그래프를 임계값에 대해 미분하여 밀도의 미분 값을 계산한다(S140).When the threshold value becomes 256 (S130), the process of calculating binarization and density (S110) is stopped, and a density change graph from threshold 0 to 255 is generated to differentiate the density change graph with respect to the threshold value to calculate the differential value of density (S140).

도 5는 임계값 조절에 따른 밀도 변화 그래프를 나타낸 것이다. 5 shows a graph of density change according to threshold adjustment.

도 5를 참조하면, (a)는 임계값 0~255까지 임계값에 따른 밀도를 나타내고, (b)는 임계값 0~150에서 밀도의 변화를 확대한 것이다. Referring to FIG. 5, (a) represents the density according to the threshold value from the threshold values 0 to 255, and (b) is an enlarged change in density at the threshold values of 0 to 150.

도 6은 임계값에 대한 밀도의 미분 그래프를 나타낸 것이다.6 shows a differential graph of density versus threshold.

도 6을 참조하면, (a)는 임계값 0~255까지 임계값에 대한 밀도의 미분 값을 나타내고, (b)는 임계값 50~100에서 밀도의 미분 값을 확대한 것이다. Referring to FIG. 6, (a) shows the differential value of density with respect to a threshold value from 0 to 255, and (b) is an enlarged differential value of density at a threshold value of 50 to 100.

이와 같이, 밀도의 미분 값이 구해지면 미분 최솟값에 대응하는 임계값을 최종 임계값으로 결정한다(S150).As described above, when the differential value of the density is obtained, a threshold value corresponding to the minimum differential value is determined as a final threshold (S150).

도 6의 (b)를 보면, 밀도의 미분 최솟값은 임계값 50~100 사이에 위치하며 대략 임계값 75에서 밀도의 미분값이 최소임을 알 수 있다. Referring to FIG. 6B, it can be seen that the differential minimum value of the density is located between the threshold values of 50 and 100, and the differential value of the density is approximately the minimum at the threshold value of 75.

밀도의 미분 최솟값이 확인되면, 그 최솟값에 대응하는 임계값 75일 때의 밀도 값이 금속 제품의 밀도로 결정된다. When the differential minimum value of density is confirmed, the density value at the threshold value 75 corresponding to the minimum value is determined as the density of the metal product.

이상의 설명은 본 발명을 예시적으로 설명한 것에 불과하며, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 본 발명의 기술적 사상에서 벗어나지 않는 범위에서 다양한 변형이 가능할 것이다. The above description is merely illustrative of the present invention, and various modifications may be made without departing from the technical spirit of the present invention by those skilled in the art to which the present invention pertains.

따라서 본 발명의 명세서에 개시된 실시 예들은 본 발명을 한정하는 것이 아니다. 본 발명의 범위는 아래의 특허청구범위에 의해 해석되어야 하며, 그와 균등한 범위 내에 있는 모든 기술도 본 발명의 범위에 포함되는 것으로 해석해야 할 것이다. Therefore, the embodiments disclosed in the specification of the present invention are not intended to limit the present invention. The scope of the present invention should be interpreted by the following claims, and all technologies within the scope equivalent thereto should be interpreted as being included in the scope of the present invention.

10: 광학 현미경 20: 이미지 변환부
30: 이진화부 40: 밀도 계산부
50: 임계값 설정부
10: optical microscope 20: image conversion unit
30: binarization unit 40: density calculation unit
50: threshold setting unit

Claims (8)

광학 현미경으로부터 획득한 컬러 이미지를 흑백 이미지로 변환하는 이미지 변환부와,
상기 흑백 이미지의 픽셀에 대해 임계값을 기준으로 이진화를 수행하여 이진화 맵을 생성하는 이진화부와,
상기 이진화 맵을 이용하여 밀도를 계산하는 밀도 계산부와,
상기 이진화 수행을 위한 임계값을 결정하는 임계값 설정부를 포함하여,
상기 임계값 설정부가 임계값의 초깃값부터 최댓값까지 순차 변경하면서 상기 이진화부로부터 생성된 이진화 맵을 이용하여 상기 밀도 계산부에 의해 계산된 밀도로부터 밀도의 미분값을 구하여 미분 최솟값에 대응하는 임계값을 결정하는 것을 특징으로 하는 광학 현미경 이미지를 이용한 금속 제품의 밀도 측정 장치.
An image conversion unit for converting the color image obtained from the optical microscope into a black and white image,
A binarization unit that generates binarization map by binarizing pixels of the black and white image based on a threshold value;
A density calculation unit for calculating density using the binarization map,
Including a threshold setting unit for determining the threshold for performing the binarization,
While the threshold setting unit sequentially changes from the initial value to the maximum value of the threshold value, the differential value of density is obtained from the density calculated by the density calculation unit using the binarization map generated from the binarization unit, and the threshold value corresponds to the differential minimum value. Density measuring device of a metal product using an optical microscope image, characterized in that to determine.
제1항에서,
상기 이진화부는 상기 흑백 이미지의 각 픽셀 값이 임계값 이상이면 해당 픽셀 값을 픽셀 최댓값으로 대체하고, 임계값 미만이면 해당 픽셀 값을 픽셀 최솟값으로 대체하여 이진화를 수행하는 것을 특징으로 하는 광학 현미경 이미지를 이용한 금속 제품의 밀도 측정 장치.
In claim 1,
The binarization unit replaces the corresponding pixel value with a maximum pixel value when each pixel value of the black and white image is greater than or equal to a threshold value, and replaces the corresponding pixel value with a pixel minimum value if it is less than the threshold value, thereby performing an optical microscope image. Density measuring device for used metal products.
제2항에서,
상기 밀도 계산부는 상기 흑백 이미지의 전체 픽셀 수 중에서 픽셀 최댓값인 픽셀 수의 비율로 밀도를 계산하는 것을 특징으로 하는 광학 현미경 이미지를 이용한 금속 제품의 밀도 측정 장치.
In claim 2,
The density calculation unit is a density measurement device of a metal product using an optical microscope image, characterized in that for calculating the density as a ratio of the maximum number of pixels of the pixel from the total number of pixels of the black and white image.
삭제delete 금속 제품의 밀도 측정 장치가 광학 현미경 이미지를 이용해 밀도를 측정하는 방법에 있어서,
광학 현미경 이미지를 흑백 이미지로 변환하는 이미지 변환 단계와,
상기 흑백 이미지의 픽셀에 대해 임계값을 기준으로 이진화를 수행하여 이진화 맵을 생성하는 이진화 단계와,
상기 이진화 맵을 이용하여 밀도를 계산하는 밀도 계산 단계를 포함하여,
상기 임계값은 임계값의 초깃값부터 최댓값까지 순차 변경하면서 순차 변경된 임계값에 따라 생성된 이진화 맵을 이용하여 계산된 밀도로부터 밀도의 미분값을 구하여 미분 최솟값에 대응하는 값으로 결정하는 것을 특징으로 하는 방법.
A method for measuring the density of a metal product using an optical microscope image,
An image conversion step of converting the optical microscope image into a black and white image,
A binarization step of generating binarization map by performing binarization based on a threshold value for the pixels of the black and white image,
Including a density calculation step of calculating the density using the binarization map,
The threshold value is characterized by determining the differential value of the density from the density calculated from the density calculated using the binarization map generated according to the sequentially changed threshold value while sequentially changing from the initial value to the maximum value of the threshold value and determining it as a value corresponding to the differential minimum value. How to.
제5항에서,
상기 이진화 단계는 상기 흑백 이미지의 각 픽셀 값이 임계값 이상이면 해당 픽셀 값을 픽셀 최댓값으로 대체하고, 임계값 미만이면 해당 픽셀 값을 픽셀 최솟값으로 대체하여 이진화를 수행하는 것을 특징으로 하는 방법.
In claim 5,
In the binarization step, if each pixel value of the black and white image is greater than or equal to a threshold, a corresponding pixel value is replaced with a pixel maximum value, and if it is less than a threshold value, the corresponding pixel value is replaced with a pixel minimum value to perform binarization.
제6항에서,
상기 밀도 계산 단계는 상기 흑백 이미지의 전체 픽셀 수 중에서 픽셀 최댓값인 픽셀 수의 비율로 밀도를 계산하는 것을 특징으로 하는 방법.
In claim 6,
The density calculating step is characterized in that the density is calculated as a ratio of the number of pixels that is the maximum pixel value among the total number of pixels in the black and white image.
삭제delete
KR1020180080748A 2018-07-11 2018-07-11 Apparatus and method for measuring density of metal product using optical microscope image KR102111533B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180080748A KR102111533B1 (en) 2018-07-11 2018-07-11 Apparatus and method for measuring density of metal product using optical microscope image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180080748A KR102111533B1 (en) 2018-07-11 2018-07-11 Apparatus and method for measuring density of metal product using optical microscope image

Publications (2)

Publication Number Publication Date
KR20200006863A KR20200006863A (en) 2020-01-21
KR102111533B1 true KR102111533B1 (en) 2020-06-08

Family

ID=69369626

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180080748A KR102111533B1 (en) 2018-07-11 2018-07-11 Apparatus and method for measuring density of metal product using optical microscope image

Country Status (1)

Country Link
KR (1) KR102111533B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101813858B1 (en) 2015-06-26 2018-01-04 쿠리타 고교 가부시키가이샤 Pitch analysis method and pitch processing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002092587A (en) 2000-09-19 2002-03-29 Toshiba Corp Target measuring device
WO2003105675A2 (en) * 2002-06-18 2003-12-24 Lifespan Biosciences, Inc. Computerized image capture of structures of interest within a tissue sample
US7522762B2 (en) * 2003-04-16 2009-04-21 Inverness Medical-Biostar, Inc. Detection, resolution, and identification of arrayed elements
KR20160097651A (en) * 2015-02-09 2016-08-18 부산대학교 산학협력단 Apparatus and Method for Testing Pattern of Sample using Validity Image Processing Technique, and computer-readable recording medium with program therefor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101813858B1 (en) 2015-06-26 2018-01-04 쿠리타 고교 가부시키가이샤 Pitch analysis method and pitch processing method

Also Published As

Publication number Publication date
KR20200006863A (en) 2020-01-21

Similar Documents

Publication Publication Date Title
US9536295B2 (en) Three-dimensional image processing apparatus, three-dimensional image processing method, three-dimensional image processing program, computer-readable recording medium, and recording device
KR101340825B1 (en) Pattern inspection apparatus, pattern inspection method, and structure of pattern
JP6240782B2 (en) Wafer shape analysis method and apparatus
JP2006200972A (en) Image defect inspection method, image defect inspection device, and external appearance inspection device
NO341245B1 (en) Photo Inspection
US20150022637A1 (en) Three-Dimensional Image Processing Apparatus, Three-Dimensional Image Processing Method, Three-Dimensional Image Processing Program, Computer-Readable Recording Medium, And Recording Device
US8759763B2 (en) Method and apparatus to measure step height of device using scanning electron microscope
US10274314B2 (en) Shape inspection method, shape inspection apparatus, and program
JP2019168388A (en) Image inspection method and image inspection device
KR102111533B1 (en) Apparatus and method for measuring density of metal product using optical microscope image
JP6343508B2 (en) Contrast / brightness adjustment method and charged particle beam apparatus
JP2006138708A (en) Image flaw inspection method, image flaw inspecting device and visual inspection device
TW201600223A (en) Tool inspection method and tool inspection device
KR101946581B1 (en) Panel Inspection Method
KR101653649B1 (en) 3D shape measuring method using pattern-light with uniformity compensation
EP4220570A1 (en) Three-dimensional modeling method and apparatus using same
KR20140096616A (en) Apparatus for inspecting defect and method for correcting distortion the same
JP2005252451A (en) Image quality inspection method and image quality inspection apparatus
TW201610390A (en) Edge position detecting apparatus and edge position detecting method
KR102489548B1 (en) Defect Inspection Method of Semiconductor Device using X-ray
TWI697025B (en) Charged particle beam device, section shape estimation formula
TWI415031B (en) Image calibration method
JP6080556B2 (en) Inspection image generation apparatus, inspection image generation method, and inspection image generation program
JP7372072B2 (en) Image processing device, image processing method, image processing program, and image inspection system
JP2022057165A (en) Visual inspection device

Legal Events

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