KR20210066688A - Measurement accuracy enhancing apparatus using brightness changing of image pixels capturing sensor and method thereof - Google Patents

Measurement accuracy enhancing apparatus using brightness changing of image pixels capturing sensor and method thereof Download PDF

Info

Publication number
KR20210066688A
KR20210066688A KR1020200048564A KR20200048564A KR20210066688A KR 20210066688 A KR20210066688 A KR 20210066688A KR 1020200048564 A KR1020200048564 A KR 1020200048564A KR 20200048564 A KR20200048564 A KR 20200048564A KR 20210066688 A KR20210066688 A KR 20210066688A
Authority
KR
South Korea
Prior art keywords
image
value
camera
present specification
film
Prior art date
Application number
KR1020200048564A
Other languages
Korean (ko)
Other versions
KR102552865B1 (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 KR1020200048564A priority Critical patent/KR102552865B1/en
Publication of KR20210066688A publication Critical patent/KR20210066688A/en
Application granted granted Critical
Publication of KR102552865B1 publication Critical patent/KR102552865B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/646Circuits for processing colour signals for image enhancement, e.g. vertical detail restoration, cross-colour elimination, contour correction, chrominance trapping filters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/14532Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue for measuring glucose, e.g. by tissue impedance measurement
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/1455Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue using optical sensors, e.g. spectral photometrical oximeters
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/145Measuring characteristics of blood in vivo, e.g. gas concentration, pH value; Measuring characteristics of body fluids or tissues, e.g. interstitial fluid, cerebral tissue
    • A61B5/1495Calibrating or testing of in-vivo probes
    • 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/75Systems in which material is subjected to a chemical reaction, the progress or the result of the reaction being investigated
    • G01N21/77Systems in which material is subjected to a chemical reaction, the progress or the result of the reaction being investigated by observing the effect on a chemical indicator
    • G01N21/78Systems in which material is subjected to a chemical reaction, the progress or the result of the reaction being investigated by observing the effect on a chemical indicator producing a change of colour
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N31/00Investigating or analysing non-biological materials by the use of the chemical methods specified in the subgroup; Apparatus specially adapted for such methods
    • G01N31/22Investigating or analysing non-biological materials by the use of the chemical methods specified in the subgroup; Apparatus specially adapted for such methods using chemical indicators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • H04N5/2257

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Pathology (AREA)
  • Biophysics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Chemical & Material Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • Biochemistry (AREA)
  • Analytical Chemistry (AREA)
  • Immunology (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Plasma & Fusion (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Emergency Medicine (AREA)
  • Spectrometry And Color Measurement (AREA)

Abstract

The present specification discloses an apparatus and method for performing more accurate colorimetric measurement by measuring characteristics of an image captured by a camera for colorimetric method. A color correction apparatus according to the present specification may include: a camera for outputting an image obtained by photographing the film part of a sensor strip; and a control part that finds the central point of the film part in the image of the photographed film part, and calculates the characteristic value of the image output from the camera by using the brightness change value of a pixel in the image directed from the central point toward the outside of the film part.

Description

센서를 촬영한 이미지 픽셀의 밝기 변화를 이용한 측정값 정확도 향상 장치 및 방법{MEASUREMENT ACCURACY ENHANCING APPARATUS USING BRIGHTNESS CHANGING OF IMAGE PIXELS CAPTURING SENSOR AND METHOD THEREOF}Apparatus and method for improving the accuracy of measurement values by using changes in the brightness of image pixels taken by a sensor

본 발명은 비색법에 관한 것이며, 보다 상세하게는 센서를 촬영한 이미지 픽셀의 밝기 변화를 이용하여 픽셀의 측정값이 보다 정확한 값을 나타낼 수 있도록 하는 장치 및 방법에 관한 것이다. The present invention relates to a colorimetric method, and more particularly, to an apparatus and method for enabling a measured value of a pixel to represent a more accurate value by using a change in brightness of an image pixel photographed by a sensor.

혈액, 소변, 타액 등의 검체를 통하여 특정 수치를 검사하기 위하여 검사지, 즉 센서스트립(바이오 센서스트립)을 이용한 측정방법이 이용된다. 예를 들어 혈당측정을 하는 경우, 혈당측정기에 있는 투입구에 센서스트립을 끼워 넣고, 손가락 끝을 채혈하고, 채혈된 소량의 혈액을 센서스트립에 주입해준다. 센서스트립은 시약이 도포된 멤브레인(Membrane)을 가지고 있다. 상기 주입된 혈액과 시약이 반응하게 되며, 상기 반응정도에 따라 측정기기를 통해 혈당을 수치적으로 산출할 수 있다.A measurement method using a test strip, that is, a sensor strip (biosensor strip), is used to test a specific level through a sample such as blood, urine, or saliva. For example, when measuring blood glucose, the sensor strip is inserted into the inlet of the blood glucose meter, blood is drawn from the fingertip, and a small amount of blood collected is injected into the sensor strip. The sensor strip has a membrane coated with reagents. The injected blood and the reagent react, and the blood sugar can be numerically calculated through a measuring device according to the degree of the reaction.

도 1은 스마트폰의 카메라를 이용한 비색법을 실행할 수 있는 측정기기의 예시도이다.1 is an exemplary diagram of a measuring device capable of executing a colorimetric method using a camera of a smartphone.

도 1을 참조하면, 센서스트립을 스마트폰의 카메라 앞에 장착시키는 것을 확인할 수 있다. 센서스트립에 도포된 시약은 혈당 수치에 비례하여 색 반응이 발생하게 되는데, 이를 카메라로 촬영하여 분석하는 장치이다.Referring to FIG. 1 , it can be seen that the sensor strip is mounted in front of the camera of the smartphone. The reagent applied to the sensor strip causes a color reaction in proportion to the blood glucose level, which is captured by a camera and analyzed.

도 2는 센서스트립의 분해 예시도이다.2 is an exploded view of a sensor strip.

도 2를 참조하면, 센서스트립(10)은 상부 하우징(11), 필름부(12), 광확산부(13), 하부 하우징(14)을 포함할 수 있다.Referring to FIG. 2 , the sensor strip 10 may include an upper housing 11 , a film unit 12 , a light diffusion unit 13 , and a lower housing 14 .

상기 상부 하우징(11)에는 시료 주입구(11-1)가 형성될 수 있다. 상기 시료 주입구(11-1)는 혈액, 소변, 타액 등 측정 대상이 되는 물질이 투입되는 구멍으로서, 사용자는 상기 시료 주입구(11-1)를 통해 시료를 센서스트립 내부로 유입시킬 수 있다.A sample inlet 11 - 1 may be formed in the upper housing 11 . The sample inlet 11-1 is a hole through which a material to be measured, such as blood, urine, saliva, etc., is introduced, and a user can introduce a sample into the sensor strip through the sample inlet 11-1.

상기 하부 하우징(14)에는 외부 광 유입을 위한 광 유입구(14-1) 및 상기 주입된 시료의 촬영을 위한 촬영구(14-2)가 형성될 수 있다. 상기 센서스트립(10)는 이동통신단말기에 포함된 카메라를 이용하여 검사를 진행하는데 필요한 장치일 수 있다. 이동통신단말기에는 카메라와 빛을 발광하는 광원이 같은 면에 인접하여 구성될 수 있다. 이때 본 명세서에 따른 센서스트립(10)를 상기 이동통신단말기의 카메라 앞에서 위치시키고, 상기 광원으로 빛을 비춘 후 상기 시료를 촬영하여 진단을 진행할 수 있다. 상기 광 유입구(14-1)는 바로 이동통신단말기에 설치된 광원(예: LED)에서 나온 빛이 센서스트립 내부로 유입될 수 있게 하는 구멍이다. 그리고 상기 촬영구(14-2)는 상기 이동통신단말기에 설치된 카메라가 시료를 촬영할 수 있도록 하는 구멍이다.A light inlet 14-1 for introducing external light and a photographing port 14-2 for capturing the injected sample may be formed in the lower housing 14. The sensor strip 10 may be a device necessary for performing an inspection using a camera included in a mobile communication terminal. In the mobile communication terminal, the camera and the light source emitting light may be configured adjacent to the same surface. At this time, the sensor strip 10 according to the present specification may be positioned in front of the camera of the mobile communication terminal, and after illuminating the light with the light source, the sample may be photographed to perform diagnosis. The light inlet 14-1 is a hole through which light emitted from a light source (eg, an LED) installed in the mobile communication terminal can be introduced into the sensor strip. And the photographing hole 14-2 is a hole through which the camera installed in the mobile communication terminal can photograph the sample.

상기 필름부(12)는 상기 상부 하우징(11)과 상기 하부 하우징(14) 사이에 위치할 수 있다. 상기 필름부(12)는 상기 시료 주입구(11-1)를 통해 투입된 시료액의 퍼짐이 발생하는 부분이다.The film part 12 may be positioned between the upper housing 11 and the lower housing 14 . The film part 12 is a part where the spread of the sample solution injected through the sample inlet 11-1 occurs.

상기 광확산부(13)는 상기 광 유입구(14-1)와 상기 촬영구(14-2) 사이의 거리보다 더 긴 길이를 가지고, 상기 필름부(12)와 상기 하부 하우징(14) 사이에 위치할 수 있다. 상기 광확산부(13)는 이동통신단말기에 설치된 광원에서 발산된 빛이 상기 상기 광 유입구(14-1)를 통해 센서스트립 장치의 내부로 유입되었을 때, 빛이 가장 먼저 만나게 되는 구성이다. 상기 광확산부(13)를 통해 빛이 측면으로 확산 및 산란되면서, 시료가 투입된 필름부(12)까지 빛이 도달하게 된다. 상기 광확산부(13)는 상기 필름부(12)와 상기 하부 하우징 사이에 위치했을 때 상기 촬영구(14-2)와 동일한 위치에 개구(13-1)가 형성될 수 있다. 상기 개구(13-1)는 통해 이동통신단말기에 설치된 카메라가 상기 필름부(12)의 시료를 촬영할 수 있다.The light diffusion part 13 has a length longer than the distance between the light inlet 14-1 and the photographing hole 14-2, and is disposed between the film part 12 and the lower housing 14. can be located The light diffusion unit 13 has a configuration in which light first encounters when light emitted from a light source installed in a mobile communication terminal is introduced into the sensor strip device through the light inlet 14-1. As the light diffuses and scatters laterally through the light diffusion unit 13 , the light reaches the film unit 12 in which the sample is inserted. When the light diffusion unit 13 is positioned between the film unit 12 and the lower housing, an opening 13-1 may be formed at the same position as the photographing hole 14-2. Through the opening 13 - 1 , a camera installed in a mobile communication terminal may photograph the sample of the film unit 12 .

도 3은 센서스트립의 필름부를 촬영한 이미지의 예시도이다.3 is an exemplary view of an image obtained by photographing the film portion of the sensor strip.

도 3의 (a) 및 (b)를 참조하면, 센서스트립의 필름부는 광확산부를 통해 빛이 측면(도면의 왼쪽)으로부터 유입되어 확산 및 산란된 상태이다. 광원이 어느 한 측면에 위치하므로, 필름부의 중앙이 가장 어둡고, 필름부의 바깥쪽이 상대적으로 더 밝은 것을 확인할 수 있다.Referring to FIGS. 3A and 3B , the film portion of the sensor strip is in a state in which light is introduced from the side (left side of the drawing) through the light diffusion portion, and is diffused and scattered. Since the light source is located on one side, it can be seen that the center of the film part is the darkest and the outside of the film part is relatively brighter.

한편, 도 3의 (a)와 (b)를 서로 비교할 때, 도 3의 (b)는 필름부의 중앙이 카메라의 중앙에서 상대적으로 일치되지 않은 상태임을 확인할 수 있다. 도 3의 (b)와 같은 현상이 발생하는 원인으로, i) 사용자가 센서스트립을 측정기에 불완전하게 결합시킨 경우, ii) 센서스트립의 제조 공정에서 필름부의 위치에 단차가 발생하는 경우, ii) 측정기 내 카메라의 제조 공정에서 조립 위치의 단차가 발생하는 경우 등이 가능하다. 그러나 실제 시료와 시약의 반응은 필름부의 중앙에서 발생하고, 측정기의 카메라는 필름부의 중앙을 촬영한 것을 가정한다. 이 때, 시료와 시약의 반응 결과는 카메라의 이미지 센서(CCD)에 들어오는 빛의 양으로 측정되는바, 상기와 같은 오차를 고려하지 않으면 측정 결과의 정밀도가 낮아질 수 있다. On the other hand, when comparing (a) and (b) of FIG. 3 with each other, it can be seen that the center of the film part in FIG. 3 (b) is relatively inconsistent with the center of the camera. The cause of the phenomenon as shown in (b) of FIG. 3 is i) when the user incompletely couples the sensor strip to the measuring device, ii) when a step occurs in the position of the film part in the manufacturing process of the sensor strip, ii) It is possible, for example, when a step in the assembly position occurs in the manufacturing process of the camera in the measuring instrument. However, it is assumed that the actual reaction between the sample and the reagent occurs in the center of the film portion, and the camera of the measuring instrument captures the center of the film portion. In this case, the reaction result between the sample and the reagent is measured as the amount of light entering the image sensor (CCD) of the camera. If the above error is not taken into account, the precision of the measurement result may be lowered.

따라서, 실제 측정 환경에서 발생할 수 있는 카메라 측정 오차를 보정할 수 있는 기술이 필요하다.Therefore, there is a need for a technique capable of correcting a camera measurement error that may occur in an actual measurement environment.

대한민국 특허출원번호 제14-2018-0149972호Republic of Korea Patent Application No. 14-2018-0149972

본 명세서는 비색법을 위해 카메라로 촬영한 이미지의 특성을 측정하여 보다 정확한 비색법 측정이 가능하도록 하는 장치 및 방법을 제공하는 것을 목적으로 한다.An object of the present specification is to provide an apparatus and method for enabling more accurate colorimetric measurement by measuring characteristics of an image captured by a camera for colorimetric method.

본 명세서는 상기 언급된 과제로 제한되지 않으며, 언급되지 않은 또 다른 과제들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The present specification is not limited to the above-mentioned problems, and other problems not mentioned will be clearly understood by those skilled in the art from the following description.

상술한 과제를 해결하기 위한 본 명세서에 따른 측정값 정확도 향상 장치는, 센서스트립의 필름부를 촬영한 이미지를 출력하는 카메라; 및 상기 촬영된 필름부 이미지에서 필름부의 중심점을 찾고, 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀의 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출하는 제어부;를 포함할 수 있다.An apparatus for improving measurement value accuracy according to the present specification for solving the above-described problems includes: a camera for outputting an image photographed by a film portion of a sensor strip; and a control unit that finds the center point of the film unit in the photographed film unit image, and calculates the characteristic value of the image output from the camera by using the brightness change value of the pixel in the image facing outward from the film unit at the center point. can

본 명세서의 일 실시예에 따르면, 상기 제어부는 상기 촬영된 필름부 이미지에서 가장 어두운 영역을 필름부의 중심점으로 판단할 수 있다.According to an embodiment of the present specification, the controller may determine the darkest region in the photographed film part image as a center point of the film part.

본 명세서의 일 실시예에 따르면, 상기 제어부는 상기 이미지 내 같은 밝기를 가진 픽셀들을 서로 연결한 등명선(brightness contour)을 생성하고, 상기 등명선의 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출할수 있다.According to an exemplary embodiment of the present specification, the controller generates a brightness contour connecting pixels having the same brightness in the image, and uses the brightness change value of the light line in the image output from the camera. characteristic values can be calculated.

이 경우, 상기 제어부는 상기 중심점에서 필름부의 바깥쪽으로 향하는 방향 중 상기 등명선의 간격이 다른 간격에 비해 상대적으로 넓은 방향을 기준으로 상기 카메라에서 출력된 이미지의 특성값을 산출할 수 있다.In this case, the control unit may calculate the characteristic value of the image output from the camera based on a direction from the center point toward the outside of the film unit, in which the distance between the light lines is relatively wide compared to other intervals.

본 명세서의 일 실시예에 따르면, 상기 제어부는 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀들의 평균 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출할 수 있다.According to an exemplary embodiment of the present specification, the controller may calculate a characteristic value of the image output from the camera by using an average brightness change value of pixels in the image moving from the center point to the outside of the film unit.

본 명세서의 다른 실시예에 따르면, 상기 제어부는 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀들 중 상기 중심점으로부터 미리 설정된 개수에 의해 선택된 픽셀들의 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출할 수 있다.According to another embodiment of the present specification, the control unit uses a brightness change value of pixels selected by a preset number from the center point among pixels in the image facing out of the film unit from the center point of the image output from the camera. characteristic values can be calculated.

본 명세서의 또 다른 실시예에 따르면, 상기 제어부는 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀들 중 상기 중심점으로부터 미리 설정된 비율에 의해 선택된 픽셀들의 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출할 수 있다.According to another embodiment of the present specification, the control unit is an image output from the camera using the brightness change value of pixels selected from the central point by a preset ratio among pixels in the image facing out of the film unit from the central point. It is possible to calculate the characteristic value of

본 명세서의 또 다른 실시예에 따르면, 상기 제어부는 각 픽셀에 포함된 RGB값 중 어느 하나의 값으로 표현된 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출할 수 있다.According to another embodiment of the present specification, the controller may calculate a characteristic value of the image output from the camera by using a brightness change value expressed as any one of RGB values included in each pixel.

본 명세서의 일 실시예에 따르면, 상기 제어부는 상기 이미지의 특성값을 이용하여 상기 이미지의 측정값을 보정할 수 있다.According to an embodiment of the present specification, the controller may correct the measured value of the image by using the characteristic value of the image.

이 경우, 본 명세서에 따른 측정값 정확도 향상 장치는 필름부의 중심점에서 바깥쪽으로 향하는 픽셀의 밝기 기준값을 저장하는 메모리부;를 더 포함할 수 있다. 그리고 상기 제어부는 상기 카메라에서 출력된 이미지의 측정값을 상기 밝기 기준값을 이용하여 보정할 수 있다.In this case, the apparatus for improving measurement value accuracy according to the present specification may further include a memory unit configured to store the brightness reference value of a pixel facing outward from the center point of the film unit. In addition, the controller may correct a measurement value of the image output from the camera using the brightness reference value.

일 예에 따르면, 상기 제어부는 상기 중심점에서 필름부의 바깥쪽으로 향할 수록 선형적으로 변화하는 픽셀 보정값에 따라 상기 카메라에서 출력된 이미지의 측정값을 보정할 수 있다.According to an example, the controller may correct the measured value of the image output from the camera according to a pixel correction value that linearly changes from the central point toward the outside of the film unit.

본 명세서의 다른 실시예에 따르면, 상기 제어부는 상기 중심점과 인접한 적어도 하나 이상의 후보점을 설정하고, 상기 후보점을 기준으로 상기 이미지의 특성값을 재산출할 수 있다.According to another embodiment of the present specification, the controller may set at least one candidate point adjacent to the central point, and recalculate the characteristic value of the image based on the candidate point.

이 경우, 본 명세서에 따른 측정값 정확도 향상 장치는 필름부의 중심점에서 바깥쪽으로 향하는 픽셀의 밝기 기준값을 저장하는 메모리부;를 더 포함할 수 있다. 그리고 상기 제어부는 상기 후보점을 기준으로 재산출된 이미지의 특성값이 상기 기준값과 유사한 후보점을 상기 이미지의 측정 중심값을 설정할 수 있다.In this case, the apparatus for improving measurement value accuracy according to the present specification may further include a memory unit configured to store the brightness reference value of a pixel facing outward from the center point of the film unit. In addition, the control unit may set a measurement center value of the image to a candidate point having a characteristic value of the image recalculated based on the candidate point similar to the reference value.

상술한 과제를 해결하기 위한 본 명세서에 따른 측정값 정확도 향상 방법은 카메라부 및 제어부를 포함하는 측정값 정확도 향상 장치를 이용하여 측정값의 정확도를 향상하는 방법으로서, (a) 상기 제어부가 상기 카메라로부터 센서스트립의 필름부를 촬영한 이미지를 수신하는 단계; (b) 상기 제어부가 상기 촬영된 필름부 이미지에서 필름부의 중심점을 찾는 단계; 및 (c) 상기 제어부가 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀의 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출하는 단계;를 포함할 수 있다.A measurement value accuracy improvement method according to the present specification for solving the above-described problems is a method of improving the measurement value accuracy using an apparatus for improving measurement value accuracy including a camera unit and a control unit, (a) the control unit includes the camera Receiving an image taken from the film portion of the sensor strip; (b) finding, by the control unit, a central point of the film part in the photographed film part image; and (c) calculating, by the control unit, a characteristic value of the image output from the camera by using the brightness change value of the pixel in the image from the central point toward the outside of the film unit.

본 명세서의 일 실시예에 따르면, 상기 (b)단계는 상기 제어부가 상기 촬영된 필름부 이미지에서 가장 어두운 영역을 필름부의 중심점으로 판단할 수 있다.According to an embodiment of the present specification, in step (b), the controller may determine the darkest region in the photographed film portion image as the center point of the film portion.

본 명세서의 일 실시예에 따르면, 상기 (c) 단계는 상기 제어부가 상기 이미지 내 같은 밝기를 가진 픽셀들을 서로 연결한 등명선(brightness contour)을 생성하고, 상기 등명선의 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출하는 단계일 수 있다.According to an embodiment of the present specification, in step (c), the controller generates a brightness contour connecting pixels having the same brightness in the image, and uses the brightness change value of the light line to It may be a step of calculating a characteristic value of an image output from the camera.

이 경우, 상기 (c) 단계는 상기 제어부가 상기 중심점에서 필름부의 바깥쪽으로 향하는 방향 중 상기 등명선의 간격이 다른 간격에 비해 상대적으로 넓은 방향을 기준으로 상기 카메라에서 출력된 이미지의 특성값을 산출하는 단계일 수 있다.In this case, in step (c), the control unit calculates the characteristic value of the image output from the camera based on a direction in which the distance between the light lines is relatively wide compared to other intervals among the directions from the central point toward the outside of the film part. may be a step.

본 명세서의 일 실시예에 따르면, 상기 (c) 단계는 상기 제어부가 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀들의 평균 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출하는 단계일 수 있다.According to an embodiment of the present specification, in the step (c), the control unit calculates the characteristic value of the image output from the camera using the average brightness change value of pixels in the image from the center point to the outside of the film unit. may be a step.

본 명세서의 다른 실시예에 따르면, 상기 (c) 단계는 상기 제어부가 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀들 중 상기 중심점으로부터 미리 설정된 개수에 의해 선택된 픽셀들의 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출하는 단계일 수 있다.According to another embodiment of the present specification, in step (c), the control unit uses the brightness change value of pixels selected by a preset number from the center point among pixels in the image facing out of the film unit from the center point. It may be a step of calculating a characteristic value of an image output from the camera.

본 명세서의 또 다른 실시예에 따르면, 상기 (c) 단계는 상기 제어부가 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀들 중 상기 중심점으로부터 미리 설정된 비율에 의해 선택된 픽셀들의 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출하는 단계일 수 있다.According to another embodiment of the present specification, in step (c), the control unit uses a brightness change value of pixels selected by a preset ratio from the central point among pixels in the image facing out of the film part from the central point. It may be a step of calculating a characteristic value of the image output from the camera.

본 명세서의 또 다른 실시예에 따르면, 상기 (c) 단계는 상기 제어부가 각 픽셀에 포함된 RGB값 중 어느 하나의 값으로 표현된 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출하는 단계일 수 있다.According to another embodiment of the present specification, in step (c), the control unit selects the characteristic value of the image output from the camera using the brightness change value expressed as any one of the RGB values included in each pixel. It may be a step of calculating.

본 명세서에 따른 측정값 정확도 향상 방법은, (d) 상기 제어부가 상기 이미지의 특성값을 이용하여 상기 이미지의 측정값을 보정하는 단계;를 더 포함할 수 있다. The method for improving measurement accuracy according to the present specification may further include (d) correcting, by the controller, the measurement value of the image by using the characteristic value of the image.

이 경우, 본 명세서에 따른 측정값 정확도 향상 방법은, 상기 (a) 단계 이전에, 상기 제어부가 필름부의 중심점에서 바깥쪽으로 향하는 픽셀의 밝기 기준값을 메모리부에 저장하는 단계;를 더 포함할 수 있다. 그리고 상기 (c) 단계는 상기 제어부가 상기 카메라에서 출력된 이미지의 측정값을 상기 밝기 기준값을 이용하여 보정하는 단계일 수 있다.In this case, the method for improving the accuracy of the measurement values according to the present specification may further include, before the step (a), the control unit storing the brightness reference value of the pixel facing outward from the center point of the film unit in the memory unit; . The step (c) may be a step in which the controller corrects the measured value of the image output from the camera using the brightness reference value.

일 예에 따르면, 상기 (c) 단계는 상기 제어부가 상기 중심점에서 필름부의 바깥쪽으로 향할수록 선형적으로 변화하는 픽셀 보정값에 따라 상기 카메라에서 출력된 이미지의 측정값을 보정하는 단계일 수 있다.According to an example, the step (c) may be a step of correcting the measured value of the image output from the camera according to the pixel correction value that changes linearly as the control unit moves from the central point toward the outside of the film unit.

본 명세서에 따른 색상 보정 방법은 (d) 상기 제어부가 상기 중심점과 인접한 적어도 하나 이상의 후보점을 설정하고, 상기 후보점을 기준으로 상기 이미지의 특성값을 재산출하는 단계;를 더 포함할 수도 있다.The color correction method according to the present specification may further include (d) the control unit setting at least one candidate point adjacent to the central point, and re-calculating the characteristic value of the image based on the candidate point. .

이 경우, 명세서에 따른 측정값 정확도 향상 방법은, 상기 (a) 단계 이전에, 상기 제어부가 필름부의 중심점에서 바깥쪽으로 향하는 픽셀의 밝기 기준값을 메모리부에 저장하는 단계;를 더 포함할 수 있다. 그리고 (e) 상기 제어부가 상기 후보점을 기준으로 재산출된 이미지의 특성값이 상기 기준값과 유사한 후보점을 상기 이미지의 측정 중심값으로 설정하는 단계;를 더 포함할 수 있다.In this case, the method for improving the accuracy of the measurement according to the specification may further include, before the step (a), the control unit storing the brightness reference value of the pixel facing outward from the center point of the film unit in the memory unit. and (e) setting, by the controller, a candidate point having a characteristic value of an image recalculated based on the candidate point similar to the reference value as a measurement center value of the image.

본 명세서에 따른 측정값 정확도 향상 방법은 컴퓨터에서 측정값 정확도 향상 방법의 각 단계들을 수행하도록 작성되어 컴퓨터로 독출 가능한 기록 매체에 기록된 컴퓨터프로그램의 형태로 구현될 수 있다.The measurement value accuracy improvement method according to the present specification may be implemented in the form of a computer program written in a computer to perform each step of the measurement value accuracy improvement method and recorded on a computer-readable recording medium.

본 발명의 기타 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Other specific details of the invention are included in the detailed description and drawings.

본 명세서에 따르면, 보다 정확한 비색법 측정이 가능하다.According to the present specification, more accurate colorimetric measurement is possible.

본 발명의 효과들은 이상에서 언급된 효과로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.Effects of the present invention are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the following description.

도 1은 스마트폰의 카메라를 이용한 비색법을 실행할 수 있는 측정기기의 예시도이다.
도 2는 센서스트립의 분해 예시도이다.
도 3은 센서스트립의 필름부를 촬영한 이미지의 예시도이다.
도 4는 본 명세서에 따른 측정값 정확도 향상 장치의 구성을 개략적으로 도시한 블럭도이다.
도 5는 본 명세서에 따른 제어부가 이미지의 특성값을 산출하는 과정의 참고도이다.
도 6은 두 대의 측정기에서 각각 촬영된 이미지의 밝기값에 대한 예시적인 그래프이다.
도 7은 서로 다른 특성을 가진 카메라에서 각각 촬영된 이미지의 밝기값에 대한 예시적인 그래프이다.
도 8은 이미지의 측정값을 보정한 예시도이다.
도 9는 본 명세서의 다른 실시예에 따라 중심점을 재 설정하는 참고도이다.
도 10은 본 명세서의 일 실시예에 따른 측정값 정확도 향상 방법의 흐름도이다.
도 11은 본 명세서의 다른 실시예에 따른 측정값 정확도 향상 방법의 흐름도이다.
1 is an exemplary diagram of a measuring device capable of executing a colorimetric method using a camera of a smartphone.
2 is an exploded view of a sensor strip.
3 is an exemplary view of an image obtained by photographing the film portion of the sensor strip.
4 is a block diagram schematically illustrating the configuration of an apparatus for improving measurement value accuracy according to the present specification.
5 is a reference diagram of a process in which a controller according to the present specification calculates a characteristic value of an image.
6 is an exemplary graph of brightness values of images taken by two measuring devices.
7 is an exemplary graph of brightness values of images captured by cameras having different characteristics.
8 is an exemplary view in which the measured values of the image are corrected.
9 is a reference diagram for resetting a center point according to another embodiment of the present specification.
10 is a flowchart of a method for improving accuracy of a measurement value according to an embodiment of the present specification.
11 is a flowchart of a method for improving measurement accuracy according to another embodiment of the present specification.

본 명세서에 개시된 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나, 본 명세서가 이하에서 개시되는 실시예들에 제한되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 명세서의 개시가 완전하도록 하고, 본 명세서가 속하는 기술 분야의 통상의 기술자(이하 '당업자')에게 본 명세서의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 명세서의 권리 범위는 청구항의 범주에 의해 정의될 뿐이다. Advantages and features of the invention disclosed herein, and methods of achieving them, will become apparent with reference to the embodiments described below in detail in conjunction with the accompanying drawings. However, the present specification is not limited to the embodiments disclosed below, but may be implemented in various different forms, and only the present embodiments allow the disclosure of the present specification to be complete, and those of ordinary skill in the art to which this specification belongs. It is provided to fully inform those skilled in the art (hereinafter 'those skilled in the art') the scope of the present specification, and the scope of the present specification is only defined by the scope of the claims.

공간적으로 상대적인 용어인 "위, 아래, 좌, 우" 등은 도면에 도시되어 있는 바와 같이 본 발명을 보다 용이하게 기술하기 위해 사용될 수 있다. 이하, 첨부된 도면을 참조하여 본 발명의 실시예를 상세하게 설명한다.Spatially relative terms "up, down, left, right" and the like may be used to more easily describe the present invention as shown in the drawings. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 4는 본 명세서에 따른 측정값 정확도 향상 장치의 구성을 개략적으로 도시한 블럭도이다.4 is a block diagram schematically illustrating the configuration of an apparatus for improving measurement value accuracy according to the present specification.

도 4를 참조하면, 본 명세서에 따른 측정값 정확도 향상 장치(100)는 카메라(110) 및 제어부(120)를 포함할 수 있다. 실시예에 따라 상기 측정값 정확도 향상 장치(100)는 메모리부(130)를 더 포함할 수도 있다.Referring to FIG. 4 , the apparatus 100 for improving measurement value accuracy according to the present specification may include a camera 110 and a controller 120 . According to an embodiment, the measurement value accuracy improving apparatus 100 may further include a memory unit 130 .

상기 카메라(110)는 센서스트립의 필름부를 촬영한 이미지를 출력할 수 있다.The camera 110 may output an image obtained by photographing the film portion of the sensor strip.

상기 제어부(120)는 상기 촬영된 필름부 이미지에서 필름부의 중심점을 찾고, 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀의 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출할 수 있다.The control unit 120 finds the central point of the film part in the photographed film part image, and calculates the characteristic value of the image output from the camera by using the brightness change value of the pixel in the image from the central point toward the outside of the film part. can

본 명세서에서 이미지의 특성값이란, 상기 카메라가 필름부를 촬영할 때마다 영향을 미치는 다양한 요인이 반영된 이미지의 결과를 의미한다. 앞서 설명하였듯이, 비색법을 통해 시료의 특성을 수치적으로 산출하고자 할 때, 시료를 촬영한 이미지에 포함된 픽셀값이 중이 중요하다. 픽셀값에 영향을 미칠 수 있는 요인이 있을 수 있다. 서로 다른 종류의 카메라로 센서스트립을 촬영하면 같은 시료를 촬영하여도 서로 다른 픽셀값이 출력될 수 있음은 당연하다. 같은 종류의 카메라로 촬영하여도 센서스트립의 종류에 따라 서로 다른 이미지가 출력될 수 있으며, 같은 카메라와 같은 센서스트립을 사용하여도 센서스트립의 결합위치 또는 주변 환경 등 다양한 외부 요인으로 동일한 시료에 대해서 서로 다른 픽셀값을 가질 수 있다. 본 출원인은 이러한 다양한 요인들이 촬영환경에 영향을 미치고, 그 결과가 이미지에 반영되는 것을 알고 있다. 따라서, 본 명세서에서 이미지의 특성값이란 다양한 요인들이 이미지에 반영된 결과이다.In the present specification, the characteristic value of an image means a result of an image in which various factors affecting each time the camera shoots the film unit are reflected. As described above, when trying to numerically calculate the characteristics of a sample through the colorimetric method, the pixel value included in the image of the sample is very important. There may be factors that can affect pixel values. If the sensor strip is photographed with different types of cameras, it is natural that different pixel values may be output even when the same sample is photographed. Even when shooting with the same type of camera, different images may be output depending on the type of sensor strip. They may have different pixel values. The present applicant knows that these various factors affect the shooting environment, and the results are reflected in the image. Accordingly, in the present specification, the characteristic value of an image is a result of reflecting various factors in the image.

도 5는 본 명세서에 따른 제어부가 이미지의 특성값을 산출하는 과정의 참고도이다.5 is a reference diagram of a process in which a controller according to the present specification calculates a characteristic value of an image.

도 5의 (a)를 참조하면, 상기 카메라(110)가 출력한 이미지를 확인할 수 있다. 상기 이미지는 센서스트립의 필름부를 촬영한 이미지이다. 상기 이미지의 왼쪽으로부터 광원에서 출력된 빛이 유입되어 산란 및 분산되는 것을 확인할 수 있다.Referring to FIG. 5A , an image output by the camera 110 may be checked. The image is an image of the film part of the sensor strip. From the left side of the image, it can be seen that the light output from the light source is introduced and scattered and dispersed.

도 5의 (b)를 참조하면, 상기 제어부(120)가 찾은 필름부의 중심점이 표시되어 있는 것을 확인할 수 있다. 본 명세서의 일 실시예에 따르면, 상기 제어부(120)는 상기 촬영된 필름부 이미지에서 가장 어두운 영역을 필름부의 중심점으로 판단할 수 있다.Referring to (b) of FIG. 5 , it can be seen that the central point of the film unit found by the control unit 120 is displayed. According to an embodiment of the present specification, the control unit 120 may determine the darkest region in the photographed film unit image as the center point of the film unit.

상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀의 밝기 변화값을 이용하기 위해, 도 5의 (c)에 도시된 바와 같이, 상기 제어부(120)는 기 이미지 내 같은 밝기를 가진 픽셀들을 서로 연결한 등명선(brightness contour)을 생성할 수 있다. 이 경우, 상기 제어부(120)는 상기 중심점에서 필름부의 바깥쪽으로 향하는 방향 중 상기 등명선의 간격이 다른 간격에 비해 상대적으로 넓은 방향을 기준으로 상기 카메라(110)에서 출력된 이미지의 특성값을 생성할 수 있다(도 5의 (d) 참조).In order to use the brightness change value of the pixel in the image that is directed outward from the center point of the film part, as shown in FIG. 5C , the controller 120 connects pixels having the same brightness in the image to each other. A brightness contour can be created. In this case, the control unit 120 generates a characteristic value of the image output from the camera 110 based on a direction in which the distance between the light lines is relatively wide compared to other intervals among the directions from the center point toward the outside of the film unit. It can be (see Fig. 5 (d)).

도 6은 두 대의 측정기에서 각각 촬영된 이미지의 밝기값에 대한 예시적인 그래프이다.6 is an exemplary graph of brightness values of images taken by two measuring devices.

도 6을 참조하면, RGB 각각의 값에 대한 그래프를 확인할 수 있다. 각 그래프에서 가로축은 중심점에서 필름부의 바깥쪽으로 향하는 방향의 거리이고, 세로축은 0~255 사이의 밝기 값이다. 도 6에 도시된 측정값은 동일한 센서스트립을 2대의 측정기 [A]와 [B]에서 각각 촬영한 상황을 가정한 것이다. 이때, 2대의 측정기 [A]와 [B]는 동일한 기종의 측정기인 것으로 가정한다. 도 6에서 확인할 수 있듯이, 동일한 측정기로 동일한 센서스트립을 촬영하여도, 촬영된 이미지 내에서 밝기값에 차이가 발생할 수 있다.Referring to FIG. 6 , a graph for each RGB value can be confirmed. In each graph, the horizontal axis is the distance from the center point toward the outside of the film part, and the vertical axis is the brightness value between 0 and 255. The measured values shown in FIG. 6 assume a situation in which the same sensor strip is photographed by two measuring devices [A] and [B], respectively. At this time, it is assumed that the two measuring instruments [A] and [B] are of the same type. As can be seen in FIG. 6 , even when the same sensor strip is photographed with the same measuring device, a difference may occur in the brightness value within the photographed image.

상기 제어부(120)는 상기 이미지의 특성값을 산출하기 위해 다양한 방법으로 이미지 내 픽셀의 밝기 변화값을 추출할 수 있다.The controller 120 may extract the brightness change value of the pixel in the image in various ways in order to calculate the characteristic value of the image.

본 명세서의 일 실시예에 따르면, 상기 제어부(120)는 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀들의 평균 밝기 변화값을 이용할 수 있다.According to an exemplary embodiment of the present specification, the control unit 120 may use an average brightness change value of pixels in the image from the central point toward the outside of the film unit.

본 명세서의 다른 실시예에 따르면, 상기 제어부(120)는 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀들 중 상기 중심점으로부터 미리 설정된 개수에 의해 선택된 픽셀들의 밝기 변화값을 이용할 수 있다.According to another embodiment of the present specification, the control unit 120 may use the brightness change value of pixels selected by a preset number from the central point among the pixels in the image facing out of the film unit from the central point.

본 명세서의 또 다른 실시예에 따르면, 상기 제어부(120)는 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀들 중 상기 중심점으로부터 미리 설정된 비율에 의해 선택된 픽셀들의 밝기 변화값을 이용할 수 있다.According to another embodiment of the present specification, the controller 120 may use the brightness change value of pixels selected from the central point by a preset ratio among pixels in the image facing out of the film part from the central point.

본 명세서의 또 다른 실시예에 따르면, 상기 제어부(120)는 각 픽셀에 포함된 RGB값 중 어느 하나의 값으로 표현된 밝기 변화값을 이용할 수 있다. 본 명세서에 따른 측정값 정확도 향상 장치(100)는 생체 시료를 비색법으로 측정하는 측정기에 포함될 수 있다. 따라서, 혈액을 시료로 하는 경우, 혈액이 시약과 반응한 이미지에서 [R]값이 가장 중요하게 사용될 수 있다. 바람직하게, 상기 제어부(120)는 RGB값 중 [R]값으로 표현된 밝기 변화값을 이용할 수도 있다.According to another embodiment of the present specification, the controller 120 may use a brightness change value expressed as any one of RGB values included in each pixel. The measurement value accuracy improving apparatus 100 according to the present specification may be included in a measuring device that measures a biological sample using a colorimetric method. Therefore, when blood is used as a sample, the [R] value may be most importantly used in an image in which blood reacts with a reagent. Preferably, the controller 120 may use a brightness change value expressed as [R] value among RGB values.

상기 이미지의 밝기 변화를 통해서 이미지의 특성값을 산출한 후 측정의 정확도 향상을 위한 조치가 필요하다. 정확도 향상을 위한 조치로서, 이미지의 특정값 자체를 보정하는 방법과 중심점을 재 설정하는 방법이 가능하다.After calculating the characteristic value of the image through the change in the brightness of the image, it is necessary to take measures to improve the accuracy of the measurement. As measures to improve accuracy, a method of correcting a specific value of the image itself and a method of resetting the center point are possible.

본 명세서의 일 실시예에 따르면, 상기 제어부(120)는 상기 이미지의 특성값을 이용하여 상기 이미지의 측정값을 보정할 수 있다. 즉, 촬영된 이미지의 픽셀값이 오차를 가지고 있다는 전제하에 각 픽셀이 가지고 있는 RGB 측정값을 보정하는 것이다. 상기 보정된 측정값은 비색법에 이용될 수 있다.According to an embodiment of the present specification, the controller 120 may correct the measured value of the image by using the characteristic value of the image. That is, the RGB measurement value of each pixel is corrected on the premise that the pixel value of the photographed image has an error. The corrected measured values may be used for colorimetric methods.

한편, 본 명세서에 따른 측정값 정확도 향상 장치(100)는 필름부의 중심점에서 바깥쪽으로 향하는 픽셀의 밝기 기준값을 저장하는 메모리부(130)를 더 포함할 수 있다. 이 경우, 상기 제어부(120)는 상기 카메라(110)에서 출력된 이미지의 측정값을 상기 밝기 기준값을 이용하여 보정할 수 있다. 상기 밝기 기준값은 측정기의 종류마다, 측정기에 포함된 카메라의 종류마다 다양하게 설정될 수 있다.On the other hand, the measurement value accuracy improving apparatus 100 according to the present specification may further include a memory unit 130 for storing the brightness reference value of the pixel facing outward from the center point of the film unit. In this case, the controller 120 may correct the measurement value of the image output from the camera 110 using the brightness reference value. The brightness reference value may be variously set for each type of measurement device and for each type of camera included in the measurement device.

다시 도 6을 참조하면, [A]그래프가 밝기 기준값이라고 가정할 때, 상기 [B] 그래프와 차이값이 보정값이 될 수 있다. 상기 제어부(120)는 상기 상기 카메라(110)에서 출력된 이미지의 측정값에서 상기 차이값을 가감하여 보정할 수 있다.Referring back to FIG. 6 , assuming that the graph [A] is the brightness reference value, the difference value from the graph [B] may be a correction value. The control unit 120 may correct by adding or subtracting the difference value from the measured value of the image output from the camera 110 .

한편, 이미지 내 모든 픽셀 보정값이 동일하지 않을 수 있다. On the other hand, all pixel correction values in the image may not be the same.

도 7은 서로 다른 특성을 가진 카메라에서 각각 촬영된 이미지의 밝기값에 대한 예시적인 그래프이다.7 is an exemplary graph of brightness values of images captured by cameras having different characteristics.

도 7을 참조하면, RGB 각각의 값에 대한 그래프를 확인할 수 있다. 각 그래프에서 가로축은 중심점에서 필름부의 바깥쪽으로 향하는 방향의 거리이고, 세로축은 0~255 사이의 밝기 값이다. 도 7에 도시된 측정값은 서로 다른 특성을 가진 카메라 [A]와 [C]를 이용하여 센서스트립을 각각 촬영한 상황을 가정한 것이다. [A] 그래프와 [C] 그래프는 중심점에서 차이가 상대적으로 적고, 중심점에서 멀어질 수록 차이가 상대적으로 큰 것을 확인할 수 있다. 본 명세서에 따른 측정값 정확도 향상 장치(100)는 필름부의 일 측면에서 외부 광이 유입되는 상황을 가정하고 있다. 따라서, 카메라(110)의 특성에 따라 이미지 내 모든 픽셀이 동일하게 보정되지 않을 수 있다.Referring to FIG. 7 , a graph for each RGB value can be confirmed. In each graph, the horizontal axis is the distance from the center point toward the outside of the film part, and the vertical axis is the brightness value between 0 and 255. The measured values shown in FIG. 7 assume a situation in which each sensor strip is photographed using cameras [A] and [C] having different characteristics. It can be seen that the difference between the graphs [A] and [C] is relatively small at the center point, and the difference is relatively large as the distance from the center point is increased. The measurement value accuracy improving apparatus 100 according to the present specification assumes a situation in which external light is introduced from one side of the film part. Accordingly, all pixels in the image may not be equally corrected depending on the characteristics of the camera 110 .

상기 제어부(120)는 상기 중심점에서 필름부의 바깥쪽으로 향할수록 선형적으로 변화하는 픽셀 보정값에 따라 상기 카메라에서 출력된 이미지의 측정값을 보정할 수 있다.The control unit 120 may correct the measured value of the image output from the camera according to the pixel correction value that changes linearly from the central point toward the outside of the film unit.

도 8은 이미지의 측정값을 보정한 예시도이다.8 is an exemplary view in which the measured values of the image are corrected.

도 8을 참조하면, 상기 카메라(110)에서 출력된 이미지의 측정값이 [C]로 표시된 것을 확인할 수 있다. 그리고 [C]값이 보정되어 [C']로 표시된 것을 확인할 수 있다. 도 8에 도시된 예시는, 중심점에 가까운 픽셀일 수록 보정값이 상대적으로 적고, 중심점에서 멀어질 수록 보정값이 선형적으로 증가하여 상대적으로 큰 것을 확인할 수 있다.Referring to FIG. 8 , it can be seen that the measured value of the image output from the camera 110 is indicated by [C]. And it can be seen that the [C] value is corrected and displayed as [C']. In the example illustrated in FIG. 8 , it can be seen that the correction value is relatively small as the pixel is closer to the center point, and the correction value increases linearly as it moves away from the center point, and thus it is relatively large.

일 실시예에 따르면, 상기 메모리부(130)에 상기 중심점에서 필름부의 바깥쪽으로 향할수록 선형적으로 변화하는 기준 픽셀 보정값이 저장될 수 있다. 이 경우, 상기 제어부(120)는 상기 기준 픽셀 보정값에 따라 상기 카메라에서 출력된 이미지의 측정값을 보정할 수 있다.According to an embodiment, a reference pixel correction value that linearly changes from the central point toward the outside of the film unit may be stored in the memory unit 130 . In this case, the controller 120 may correct the measurement value of the image output from the camera according to the reference pixel correction value.

다른 실시예에 따르면, 상기 제어부(120)는 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀의 밝기 변화값의 기울기를 산출할 수 있다. 그리고 상기 제어부(120)는 상기 밝기 변화값의 기울기에 비례하여 선형적으로 변화하는 픽셀 보정값을 산출할 수 있다. 상기 제어부(120)는 상기 산출된 픽셀 보정값을 이용하여 상기 카메라에서 출력된 이미지의 측정값을 보정할 수 있다.According to another exemplary embodiment, the controller 120 may calculate a gradient of a brightness change value of a pixel in the image from the central point toward the outside of the film unit. In addition, the controller 120 may calculate a pixel correction value that changes linearly in proportion to the gradient of the brightness change value. The controller 120 may correct the measured value of the image output from the camera by using the calculated pixel correction value.

본 명세서의 다른 실시예에 따르면, 상기 제어부(120)는 상기 중심점과 인접한 적어도 하나 이상의 후보점을 설정하고, 상기 후보점을 기준으로 상기 이미지의 특성값을 재산출할 수 있다.According to another embodiment of the present specification, the controller 120 may set at least one candidate point adjacent to the central point, and recalculate the characteristic value of the image based on the candidate point.

도 9는 본 명세서의 다른 실시예에 따라 중심점을 재 설정하는 참고도이다.9 is a reference diagram for resetting a center point according to another embodiment of the present specification.

도 9를 참조하면, 최초 중심점 ①을 확인할 수 있다. 상기 중심점 ①을 기준으로 이미지의 특성값을 산출하였지만, 오차가 존재하는 상태라고 가정하겠다. 이때, 상기 제어부(120)는 상기 최초 중심점 ①과 인접한 후보점을 설정할 수 있다. 도 9에는 최초 중심점 ①을 중심으로 8개이 후보점 ②~⑨이 설정된 것으로 도시되어 있지만, 이 것은 일 예에 불과하다. 상기 제어부(120)는 상기 후보점 ②~⑨ 각각에 대해서 이미지의 특성값을 재산출할 수 있다. 이미지의 특성값을 산출하는 과정은 앞서 설명하였기 때문에 반복적인 설명은 생략하겠다. 그리고 상기 제어부(120)는, 상기 후보점을 기준으로 재산출된 이미지의 특성값이 상기 기준값과 얼마나 유사한지 유사도를 산출할 수 있다. 이때 산출된 유사도 중 가능 높은 유사도를 가진 후보점을 상기 이미지의 측정 중심값을 설정할 수 있다. 즉, 이미지의 중심점을 재 설정하는 것이다. 상기 재 설정된 이미지의 중심점은 비색법을 위한 측정점으로 사용될 수 있다.Referring to FIG. 9 , the initial center point ① can be identified. Although the characteristic value of the image was calculated based on the center point ①, it is assumed that an error exists. In this case, the controller 120 may set a candidate point adjacent to the initial center point ①. Although FIG. 9 shows that eight candidate points ② to ⑨ are set around the initial central point ①, this is only an example. The control unit 120 may recalculate the characteristic values of the image for each of the candidate points ② to ⑨. Since the process of calculating the characteristic values of the image has been described above, a repetitive description will be omitted. In addition, the control unit 120 may calculate the similarity of how similar the characteristic value of the image recalculated based on the candidate point is to the reference value. In this case, a measurement center value of the image may be set for a candidate point having a similarity as high as possible among the calculated similarities. That is, to reset the center point of the image. The center point of the reset image may be used as a measurement point for a colorimetric method.

한편, 상기 제어부(120)는, 산출 및 다양한 제어 로직을 실행하기 위해 본 발명이 속한 기술분야에 알려진 프로세서, ASIC(application-specific integrated circuit), 다른 칩셋, 논리 회로, 레지스터, 통신 모뎀, 데이터 처리 장치 등을 포함할 수 있다. 또한, 상술한 제어 로직이 소프트웨어로 구현될 때, 상기 제어부(120)는 프로그램 모듈의 집합으로 구현될 수 있다. 이 때, 프로그램 모듈은 상기 메모리부(130)에 저장되고, 프로세서에 의해 실행될 수 있다.Meanwhile, the controller 120 includes a processor, an application-specific integrated circuit (ASIC), another chipset, a logic circuit, a register, a communication modem, and data processing known in the art to execute calculations and various control logic. devices, and the like. Also, when the above-described control logic is implemented in software, the controller 120 may be implemented as a set of program modules. In this case, the program module may be stored in the memory unit 130 and executed by the processor.

이하에서는, 본 명세서에 따른 색상 보정 방법에 대해서 설명하도록 하겠다. 본 명세서에 따른 색상 보정 방법은 상술된 측정값 정확도 향상 장치(100)를 이용하는 방법으로서, 상기 측정값 정확도 향상 장치(100)에 대한 반복적인 설명은 생략하도록 한다.Hereinafter, a color correction method according to the present specification will be described. The color correction method according to the present specification is a method using the above-described apparatus 100 for improving measurement value accuracy, and a repetitive description of the apparatus 100 for improving measurement value accuracy will be omitted.

도 10은 본 명세서의 일 실시예에 따른 색상 보정 방법의 흐름도이다.10 is a flowchart of a color correction method according to an embodiment of the present specification.

도 10을 참조하면, 단계 S110에서 상기 제어부(120)는 상기 카메라(110)로부터 센서스트립의 필름부를 촬영한 이미지를 수신할 수 있다. 다음 단계 S120에서 상기 제어부(120)는 상기 촬영된 필름부 이미지에서 필름부의 중심점을 찾을 수 있다. 다음 단계 S130에서, 상기 제어부(120)는 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀의 밝기 변화값을 이용하여 상기 카메라(110)에서 출력된 이미지의 특성값을 산출할 수 있다. 다음 단계 S140에서, 상기 제어부(120)는 상기 이미지의 특성값을 이용하여 상기 이미지의 측정값을 보정할 수 있다.Referring to FIG. 10 , in step S110 , the control unit 120 may receive an image captured by the film unit of the sensor strip from the camera 110 . In the next step S120, the control unit 120 may find the center point of the film unit in the photographed film unit image. In the next step S130 , the control unit 120 may calculate a characteristic value of the image output from the camera 110 by using the brightness change value of the pixel in the image from the central point toward the outside of the film unit. In the next step S140 , the controller 120 may correct the measured value of the image by using the characteristic value of the image.

한편, 단계 S110 이전 단계 S100에서 상기 제어부(120)는 필름부의 중심점에서 바깥쪽으로 향하는 픽셀의 밝기 기준값을 메모리부에 저장할 수 있다.Meanwhile, in step S100 before step S110, the controller 120 may store the brightness reference value of a pixel facing outward from the center point of the film unit in the memory unit.

도 11은 본 명세서의 다른 실시예에 따른 색상 보정 방법의 흐름도이다.11 is a flowchart of a color correction method according to another embodiment of the present specification.

도 11을 참조하면, 도 10에 도시된 흐름도에서 S140 단계가 다르고 단계 S150이 추가된 것을 확인할 수 있다. 앞서, 이후 단계 S100 내지 S130은 동일하므로 반복적인 설명은 생략한다. 단계 S140에서, 상기 제어부(120)는 상기 중심점과 인접한 적어도 하나 이상의 후보점을 설정하고, 상기 후보점을 기준으로 상기 이미지의 특성값을 재산출할 수 있다. 그리고 다음 단계 S150에서, 상기 제어부(120)는 상기 후보점을 기준으로 재산출된 이미지의 특성값이 상기 기준값과 유사한 후보점을 상기 이미지의 측정 중심값으로 설정할 수 있다.Referring to FIG. 11 , in the flowchart shown in FIG. 10 , it can be seen that step S140 is different and step S150 is added. Previously, since steps S100 to S130 are the same, a repetitive description will be omitted. In step S140 , the controller 120 may set at least one candidate point adjacent to the central point, and recalculate the characteristic value of the image based on the candidate point. In the next step S150, the control unit 120 may set a candidate point having a characteristic value recalculated based on the candidate point similar to the reference value as the measurement center value of the image.

한편, 본 명세서에 따른 색상 보정 방법은 각 단계들을 수행하도록 작성되어 컴퓨터로 독출 가능한 기록 매체에 기록된 컴퓨터프로그램의 형태로 구현될 수 있다. 상기 컴퓨터프로그램은, 상기 컴퓨터가 프로그램을 읽어 들여 프로그램으로 구현된 상기 방법들을 실행시키기 위하여, 상기 컴퓨터의 프로세서(CPU)가 상기 컴퓨터의 장치 인터페이스를 통해 읽힐 수 있는 C/C++, C#, JAVA, Python, 기계어 등의 컴퓨터 언어로 코드화된 코드(Code)를 포함할 수 있다. 이러한 코드는 상기 방법들을 실행하는 필요한 기능들을 정의한 함수 등과 관련된 기능적인 코드(Functional Code)를 포함할 수 있고, 상기 기능들을 상기 컴퓨터의 프로세서가 소정의 절차대로 실행시키는데 필요한 실행 절차 관련 제어 코드를 포함할 수 있다. 또한, 이러한 코드는 상기 기능들을 상기 컴퓨터의 프로세서가 실행시키는데 필요한 추가 정보나 미디어가 상기 컴퓨터의 내부 또는 외부 메모리의 어느 위치(주소 번지)에서 참조되어야 하는지에 대한 메모리 참조관련 코드를 더 포함할 수 있다. 또한, 상기 컴퓨터의 프로세서가 상기 기능들을 실행시키기 위하여 원격(Remote)에 있는 어떠한 다른 컴퓨터나 서버 등과 통신이 필요한 경우, 코드는 상기 컴퓨터의 통신 모듈을 이용하여 원격에 있는 어떠한 다른 컴퓨터나 서버 등과 어떻게 통신해야 하는지, 통신 시 어떠한 정보나 미디어를 송수신해야 하는지 등에 대한 통신 관련 코드를 더 포함할 수 있다.Meanwhile, the color correction method according to the present specification may be implemented in the form of a computer program written to perform each step and recorded on a computer-readable recording medium. The computer program is C/C++, C#, JAVA, Python that a processor (CPU) of the computer can read through a device interface of the computer in order for the computer to read the program and execute the methods implemented as a program , may include code coded in a computer language such as machine language. Such code may include functional code related to a function defining functions necessary for executing the methods, etc., and includes an execution procedure related control code necessary for the processor of the computer to execute the functions according to a predetermined procedure. can do. In addition, the code may further include additional information necessary for the processor of the computer to execute the functions or code related to memory reference for which location (address address) in the internal or external memory of the computer to be referenced. have. In addition, when the processor of the computer needs to communicate with any other computer or server in a remote location in order to execute the functions, the code uses the communication module of the computer to determine how to communicate with any other computer or server remotely. It may further include a communication-related code for whether to communicate and what information or media to transmit and receive during communication.

상기 저장되는 매체는, 레지스터, 캐쉬, 메모리 등과 같이 짧은 순간 동안 데이터를 저장하는 매체가 아니라 반영구적으로 데이터를 저장하며, 기기에 의해 판독(reading)이 가능한 매체를 의미한다. 구체적으로는, 상기 저장되는 매체의 예로는 ROM, RAM, CD-ROM, 자기 테이프, 플로피디스크, 광 데이터 저장장치 등이 있지만, 이에 제한되지 않는다. 즉, 상기 프로그램은 상기 컴퓨터가 접속할 수 있는 다양한 서버 상의 다양한 기록매체 또는 사용자의 상기 컴퓨터상의 다양한 기록매체에 저장될 수 있다. 또한, 상기 매체는 네트워크로 연결된 컴퓨터 시스템에 분산되어, 분산방식으로 컴퓨터가 읽을 수 있는 코드가 저장될 수 있다.The storage medium is not a medium that stores data for a short moment, such as a register, a cache, a memory, etc., but a medium that stores data semi-permanently and can be read by a device. Specifically, examples of the storage medium include, but are not limited to, ROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical data storage device. That is, the program may be stored in various recording media on various servers accessible by the computer or in various recording media on the computer of the user. In addition, the medium may be distributed in a computer system connected by a network, and a computer readable code may be stored in a distributed manner.

이상, 첨부된 도면을 참조로 하여 본 명세서의 실시예를 설명하였지만, 본 명세서가 속하는 기술분야의 통상의 기술자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로, 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며, 제한적이 아닌 것으로 이해해야만 한다. In the above, the embodiments of the present specification have been described with reference to the accompanying drawings, but those skilled in the art to which this specification belongs can realize that the present invention can be embodied in other specific forms without changing the technical spirit or essential features thereof. you will be able to understand Therefore, it should be understood that the embodiments described above are illustrative in all respects and not restrictive.

100 : 측정값 정확도 향상 장치
110 : 카메라
120 : 제어부
130 : 메모리부
100: measurement value accuracy improvement device
110: camera
120: control unit
130: memory unit

Claims (1)

센서스트립의 필름부를 촬영한 이미지를 출력하는 카메라; 및
상기 촬영된 필름부 이미지에서 필름부의 중심점을 찾고, 상기 중심점에서 필름부의 바깥쪽으로 향하는 상기 이미지 내 픽셀의 밝기 변화값을 이용하여 상기 카메라에서 출력된 이미지의 특성값을 산출하는 제어부;를 포함하는 측정값 정확도 향상 장치.
a camera for outputting an image of the film portion of the sensor strip; and
A control unit that finds a central point of the film part in the photographed film part image, and calculates a characteristic value of the image output from the camera by using a brightness change value of a pixel in the image facing out of the film part from the central point; Value Accuracy Enhancement Device.
KR1020200048564A 2019-11-28 2020-04-22 Measurement accuracy enhancing apparatus using brightness changing of image pixels capturing sensor and method thereof KR102552865B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200048564A KR102552865B1 (en) 2019-11-28 2020-04-22 Measurement accuracy enhancing apparatus using brightness changing of image pixels capturing sensor and method thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020190155316A KR102111108B1 (en) 2019-11-28 2019-11-28 Measurement accuracy enhancing apparatus using brightness changing of image pixels capturing sensor and method thereof
KR1020200048564A KR102552865B1 (en) 2019-11-28 2020-04-22 Measurement accuracy enhancing apparatus using brightness changing of image pixels capturing sensor and method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020190155316A Division KR102111108B1 (en) 2019-11-28 2019-11-28 Measurement accuracy enhancing apparatus using brightness changing of image pixels capturing sensor and method thereof

Publications (2)

Publication Number Publication Date
KR20210066688A true KR20210066688A (en) 2021-06-07
KR102552865B1 KR102552865B1 (en) 2023-07-10

Family

ID=70737269

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020190155316A KR102111108B1 (en) 2019-11-28 2019-11-28 Measurement accuracy enhancing apparatus using brightness changing of image pixels capturing sensor and method thereof
KR1020200048564A KR102552865B1 (en) 2019-11-28 2020-04-22 Measurement accuracy enhancing apparatus using brightness changing of image pixels capturing sensor and method thereof

Family Applications Before (1)

Application Number Title Priority Date Filing Date
KR1020190155316A KR102111108B1 (en) 2019-11-28 2019-11-28 Measurement accuracy enhancing apparatus using brightness changing of image pixels capturing sensor and method thereof

Country Status (1)

Country Link
KR (2) KR102111108B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001251613A (en) * 2000-03-07 2001-09-14 Olympus Optical Co Ltd Endoscope system
JP2015533211A (en) * 2012-09-05 2015-11-19 ジェナ、シドハントJENA, Sidhant Portable medical diagnostic system and method using mobile device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001251613A (en) * 2000-03-07 2001-09-14 Olympus Optical Co Ltd Endoscope system
JP2015533211A (en) * 2012-09-05 2015-11-19 ジェナ、シドハントJENA, Sidhant Portable medical diagnostic system and method using mobile device

Also Published As

Publication number Publication date
KR102552865B1 (en) 2023-07-10
KR102111108B1 (en) 2020-05-14

Similar Documents

Publication Publication Date Title
US11802839B2 (en) Quantifying color changes in chemical test pads induced by different concentrations of analytes under different lighting conditions
KR102603366B1 (en) Methods and devices for performing analytical measurements
CN106254860B (en) The calibrating installation of camera, the calibration method of camera arrangement and camera
US11074721B2 (en) Method for measuring objects in digestive tract based on imaging system
US11538151B2 (en) Method for measuring objects in digestive tract based on imaging system
CN108055532A (en) Automate the method and apparatus of matching test card
CN111028779B (en) Display panel compensation method and device and display panel
WO2021008052A1 (en) Lens accuracy calibration method, apparatus and device for 3d photographic module
CN106302912A (en) The characteristic method of mobile terminal alignment light sensation and mobile terminal
KR20180093313A (en) Method and apparatus for identifying location/angle of terminal
KR102552865B1 (en) Measurement accuracy enhancing apparatus using brightness changing of image pixels capturing sensor and method thereof
EP2950082B1 (en) Calibration method, calibration system, and bodily-fluid component measurement device calibrated using said method
KR102136194B1 (en) Light control apparatus for colorimetric and method thereof
CN117007528A (en) Automatic calibration refractometer based on intelligent terminal
CN116430069A (en) Machine vision fluid flow velocity measuring method, device, computer equipment and storage medium
US20210285946A1 (en) Strip detecting apparatus
CN107316293B (en) LED fuzzy picture identification and judgment method and system
CN112752014A (en) Urine detection method, urine detection device and computer-readable storage medium
CN113177591A (en) pH detection method
US20240102934A1 (en) Test Strip Carrier, System and Method for Test Strip Detection
EP3954990B1 (en) Test strip fixation device for optical measurements of an analyte
CN118694917A (en) Camera testing method, device, equipment, medium and program product
CN110675380A (en) Method for calibrating position of metal plug on circuit board and storage medium
CN115063464A (en) Depth value determination device and method, depth sensing module and electronic equipment
CN115567788A (en) Noise removing method, system and device and electronic equipment

Legal Events

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