KR101195917B1 - Acquisition method of Tongue Diagnosis Region - Google Patents

Acquisition method of Tongue Diagnosis Region Download PDF

Info

Publication number
KR101195917B1
KR101195917B1 KR1020100056561A KR20100056561A KR101195917B1 KR 101195917 B1 KR101195917 B1 KR 101195917B1 KR 1020100056561 A KR1020100056561 A KR 1020100056561A KR 20100056561 A KR20100056561 A KR 20100056561A KR 101195917 B1 KR101195917 B1 KR 101195917B1
Authority
KR
South Korea
Prior art keywords
tongue
region
point
value
color
Prior art date
Application number
KR1020100056561A
Other languages
Korean (ko)
Other versions
KR20110136502A (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 KR1020100056561A priority Critical patent/KR101195917B1/en
Publication of KR20110136502A publication Critical patent/KR20110136502A/en
Application granted granted Critical
Publication of KR101195917B1 publication Critical patent/KR101195917B1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/45For evaluating or diagnosing the musculoskeletal system or teeth
    • A61B5/4538Evaluating a particular part of the muscoloskeletal system or a particular medical condition
    • A61B5/4542Evaluating the mouth, e.g. the jaw
    • A61B5/4552Evaluating soft tissue within the mouth, e.g. gums or tongue
    • G06T5/70
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/90Determination of colour characteristics
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10024Color image

Abstract

혀 진단 영역 추출 방법을 개시한다. 상기 혀 진단 영역 추출 방법은 외부에서 RGB 컬러좌표로 구현된 혀 영상을 제공하는 제1단계, 상기 혀 영상의 컬러 좌표를 제1컬러영역, 제2컬러영역 및 제3컬러영역를 포함하는 LAB 컬러 좌표로 변환하고, 상기 LAB 컬러 좌표에 대한 히스토그램 평준화 처리를 실시하는 제2단계, 상기 평준화된 LAB 컬러 좌표를 이용하여 혀 윤곽 점과 혀 윤곽 선을 추출하는 제3단계, 및 상기 혀 윤곽 점과 혀 윤곽 선을 샘플링하여 스무딩(Smoothing)한 혀 경계면으로 복원하는 제4단계를 포함하며, 상기 제1컬러영역은 명암영역을, 상기 제2컬러영역은 빨간색과 초록색의 보색영역을, 상기 제3영역은 노란색과 파란색의 보색영역인 것을 특징으로 하는 혀 진단 영역 추출 방법.A method for extracting a tongue diagnosis region is disclosed. The method of extracting a tongue diagnosis region may include a first step of providing a tongue image implemented with RGB color coordinates externally, and LAB color coordinates including color coordinates of the tongue image including a first color region, a second color region, and a third color region. A second step of converting to and performing a histogram equalization process on the LAB color coordinates, a third step of extracting a tongue outline point and a tongue outline using the leveled LAB color coordinates, and the tongue outline point and the tongue Sampling a contour line and restoring to a smoothed tongue boundary surface, wherein the first color region is a contrast region, the second color region is a red and green complementary region, and the third region. Tongue diagnostic region extraction method characterized in that the complementary region of yellow and blue.

Description

혀 진단 영역 추출 방법{Acquisition method of Tongue Diagnosis Region}Acquisition method of Tongue Diagnosis Region

본 발명은 한의학 진단 방법에 관한 것으로, 보다 상세하게는 혀 진단 영역 추출 방법에 관한 것이다.
The present invention relates to a method for diagnosing oriental medicine, and more particularly, to a method for extracting a tongue diagnosis region.

한의학에서는 사진이라 하여 망진, 문진, 절진으로 하여 감각을 이용하여 진단을 하고 있다. 이중 망진은 보고 진단하는 방법을 이르는데, 정보의 많은 부분을 시각으로 받아들이므로 한의학의 진단법에서 중요한 요소이다. In oriental medicine, photography is called as ruin, questionnaire, and laps to diagnose using the senses. Dual diagnosis is a method of reporting and diagnosis, which is important in the diagnosis of oriental medicine because much of the information is taken visually.

설진은 이러한 망진 방법 중에 하나로서 혀를 시각적으로 관찰하여 진단하는 방법이다.Seoljin is one of these ruined methods to visually observe and diagnose the tongue.

크게 설진은 두 가지로 나누어지는데 혀의 형태와 혀의 색택이 중요한 요소이다. 혀의 형태는 혀의 외곽의 이빨자국인 치흔, 표면의 균열, 부피 등을 구하며, 혀의 색택은 설체 내의 설질과 설태의 분포를 구하여 설질과 설태의 색택을 구하도록 한다. There are two major categories of seoljin, the shape of the tongue and the color of the tongue is an important factor. The shape of the tongue obtains the tooth marks, the cracks on the outer surface of the tongue, the cracks and the volume of the tongue, and the color of the tongue obtains the color distribution of the tongues and tongues by obtaining the distribution of tongues and tongues in the tongue.

그러나, 한의사의 몸 상태나 심리적 요인 주변의 광원 조건에 따라 진단 결과가 달라지므로, 설진의 표준화는 매우 시급하다. 이러한 표준화를 위해 혀를 정량적으로 분석할 수 있는 기기가 필요한데, 이 기기는 광원과 카메라 그리고 카메라로 취득한 영상을 분석하는 소프트웨어로 구성된다. However, since the diagnosis results vary depending on the condition of the oriental medical doctor and the light source conditions around the psychological factors, standardization of the diagnosis is very urgent. This standardization requires a device that can quantitatively analyze the tongue, which consists of a light source, a camera, and software that analyzes images captured by the camera.

더욱 중요한 것은 주변의 다른 빛에 노출되지 않도록 암실을 구성하는 것이 필요한데 이를 위해서는 얼굴 모양과 유사하게 부착 부분을 구성하여야 한다. 또한 광원이 혀로부터 반사되지 않도록 하는 것이 필요하다. 이를 해결하기 위한 장치가 개발되었고, 이를 통하여 취득한 영상을 분석하는 것이 필요한데, 혀를 분석하기 위해 가장 필요한 것은 혀 진단 영역을 올바르게 추출하는 것이다.
More importantly, it is necessary to configure the darkroom so that it is not exposed to other light around it. It is also necessary to ensure that the light source is not reflected from the tongue. A device has been developed to solve this problem, and it is necessary to analyze the acquired images. The most necessary thing to analyze the tongue is to correctly extract the diagnosis region of the tongue.

본 발명이 해결하고자 하는 과제는 조명 조건의 변화에 따라 변화하는 혀 진단 영역 추출방법을 향상시켜 혀의 외각의 모양과 주변 환경을 구분하여 치흔 또는 균열 등을 정확한 유무를 파악할 수 있는 새로운 혀 진단 영역 추출 방법을 제공하는 것이다.
The problem to be solved by the present invention is to improve the method of extracting the tongue diagnosis area that changes according to the change in the lighting conditions to distinguish the appearance of the tongue and the surrounding environment to identify a new tongue diagnosis area that can accurately identify the presence of the scars or cracks, etc. It is to provide an extraction method.

상기 과제를 해결하기 위한 본 발명의 실시예에 따른 혀 진단 영역 추출 방법은 외부에서 RGB 컬러좌표로 구현된 혀 영상을 제공하는 제1단계, 상기 혀 영상의 컬러 좌표를 제1컬러영역, 제2컬러영역 및 제3컬러영역을 포함하는 LAB 컬러 좌표로 변환하고, 상기 LAB 컬러 좌표에 대한 히스토그램 평준화 처리를 실시하는 제2단계, 상기 평준화된 LAB 컬러 좌표를 이용하여 혀 윤곽 점과 혀 윤곽 선을 추출하는 제3단계 및 상기 혀 윤곽 점과 혀 윤곽 선을 샘플링하여 스무딩(Smoothing)한 혀 경계면으로 복원하는 제4단계를 포함하며, 상기 제1컬러영역은 명암영역을, 상기 제2컬러영역은 빨간색과 초록색의 보색영역을, 상기 제3영역은 노란색과 파란색의 보색영역인 것을 특징으로 한다.
In accordance with an aspect of the present invention, there is provided a method for extracting a tongue diagnosis region according to an embodiment of the present invention. The method includes: a first step of providing a tongue image implemented with RGB color coordinates; A second step of converting the LAB color coordinates including a color region and a third color region, and performing a histogram equalization process on the LAB color coordinates; A third step of extracting and a fourth step of sampling the tongue contour point and the tongue contour line and restoring the smoothed tongue boundary surface, wherein the first color region is a contrast region, and the second color region is Complementary red and green complementary regions, and the third region is characterized in that the complementary yellow and blue regions.

상기 제2단계의 혀 윤곽 점을 추출하는 단계는 상기 LAB 컬러좌표 상의 상기 혀의 x축 중심점을 구하는 단계, 상기 LAB 컬러좌표 상의 상기 혀의 x축 중심점을 이용하여 목구멍이 시작되는 지점을 구하는 단계, 상기 LAB 컬러좌표 상의 상기 혀가 시작되는 점을 구하는 단계, 상기 LAB 컬러좌표 상의 상기 혀 위쪽의 경계점을 구하는 단계 및 상기 LAB 컬러좌표 상의 상기 혀 좌우 점을 구하는 단계를 포함한다.
The extracting of the tongue outline point of the second step may include obtaining an x-axis center point of the tongue on the LAB color coordinates, and obtaining a point where the throat starts using the x-axis center point of the tongue on the LAB color coordinates. And obtaining a point at which the tongue starts on the LAB color coordinates, obtaining a boundary point above the tongue on the LAB color coordinates, and obtaining the tongue left and right points on the LAB color coordinates.

상기 혀의 x축 중심점을 구하는 단계는, 상기 제1컬러영역에서 수학식1과 수학식2를 이용한다.In the obtaining of the x-axis center point of the tongue, Equation 1 and Equation 2 are used in the first color area.

상기 LAB 컬러좌표 상의 상기 혀의 x축 중심점을 이용하여 목구멍이 시작되는 지점은 상기 목구멍의 명암값이 가장 작은 값을 갖는 지점이며, 입술과 상기 목구멍의 경계면이 가장 크게 되는 값을 나타내는 지점인 것을 특징으로 한다.
The point where the throat starts using the x-axis center point of the tongue on the LAB color coordinate is the point where the contrast value of the throat is the smallest, and the point where the interface between the lips and the throat is the largest. It features.

상기 LAB 컬러좌표 상의 상기 혀가 시작되는 점은 수학식 3인 △A(xcent,y)=A(xcent,y+t)-A(xcent,y-t)을 이용하여 상기 혀와 턱부분에서 상기 A값의 변화가 가장 큰 값을 이용하여 나타낸다.The starting point of the tongue on the LAB color coordinates is ΔA (xcent, y) = A (xcent, y + t) -A (xcent, yt) using Equation 3, wherein A The change in value is represented using the largest value.

상기 LAB 컬러좌표 상의 상기 혀 위쪽의 경계점은 상기 혀 아래 점으로부터 입술 아래 점으로 이동하여 혀의 위점을 찾아내며, 입술 아래 점의 명암 값과 상기 입술 아래 점의 명암 값의 작거나 같은 값을 혀 위점으로 이용한다.
The upper boundary point of the tongue on the LAB color coordinates moves from the lower point of the tongue to the lower point of the lip to find the upper point of the tongue, and the tongue value is equal to or smaller than the contrast value of the lower point of the lip and the lower point of the lip. Use as a disadvantage.

상기 LAB 컬러좌표 상의 상기 혀 좌우 점을 구하는 단계는 상기 혀의 중심점을 검색하는 단계, 상기 혀의 수직경계점을 검색하는 단계 및 상기 혀의 대각경계점을 검색하는 단계를 포함한다.Obtaining the tongue left and right points on the LAB color coordinates includes searching for a center point of the tongue, searching for a vertical boundary point of the tongue, and searching for a diagonal boundary point of the tongue.

상기 혀의 수직경계점을 검색하는 단계는 상기 혀의 중심점으로부터 왼쪽과 오른쪽 각각을 이동하여 상기 A값의 경계가 최대가 되는 값을 찾는 단계인 것을 특징으로 한다.
The searching of the vertical boundary point of the tongue may be a step of finding a value at which the boundary of the A value is maximized by moving each of the left and right sides from the center point of the tongue.

상기 대각경계점을 검색하는 단계는 상기 혀의 중심점으로부터 왼쪽과 오른쪽 각각을 이동하여 상기 A값의 경계가 최대가 되는 값을 찾는 단계인 것을 특징으로 하며, 상기 혀 표면의 명암값이 일정 값 이상의 값이 나오면 혀 경계 값이 아닌 것으로 간주한다.
The step of searching for the diagonal boundary is a step of finding a value at which the boundary of the A value is maximized by moving each of the left and right sides from the center point of the tongue, and the contrast value of the tongue surface is a predetermined value or more. Is considered to be not a tongue boundary.

상기 제3단계의 혀 윤곽 선을 추출하는 단계는, 상기 혀 중심점을 기준으로 적어도 4개이상의 영역으로 상기 혀의 영역을 구분하는 기준 영역 분할 단계, 상기 혀를 수평으로 분할하는 수평분할 추출 단계, 및 상기 혀를 수직으로 분할하는 수직경계 추출 단계를 포함한다.The extracting of the tongue outline of the third step may include: a reference region division step of dividing the area of the tongue into at least four areas based on the tongue center point, a horizontal division extraction step of dividing the tongue horizontally; And a vertical boundary extraction step of vertically dividing the tongue.

상기 제4단계는 Catmull-Rom Spline curve를 이용하여 smoothing하는 것을 특징으로 한다.
The fourth step is characterized in that the smoothing using a Catmull-Rom Spline curve.

본 발명에 따르면, 조명 조건이 밝은 곳에서 촬영한 영상과 조명 조건을 바꾼 어두운 영상, 혀의 움직임 blurring된 영상의 세 경우에 대해 모두 경계면이 올바로 검출되는 효과가 있다. 이는 어두운 곳이나 움직임에서는 LAB 좌표에서 상대적으로 A의 좌표 값과 L의 좌표 값이 히스토그램 평준화로 경계면이 향상되어, 혀 검출의 성능 저하가 일어나지 않는다.According to the present invention, the boundary surface is correctly detected in all three cases of an image photographed in a bright place, a dark image in which the illumination condition is changed, and a blurring image of the movement of the tongue. This is because in dark places or in motion, the boundary of the coordinates of A and L in the LAB coordinates is improved by the histogram equalization, so that the performance of tongue detection is not degraded.

이 알고리즘은 혀와 얼굴의 구조적인 특징을 잘 잡아내서 혀를 검출하도록 한다. 위 부분은 목구멍과 혀의 경계면을 이용하여 추출하고, 아래 부분은 컬러 차이를 이용하여 추출한다.This algorithm captures the structural features of the tongue and face to detect the tongue. The upper part is extracted using the interface between the throat and the tongue, and the lower part is extracted using the color difference.

앞으로의 연구 방향은 혀 외곽의 모양과 환경을 구분하여 치흔 또는 균열 등을 정확히 파악하여 질병의 유무를 판단하도록 한다. 이러한 시스템은 건강 진단할 수 있는 u-health 시스템으로 발전할 것이다.
The future direction of research is to distinguish the shape of the outer tongue and the environment to accurately identify the scars or cracks to determine the presence of disease. Such a system will evolve into a u-health system that can diagnose health.

도 1은 본 발명의 실시 예에 따른 혀 진단 영역 추출 방법을 나타낸 플로우 챠트이다.
도 2는 도 1에 도시된 윤곽점 검색 단계 중 혀 좌우 점을 구하는 단계를 보다 상세하게 설명하기 위한 플로우 챠트이다.
도 3은 도 1에 도시된 윤곽선 추출단계를 보다 구체적으로 나타낸 플로우 챠트이다.
도 4는 본 발명의 실시 예에 따른 혀의 윤곽선을 구하기 위해 중심점으로 부터 분할된 복수의 영역을 나타낸 예시도이다.
1 is a flowchart illustrating a method of extracting a tongue diagnosis region according to an exemplary embodiment of the present invention.
FIG. 2 is a flowchart for explaining in detail the step of obtaining the tongue left and right points in the contour point search step shown in FIG. 1.
3 is a flowchart illustrating the outline extracting step illustrated in FIG. 1 in more detail.
4 is an exemplary view illustrating a plurality of regions divided from a center point to obtain a contour of a tongue according to an exemplary embodiment of the present invention.

이하, 첨부한 도면을 참조하여 본 발명의 바람직한 실시 예를 설명함으로써, 본 발명을 상세히 설명한다.BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the preferred embodiments of the present invention with reference to the accompanying drawings.

도 1은 본 발명의 실시 예에 따른 혀 진단 영역 추출 방법을 나타낸 플로우 챠트이다.1 is a flowchart illustrating a method of extracting a tongue diagnosis region according to an exemplary embodiment of the present invention.

도 1에 도시된 바와같이, 혀 진단 영역 추출 방법(10)은 제1단계(S10) 내지 제4단계(S50)를 포함한다.As shown in FIG. 1, the method for extracting a tongue diagnosis region 10 may include first steps S10 to fourth steps S50.

제1단계(S10)는 외부에서 RGB 컬러 좌표로 구현된 혀 영상을 제공하는 단계일 수 있다.The first step S10 may be a step of providing a tongue image implemented with an external RGB color coordinate.

제2단계(S20)는 상기 혀 영상의 컬러 좌표를 제1컬러 좌표영역(L), 제2컬러좌표영역(A) 및 제3컬러 좌표영역(B)를 포함하는 LAB 컬러 좌표로 변환하고, 상기 LAB 컬러 좌표에 대한 히스토그램 평준화 처리(histogram equlization processing)를 실시하는 단계일 수 있다. In a second step S20, color coordinates of the tongue image are converted into LAB color coordinates including a first color coordinate region L, a second color coordinate region A, and a third color coordinate region B. The histogram equalization processing may be performed on the LAB color coordinates.

제3단계(S40)는 평준화된 LAB 컬러 좌표를 이용하여 혀 윤곽 점과 혀 윤곽 선을 추출하는 단계일 수 있다.The third step S40 may be a step of extracting the tongue outline points and the tongue outline lines using the leveled LAB color coordinates.

제4단계(S50)는 상기 혀 윤곽 점과 상기 혀 윤곽 선을 샘플링(sampling)하여 조합하여 부드러워진 혀 경계면으로 복원하는 단계일 수 있다.The fourth step S50 may be a step of restoring the tongue contour point and the tongue contour line by sampling and combining the tongue contour point and the tongue contour line.

상기 제1컬러 좌표영역(L)은 명암영역을, 상기 제2컬러 좌표영역(A)은 빨간색과 초록색의 보색영역을, 상기 제3컬러 좌표영역(B)은 노란색과 파란색의 보색영역을 나타낸다.
The first color coordinate region L represents a light and dark region, the second color coordinate region A represents a red and green complementary color region, and the third color coordinate region B represents a yellow and blue complementary color region. .

보다 구체적으로, 제1단계(S10)는 RGB 컬러(예컨대, 빨강, 녹색, 파랑색)에 기반한 혀 좌표 영상을 제공하는 단계일 수 있다.More specifically, the first step S10 may be a step of providing a tongue coordinate image based on an RGB color (eg, red, green, and blue).

제2단계(S20)는 제1단계(S10)에서 취득한 영상의 RGB 컬러 좌표를 LAB 컬러 좌표로 변환하며, 상기 변환된 LAB 컬러 좌표 상에 분포된 각 컬러들의 평준화를 위하여 히스토그램 평준화 처리(histogram equlization processing)를 수행하여 각 컬러에서 혀 경계면의 컬러 분포를 확대시켜 경계의 명확성을 높이는 단계일 수 있다.The second step S20 converts RGB color coordinates of the image acquired in the first step S10 into LAB color coordinates, and histogram equalization processing for leveling of each color distributed on the converted LAB color coordinates. processing may be performed to increase the clarity of the boundary by enlarging the color distribution of the tongue boundary surface in each color.

이때, 상기 LAB 컬러 좌표로 나타내는 혀의 영역은 제1컬러 좌표영역(예컨대,명암영역(L))과 제2컬러 좌표영역(예컨대,적색 계통의 영역(A))이 대부분 분포하므로 제1컬러 좌표영역(L)과 제2컬러 좌표영역(A)의 값의 변화가 매우 중요할 수 있다. In this case, the first color coordinate region (eg, the contrast region L) and the second color coordinate region (eg, the region A of the red system) are mostly distributed in the tongue region represented by the LAB color coordinates. Changes in the values of the coordinate region L and the second color coordinate region A may be very important.

제3단계(S40)는 평준화된 LAB 컬러 좌표를 이용하여 혀 윤곽 점과 혀 윤곽 선을 추출하는 단계일 수 있다.The third step S40 may be a step of extracting the tongue outline points and the tongue outline lines using the leveled LAB color coordinates.

이때, 제3단계(S40)의 혀 윤곽 점을 추출하는 단계(S30)는 상기 LAB 컬러좌표 상의 상기 혀의 x축 중심점 검색 단계(S31), 상기 LAB 컬러좌표 상의 상기 혀의 x축 중심점을 이용하여 목구멍이 시작되는 지점을 구하는 단계, 상기 LAB 컬러좌표 상의 상기 혀가 시작되는 점을 구하는 단계, 상기 LAB 컬러좌표 상의 상기 혀 위쪽의 경계점을 구하는 단계 및 상기 LAB 컬러좌표 상의 상기 혀 좌우 점을 구하는 단계를 포함한다.At this time, extracting the tongue contour point of the third step (S40) (S30) is the step of searching the x-axis center point of the tongue on the LAB color coordinates (S31), using the x-axis center point of the tongue on the LAB color coordinates Obtaining a point where the throat begins, obtaining a point at which the tongue starts on the LAB color coordinates, obtaining a boundary point above the tongue on the LAB color coordinates, and obtaining the tongue left and right points on the LAB color coordinates Steps.

보다 구체적으로, 혀의 x축 중심점 검색 단계(S31)는 상기 제1컬러 좌표영역(L)에서 아래에 제시된 수학식1과 수학식2를 이용하여 구할 수 있다.
More specifically, the x-axis center point search step S31 of the tongue may be obtained by using Equations 1 and 2 shown below in the first color coordinate area L. FIG.

[수학식 1][Equation 1]

Figure 112010038408839-pat00001
Figure 112010038408839-pat00002
Figure 112010038408839-pat00001
Figure 112010038408839-pat00002

여기서, L은 제1컬러 좌표영역 값을 나타내며, t는 임의의 정수를 나타내며, d(x)는 혀의 좌우값에 따라 제1컬러 좌표영역(L) 값이 최소가 되는 x축 지점을 나타낸다. Here, L represents a value of the first color coordinate region, t represents an arbitrary integer, and d (x) represents an x-axis point at which the value of the first color coordinate region L is minimum according to the left and right values of the tongue. .

[수학식 2]&Quot; (2) "

Figure 112011061921869-pat00021
Figure 112011061921869-pat00021

예컨대, xcent는 제1컬러 좌표영역(L) 값이 최소가 되는 점중 가장 작은 값을 갖는 x축의 지점을 나타낸다.
For example, x cent represents a point on the x-axis having the smallest value among the points at which the value of the first color coordinate area L becomes the minimum.

대부분의 혀는 좌우가 대칭을 이루기 때문에 먼저 수학식1과 같이 제1컬러 좌표영역(L)에서 수학식2를 이용하여 혀의 좌우 대칭값의 차이가 최소가 되는 x축의 위치를 구하도록 한다.Since most tongues are symmetrical, first, the position of the x-axis where the difference in the symmetry of the tongue is minimized is calculated by using Equation 2 in the first color coordinate region L as shown in Equation 1 below.

다음으로, 목구멍이 시작되는 지점을 구하는 단계는 LAB 컬러좌표 상의 상기 혀의 x축 중심점을 이용하며, 상기 목구멍의 제1컬러 좌표영역(L) 값이 가장 작은 값을 갖는 지점을 구하는 단계일 수 있으며, 입술과 상기 목구멍의 경계면(ybelow)이 가장 크게 되는 값을 나타내는 지점(△A)을 구하는 단계이다. 참고로, 아래에 제시된 수학식3을 이용하여 목구멍이 시작되는 지점을 찾을 수 있다.Next, the step of obtaining the point where the throat starts is a step of finding a point having the smallest value of the first color coordinate region L of the throat using the x-axis center point of the tongue on the LAB color coordinate. It is a step of obtaining a point ΔA representing a value at which the boundary surface of the lips and the throat y below is the largest. For reference, the point where the throat starts can be found by using Equation 3 below.

[수학식 3]&Quot; (3) "

Figure 112010038408839-pat00004
Figure 112010038408839-pat00004

여기서, △A는 y축에서 임의의 t(예컨대, t는 정수)에 따라 제2컬러 좌표영역 값이 가장 작아지는 값을 나타낸다.
[Delta] A denotes a value at which the second color coordinate region value becomes smallest according to an arbitrary t (e.g., t is an integer) on the y axis.

다음으로, 상기 LAB 컬러좌표 상의 상기 혀 위쪽의 경계점을 구하는 단계는 상기 혀 아래 점으로부터 입술 아래 점으로 이동하여 혀의 위점을 찾아내며, 입술 아래 점의 제1컬러 좌표영역(L) 값과 상기 입술 아래 점의 명암 값이 작거나 같은 값을 구하는 단계일 수 있으며, 이때 구하는 값은 혀 위점으로 나타낼 수 있다.Next, obtaining the boundary point of the upper tongue on the LAB color coordinates to find the upper point of the tongue by moving from the lower point of the tongue to the lower point of the lips, the value of the first color coordinate region (L) of the lower point of the lips and the It may be a step of obtaining a value having a lower or lower contrast value of the point under the lip, and the value may be expressed as a tongue point.

이때, 혀 아래 위치점은 혀와 얼굴 피부의 적색 성분이 포함된 제2컬러 좌표영역(A) 값의 경계의 차이가 가장 큰 곳에서 랜덤하게 찾을 수 있다.
In this case, the location point under the tongue may be randomly found at the position where the boundary between the value of the second color coordinate region A including the red component of the tongue and the facial skin is the largest.

도 2는 도 1에 도시된 윤곽점 검색 단계 중 혀 좌우 점을 구하는 단계를 보다 상세하게 설명하기 위한 플로우 챠트이다.FIG. 2 is a flowchart for explaining in detail the step of obtaining the tongue left and right points in the contour point search step shown in FIG. 1.

다음으로, 도 2에 도시된 바와같이, LAB 컬러좌표 상의 상기 혀 좌우 점을 구하는 단계는 상기 혀의 중심점을 검색하는 단계(S31), 상기 혀의 수직 경계점을 검색하는 단계(S32), 상기 혀의 수평 경계점을 검색하는 단계(S33) 및 상기 혀의 대각 경계점을 검색하는 단계(S35)를 포함한다.Next, as shown in FIG. 2, the step of obtaining the left and right tongue points on the LAB color coordinates may include searching for a center point of the tongue (S31), searching for a vertical boundary point of the tongue (S32), and the tongue. Retrieving a horizontal boundary point of (S33) and retrieving a diagonal boundary point of the tongue (S35).

상기 혀의 수직 경계점을 검색하는 단계(S32)와 상기 혀의 수평 경계점을 검색하는 단계(S33)의 순서는 변경 가능할 수 있다.The order of searching for the vertical boundary point of the tongue (S32) and the searching of the horizontal boundary point of the tongue (S33) may be changeable.

상기 혀의 중심점을 검색하는 단계는 아래에 제시된 수학식4를 이용한다.The searching of the center point of the tongue uses Equation 4 shown below.

[수학식 4]&Quot; (4) "

Figure 112010038408839-pat00005
Figure 112010038408839-pat00005

예컨대, xcent는 제1컬러 좌표영역(L) 값이 최소가 되는 점중 가장 작은 값을 갖는 x축의 지점을 나타내며, ycent는 y축 임의의 상부 지점(yabove)과 y축 임의의 하부 지점(ybelow)의 중간값을 갖는 지점을 나타낸다.
For example, x cent represents a point on the x-axis having the smallest value among the points at which the first color coordinate region L becomes the minimum, and y cent represents a point above the y-axis and a point below the y-axis. (y below ) indicates a point with a median.

상기 혀의 수직경계점을 검색하는 단계(S32)는 상기 혀의 중심점으로부터 왼쪽과 오른쪽 각각을 이동하면서 상기 제1컬러 좌표영역(L) 값의 경계가 최대가 되는 점(xleft,ycent),(xright,ycent)을 찾는 단계일 수 있다.Searching for the vertical boundary point of the tongue (S32) is a point (x left , y cent ) that the boundary of the value of the first color coordinate region (L) is the maximum while moving each of the left and right from the center point of the tongue, It may be a step of finding (x right , y cent ).

상기 대각 경계점을 검색하는 단계(S35)는 외부에 주입되는 조명에 의해 혀 표면에 반사가 일어나는데 이 부분에서 제1컬러 좌표영역(L) 값의 포화(saturation) 상태가 발생하여 경계면이 크게 될 수 있다.
In the searching of the diagonal boundary point (S35), reflection is generated on the surface of the tongue by illumination injected from the outside, where a saturation state of the value of the first color coordinate region L may occur, thereby increasing the boundary surface. have.

따라서, 이러한 포화 상태를 억제하기 위해 상기 혀의 중심점으로부터 왼쪽과 오른쪽 각각을 이동하여 상기 제1컬러 좌표영역(L) 값의 경계가 최대가 되는 값을 찾는 단계일 수 있다. Accordingly, in order to suppress such a saturation state, each of the left and right sides may be moved from the center point of the tongue to find a value at which the boundary of the first color coordinate region L is maximized.

이때, 상기 혀 표면의 제1컬러 좌표영역(L) 값이 일정 값 이상의 값이 나오면 혀 경계 값이 아닌 것으로 간주하도록 하는 것이 바람직하다.
In this case, when the value of the first color coordinate region L on the surface of the tongue is greater than or equal to a predetermined value, it is preferable that the value of the tongue is not regarded as the tongue boundary value.

도 3은 도 1에 도시된 윤곽선 추출단계를 보다 구체적으로 나타낸 플로우 챠트이며, 도 4는 본 발명의 실시 예에 따른 혀의 윤곽선을 구하기 위해 중심점으로 부터 분할된 복수의 영역을 나타낸 예시도이다.3 is a flowchart illustrating the contour extraction step illustrated in FIG. 1 in more detail, and FIG. 4 is an exemplary view illustrating a plurality of regions divided from a center point to obtain a contour of a tongue according to an exemplary embodiment of the present invention.

도 3에 도시된 바와같이, 혀 윤곽 선을 추출하는 단계(S35)는 혀 중심점을 기준으로 적어도 4개 이상의 영역으로 상기 혀의 영역을 구분하는 기준 영역 분할 단계(S36), 상기 혀를 수직으로 분할하는 수직분할 추출 단계(S37) 및 혀를 수평으로 분할하는 수평경계 추출 단계(S38)를 포함한다.
As shown in Figure 3, extracting the tongue contour (S35) is a reference region division step (S36) for dividing the region of the tongue into at least four or more regions based on the tongue center point, the tongue vertically Vertical division extraction step S37 for dividing and horizontal boundary extraction step S38 for dividing the tongue horizontally.

보다 구체적으로, 기준 영역 분할 단계(S36)는 혀의 중심점을 기준으로 90°각도로 4개의 영역으로 분별하여 윤곽선을 다르게 구하는 단계일 수 있으며, 이때, 각 영역에서 추출되는 컬러의 특성은 서로 다를 수 있다.More specifically, the reference region dividing step (S36) may be a step of dividing the contour into four regions at 90 ° angles based on the center point of the tongue to obtain different contours, wherein the characteristics of the color extracted from each region are different from each other. Can be.

즉, 도 4를 참조하면, 혀의 모양을 볼록한 4개의 범위로 나누는 것인데 Ul은 어퍼 레프트(Upper left)를 의미하며, Ur은 어퍼 라이트(Upper right)를 의미하며, Ll은 로우어 레프트(Lower left)를 의미하며, Lr은 로우어 라이트(Lower right)를 의미한다. That is, referring to FIG. 4, the shape of the tongue is divided into four convex ranges, where Ul means Upper left, Ur means Upper right, and Ll Lower. left), and Lr means lower right.

먼저 혀 중심점 위 윤곽선을 구하기 위해 혀 위점 주변은 혀의 경계가 목구멍 근처라 모호하므로 혀 위점 가로 방향에서 y축 방향의 일정 범위의 최소값을 찾으며, 그리고 나서 각 최소값들의 큰 값을 임계 값(Tlip)으로 정하도록 하는 것이 바람직하다. First, to find the outline above the center of the tongue, the periphery of the tongue is ambiguous because the border of the tongue is near the throat, so find the minimum value in the y-axis direction in the transverse direction of the tongue, and then use the threshold value (T lip). It is desirable to determine

그 다음은 혀의 중심점에서 위 방향인 수직 방향으로 진행하며 제1컬러 좌표영역(L) 값이 임계값(Tlip)보다 작아지는 처음 위치점을 경계로 찾아 혀의 중심점의 위 경계면으로 정하도록 한다. Next, proceed from the central point of the tongue in the vertical direction, the first position of the first color coordinate area (L) is smaller than the threshold (T lip ) as a boundary to determine the upper boundary of the center point of the tongue do.

이러한 과정은 목구멍이 존재하는 곳에서 찾고, 각 영역에서 이러한 과정을 45°각도까지 진행하는 것이 바람직하다. It is desirable to find this process where the throat is present and to proceed this process at an angle of 45 ° in each area.

그 이유로는 목구멍 이외의 영역에서는 다른 방법이 필요하기 때문이다. 따라서 각 영역의 45°부터 제1컬러 좌표영역(L) 값의 최소값이 되는 곳을 찾는데 이때 45°위치에서 찾은 경계면에서 일정 범위 내의 각 영역 최소값 (local minimum)을 구한다. 상기 일정 범위는 아래 제시된 수학식5를 이용할 수 있다.
The reason for this is that a different method is required in areas other than the throat. Therefore, the position of the minimum value of the first color coordinate region L is found from 45 ° of each region. At this time, a local minimum within a predetermined range is obtained from the boundary surface found at the 45 ° position. The predetermined range may use Equation 5 shown below.

[수학식 5][Equation 5]

Figure 112010038408839-pat00006
Figure 112010038408839-pat00006

여기서 a는 바로 전의 x축 값을 의미하며, 이것을 90°까지 반복하여 x축 값을 구한다. width는 경계면을 나탄내다. Where a is the previous x-axis value, and this is repeated up to 90 ° to find the x-axis value. width represents the boundary.

이러한 과정은 왼쪽과 오른쪽의 위 경계선에 함께 적용되며, 참고로, 수학식5에 기재된 20은 임의의 값으로 가능할 수 있다.
This process is applied together to the upper boundary of the left and right, and for reference, 20 described in Equation 5 may be any value.

다음으로, 수직경계 추출 단계(S37)는 수학식6을 이용하여 혀 아래 영역에서의 혀 아래 점부터 45°수직 방향으로의 일정 범위 내에서 A값의 차이가 최대가 되는 경계를 찾는 단계일 수 있다.
Next, the vertical boundary extraction step (S37) may be a step of finding a boundary at which the difference of the A value is maximum within a predetermined range in the 45 ° vertical direction from the point below the tongue in the region below the tongue using Equation 6 have.

[수학식 6]&Quot; (6) "

Figure 112010038408839-pat00007
Figure 112010038408839-pat00007

참고로, b는 이전의 y좌표를 의미하며, height는 혀 아래점부터 제2컬러 좌표영역 값(A)의 차이가 최대가 되는 경계까지의 높이를 나타낸다.
For reference, b denotes a previous y-coordinate, and height indicates a height from a lower point of the tongue to a boundary where the difference of the second color coordinate area value A becomes maximum.

즉, 수직 경계 추출단계(S37)는 혀와 피부와의 적색(예컨대, 제2컬러 좌표영역(A)의 값)의 차이를 찾아내는 단계로서, 45°내지 90°로 이동하며 x축 방향(수평 방향)의 A값이 최대가 되는 경계를 찾아내는 것을 나타낸다. That is, the vertical boundary extracting step S37 is a step of finding a difference between the tongue and the red color (eg, the value of the second color coordinate area A) between the tongue and the skin. Indicates the boundary where the A value of the direction) becomes the maximum.

이러한 과정을 왼쪽과 오른쪽 경계선에 대해 각각 수행하도록 한다. 참고로, 수학식6에 기재된 20은 임의의 값으로 가능할 수 있다.
Do this for each of the left and right borders. For reference, 20 described in Equation 6 may be any value.

다음으로, 도 1을 참조하면, 혀 영상 복원 단계(S50)는 상기 혀 윤곽 점 및 상기 혀 윤관 선을 이용하여 표본화(sampling) 처리를 실시 한 후 캣멀 롬 스플라인 커브(Catmull-Rom Spline curve)를 이용하여 스무딩(smoothing) 처리하는 단계일 수 있다.Next, referring to FIG. 1, in the tongue image restoration step S50, after performing a sampling process using the tongue contour point and the tongue limbal line, a Catmull-Rom Spline curve is generated. It may be a step of smoothing process by using.

보다 구체적으로, 도 3을 참조하면, 4개의 영역(제1영역 내지 제4영역)에서 추출된 점은 혀와 그 주변에서 발생되는 노이즈 때문에 곡선이 거칠게 나올 수 있다. More specifically, referring to FIG. 3, the points extracted from four regions (first to fourth regions) may have rough curves due to noise generated in the tongue and its surroundings.

따라서, 상기 노이즈를 제거하기 위해 4개의 영역(제1영역 내지 제4영역)에 대해 구한 점들을 아래에 기재된 수학식7, 수학식8에 맞춰 각 영역에서 추출된 점(NUI,NUr,NLl,NLr)의 개수에 따라 40개의 점으로 분배하여 샘플링(sampling) 처리를 실시한다. 상기 40개 점으로 분배는 각 영역의 샘플링 포인트를 추출하기 위함일 수 있다.Therefore, points extracted for four areas (first to fourth areas) to remove the noise are extracted from each area according to Equations 7 and 8 described below (N UI , N Ur , Sampling is performed by dividing the data into 40 points according to the number of N Ll and N Lr ). The distribution to the 40 points may be for extracting sampling points of each region.

이후, 분배한 점의 개수에 따라 캣멀 롬 스플라인 커브(Catmull-Rom Spline curve)를 구하여 스무딩(smoothing) 처리를 수행한다.Subsequently, a Catmull-Rom Spline curve is obtained according to the number of points distributed, and a smoothing process is performed.

상기 캣멀 롬 스플라인 커브(Catmull-Rom Spline curve)에 관한 상세한 설명은 공지된 기술이기에 생략하도록 한다.
A detailed description of the Catmull-Rom Spline curve is well known and thus will be omitted.

[수학식 7][Equation 7]

Figure 112010038408839-pat00008
Figure 112010038408839-pat00008

Figure 112010038408839-pat00009
Figure 112010038408839-pat00009

[수학식 8][Equation 8]

Figure 112010038408839-pat00010
Figure 112010038408839-pat00010

Figure 112010038408839-pat00011
Figure 112010038408839-pat00011

따라서, 혀 영상 복원 단계(S50)는 40개 점을 기반으로 표본화(sampling)된 각 혀 윤곽점(SUr,SUl,SLl,SLr)을 연결시켜 실제적인 혀 모양으로 복원시켜 주는 단계일 수 있다.Therefore, the step of restoring the tongue image (S50) restores the actual tongue shape by connecting each tongue contour point (S Ur , S Ul , S Ll , S Lr ) sampled based on 40 points. Can be.

참고로, 혀 중심점으로부터 분할된 적어도 4개의 영역들(제1영역 내지 제4영역) 각각은 다시 45°간격으로 8개의 영역으로 분할될 수 있으며, 오차(e)가 클 것으로 예상되는 영역을 찾아내어 다시 그 영역을 검토하는 피드백 과정을 수행할 수 있다.For reference, each of the at least four regions (first to fourth regions) divided from the tongue center point may be divided into eight regions at 45 ° intervals again, and find an area where the error (e) is expected to be large. A feedback process can be performed to review the area again.

이러한 피드백 과정을 수행하는 이유는 오차(e)가 클 것으로 예상되는 영역에서 발생되는 치흔이나 복잡한 경계를 찾기 위함이며, 오차(e)는 상기 8개 영역으로 분할된 영역들 각각을 상대적으로 비교함으로써 찾을 수 있다. 아래에 기재된 수학식9는 8개 영역의 상대적 비교를 통해 오차(e)를 찾기 위한 수학식일 수 있다.The reason for performing this feedback process is to find the scars or complex boundaries occurring in the region where the error (e) is expected to be large. The error (e) is obtained by comparing each of the regions divided into the eight regions. You can find it. Equation 9 described below may be an equation for finding an error e through a relative comparison of eight regions.

[수학식 9]&Quot; (9) "

Figure 112010038408839-pat00012
Figure 112010038408839-pat00012

Figure 112010038408839-pat00013
Figure 112010038408839-pat00013

여기서, R은 빨강, G는 녹색, B는 파랑색을 나타내며, (x,t)는 각각 벡터 좌표, Bd(x)와 S(x)는 스무딩(smoothing) 전후의 경계를 의미하며, l은 경계면 전후의 좌표 변화를 나타내며, α,β,γ는 임의의 값을 나타낸다.
Where R is red, G is green, B is blue, (x, t) is a vector coordinate, and Bd (x) and S (x) are the boundaries before and after smoothing, respectively. Coordinate change before and after an interface is shown, and (alpha), (beta), (gamma) shows arbitrary values.

따라서, 본 발명에 따르면, 어두운 곳이나 움직임에서는 LAB 좌표에서 상대적으로 제2컬러영역의 좌표 값과 제1컬러영역의 좌표 값이 히스토그램 평준화(histogram equalization)로 각 경계 면이 향상될 수 있다.Therefore, according to the present invention, each boundary plane may be improved by histogram equalization of the coordinate value of the second color region and the coordinate value of the first color region relative to the LAB coordinates in a dark place or motion.

본 발명에서 제시한 혀 추출 방법 알고리즘은 혀와 얼굴의 구조적인 특징을 잘 잡아내서 혀를 검출하도록 도와주며, 혀 중심점 위 부분은 목구멍과 혀의 경계면을 이용하여 추출하고, 혀 중심점 아래 부분은 컬러 차이를 이용하여 추출하는 것을 특징으로 할 수 있다.The tongue extraction method algorithm proposed in the present invention helps to detect the tongue by capturing the structural features of the tongue and face well, extracting the upper part of the center of the tongue using the interface between the throat and the tongue, and the lower part of the center of the tongue. It may be characterized by the extraction using the difference.

또한, 혀 외곽의 모양과 환경을 구분하여 치흔 또는 균열 등을 정확히 파악함으로써 질병의 유무를 보다 손쉽게 판단할 수 있다.
In addition, it is possible to determine the presence of the disease more easily by accurately identifying the scars or cracks by separating the shape and environment of the outer tongue.

본 발명은 도면에 도시된 실시 예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 본 기술 분야의 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 타 실시 예가 가능하다는 점을 이해할 것이다. 따라서, 본 발명의 진정한 기술적 보호 범위는 첨부된 등록청구범위의 기술적 사상에 의해 정해져야 할 것이다.Although the present invention has been described with reference to the embodiments illustrated in the drawings, this is merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent other embodiments are possible. Therefore, the true technical protection scope of the present invention will be defined by the technical spirit of the appended claims.

S10: 혀 영상 입력 S21: 컬러 변화
S22: 히스토그램 평준화 S30: 윤곽점 추출
S35: 윤곽선 추출 S50: smoothing 기법에 의한 혀 영상 복원
S10: Tongue image input S21: Color change
S22: Histogram leveling S30: Contour point extraction
S35: Contour Extraction S50: Tongue Image Restoration by Smoothing Technique

Claims (13)

외부에서 RGB 컬러좌표로 구현된 혀 영상을 제공하는 제1단계;
상기 혀 영상의 컬러 좌표를 제1컬러영역, 제2컬러영역 및 제3컬러영역을 포함하는 LAB 컬러 좌표로 변환하고, 상기 LAB 컬러 좌표에 대한 히스토그램 평준화 처리를 실시하는 제2단계;
상기 평준화된 LAB 컬러 좌표를 이용하여 혀 윤곽 점과 혀 윤곽 선을 추출하는 제3단계; 및
상기 혀 윤곽 점과 혀 윤곽 선을 샘플링하여 스무딩(Smoothing)한 혀 경계면으로 복원하는 제4단계를 포함하며,
상기 제1컬러영역은 명암영역을, 상기 제2컬러영역은 빨간색과 초록색의 보색영역을, 상기 제3컬러영역은 노란색과 파란색의 보색영역인 혀 진단 영역 추출 방법.
A first step of providing a tongue image implemented in the RGB color coordinates from the outside;
A second step of converting color coordinates of the tongue image into LAB color coordinates including a first color region, a second color region, and a third color region, and performing a histogram equalization process on the LAB color coordinates;
Extracting tongue outline points and tongue outlines using the leveled LAB color coordinates; And
And a fourth step of sampling the tongue contour point and the tongue contour line and restoring the smoothed tongue boundary surface.
The first color region is a contrast region, the second color region is a red and green complementary color region, the third color region is a yellow and blue complementary color region extraction method of the tongue.
제1항에 있어서,
상기 제3단계의 혀 윤곽 점을 추출하는 단계는,
상기 LAB 컬러좌표 상의 상기 혀의 x축 중심점을 구하는 단계;
상기 LAB 컬러좌표 상의 상기 혀의 x축 중심점을 이용하여 목구멍이 시작되는 지점을 구하는 단계;
상기 LAB 컬러좌표 상의 상기 혀가 시작되는 점을 구하는 단계;
상기 LAB 컬러좌표 상의 상기 혀 위쪽의 경계점을 구하는 단계; 및
상기 LAB 컬러좌표 상의 상기 혀 좌우 점을 구하는 단계를 포함하는 혀 진단 영역 추출 방법.
The method of claim 1,
Extracting the tongue contour point of the third step,
Obtaining an x-axis center point of the tongue on the LAB color coordinates;
Obtaining a starting point of the throat using the x-axis center point of the tongue on the LAB color coordinates;
Finding a point at which the tongue on the LAB color coordinates starts;
Obtaining a boundary point above the tongue on the LAB color coordinates; And
And obtaining the left and right dots of the tongue on the LAB color coordinates.
제2항에 있어서,
상기 혀의 x축 중심점을 구하는 단계는,
상기 제1컬러 좌표영역에서 수학식1과 수학식2를 이용하며, 상기 수학식1은
Figure 112011061921869-pat00014
Figure 112011061921869-pat00015
이며,
상기 수학식2는
Figure 112011061921869-pat00022
을 나타내며, 여기서, L은 제1컬러 좌표영역 값을 나타내며, t는 임의의 정수를 나타내며, d(x)는 혀의 좌우값에 따라 제1컬러 좌표영역(L) 값이 최소가 되는 x축 지점을 나타내며, xcent는 제1컬러 좌표영역(L) 값이 최소가 되는 점중 가장 작은 값을 갖는 x축의 지점을 나타내는 혀 진단 영역 추출 방법.
The method of claim 2,
Obtaining the x-axis center point of the tongue,
Equation 1 and Equation 2 are used in the first color coordinate region, and Equation 1 is
Figure 112011061921869-pat00014
Figure 112011061921869-pat00015
Is,
Equation 2 is
Figure 112011061921869-pat00022
Where L represents a first color coordinate region value, t represents an arbitrary integer, and d (x) is the x axis of which the first color coordinate region L value becomes the minimum according to the left and right values of the tongue. And x cent represents a point on the x-axis having the smallest value among the points where the first color coordinate area (L) value is the minimum.
제2항에 있어서,
상기 LAB 컬러좌표 상의 상기 혀의 x축 중심점을 이용하여 목구멍이 시작되는 지점은,
상기 목구멍의 명암값이 가장 작은 값을 갖는 지점이며, 입술과 상기 목구멍의 경계면이 가장 크게 되는 값을 나타내는 지점인 것을 특징으로 하는 혀 진단 영역 추출 방법.
The method of claim 2,
The starting point of the throat using the x-axis center point of the tongue on the LAB color coordinates,
And a point at which the contrast value of the throat is the smallest value and a point representing the value at which the boundary between the lips and the throat is the largest.
청구항 3항에 있어서,
상기 LAB 컬러 좌표 상의 상기 혀가 시작되는 점은,
수학식 3인 △A(xcent,y)=A(xcent,y+t)-A(xcent,y-t)을 이용하여 상기 △A(xcent,y)가 최대가 되는 점이며, 상기 A는 제2컬러 좌표영역의 변화값을 나타내는 혀 진단 영역 추출 방법.
The method according to claim 3,
The starting point of the tongue on the LAB color coordinates,
ΔA (x cent , y) is maximized using Equation 3, ΔA (x cent , y) = A (x cent , y + t) -A (x cent , yt), A is a tongue diagnosis region extraction method representing a change value of the second color coordinate region.
제2항에 있어서,
상기 LAB 컬러좌표 상의 상기 혀 위쪽의 경계점은,
상기 혀 아래 점으로부터 입술 아래 점으로 이동하여 혀의 위점을 찾아내며, 입술 아래 점의 명암 값과 상기 입술 아래 점의 명암 값보다 작거나 같은 값을 혀 위점으로 이용하는 혀 진단 영역 추출 방법.
The method of claim 2,
The boundary point above the tongue on the LAB color coordinate is
A method for extracting a tongue diagnosis region by moving from a point below the tongue to a point below the lip to find a point on the tongue, and using a value less than or equal to the contrast value of the point below the lip and the contrast value of the point below the lip as the tongue point.
제2항에 있어서,
상기 LAB 컬러좌표 상의 상기 혀 좌우 점을 구하는 단계는,
상기 혀의 중심점을 검색하는 단계;
상기 혀의 수직경계점을 검색하는 단계;
상기 혀의 수평 경계점을 검색하는 단계; 및
상기 혀의 대각경계점을 검색하는 단계를 포함하는 혀 진단 영역 추출 방법.
The method of claim 2,
Obtaining the left and right points of the tongue on the LAB color coordinates,
Retrieving a center point of the tongue;
Retrieving a vertical boundary point of the tongue;
Searching for a horizontal boundary point of the tongue; And
Tongue diagnostic region extraction method comprising the step of searching the diagonal boundary of the tongue.
제2항에 있어서,
상기 혀 위쪽의 경계점을 구하는 단계는,
상기 혀와 얼굴 피부의 적색 성분이 포함된 제2컬러 좌표영역 값의 경계의 차이가 가장 큰 곳에서 찾는 단계를 포함하는 혀 진단 영역 추출 방법.
The method of claim 2,
Obtaining a boundary point above the tongue,
And finding the difference between the boundary between the value of the second color coordinate region including the red component of the tongue and the facial skin.
제7항에 있어서,
상기 혀의 수직경계점을 검색하는 단계는,
상기 혀의 중심점으로부터 왼쪽과 오른쪽 각각을 이동하여 상기 제2컬러 좌표영역 값의 경계가 최대가 되는 값을 찾는 단계인 것을 특징으로 하는 혀 진단 영역 추출 방법.
The method of claim 7, wherein
Searching for the vertical boundary point of the tongue,
And a step of finding a value at which a boundary of the second color coordinate area value is maximized by moving left and right sides from the center point of the tongue, respectively.
제7항에 있어서,
상기 대각경계점을 검색하는 단계는,
상기 혀의 중심점으로부터 왼쪽과 오른쪽 각각을 이동하여 상기 제2컬러 좌표영역 값의 경계가 최대가 되는 값을 찾는 단계인 것을 특징으로 하며,
상기 혀 표면의 제1컬러 좌표영역 값이 일정 값 이상의 값이 나오면 혀 경계 값이 아닌 것으로 간주하는 혀 진단 영역 추출 방법.
The method of claim 7, wherein
Searching for the diagonal boundary point,
And moving each of the left and right sides from the center point of the tongue to find a value at which the boundary of the second color coordinate region value is maximum.
If the first color coordinate area value of the surface of the tongue is greater than a predetermined value it is considered that the tongue boundary value is not the tongue diagnosis region extraction method.
제1항에 있어서,
상기 제3단계의 혀 윤곽 선을 추출하는 단계는,
상기 혀 중심점을 기준으로 적어도 4개 이상의 영역으로 상기 혀의 영역을 구분하는 기준 영역 분할 단계;
상기 혀 중심점 위를 수직으로 분할하는 수직경계 추출 단계; 및
상기 혀 중심점 위를 수평으로 분할하는 수평분할 추출 단계를 포함하는 혀 진단 영역 추출 방법.
The method of claim 1,
Extracting the tongue outline of the third step,
A reference region dividing step of dividing the region of the tongue into at least four regions based on the tongue center point;
A vertical boundary extraction step of vertically dividing the tongue center point; And
And a horizontal division extraction step of horizontally dividing the tongue center point horizontally.
제11항에 있어서,
상기 수평분할 추출 단계와 수직경계 추출 단계는 서로 피드백되는 것을 특징으로 하는 혀 진단 영역 추출 방법.
The method of claim 11,
The horizontal division extraction step and the vertical boundary extraction step are fed back to each other, characterized in that the feedback.
제1항에 있어서,
상기 제4단계는 Catmull-Rom Spline curve를 이용하여 스무딩(smoothing) 처리를 수행하는 것을 특징으로 하는 혀 진단 영역 추출 방법.
The method of claim 1,
The fourth step is a method for extracting a tongue diagnosis region, characterized in that for performing a smoothing process using a Catmull-Rom Spline curve.
KR1020100056561A 2010-06-15 2010-06-15 Acquisition method of Tongue Diagnosis Region KR101195917B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020100056561A KR101195917B1 (en) 2010-06-15 2010-06-15 Acquisition method of Tongue Diagnosis Region

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020100056561A KR101195917B1 (en) 2010-06-15 2010-06-15 Acquisition method of Tongue Diagnosis Region

Publications (2)

Publication Number Publication Date
KR20110136502A KR20110136502A (en) 2011-12-21
KR101195917B1 true KR101195917B1 (en) 2012-10-30

Family

ID=45503140

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020100056561A KR101195917B1 (en) 2010-06-15 2010-06-15 Acquisition method of Tongue Diagnosis Region

Country Status (1)

Country Link
KR (1) KR101195917B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104688182A (en) * 2013-12-06 2015-06-10 富士通株式会社 Method and device for acquiring a tongue crack

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101629567B1 (en) * 2014-10-06 2016-06-21 한국 한의학 연구원 Apparatus and method of computing teeth mark estimation index using tongue image processing
KR101908785B1 (en) * 2016-10-31 2018-10-18 한국 한의학 연구원 Tongue region extraction method and image processing apparatus for performing the method
KR102470740B1 (en) * 2016-10-31 2022-11-28 한국 한의학 연구원 Method for extracing the subligual vein and image apparatus for performing the method
CN109785345A (en) * 2019-01-25 2019-05-21 中电健康云科技有限公司 Image partition method and device
CN113724228A (en) * 2021-08-31 2021-11-30 平安科技(深圳)有限公司 Tongue color and coating color identification method and device, computer equipment and storage medium
CN116311386B (en) * 2023-05-19 2023-08-15 四川博瑞客信息技术有限公司 Tongue type identification method based on image segmentation

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005137680A (en) 2003-11-07 2005-06-02 Konica Minolta Holdings Inc Organic color measuring system and program
KR100889014B1 (en) 2007-09-21 2009-03-17 한국 한의학 연구원 Extraction method of tongue region using graph-based approach

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005137680A (en) 2003-11-07 2005-06-02 Konica Minolta Holdings Inc Organic color measuring system and program
KR100889014B1 (en) 2007-09-21 2009-03-17 한국 한의학 연구원 Extraction method of tongue region using graph-based approach

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104688182A (en) * 2013-12-06 2015-06-10 富士通株式会社 Method and device for acquiring a tongue crack

Also Published As

Publication number Publication date
KR20110136502A (en) 2011-12-21

Similar Documents

Publication Publication Date Title
KR101195917B1 (en) Acquisition method of Tongue Diagnosis Region
TWI729995B (en) Generating a merged, fused three-dimensional point cloud based on captured images of a scene
JP6125188B2 (en) Video processing method and apparatus
JP5699788B2 (en) Screen area detection method and system
WO2015070723A1 (en) Eye image processing method and apparatus
KR20050022306A (en) Method and Apparatus for image-based photorealistic 3D face modeling
JP2013089234A (en) Image processing system
JP4373840B2 (en) Moving object tracking method, moving object tracking program and recording medium thereof, and moving object tracking apparatus
US10540765B2 (en) Image processing device, image processing method, and computer program product thereon
JP6458570B2 (en) Image processing apparatus and image processing method
CN109272513B (en) Depth camera-based hand and object interactive segmentation method and device
CN113950820A (en) Correction for pixel-to-pixel signal diffusion
Priyadharsini et al. Optic disc and cup segmentation in fundus retinal images using feature detection and morphological techniques
JP2008035301A (en) Mobile body tracing apparatus
JP6331761B2 (en) Determination device, determination method, and determination program
KR101733028B1 (en) Method For Estimating Edge Displacement Againt Brightness
JP2010271921A (en) Skin area extraction method, skin area extraction device, and skin area extracting program
JP5217917B2 (en) Object detection and tracking device, object detection and tracking method, and object detection and tracking program
US20200041260A1 (en) Monitoring the scan volume of a 3d scanner
JP2019100937A (en) Defect inspection device and defect inspection method
JP5051671B2 (en) Information processing apparatus, information processing method, and program
EP2681714B1 (en) An object based segmentation method
Angiati et al. Identification of roofs perimeter from aerial and satellite images
RU2440609C1 (en) Method for segmentation of bitmap images based on growing and merging regions
JP5470529B2 (en) Motion detection device, motion detection method, and motion detection program

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20150909

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20171011

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20190926

Year of fee payment: 8