WO2017073823A1 - Device and method for deriving adaptive threshold value and distinguishing between tongue fur, tongue texture, and mixed area thereof - Google Patents

Device and method for deriving adaptive threshold value and distinguishing between tongue fur, tongue texture, and mixed area thereof Download PDF

Info

Publication number
WO2017073823A1
WO2017073823A1 PCT/KR2015/011569 KR2015011569W WO2017073823A1 WO 2017073823 A1 WO2017073823 A1 WO 2017073823A1 KR 2015011569 W KR2015011569 W KR 2015011569W WO 2017073823 A1 WO2017073823 A1 WO 2017073823A1
Authority
WO
WIPO (PCT)
Prior art keywords
total variation
tongue
threshold value
calculating
adaptive threshold
Prior art date
Application number
PCT/KR2015/011569
Other languages
French (fr)
Korean (ko)
Inventor
정창진
김근호
장준수
Original Assignee
한국 한의학 연구원
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 한국 한의학 연구원 filed Critical 한국 한의학 연구원
Publication of WO2017073823A1 publication Critical patent/WO2017073823A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons

Definitions

  • a technique for finding adaptive thresholds in a snowy image of a given color which primarily calculates snow thresholds that distinguish between tongues and non- tongues, and mixes tongues and tongues in areas that are not tongues. It's about a technique for calculating a state threshold that separates areas.
  • Tongue refers to moss-like parts on the tongue surface with tongues and heterogeneous colors, and is caused by substances that have flowed back from the digestive organs or keratinization of filamentous papilla. Therefore, the distribution and color of tongues change according to the state of health, and in traditional medicine, such as China, Japan, and Korea, these state changes are used for diagnosis.
  • the characteristics of the tongue analyzed will be different and the results of diagnosis will be different. Therefore, the repeatability and accuracy of the diagnosis can be improved by defining the area based on objective and accurate criteria.
  • a computing assist device may include a calculator configured to calculate a first adaptive threshold for a tongue quality and a second adaptive threshold for a tongue in a tongue area of an input image, and the calculated first adaptive threshold and the second adaptive threshold value. And a processing unit classifying the input image into at least three areas based on an adaptation threshold.
  • the calculator may set a temporary threshold, and calculate a first total variation and a second total variation for each of the plurality of regions divided by the set temporary threshold. Calculate a sum total variation through the sum of the calculated first total variation and the second total variation, and calculate the sum total variation using the calculated total variation. At least one of the first adaptation threshold and the second adaptation threshold is calculated.
  • the calculator may be configured to calculate a threshold value corresponding to the minimum value of the calculated sum total variation as at least one of the first adaptive threshold value and the second adaptive threshold value.
  • the calculation unit may include the temporary threshold value using at least one of R, CIE L * a * b * (CIELAB) color space of sRGB color space, and H value of HSV color space. Set.
  • the calculator may remove a pixel corresponding to the boundary between the plurality of regions, and may include a first total variation and a second total variation for each of the plurality of regions from which the boundary pixel is removed. calculate total variation).
  • the calculator binarizes a color element in the snow region and calculates the first adaptation threshold and the second adaptation threshold based on the binarized color element.
  • a computing assisting device may include a calculator configured to calculate adaptation thresholds for tongue quality in a tongue region of an input image, and a tongue texture region, a tongue region, and a tongue and tongue combination region based on the calculated adaptive thresholds. It includes a processing unit for classifying.
  • the calculator may set a temporary threshold and calculate a first total variation and a second total variation for each of the regions divided by the set temporary threshold. And calculating a sum total variation through the sum of the calculated first total variation and the second total variation, and using the calculated total variation, the adaptation threshold. Calculate at least one of the values.
  • the method may further include calculating a first adaptation threshold for tongue quality and a second adaptation threshold for appearance in a tongue region of an input image, and the calculated first adaptation threshold and the second adaptation threshold value. Classifying the lingual region, lingual region, and lingual and lingual mixture region based on the lingual region.
  • the calculating may include setting a temporary threshold value, a first total variation and a second total variation for each of the plurality of regions divided by the set temporary threshold. calculating a variation, calculating a sum total variation through a sum of the calculated first total variation and the second total variation, and calculating the sum Calculating at least one of the first adaptation threshold and the second adaptation threshold using a variation.
  • Computing at least one of the first adaptive threshold value and the second adaptive threshold value using the calculated total variation corresponds to a minimum value of the calculated sum total variation. Calculating a threshold value to at least one of the first adaptive threshold value and the second adaptive threshold value.
  • the setting of the temporary threshold may include setting at least one of R of a sRGB color space, a * or b * of a CIE L * a * b * (CIELAB) color space, and an H value of an HSV color space. And setting the temporary threshold value.
  • the calculating of the first total variation and the second total variation may include removing pixels corresponding to the boundaries between the plurality of regions, and corresponding to the boundaries. Calculating a first total variation and a second total variation for each of the plurality of regions from which the pixel is removed.
  • the calculating may include binarizing a color component in the snow region and calculating the first adaptive threshold and the second adaptive threshold based on the binarized color component. do.
  • the program according to an exemplary embodiment may include a command set for calculating a first adaptive threshold for a tongue quality and a second adaptive threshold for a tongue in a tongue region of an input image, and the calculated first adaptive threshold and a second adaptive threshold. And a command set for classifying the input image into at least three regions based on a value.
  • FIG. 1 illustrates a tongue area, a tongue area, a tongue and a tongue mixed area classified through a computing assist device according to an embodiment.
  • FIG. 2 is a diagram illustrating a computing assistant device according to an exemplary embodiment.
  • 3 is a view for explaining different areas classified as temporary thresholds.
  • 4A and 4B are diagrams illustrating an embodiment of calculating an adaptation threshold value from sum total variation.
  • FIG. 5 is a diagram for describing a method of classifying a tongue area, a tongue area, a tongue and a tongue mixture area, according to an exemplary embodiment.
  • FIG. 6 is a diagram for explaining a method of calculating an adaptive threshold by setting a temporary threshold.
  • Embodiments according to the inventive concept may be variously modified and have various forms, so embodiments are illustrated in the drawings and described in detail herein. However, this is not intended to limit the embodiments in accordance with the concept of the present invention to specific embodiments, and includes modifications, equivalents, or substitutes included in the spirit and scope of the present invention.
  • first or second may be used to describe various components, but the components should not be limited by the terms. The terms are only for the purpose of distinguishing one component from another component, for example, without departing from the scope of the rights according to the inventive concept, the first component may be called a second component, Similarly, the second component may also be referred to as the first component.
  • FIG. 1 illustrates a tongue area, a tongue area, a tongue and a tongue mixed area classified through a computing assist device according to an embodiment.
  • the color characteristics of the tongue and tongue surface are different from each other through the threshold of color.
  • the computing assist device may derive an adaptive threshold value suitable for the color characteristics of the image, the quality of the snow, and the color of the tongue, thereby increasing the accuracy of the area classification.
  • the computing assist device may be divided into a tongue area 120, a tongue area 140, a tongue area and a mixture of tongues 130 in the general color image 110, and through the classification, And color analysis of tongues more accurately.
  • the computing assisting apparatus is a method of finding an adaptive threshold value in a given color tongue image, and primarily calculates a tongue quality threshold that distinguishes between a tongue and a non- tongue state, and secondarily, it is not a tongue quality. It is possible to calculate the tongue threshold value that distinguishes between tongue and tongue mixture zone and tongue zone.
  • the computing assisting apparatus calculates a total variation (TV) within two regions separated by an arbitrary threshold (temporary threshold), respectively, and calculates the total variation (T).
  • the sum total variation (STV) which is a sum of TV and total variation, may be calculated to calculate a threshold value that minimizes the sum total variation (STV).
  • FIG. 2 is a diagram illustrating an example of a computing assisting device 200 according to an exemplary embodiment.
  • the computing assisting device 200 may derive an adaptive threshold value suitable for the color characteristics of the image, the quality of the snow, and the shape of the tongue, and thus may increase the accuracy of the area classification.
  • the computing assistance device 200 may include a calculator 210 and a processor 220.
  • the calculator 210 may calculate a plurality of adaptation thresholds for snow quality in the snow region of the input image.
  • the calculator 210 may calculate a first adaptation threshold for tongue quality and a second adaptation threshold for appearance in the tongue region of the input image. To this end, the calculator 210 may binarize the color elements in the snow region and calculate a first adaptation threshold value and a second adaptation threshold value based on the binarized color elements.
  • the first adaptation threshold is a threshold value for distinguishing a region where tongues appear and a region where tongues do not appear in the tongue region, and distinguish a tongue zone and a tongue zone and a tongue mix zone.
  • the second adaptation threshold is a threshold value for distinguishing a region where tongue quality appears and a region where tongue quality does not appear, and classifies a tongue quality, tongue mix region, and a tongue region.
  • the tongue quality region, tongue quality and tongue mix region, and tongue style area may be distinguished through the first adaptation threshold value and the second adaptation threshold value.
  • the calculator 210 may calculate a first adaptive threshold value and a second adaptive threshold value for the condition according to the characteristics of the input image.
  • the calculator 210 may set a temporary threshold.
  • the calculation unit 210 uses a temporary threshold value using at least one of R of the sRGB color space, a * or b * of the CIELAB color space, and H values of the HSV color space. Can be set.
  • the calculator 210 may calculate a first total variation and a second total variation for each of the plurality of regions divided by the set temporary threshold.
  • the calculator 210 may calculate a sum total variation through the sum of the calculated first total variation and the second total variation. In this case, the calculator 210 may calculate at least one of the first adaptation threshold and the second adaptation threshold using the calculated total variation. For example, the calculator 210 may calculate a threshold value corresponding to the calculated minimum value of the sum total variation as at least one of the first adaptive threshold value and the second adaptive threshold value.
  • the processor 220 may classify a plurality of areas, for example, a tongue area, a tongue area, and a tongue and tongue mixture area based on the calculated first and second adaptive threshold values. have.
  • the calculator 210 removes pixels corresponding to the boundaries between the plurality of regions, and first and second total variations for each of the regions where the boundary pixels are removed. ) Can also be calculated. This will be described in detail with reference to FIG. 3.
  • 3 is a view for explaining different areas classified as temporary thresholds.
  • Reference numeral 310 denotes an image classified into different areas as a temporary threshold. Among these, reference numeral 311 may be classified as a settling area, and in order to calculate a first total variation and a second total variation, the pixel 312 corresponding to the boundary may be removed.
  • Reference numeral 320 is an image generated by removing a pixel 312 corresponding to a boundary from the image 310, and reference numeral 321 is classified as a setting region.
  • the computing assist device may calculate a first total variation and a second total variation from the image 320 by using an algorithm.
  • the calculator of the computing assist device may calculate a first total variation and a second total variation using Equation 1.
  • the present invention categorizes into a tongue zone, a tongue zone and a tongue zone, and a tongue zone, and provides an algorithm for this.
  • the present invention can be implemented with a robust algorithm in the image measurement environment, so it is easy to apply to a mobile analysis system that was not easy with the existing patent technology.
  • 4A and 4B are diagrams illustrating an embodiment of calculating an adaptation threshold value from sum total variation.
  • a graph 410 shows a sum total variation for CIE a *.
  • the sum total variation may be expressed as a sum of a first total variation and a second total variation, which represents a minimum value at a point 411.
  • FIG. 5 is a diagram for describing a method of classifying a tongue area, a tongue area, a tongue and a tongue mixture area, according to an exemplary embodiment.
  • the present invention can derive an adaptive threshold value suitable for the color characteristics of the image, the quality of the snow, and the shape of the tongue, thereby increasing the accuracy of the area classification.
  • the method calculates a first adaptation threshold for the tongue quality and a second adaptation threshold for the condition in the tongue region of the input image, and calculates the calculated first adaptation threshold value and the second adaptation threshold value.
  • the tongue, tongue, and tongue can be classified into tongue and tongue.
  • the method according to an embodiment may allocate a tongue area representing the tongue of color to the memory (step 501).
  • the method according to one embodiment may calculate an adaptation threshold for snow quality (step 502).
  • the threshold for adaptation to the lingual quality is to distinguish between lingual and non-lingual qualities, and may be used as a criterion for distinguishing a mixed area of lingual lingual and lingual and lingual area, or for distinguishing between a lingual area and a lingual area.
  • the method according to one embodiment may derive a non-snow area using the calculated threshold for adaptation to snow quality (step 503).
  • the area that is not the tongue is a region in which the tongue is distributed above the threshold, and may be interpreted as the tongue.
  • the method according to an embodiment may calculate an adaptation threshold for the setting (step 504).
  • the adaptation threshold for tongues is to distinguish between tongues and non- tongues, and it can be used as a criterion for distinguishing tongues and tongues from mixed areas and tongues, or to distinguish tongues from tongues.
  • the method may derive a tongue area and a tongue / tongue mix area by using an adaptation threshold for the tongue (step 505).
  • FIG. 6 is a diagram for explaining a method of calculating an adaptive threshold by setting a temporary threshold.
  • a temporary threshold In order to set the temporary threshold to calculate the adaptive threshold, first, a temporary threshold must be set (step 601).
  • the method according to the present invention uses a temporary threshold value using at least one of R, CIE L * a * b * (CIELAB) color space of sRGB color space, and H value of HSV color space. Can be set.
  • the method according to the present invention removes a pixel corresponding to a plurality of inter-region boundaries (step 602), and includes a first total variation and a first total variation for each of the plurality of regions from which a pixel corresponding to the boundary is removed. Second total variation is calculated (step 603).
  • the method according to the invention calculates the sum total variation through the sum of the calculated first total variation and the second total variation, and calculates the sum total variation using the calculated total variation. At least one of the first adaptation threshold and the second adaptation threshold may be calculated.
  • the color component may be binarized in the snow region, and the first adaptation threshold value and the second adaptation threshold value may be calculated based on the binarized color element.
  • the method according to the present invention may repeat the calculation of the sum total variation for all threshold candidates and derive a threshold value that satisfies the sum total variation as a result of the iteration (step 605).
  • an adaptive threshold value suitable for the color characteristics of the image and the quality of the snow and the tongue may be derived, thereby increasing the accuracy of the area classification.
  • the apparatus described above may be implemented as a hardware component, a software component, and / or a combination of hardware components and software components.
  • the devices and components described in the embodiments are, for example, processors, controllers, arithmetic logic units (ALUs), digital signal processors, microcomputers, field programmable gate arrays (FPGAs).
  • ALUs arithmetic logic units
  • FPGAs field programmable gate arrays
  • PLU programmable logic unit
  • the processing device may execute an operating system (OS) and one or more software applications running on the operating system.
  • the processing device may also access, store, manipulate, process, and generate data in response to the execution of the software.
  • processing device includes a plurality of processing elements and / or a plurality of types of processing elements. It can be seen that it may include.
  • the processing device may include a plurality of processors or one processor and one controller.
  • other processing configurations are possible, such as parallel processors.
  • the software may include a computer program, code, instructions, or a combination of one or more of the above, and configure the processing device to operate as desired, or process it independently or collectively. You can command the device.
  • Software and / or data may be any type of machine, component, physical device, virtual equipment, computer storage medium or device in order to be interpreted by or to provide instructions or data to the processing device. Or may be permanently or temporarily embodied in a signal wave to be transmitted.
  • the software may be distributed over networked computer systems so that they may be stored or executed in a distributed manner.
  • Software and data may be stored on one or more computer readable recording media.
  • the method according to the embodiment may be embodied in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium.
  • the computer readable medium may include program instructions, data files, data structures, etc. alone or in combination.
  • the program instructions recorded on the media may be those specially designed and constructed for the purposes of the embodiments, or they may be of the kind well-known and available to those having skill in the computer software arts.
  • Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, such as floppy disks.
  • Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like.
  • the hardware device described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Veterinary Medicine (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Pathology (AREA)
  • Public Health (AREA)
  • Biophysics (AREA)
  • Radiology & Medical Imaging (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Dentistry (AREA)
  • Orthopedic Medicine & Surgery (AREA)
  • Rheumatology (AREA)
  • Physical Education & Sports Medicine (AREA)
  • Quality & Reliability (AREA)
  • Image Analysis (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

The present invention relates to a device and a method for distinguishing between tongue fur, tongue texture, and a mixed area thereof, and an auxiliary computing device according to an embodiment comprises: a calculation unit for calculating a first adaptive threshold value for tongue texture and a second adaptive threshold value for tongue fur, in a tongue area of an input image; and a processing unit for classifying the input image into at least three areas on the basis of the calculated first adaptive threshold value and second adaptive threshold value.

Description

적응 임계값 도출과 설태, 설질, 및 혼합 영역을 구분하는 장치 및 방법Apparatus and method for adaptive threshold derivation and separation of snow, snow, and mixed areas
주어진 컬러의 설 영상에서 적응 임계값을 찾는 기술로서, 1차적으로 설태와 설태가 아닌 영역을 구분하는 설질 임계값을 계산하고, 2차적으로 설질이 아닌 영역을 대상으로 설태와 설질 혼합 영역과 설태 영역을 구분하는 설태 임계값을 계산하는 기술에 관한 것입니다.A technique for finding adaptive thresholds in a snowy image of a given color, which primarily calculates snow thresholds that distinguish between tongues and non- tongues, and mixes tongues and tongues in areas that are not tongues. It's about a technique for calculating a state threshold that separates areas.
현대 사회는 건강에 대한 관심이 나날이 증가하고 있다. 이러한 시대적인 관심과 더불어, 실시간 데이터 수집에 의한 데이터 분석 방식 및 툴(tool)이 고도화되는 등 기술이 비약적으로 발전함에 따라서, 건강 상태를 모니터링하고 개인화된 건강관리 서비스를 제공받는 것이 가능하게 되었다.In modern society, the interest in health is increasing day by day. In addition to these times, as technology advances rapidly, such as data analysis methods and tools by real-time data collection, it is possible to monitor health status and provide personalized health care services.
또한, 소비자의 의식 변화에 따른 고객 요구의 다양화와 기대수준의 향상으로 건강 서비스 및 관련 시스템 이용의 편리성 및 맞춤화가 강화되고 있는 추세이며, 축적된 개인의 건강 데이터를 바탕으로 생활 습관병 예방이나 체중관리 등의 개인화(personalized) 건강관리 사업이 급속도로 성장하고 있다.In addition, the convenience and customization of health services and related systems are being strengthened by diversifying customer demands and improving expectations according to changes in consumer's consciousness. Personalized healthcare projects, such as weight management, are growing rapidly.
근래에는 혀의 상태가 건강을 판단할 수 있는 다양한 척도로 활용되고 있다.In recent years, the condition of the tongue has been used as a variety of measures to determine the health.
설태는 혀와 이질적인 색상으로 혀 표면 위에 이끼처럼 끼인 부분을 말하며, 소화 기관으로부터 역류된 물질, 사상유두의 각화 등의 이유로 인해 발생한다. 따라서, 설태의 분포량 및 색상은 건강상태에 따라 변화를 보이며, 중국, 일본, 한국 등의 전통의학에서는 이들의 상태변화를 진단에 활용한다.Tongue refers to moss-like parts on the tongue surface with tongues and heterogeneous colors, and is caused by substances that have flowed back from the digestive organs or keratinization of filamentous papilla. Therefore, the distribution and color of tongues change according to the state of health, and in traditional medicine, such as China, Japan, and Korea, these state changes are used for diagnosis.
최근에는 컬러 혀 영상을 통해 객관적인 설태의 특성 분석 알고리즘이 개발되고 있는데, 설태 분석을 위해 가장 선행되는 기술이 혀 영상에서 설태 영역 분류 이다. Recently, an objective feature analysis algorithm has been developed using color tongue images. The most advanced technique for analysis of tongue features is the classification of tongue regions in tongue images.
설태 영역을 정의하는 방법에 따라 분석되는 설태의 특성이 달라지게 되며, 진단의 결과가 달라지게 되므로 객관적이고 정확한 기준에 의해 영역을 정의 함으로써 진단의 반복성 및 정확성을 향상시킬 수 있다. According to the method of defining the tongue area, the characteristics of the tongue analyzed will be different and the results of diagnosis will be different. Therefore, the repeatability and accuracy of the diagnosis can be improved by defining the area based on objective and accurate criteria.
일실시예에 따른 컴퓨팅 보조 장치는 입력영상의 설 영역에서 설질에 대한 제1 적응 임계값 및 설태에 대한 제2 적응 임계값을 산출하는 산출부, 및 상기 산출된 제1 적응 임계값 및 제2 적응 임계값에 기초하여 적어도 셋 이상의 영역으로 상기 입력영상을 분류하는 처리부를 포함한다.According to an embodiment, a computing assist device may include a calculator configured to calculate a first adaptive threshold for a tongue quality and a second adaptive threshold for a tongue in a tongue area of an input image, and the calculated first adaptive threshold and the second adaptive threshold value. And a processing unit classifying the input image into at least three areas based on an adaptation threshold.
일실시예에 따른 상기 산출부는, 임시 임계값을 설정하고, 상기 설정된 임시 임계값으로 구분되는 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산하며, 상기 계산된 제1 총변이(first total variation) 및 제2 총변이(second total variation)의 합을 통한 총합변이(sum total variation)를 계산하고, 상기 계산된 총합변이를 이용하여 상기 제1 적응 임계값 및 상기 제2 적응 임계값 중에서 적어도 하나를 산출한다.The calculator may set a temporary threshold, and calculate a first total variation and a second total variation for each of the plurality of regions divided by the set temporary threshold. Calculate a sum total variation through the sum of the calculated first total variation and the second total variation, and calculate the sum total variation using the calculated total variation. At least one of the first adaptation threshold and the second adaptation threshold is calculated.
일실시예에 따른 상기 산출부는, 상기 계산된 총합변이(sum total variation)의 최소값에 해당하는 임계값을 상기 제1 적응 임계값 및 상기 제2 적응 임계값 중에서 적어도 하나로 산출한다.The calculator may be configured to calculate a threshold value corresponding to the minimum value of the calculated sum total variation as at least one of the first adaptive threshold value and the second adaptive threshold value.
일실시예에 따른 상기 산출부는, sRGB 색공간의 R, CIE L*a*b*(CIELAB) 색공간의 a* 또는 b*, HSV 색공간의 H 값 중에서 적어도 하나를 이용하여 상기 임시 임계값을 설정한다.According to an embodiment, the calculation unit may include the temporary threshold value using at least one of R, CIE L * a * b * (CIELAB) color space of sRGB color space, and H value of HSV color space. Set.
일실시예에 따른 상기 산출부는, 상기 복수의 영역간 경계에 해당하는 픽셀을 제거하고, 경계 픽셀이 제거된 상기 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산한다.The calculator may remove a pixel corresponding to the boundary between the plurality of regions, and may include a first total variation and a second total variation for each of the plurality of regions from which the boundary pixel is removed. calculate total variation).
일실시예에 따른 상기 산출부는, 상기 설 영역에서 색 요소를 이진화하고, 상기 이진화된 색 요소에 기초하여 상기 제1 적응 임계값 및 상기 제2 적응 임계값을 산출한다.According to an exemplary embodiment, the calculator binarizes a color element in the snow region and calculates the first adaptation threshold and the second adaptation threshold based on the binarized color element.
일실시예에 따른 컴퓨팅 보조 장치는 입력영상의 설 영역에서 설질에 대한 적응 임계값들을 산출하는 산출부, 및 상기 산출된 적응 임계값들에 기초하여 설질 영역, 설태 영역, 및 설질과 설태 혼합 영역을 분류하는 처리부를 포함한다.According to an embodiment of the present invention, a computing assisting device may include a calculator configured to calculate adaptation thresholds for tongue quality in a tongue region of an input image, and a tongue texture region, a tongue region, and a tongue and tongue combination region based on the calculated adaptive thresholds. It includes a processing unit for classifying.
일실시예에 따른 산출부는, 임시 임계값을 설정하고, 상기 설정된 임시 임계값으로 구분되는 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산하며, 상기 계산된 제1 총변이(first total variation) 및 제2 총변이(second total variation)의 합을 통한 총합변이(sum total variation)를 계산하고, 상기 계산된 총합변이를 이용하여 상기 적응 임계값들 중에서 적어도 하나를 산출한다.The calculator may set a temporary threshold and calculate a first total variation and a second total variation for each of the regions divided by the set temporary threshold. And calculating a sum total variation through the sum of the calculated first total variation and the second total variation, and using the calculated total variation, the adaptation threshold. Calculate at least one of the values.
일실시예에 따른 방법은 입력영상의 설 영역에서 설질에 대한 제1 적응 임계값 및 설태에 대한 제2 적응 임계값을 산출하는 단계, 및 상기 산출된 제1 적응 임계값 및 제2 적응 임계값에 기초하여 설질 영역, 설태 영역, 및 설질과 설태 혼합 영역을 분류하는 단계를 포함한다.The method may further include calculating a first adaptation threshold for tongue quality and a second adaptation threshold for appearance in a tongue region of an input image, and the calculated first adaptation threshold and the second adaptation threshold value. Classifying the lingual region, lingual region, and lingual and lingual mixture region based on the lingual region.
일실시예에 따른 상기 산출하는 단계는, 임시 임계값을 설정하는 단계, 상기 설정된 임시 임계값으로 구분되는 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산하는 단계, 상기 계산된 제1 총변이(first total variation) 및 제2 총변이(second total variation)의 합을 통한 총합변이(sum total variation)를 계산하는 단계, 및 상기 계산된 총합변이를 이용하여 상기 제1 적응 임계값 및 상기 제2 적응 임계값 중에서 적어도 하나를 산출하는 단계를 포함한다.The calculating may include setting a temporary threshold value, a first total variation and a second total variation for each of the plurality of regions divided by the set temporary threshold. calculating a variation, calculating a sum total variation through a sum of the calculated first total variation and the second total variation, and calculating the sum Calculating at least one of the first adaptation threshold and the second adaptation threshold using a variation.
일실시예에 따른 상기 계산된 총합변이를 이용하여 상기 제1 적응 임계값 및 상기 제2 적응 임계값 중에서 적어도 하나를 산출하는 단계는, 상기 계산된 총합변이(sum total variation)의 최소값에 해당하는 임계값을 상기 제1 적응 임계값 및 상기 제2 적응 임계값 중에서 적어도 하나로 산출하는 단계를 포함한다.Computing at least one of the first adaptive threshold value and the second adaptive threshold value using the calculated total variation according to an embodiment corresponds to a minimum value of the calculated sum total variation. Calculating a threshold value to at least one of the first adaptive threshold value and the second adaptive threshold value.
일실시예에 따른 상기 임시 임계값을 설정하는 단계는, sRGB 색공간의 R, CIE L*a*b*(CIELAB) 색공간의 a* 또는 b*, HSV 색공간의 H 값 중에서 적어도 하나를 이용하여 상기 임시 임계값을 설정하는 단계를 포함한다.The setting of the temporary threshold according to an embodiment may include setting at least one of R of a sRGB color space, a * or b * of a CIE L * a * b * (CIELAB) color space, and an H value of an HSV color space. And setting the temporary threshold value.
일실시예에 따른 상기 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산하는 단계는, 상기 복수의 영역간 경계에 해당하는 픽셀을 제거하는 단계, 및 상기 경계에 해당하는 픽셀이 제거된 상기 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산하는 단계를 포함한다.The calculating of the first total variation and the second total variation according to an embodiment may include removing pixels corresponding to the boundaries between the plurality of regions, and corresponding to the boundaries. Calculating a first total variation and a second total variation for each of the plurality of regions from which the pixel is removed.
일실시예에 따른 상기 산출하는 단계는, 상기 설 영역에서 색 요소를 이진화하는 단계, 및 상기 이진화된 색 요소에 기초하여 상기 제1 적응 임계값 및 상기 제2 적응 임계값을 산출하는 단계를 포함한다.The calculating may include binarizing a color component in the snow region and calculating the first adaptive threshold and the second adaptive threshold based on the binarized color component. do.
일실시예에 따른 프로그램은 입력영상의 설 영역에서 설질에 대한 제1 적응 임계값 및 설태에 대한 제2 적응 임계값을 산출하는 명령어 세트, 및 상기 산출된 제1 적응 임계값 및 제2 적응 임계값에 기초하여 적어도 셋 이상의 영역으로 상기 입력영상을 분류하는 명령어 세트를 포함한다.The program according to an exemplary embodiment may include a command set for calculating a first adaptive threshold for a tongue quality and a second adaptive threshold for a tongue in a tongue region of an input image, and the calculated first adaptive threshold and a second adaptive threshold. And a command set for classifying the input image into at least three regions based on a value.
도 1은 일실시예에 따른 컴퓨팅 보조 장치를 통해 분류한 설태 영역, 설질 영역, 설태와 설질 혼합 영역을 도시한다.FIG. 1 illustrates a tongue area, a tongue area, a tongue and a tongue mixed area classified through a computing assist device according to an embodiment.
도 2는 일실시예에 따른 컴퓨팅 보조 장치를 설명하는 도면이다.2 is a diagram illustrating a computing assistant device according to an exemplary embodiment.
도 3은 임시 임계값으로 분류된 서로 다른 영역을 설명하는 도면이다.3 is a view for explaining different areas classified as temporary thresholds.
도 4a 및 4b는 총합변이(sum total variation)로부터 적응 임계값을 산출하는 실시예를 설명하는 도면이다.4A and 4B are diagrams illustrating an embodiment of calculating an adaptation threshold value from sum total variation.
도 5는 일실시예에 따라 설태 영역, 설질 영역, 설태와 설질 혼합 영역을 분류하는 방법을 설명하는 도면이다.FIG. 5 is a diagram for describing a method of classifying a tongue area, a tongue area, a tongue and a tongue mixture area, according to an exemplary embodiment.
도 6은 임시 임계값을 설정하여 적응 임계값을 산출하는 방법을 설명하는 도면이다.6 is a diagram for explaining a method of calculating an adaptive threshold by setting a temporary threshold.
본 명세서에 개시되어 있는 본 발명의 개념에 따른 실시예들에 대해서 특정한 구조적 또는 기능적 설명들은 단지 본 발명의 개념에 따른 실시예들을 설명하기 위한 목적으로 예시된 것으로서, 본 발명의 개념에 따른 실시예들은 다양한 형태로 실시될 수 있으며 본 명세서에 설명된 실시예들에 한정되지 않는다.Specific structural or functional descriptions of the embodiments according to the inventive concept disclosed herein are merely illustrated for the purpose of describing the embodiments according to the inventive concept, and the embodiments according to the inventive concept. These may be embodied in various forms and are not limited to the embodiments described herein.
본 발명의 개념에 따른 실시예들은 다양한 변경들을 가할 수 있고 여러 가지 형태들을 가질 수 있으므로 실시예들을 도면에 예시하고 본 명세서에 상세하게 설명하고자 한다. 그러나, 이는 본 발명의 개념에 따른 실시예들을 특정한 개시형태들에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 변경, 균등물, 또는 대체물을 포함한다.Embodiments according to the inventive concept may be variously modified and have various forms, so embodiments are illustrated in the drawings and described in detail herein. However, this is not intended to limit the embodiments in accordance with the concept of the present invention to specific embodiments, and includes modifications, equivalents, or substitutes included in the spirit and scope of the present invention.
제1 또는 제2 등의 용어를 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만, 예를 들어 본 발명의 개념에 따른 권리 범위로부터 이탈되지 않은 채, 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소는 제1 구성요소로도 명명될 수 있다.Terms such as first or second may be used to describe various components, but the components should not be limited by the terms. The terms are only for the purpose of distinguishing one component from another component, for example, without departing from the scope of the rights according to the inventive concept, the first component may be called a second component, Similarly, the second component may also be referred to as the first component.
어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다. 구성요소들 간의 관계를 설명하는 표현들, 예를 들어 "~사이에"와 "바로~사이에" 또는 "~에 직접 이웃하는" 등도 마찬가지로 해석되어야 한다.When a component is referred to as being "connected" or "connected" to another component, it may be directly connected to or connected to that other component, but it may be understood that other components may be present in between. Should be. On the other hand, when a component is said to be "directly connected" or "directly connected" to another component, it should be understood that there is no other component in between. Expressions describing relationships between components, such as "between" and "immediately between" or "directly neighboring", should be interpreted as well.
본 명세서에서 사용한 용어는 단지 특정한 실시예들을 설명하기 위해 사용된 것으로, 본 발명을 한정하려는 의도가 아니다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 설시된 특징, 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것이 존재함으로 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부분품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Singular expressions include plural expressions unless the context clearly indicates otherwise. As used herein, the terms "comprise" or "having" are intended to designate that the stated feature, number, step, operation, component, part, or combination thereof is present, but one or more other features or numbers, It is to be understood that it does not exclude in advance the possibility of the presence or addition of steps, actions, components, parts or combinations thereof.
다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가진다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥상 가지는 의미와 일치하는 의미를 갖는 것으로 해석되어야 하며, 본 명세서에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one of ordinary skill in the art. Terms such as those defined in the commonly used dictionaries should be construed as having meanings consistent with the meanings in the context of the related art, and are not construed in ideal or excessively formal meanings unless expressly defined herein. Do not.
이하, 실시예들을 첨부된 도면을 참조하여 상세하게 설명한다. 그러나, 특허출원의 범위가 이러한 실시예들에 의해 제한되거나 한정되는 것은 아니다. 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다.Hereinafter, exemplary embodiments will be described in detail with reference to the accompanying drawings. However, the scope of the patent application is not limited or limited by these embodiments. Like reference numerals in the drawings denote like elements.
도 1은 일실시예에 따른 컴퓨팅 보조 장치를 통해 분류한 설태 영역, 설질 영역, 설태와 설질 혼합 영역을 도시한다.FIG. 1 illustrates a tongue area, a tongue area, a tongue and a tongue mixed area classified through a computing assist device according to an embodiment.
설태와 혀 표면(설질)의 색상 특성은 서로 달라 색상의 임계값을 통해 두 영역의 구분이 가능하다.The color characteristics of the tongue and tongue surface (sulli) are different from each other through the threshold of color.
대부분의 설태 분류는 임계값을 통해 분류가 되는데, 측정자 간의 혀 색상 고유의 특징, 영상 측정 환경 등의 문제로 모든 상황에서 일정한 임계값을 사용할 경우 영역 구분의 정확도가 떨어질 수 밖에 없다. 일실시예에 따른 컴퓨팅 보조 장치는 영상 및 설질과 설태의 색상 특성에 맞는 적응(adaptive) 임계값을 도출할 수 있고, 이로써, 영역 구분의 정확도를 높일 수 있다.Most of classifications are classified by threshold value. Due to problems such as tongue color characteristics and image measurement environment among the measurers, when a certain threshold value is used in all situations, the accuracy of area classification is inevitably deteriorated. According to an embodiment, the computing assist device may derive an adaptive threshold value suitable for the color characteristics of the image, the quality of the snow, and the color of the tongue, thereby increasing the accuracy of the area classification.
설태의 요인 중하나인 사상유두의 각화의 경우 사상유두가 미세하기 때문에 영상으로 획득할 경우 해당 픽셀의 색상 값은 설질과 각화된 사상유두(흰색)이 혼합된 색상 특성을 나타낸다. 따라서, 일실시예에 따른 컴퓨팅 보조 장치는 일반적인 컬러 영상(110)에서 설질 영역(120), 설태 영역(140), 설질과 설태의 혼합 영역(130)으로 구분이 가능하고, 이러한 구분을 통해 설질 및 설태의 색상 분석을 보다 정확히 할 수 있다.In the case of the filamentous papilla, which is one of the factors of the tongue, the filamentous papilla is fine, so when the image is acquired, the color value of the corresponding pixel represents the color characteristics of the parietal and the angled filamentous papilla (white). Accordingly, the computing assist device according to an embodiment may be divided into a tongue area 120, a tongue area 140, a tongue area and a mixture of tongues 130 in the general color image 110, and through the classification, And color analysis of tongues more accurately.
구체적으로, 일실시예에 따른 컴퓨팅 보조 장치는 주어진 컬러 혀 영상에서 적응 임계값을 찾는 방법으로, 1차적으로 설태와 설태가 아닌 영역을 구분하는 설질 임계값을 계산하고, 2차적으로 설질이 아닌 영역을 대상으로 설태와 설질 혼합 영역과 설태 영역을 구분하는 설태 임계값을 계산할 수 있다.In detail, the computing assisting apparatus according to an exemplary embodiment is a method of finding an adaptive threshold value in a given color tongue image, and primarily calculates a tongue quality threshold that distinguishes between a tongue and a non- tongue state, and secondarily, it is not a tongue quality. It is possible to calculate the tongue threshold value that distinguishes between tongue and tongue mixture zone and tongue zone.
일실시예에 따른 컴퓨팅 보조 장치는 적응 임계값을 산출하기 위해, 임의의 임계값(임시 임계값)을 통해 구분된 두 영역 내부에서 각각 총변이(TV, Total variation)를 계산하고 두 총변이(TV, Total variation)의 합인 총합변이(STV, sum total variation)를 산출하여 총합변이(STV, sum total variation)가 최소가 되는 임계값을 산출할 수 있다.In order to calculate an adaptation threshold, the computing assisting apparatus calculates a total variation (TV) within two regions separated by an arbitrary threshold (temporary threshold), respectively, and calculates the total variation (T). The sum total variation (STV), which is a sum of TV and total variation, may be calculated to calculate a threshold value that minimizes the sum total variation (STV).
설태와 설질는 이질적인 색상이므로 두 영역의 경계 영역에서는 색상값의 변화가 크며, 상대적으로 설태와 설질 영역 내부에서는 색상 값의 변화가 작다. 이러한 특성에 의해 총합변이(STV, sum total variation)가 최소가 될 경우 두 영역을 구분하는 최적화된 적응 임계값을 도출 할 수 있다.Because tongues and tongues are heterogeneous colors, the color value changes large in the boundary region of the two regions, and the color value changes within the tongue and tongue region relatively small. With this characteristic, when the sum total variation (STV) is minimized, an optimized adaptation threshold for distinguishing two regions can be derived.
결국, 본 발명을 이용하면, 영상 측정 환경에 강인한 알고리즘으로 기존 특허 기술로 쉽지 않았던 모바일 분석 시스템에 적용이 용이하다.After all, using the present invention, it is easy to apply to the mobile analysis system that was not easy with the existing patent technology as a robust algorithm for the image measurement environment.
도 2는 일실시예에 따른 컴퓨팅 보조 장치(200)를 설명하는 도면이다.2 is a diagram illustrating an example of a computing assisting device 200 according to an exemplary embodiment.
일실시예에 따른 컴퓨팅 보조 장치(200)는 영상 및 설질과 설태의 색상 특성에 맞는 적응(adaptive) 임계값을 도출할 수 있고, 결국 영역 구분의 정확도를 높일 수 있다.The computing assisting device 200 according to an embodiment may derive an adaptive threshold value suitable for the color characteristics of the image, the quality of the snow, and the shape of the tongue, and thus may increase the accuracy of the area classification.
이를 위해, 일실시예에 따른 컴퓨팅 보조 장치(200)는 산출부(210)와 처리부(220)를 포함할 수 있다.To this end, the computing assistance device 200 according to an embodiment may include a calculator 210 and a processor 220.
산출부(210)는 입력영상의 설 영역에서 설질에 대한 복수의 적응 임계값들을 산출할 수 있다.The calculator 210 may calculate a plurality of adaptation thresholds for snow quality in the snow region of the input image.
예를 들어, 산출부(210)는 입력영상의 설 영역에서 설질에 대한 제1 적응 임계값 및 설태에 대한 제2 적응 임계값을 산출할 수 있다. 이를 위해, 산출부(210)는 설 영역에서 색 요소를 이진화하고, 이진화된 색 요소에 기초하여 제1 적응 임계값 및 제2 적응 임계값을 산출할 수 있다.For example, the calculator 210 may calculate a first adaptation threshold for tongue quality and a second adaptation threshold for appearance in the tongue region of the input image. To this end, the calculator 210 may binarize the color elements in the snow region and calculate a first adaptation threshold value and a second adaptation threshold value based on the binarized color elements.
제1 적응 임계값은 설 영역에서 설태가 나타나는 영역과 설태가 나타나지 않는 영역을 구분하는 임계값으로서, 설질 영역과 설질과 설태 혼합영역을 구분한다.The first adaptation threshold is a threshold value for distinguishing a region where tongues appear and a region where tongues do not appear in the tongue region, and distinguish a tongue zone and a tongue zone and a tongue mix zone.
또한, 제2 적응 임계값은 설질이 나타나는 영역과 설질이 나타나지 않는 영역을 구분하는 임계값으로서, 설질과 설태 혼합영역과 설태 영역을 구분한다.In addition, the second adaptation threshold is a threshold value for distinguishing a region where tongue quality appears and a region where tongue quality does not appear, and classifies a tongue quality, tongue mix region, and a tongue region.
즉, 제1 적응 임계값과 제2 적응 임계값을 통해, 설질 영역, 설질과 설태 혼합 영역, 및 설태 영역을 구분할 수 있다.That is, the tongue quality region, tongue quality and tongue mix region, and tongue style area may be distinguished through the first adaptation threshold value and the second adaptation threshold value.
산출부(210)는 입력영상의 특성에 적합하게 제1 적응 임계값 및 설태에 대한 제2 적응 임계값을 산출할 수 있다.The calculator 210 may calculate a first adaptive threshold value and a second adaptive threshold value for the condition according to the characteristics of the input image.
이를 위해, 산출부(210)는 임시 임계값을 설정할 수 있다. 예를 들어, 산출부(210)는 sRGB 색공간의 R, CIE L*a*b*(CIELAB) 색공간의 a* 또는 b*, HSV 색공간의 H 값 중에서 적어도 하나를 이용하여 임시 임계값을 설정할 수 있다.To this end, the calculator 210 may set a temporary threshold. For example, the calculation unit 210 uses a temporary threshold value using at least one of R of the sRGB color space, a * or b * of the CIELAB color space, and H values of the HSV color space. Can be set.
다음으로, 산출부(210)는 설정된 임시 임계값으로 구분되는 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산할 수 있다. Next, the calculator 210 may calculate a first total variation and a second total variation for each of the plurality of regions divided by the set temporary threshold.
또한, 산출부(210)는 계산된 제1 총변이(first total variation) 및 제2 총변이(second total variation)의 합을 통한 총합변이(sum total variation)를 계산할 수 있다. 이때, 산출부(210)는 계산된 총합변이를 이용하여 상기 제1 적응 임계값 및 상기 제2 적응 임계값 중에서 적어도 하나를 산출할 수 있다. 예를 들어, 산출부(210)는 계산된 총합변이(sum total variation)의 최소값에 해당하는 임계값을 제1 적응 임계값 및 제2 적응 임계값 중에서 적어도 하나로 산출할 수 있다.In addition, the calculator 210 may calculate a sum total variation through the sum of the calculated first total variation and the second total variation. In this case, the calculator 210 may calculate at least one of the first adaptation threshold and the second adaptation threshold using the calculated total variation. For example, the calculator 210 may calculate a threshold value corresponding to the calculated minimum value of the sum total variation as at least one of the first adaptive threshold value and the second adaptive threshold value.
일실시예에 따른 처리부(220)는 산출된 제1 적응 임계값 및 제2 적응 임계값에 기초하여 복수의 영역들, 예를 들어 설질 영역, 설태 영역, 및 설질과 설태 혼합 영역을 분류할 수 있다.The processor 220 according to an embodiment may classify a plurality of areas, for example, a tongue area, a tongue area, and a tongue and tongue mixture area based on the calculated first and second adaptive threshold values. have.
한편, 산출부(210)는 복수의 영역간 경계에 해당하는 픽셀을 제거하고, 경계 픽셀이 제거된 상기 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산할 수도 있다. 이는 도 3을 통해 상세히 설명한다.On the other hand, the calculator 210 removes pixels corresponding to the boundaries between the plurality of regions, and first and second total variations for each of the regions where the boundary pixels are removed. ) Can also be calculated. This will be described in detail with reference to FIG. 3.
도 3은 임시 임계값으로 분류된 서로 다른 영역을 설명하는 도면이다.3 is a view for explaining different areas classified as temporary thresholds.
도면부호 310은 임시 임계값으로 서로 다른 영역으로 분류된 이미지를 나타낸다. 이 중에서 도면부호 311은 설태 영역으로 분류하고, 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산하기 위해서는 경계에 해당하는 픽셀(312)을 제거할 수 있다. Reference numeral 310 denotes an image classified into different areas as a temporary threshold. Among these, reference numeral 311 may be classified as a settling area, and in order to calculate a first total variation and a second total variation, the pixel 312 corresponding to the boundary may be removed.
도면부호 320은 도면부호 310의 영상에서 경계에 해당하는 픽셀(312)을 제거하여 생성한 영상이고, 도면부호 321은 설태 영역으로 분류된다. 이때, 컴퓨팅 보조 장치는 알고리즘을 이용해서 영상(320)으로부터 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 산출할 수 있다. Reference numeral 320 is an image generated by removing a pixel 312 corresponding to a boundary from the image 310, and reference numeral 321 is classified as a setting region. In this case, the computing assist device may calculate a first total variation and a second total variation from the image 320 by using an algorithm.
일례로, 컴퓨팅 보조 장치의 산출부는 [수학식 1]를 이용해서 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산할 수 있다.For example, the calculator of the computing assist device may calculate a first total variation and a second total variation using Equation 1.
Figure PCTKR2015011569-appb-I000001
Figure PCTKR2015011569-appb-I000001
[수학식 1]에서,
Figure PCTKR2015011569-appb-I000002
Figure PCTKR2015011569-appb-I000003
, A'는 임시 임계값에 의해서 구분되는 영역을 나타낸다.
In [Equation 1],
Figure PCTKR2015011569-appb-I000002
Is
Figure PCTKR2015011569-appb-I000003
, A 'represents an area divided by a temporary threshold.
종래에는 적응 임계값을 도출하기 위한 구체적인 방법이 명시되어 있지 않으며, 본 발명에서 사용하는 특허에서 사용하는 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 이용하지 않는다. 즉, 본 발명에서는 설태 영역, 설질과 설태의 혼합영역, 그리고 설질 영역으로 분류하고, 이를 위한 알고리즘을 제공한다.In the related art, a specific method for deriving an adaptation threshold is not specified, and the first total variation and the second total variation used in the patent used in the present invention are not used. That is, the present invention categorizes into a tongue zone, a tongue zone and a tongue zone, and a tongue zone, and provides an algorithm for this.
따라서, 본 발명은 영상 측정 환경에 강인한 알고리즘으로 구현될 수 있어 기존 특허 기술로 쉽지 않았던 모바일 분석 시스템에 적용이 용이하다.Therefore, the present invention can be implemented with a robust algorithm in the image measurement environment, so it is easy to apply to a mobile analysis system that was not easy with the existing patent technology.
도 4a 및 도 4b는 총합변이(sum total variation)로부터 적응 임계값을 산출하는 실시예를 설명하는 도면이다.4A and 4B are diagrams illustrating an embodiment of calculating an adaptation threshold value from sum total variation.
먼저 도 4a를 살펴보면, 그래프(410)는 CIE a*에 대한 총합변이(sum total variation)를 나타낸다. 총합변이(sum total variation)는 제1 총변이(first total variation) 및 제2 총변이(second total variation)의 합으로 표현될 수 있는데, 도면부호 411의 지점에서 최소값을 나타낸다. 최소값에 해당하는 도면부호 411은 CIE가 15인 지점으로서, 총합변이(sum total variation)가 15인 지점으로 해석될 수 있다. 따라서, 적응 임계값(CIE=15)을 기준으로 설태 영역 또는 설질 영역으로 구분할 수 있다.First, referring to FIG. 4A, a graph 410 shows a sum total variation for CIE a *. The sum total variation may be expressed as a sum of a first total variation and a second total variation, which represents a minimum value at a point 411. Reference numeral 411 corresponding to the minimum value denotes a point having a CIE of 15 and may be interpreted as a point having a sum total variation of 15. Therefore, it may be classified into a tongue area or a tongue area based on the adaptation threshold value (CIE = 15).
도 4b에서 보는 바와 같이, 컴퓨팅 보조 장치는 설 영상(420)을 적응 임계값(CIE=15)를 기준으로 설태 영역 또는 설질 영역으로 구분할 수 있다.As shown in FIG. 4B, the computing assist device may divide the tongue image 420 into a tongue area or a tongue area based on an adaptive threshold value (CIE = 15).
도 5는 일실시예에 따라 설태 영역, 설질 영역, 설태와 설질 혼합 영역을 분류하는 방법을 설명하는 도면이다.FIG. 5 is a diagram for describing a method of classifying a tongue area, a tongue area, a tongue and a tongue mixture area, according to an exemplary embodiment.
일정한 임계값을 사용할 경우 영역 구분의 정확도가 떨어질 수 밖에 없는데, 본 발명은 영상 및 설질과 설태의 색상 특성에 맞는 적응(adaptive) 임계값을 도출하여, 영역 구분의 정확도를 높일 수 있다.When a certain threshold value is used, the accuracy of the area classification is inevitably deteriorated. The present invention can derive an adaptive threshold value suitable for the color characteristics of the image, the quality of the snow, and the shape of the tongue, thereby increasing the accuracy of the area classification.
이를 위해, 일실시예에 따른 방법은 입력영상의 설 영역에서 설질에 대한 제1 적응 임계값 및 설태에 대한 제2 적응 임계값을 산출하고, 산출된 제1 적응 임계값 및 제2 적응 임계값에 기초하여 설질 영역, 설태 영역, 및 설질과 설태 혼합 영역을 분류할 수 있다.To this end, the method according to an embodiment calculates a first adaptation threshold for the tongue quality and a second adaptation threshold for the condition in the tongue region of the input image, and calculates the calculated first adaptation threshold value and the second adaptation threshold value. On the basis of this, the tongue, tongue, and tongue can be classified into tongue and tongue.
구체적으로, 일실시예에 따른 방법은 컬러의 혀를 나타내는 설 영역을 메모리에 할당할 수 있다(단계 501).Specifically, the method according to an embodiment may allocate a tongue area representing the tongue of color to the memory (step 501).
다음으로, 일실시예에 따른 방법은 설질에 대한 적응 임계값을 계산할 수 있다(단계 502). 설질에 대한 적응 임계값은 설질과 설질이 아닌 영역을 구분하는 것으로서, 설질과 설태의 혼합영역과 설태 영역을 구분하거나, 설태 영역과 설질 영역을 구분하는 기준으로 사용될 수 있다.Next, the method according to one embodiment may calculate an adaptation threshold for snow quality (step 502). The threshold for adaptation to the lingual quality is to distinguish between lingual and non-lingual qualities, and may be used as a criterion for distinguishing a mixed area of lingual lingual and lingual and lingual area, or for distinguishing between a lingual area and a lingual area.
일실시예에 따른 방법은 계산된 설질에 대한 적응 임계값을 이용해서 설질이 아닌 영역의 도출할 수 있다(단계 503).The method according to one embodiment may derive a non-snow area using the calculated threshold for adaptation to snow quality (step 503).
설질이 아닌 영역은, 설태가 임계값 이상으로 분포하는 영역으로서, 설태 영역으로 해석될 수 있다.The area that is not the tongue is a region in which the tongue is distributed above the threshold, and may be interpreted as the tongue.
한편, 일실시예에 따른 방법은 설태에 대한 적응 임계값 계산할 수 있다(단계 504).On the other hand, the method according to an embodiment may calculate an adaptation threshold for the setting (step 504).
설태에 대한 적응 임계값은 설태와 설태가 아닌 영역을 구분하는 것으로서, 설질과 설태의 혼합영역과 설질 영역을 구분하거나, 설태 영역과 설질 영역을 구분하는 기준으로 사용될 수 있다.The adaptation threshold for tongues is to distinguish between tongues and non- tongues, and it can be used as a criterion for distinguishing tongues and tongues from mixed areas and tongues, or to distinguish tongues from tongues.
일실시예에 따른 방법은 설태에 대한 적응 임계값을 활용하여 설태 영역 및 설질/설태 혼합 영역 도출할 수 있다(단계 505).According to an embodiment, the method may derive a tongue area and a tongue / tongue mix area by using an adaptation threshold for the tongue (step 505).
도 6은 임시 임계값을 설정하여 적응 임계값을 산출하는 방법을 설명하는 도면이다.6 is a diagram for explaining a method of calculating an adaptive threshold by setting a temporary threshold.
임시 임계값을 설정하여 적응 임계값을 산출하기 위해서는 우선, 임시 임계값을 설정해야 한다(단계 601). 예를 들어, 본 발명에 따른 방법은 sRGB 색공간의 R, CIE L*a*b*(CIELAB) 색공간의 a* 또는 b*, HSV 색공간의 H 값 중에서 적어도 하나를 이용하여 임시 임계값을 설정할 수 있다.In order to set the temporary threshold to calculate the adaptive threshold, first, a temporary threshold must be set (step 601). For example, the method according to the present invention uses a temporary threshold value using at least one of R, CIE L * a * b * (CIELAB) color space of sRGB color space, and H value of HSV color space. Can be set.
다음으로, 본 발명에 따른 방법은 복수의 영역간 경계에 해당하는 픽셀을 제거하고(단계 602), 경계에 해당하는 픽셀이 제거된 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산한다(단계 603).Next, the method according to the present invention removes a pixel corresponding to a plurality of inter-region boundaries (step 602), and includes a first total variation and a first total variation for each of the plurality of regions from which a pixel corresponding to the boundary is removed. Second total variation is calculated (step 603).
본 발명에 따른 방법은 계산된 제1 총변이(first total variation) 및 제2 총변이(second total variation)의 합을 통한 총합변이(sum total variation)를 계산하고, 계산된 총합변이를 이용하여 제1 적응 임계값 및 제2 적응 임계값 중에서 적어도 하나를 산출할 수 있다. 이때, 설 영역에서 색 요소를 이진화하고, 이진화된 색 요소에 기초하여 제1 적응 임계값 및 제2 적응 임계값을 산출할 수도 있다.The method according to the invention calculates the sum total variation through the sum of the calculated first total variation and the second total variation, and calculates the sum total variation using the calculated total variation. At least one of the first adaptation threshold and the second adaptation threshold may be calculated. In this case, the color component may be binarized in the snow region, and the first adaptation threshold value and the second adaptation threshold value may be calculated based on the binarized color element.
본 발명에 따른 방법은 모든 임계값 후보에 대해 총합변이(sum total variation)의 계산을 반복하고, 반복결과 최소 총합변이(sum total variation)를 만족하는 임계값을 도출할 수 있다(단계 605).The method according to the present invention may repeat the calculation of the sum total variation for all threshold candidates and derive a threshold value that satisfies the sum total variation as a result of the iteration (step 605).
결국, 본 발명을 이용하면 영상 및 설질과 설태의 색상 특성에 맞는 적응(adaptive) 임계값을 도출할 수 있고, 이로써, 영역 구분의 정확도를 높일 수 있다.As a result, according to the present invention, an adaptive threshold value suitable for the color characteristics of the image and the quality of the snow and the tongue may be derived, thereby increasing the accuracy of the area classification.
이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The apparatus described above may be implemented as a hardware component, a software component, and / or a combination of hardware components and software components. For example, the devices and components described in the embodiments are, for example, processors, controllers, arithmetic logic units (ALUs), digital signal processors, microcomputers, field programmable gate arrays (FPGAs). Can be implemented using one or more general purpose or special purpose computers, such as a programmable logic unit (PLU), a microprocessor, or any other device capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to the execution of the software. For convenience of explanation, one processing device may be described as being used, but one of ordinary skill in the art will appreciate that the processing device includes a plurality of processing elements and / or a plurality of types of processing elements. It can be seen that it may include. For example, the processing device may include a plurality of processors or one processor and one controller. In addition, other processing configurations are possible, such as parallel processors.
소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of the above, and configure the processing device to operate as desired, or process it independently or collectively. You can command the device. Software and / or data may be any type of machine, component, physical device, virtual equipment, computer storage medium or device in order to be interpreted by or to provide instructions or data to the processing device. Or may be permanently or temporarily embodied in a signal wave to be transmitted. The software may be distributed over networked computer systems so that they may be stored or executed in a distributed manner. Software and data may be stored on one or more computer readable recording media.
실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to the embodiment may be embodied in the form of program instructions that can be executed by various computer means and recorded in a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the media may be those specially designed and constructed for the purposes of the embodiments, or they may be of the kind well-known and available to those having skill in the computer software arts. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tape, optical media such as CD-ROMs, DVDs, and magnetic disks, such as floppy disks. Magneto-optical media, and hardware devices specifically configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine code generated by a compiler, but also high-level language code that can be executed by a computer using an interpreter or the like. The hardware device described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.
이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.Although the embodiments have been described by the limited embodiments and the drawings as described above, various modifications and variations are possible to those skilled in the art from the above description. For example, the described techniques may be performed in a different order than the described method, and / or components of the described systems, structures, devices, circuits, etc. may be combined or combined in a different form than the described method, or other components. Or even if replaced or substituted by equivalents, an appropriate result can be achieved.
그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are within the scope of the claims that follow.

Claims (16)

  1. 컴퓨터에 의해 적어도 일시적으로 구현되는:At least temporarily implemented by the computer:
    입력영상의 설 영역에서 설질에 대한 제1 적응 임계값 및 설태에 대한 제2 적응 임계값을 산출하는 산출부; 및A calculator configured to calculate a first adaptive threshold value for tongue quality and a second adaptive threshold value for tongue shape in the tongue region of the input image; And
    상기 산출된 제1 적응 임계값 및 제2 적응 임계값에 기초하여 적어도 셋 이상의 영역으로 상기 입력영상을 분류하는 처리부A processor that classifies the input image into at least three regions based on the calculated first and second adaptive thresholds
    를 포함하는 컴퓨팅 보조 장치.Computing assistant device comprising a.
  2. 제1항에 있어서,The method of claim 1,
    상기 산출부는,The calculation unit,
    임시 임계값을 설정하고, 상기 설정된 임시 임계값으로 구분되는 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산하며, 상기 계산된 제1 총변이(first total variation) 및 제2 총변이(second total variation)의 합을 통한 총합변이(sum total variation)를 계산하고, 상기 계산된 총합변이를 이용하여 상기 제1 적응 임계값 및 상기 제2 적응 임계값 중에서 적어도 하나를 산출하는 컴퓨팅 보조 장치.Setting a temporary threshold, calculating a first total variation and a second total variation for each of the plurality of regions divided by the set temporary threshold, and calculating the calculated first total Compute sum total variation through the sum of the first total variation and the second total variation, and use the calculated total variation to adjust the first adaptation threshold and the second adaptation. Computing assistant device for calculating at least one of the threshold.
  3. 제2항에 있어서,The method of claim 2,
    상기 산출부는,The calculation unit,
    상기 계산된 총합변이(sum total variation)의 최소값에 해당하는 임계값을 상기 제1 적응 임계값 및 상기 제2 적응 임계값 중에서 적어도 하나로 산출하는 컴퓨팅 보조 장치.And calculating a threshold value corresponding to the minimum value of the calculated sum total variation to at least one of the first adaptive threshold value and the second adaptive threshold value.
  4. 제2항에 있어서,The method of claim 2,
    상기 산출부는,The calculation unit,
    sRGB 색공간의 R, CIE L*a*b*(CIELAB) 색공간의 a* 또는 b*, HSV 색공간의 H 값 중에서 적어도 하나를 이용하여 상기 임시 임계값을 설정하는 컴퓨팅 보조 장치.Computing assist device for setting the temporary threshold using at least one of R, CIE L * a * b * (CIELAB) color space of the sRGB color space, H value of the HSV color space.
  5. 제2항에 있어서,The method of claim 2,
    상기 산출부는,The calculation unit,
    상기 복수의 영역간 경계에 해당하는 픽셀을 제거하고, 경계 픽셀이 제거된 상기 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산하는 컴퓨팅 보조 장치.A computing assist device for removing pixels corresponding to the plurality of regions and calculating a first total variation and a second total variation for each of the plurality of regions from which the boundary pixels are removed. .
  6. 제1항에 있어서,The method of claim 1,
    상기 산출부는,The calculation unit,
    상기 설 영역에서 색 요소를 이진화하고, 상기 이진화된 색 요소에 기초하여 상기 제1 적응 임계값 및 상기 제2 적응 임계값을 산출하는 컴퓨팅 보조 장치.And binarizing a color component in the snow region and calculating the first adaptation threshold and the second adaptation threshold based on the binarized color component.
  7. 컴퓨터에 의해 적어도 일시적으로 구현되는:At least temporarily implemented by the computer:
    입력영상의 설 영역에서 설질에 대한 적응 임계값들을 산출하는 산출부; 및A calculator configured to calculate adaptation thresholds for snow quality in the snow region of the input image; And
    상기 산출된 적응 임계값들에 기초하여 설질 영역, 설태 영역, 및 설질과 설태 혼합 영역을 분류하는 처리부A processing unit classifying the tongue quality area, tongue quality area, and tongue quality and tongue quality mixing area based on the calculated adaptation thresholds
    를 포함하는 컴퓨팅 보조 장치.Computing assistant device comprising a.
  8. 제7항에 있어서,The method of claim 7, wherein
    상기 산출부는,The calculation unit,
    임시 임계값을 설정하고, 상기 설정된 임시 임계값으로 구분되는 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산하며, 상기 계산된 제1 총변이(first total variation) 및 제2 총변이(second total variation)의 합을 통한 총합변이(sum total variation)를 계산하고, 상기 계산된 총합변이를 이용하여 상기 적응 임계값들 중에서 적어도 하나를 산출하는 컴퓨팅 보조 장치.Setting a temporary threshold, calculating a first total variation and a second total variation for each of the plurality of regions divided by the set temporary threshold, and calculating the calculated first total Calculating a sum total variation through a sum of a first total variation and a second total variation, and calculating at least one of the adaptation thresholds using the calculated total variation Computing Assistant.
  9. 컴퓨터에 의해 적어도 일시적으로 구현되는 방법에 있어서,In a method implemented at least temporarily by a computer,
    입력영상의 설 영역에서 설질에 대한 제1 적응 임계값 및 설태에 대한 제2 적응 임계값을 산출하는 단계; 및Calculating a first adaptive threshold for tongue quality and a second adaptive threshold for tongue shape in a tongue area of an input image; And
    상기 산출된 제1 적응 임계값 및 제2 적응 임계값에 기초하여 설질 영역, 설태 영역, 및 설질과 설태 혼합 영역을 분류하는 단계Classifying the tongue quality region, tongue style area, and tongue quality and tongue mix region based on the calculated first adaptive threshold value and the second adaptive threshold value.
    를 포함하는 방법.How to include.
  10. 제9항에 있어서,The method of claim 9,
    상기 산출하는 단계는,The calculating step,
    임시 임계값을 설정하는 단계;Setting a temporary threshold;
    상기 설정된 임시 임계값으로 구분되는 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산하는 단계;Calculating a first total variation and a second total variation for each of the plurality of regions divided by the set temporary threshold value;
    상기 계산된 제1 총변이(first total variation) 및 제2 총변이(second total variation)의 합을 통한 총합변이(sum total variation)를 계산하는 단계; 및Calculating a sum total variation through a sum of the calculated first total variation and second total variation; And
    상기 계산된 총합변이를 이용하여 상기 제1 적응 임계값 및 상기 제2 적응 임계값 중에서 적어도 하나를 산출하는 단계Calculating at least one of the first adaptive threshold value and the second adaptive threshold value using the calculated total variation;
    를 포함하는 방법.How to include.
  11. 제10항에 있어서,The method of claim 10,
    상기 계산된 총합변이를 이용하여 상기 제1 적응 임계값 및 상기 제2 적응 임계값 중에서 적어도 하나를 산출하는 단계는,Computing at least one of the first adaptive threshold value and the second adaptive threshold value using the calculated total variation,
    상기 계산된 총합변이(sum total variation)의 최소값에 해당하는 임계값을 상기 제1 적응 임계값 및 상기 제2 적응 임계값 중에서 적어도 하나로 산출하는 단계Calculating a threshold value corresponding to the minimum value of the calculated sum total variation to at least one of the first adaptive threshold value and the second adaptive threshold value;
    를 포함하는 방법.How to include.
  12. 제10항에 있어서,The method of claim 10,
    상기 임시 임계값을 설정하는 단계는,Setting the temporary threshold value,
    sRGB 색공간의 R, CIE L*a*b*(CIELAB) 색공간의 a* 또는 b*, HSV 색공간의 H 값 중에서 적어도 하나를 이용하여 상기 임시 임계값을 설정하는 단계setting the temporary threshold using at least one of R, CIE L * a * b * (CIELAB) color space of sRGB color space, and H value of HSV color space
    를 포함하는 방법.How to include.
  13. 제10항에 있어서,The method of claim 10,
    상기 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산하는 단계는,Computing the first total variation (second total variation) and the second total variation (second total variation),
    상기 복수의 영역간 경계에 해당하는 픽셀을 제거하는 단계; 및Removing pixels corresponding to the boundaries between the plurality of regions; And
    상기 경계에 해당하는 픽셀이 제거된 상기 복수의 영역 각각에 대한 제1 총변이(first total variation) 및 제2 총변이(second total variation)를 계산하는 단계Calculating a first total variation and a second total variation for each of the plurality of regions from which pixels corresponding to the boundary are removed;
    를 포함하는 방법.How to include.
  14. 제9항에 있어서,The method of claim 9,
    상기 산출하는 단계는,The calculating step,
    상기 설 영역에서 색 요소를 이진화하는 단계; 및Binarizing color elements in the snow region; And
    상기 이진화된 색 요소에 기초하여 상기 제1 적응 임계값 및 상기 제2 적응 임계값을 산출하는 단계Calculating the first adaptation threshold and the second adaptation threshold based on the binarized color component
    를 포함하는 방법.How to include.
  15. 제9항 내지 제14항 중에서 어느 한 항의 방법을 수행하기 위한 프로그램이 기록된 컴퓨터로 판독 가능한 기록 매체.A computer-readable recording medium having recorded thereon a program for performing the method of claim 9.
  16. 기록매체에 저장되는 프로그램으로서, 상기 프로그램은 컴퓨팅 시스템에서 실행되는:A program stored on a record carrier, the program being executed in a computing system:
    입력영상의 설 영역에서 설질에 대한 제1 적응 임계값 및 설태에 대한 제2 적응 임계값을 산출하는 명령어 세트; 및An instruction set for calculating a first adaptive threshold for tongue quality and a second adaptive threshold for tongue shape in a tongue area of an input image; And
    상기 산출된 제1 적응 임계값 및 제2 적응 임계값에 기초하여 적어도 셋 이상의 영역으로 상기 입력영상을 분류하는 명령어 세트An instruction set for classifying the input image into at least three regions based on the calculated first adaptive threshold value and a second adaptive threshold value
    를 포함하는 프로그램.Program comprising a.
PCT/KR2015/011569 2015-10-29 2015-10-30 Device and method for deriving adaptive threshold value and distinguishing between tongue fur, tongue texture, and mixed area thereof WO2017073823A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020150151165A KR101771325B1 (en) 2015-10-29 2015-10-29 Apparatus and method for deriving adaptive threshold and for classifying region of coated tongue, region of tongue substance, and region of mixed
KR10-2015-0151165 2015-10-29

Publications (1)

Publication Number Publication Date
WO2017073823A1 true WO2017073823A1 (en) 2017-05-04

Family

ID=58631601

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2015/011569 WO2017073823A1 (en) 2015-10-29 2015-10-30 Device and method for deriving adaptive threshold value and distinguishing between tongue fur, tongue texture, and mixed area thereof

Country Status (2)

Country Link
KR (1) KR101771325B1 (en)
WO (1) WO2017073823A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109472774A (en) * 2018-10-11 2019-03-15 上海中医药大学 A kind of tongue picture picture quality detection method based on deep learning
CN109615628A (en) * 2018-12-24 2019-04-12 上海中医药大学 A kind of evaluation method of tongue picture image
CN110929740A (en) * 2019-11-21 2020-03-27 中电健康云科技有限公司 LGBM model-based tongue quality and tongue coating separation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100030293A1 (en) * 2008-07-31 2010-02-04 Medtronic, Inc. Using multiple diagnostic parameters for predicting heart failure events
KR20130003359A (en) * 2011-06-30 2013-01-09 상지대학교산학협력단 Tongue coat analyzer using light source with range of specific wavelength and method thereof
KR20130067658A (en) * 2011-12-14 2013-06-25 한국 한의학 연구원 Apparatus and method of diagnosing health by separating region of tongue coating from region of tongue substance
KR20140017053A (en) * 2012-07-30 2014-02-11 삼성전자주식회사 Method of performing segmentation of vessel using a plurality of thresholds and device thereof
US20140161369A1 (en) * 2011-08-18 2014-06-12 Olympus Corporation Fluoroscopy apparatus, fluoroscopy system, and fluorescence-image processing method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100030293A1 (en) * 2008-07-31 2010-02-04 Medtronic, Inc. Using multiple diagnostic parameters for predicting heart failure events
KR20130003359A (en) * 2011-06-30 2013-01-09 상지대학교산학협력단 Tongue coat analyzer using light source with range of specific wavelength and method thereof
US20140161369A1 (en) * 2011-08-18 2014-06-12 Olympus Corporation Fluoroscopy apparatus, fluoroscopy system, and fluorescence-image processing method
KR20130067658A (en) * 2011-12-14 2013-06-25 한국 한의학 연구원 Apparatus and method of diagnosing health by separating region of tongue coating from region of tongue substance
KR20140017053A (en) * 2012-07-30 2014-02-11 삼성전자주식회사 Method of performing segmentation of vessel using a plurality of thresholds and device thereof

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109472774A (en) * 2018-10-11 2019-03-15 上海中医药大学 A kind of tongue picture picture quality detection method based on deep learning
CN109615628A (en) * 2018-12-24 2019-04-12 上海中医药大学 A kind of evaluation method of tongue picture image
CN110929740A (en) * 2019-11-21 2020-03-27 中电健康云科技有限公司 LGBM model-based tongue quality and tongue coating separation method

Also Published As

Publication number Publication date
KR101771325B1 (en) 2017-08-24
KR20170050094A (en) 2017-05-11

Similar Documents

Publication Publication Date Title
Fu et al. Computer-aided bleeding detection in WCE video
WO2018106005A1 (en) System for diagnosing disease using neural network and method therefor
WO2021071288A1 (en) Fracture diagnosis model training method and device
WO2017073823A1 (en) Device and method for deriving adaptive threshold value and distinguishing between tongue fur, tongue texture, and mixed area thereof
WO2020071701A1 (en) Method and device for detecting object in real time by means of deep learning network model
WO2017164478A1 (en) Method and apparatus for recognizing micro-expressions through deep learning analysis of micro-facial dynamics
WO2017155158A1 (en) Apparatus for evaluating skin texture on basis of skin texture blob, and method therefor
WO2012111906A1 (en) Apparatus and method for generating image feature data
WO2021095991A1 (en) Device and method for generating defect image
WO2013048159A1 (en) Method, apparatus and computer readable recording medium for detecting a location of a face feature point using an adaboost learning algorithm
CN106557521A (en) Object indexing method, object search method and object indexing system
WO2019132592A1 (en) Image processing device and method
WO2022114522A1 (en) Blood vessel image extracting method and apparatus using plurality of prediction results
WO2016186236A1 (en) Color processing system and method for three-dimensional object
WO2020138607A1 (en) Method and device for providing question and answer using chatbot
WO2019231162A1 (en) Image segmentation method and device
WO2012053811A2 (en) Tensor-voting-based color-clustering system and method
WO2015126058A1 (en) Method for predicting prognosis of cancer
WO2017003240A1 (en) Image conversion device and image conversion method therefor
WO2015046658A1 (en) Apparatus and method for measuring reproducibility of tongue diagnosis device
WO2019194482A1 (en) Super resolution imaging method using local binary pattern classification and linear mapping
WO2019225798A1 (en) Method and device for selecting question in multiple psychological test sheets on basis of machine learning to promptly diagnose anxiety and depression symptoms
WO2019225799A1 (en) Method and device for deleting user information using deep learning generative model
WO2015060486A1 (en) Apparatus and method for diagnosing image
WO2016098943A1 (en) Image processing method and system for improving face detection capability

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15907368

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15907368

Country of ref document: EP

Kind code of ref document: A1