KR20210002197A - Method for automatic measurement of amniotic fluid volume based on artificial intelligence model - Google Patents

Method for automatic measurement of amniotic fluid volume based on artificial intelligence model Download PDF

Info

Publication number
KR20210002197A
KR20210002197A KR1020190076999A KR20190076999A KR20210002197A KR 20210002197 A KR20210002197 A KR 20210002197A KR 1020190076999 A KR1020190076999 A KR 1020190076999A KR 20190076999 A KR20190076999 A KR 20190076999A KR 20210002197 A KR20210002197 A KR 20210002197A
Authority
KR
South Korea
Prior art keywords
amniotic fluid
region
artificial intelligence
ultrasound
intelligence model
Prior art date
Application number
KR1020190076999A
Other languages
Korean (ko)
Other versions
KR102270917B1 (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 KR1020190076999A priority Critical patent/KR102270917B1/en
Publication of KR20210002197A publication Critical patent/KR20210002197A/en
Application granted granted Critical
Publication of KR102270917B1 publication Critical patent/KR102270917B1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B8/00Diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/08Detecting organic movements or changes, e.g. tumours, cysts, swellings
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B8/00Diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/52Devices using data or image processing specially adapted for diagnosis using ultrasonic, sonic or infrasonic waves
    • A61B8/5207Devices using data or image processing specially adapted for diagnosis using ultrasonic, sonic or infrasonic waves involving processing of raw data to produce diagnostic data, e.g. for generating an image
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/20ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for computer-aided diagnosis, e.g. based on medical expert systems

Abstract

The present invention relates to a method for automatically measuring the amount of uterine amniotic fluid based on an artificial intelligence model, which comprises the steps of: selecting and pre-processing a plurality of pre-acquired ultrasound images to obtain a plurality of learning images in which an intrauterine amniotic fluid region is labeled; learning an artificial intelligence model for predicting the amniotic fluid region through the learning images; predicting the amniotic fluid region in a patient image through the artificial intelligence model when a patient image obtained by ultrasonically imaging a patient uterus is input from an ultrasound device; extracting a region of interest by horizontally connecting a left edge to a right edge of the amniotic fluid region; extracting the longest straight line length secured with a predetermined width while sequentially scanning the region of interest in a horizontal direction; and converting the longest straight line length into the amount of amniotic fluid in accordance with a preset amniotic fluid amount conversion ratio. Accordingly, more objective and reliable amniotic fluid measuring operations can be performed.

Description

인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법{Method for automatic measurement of amniotic fluid volume based on artificial intelligence model}{Method for automatic measurement of amniotic fluid volume based on artificial intelligence model}

본 발명은 자궁 양수량 자동 측정 방법에 관한 것으로, 특히 자궁 양수량을 보다 객관적이고 신뢰성있게 측정할 수 있도록 하는 인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법에 관한 것이다. The present invention relates to a method for automatically measuring uterine amniotic fluid, and in particular, to a method for automatically measuring amniotic fluid in uterus based on an artificial intelligence model that enables more objective and reliable measurement of amniotic fluid in uterus.

양수는 자궁 내에서 태아의 성장과 발달에 중요한 역할을 한다. 양수는 외부의 충격으로부터 태아를 보호하는 완충 역할을 하며, 근골격계의 발달을 가능하게 하고, 감염으로부터 항균 역할, 태아 체온의 유지, 위장관과 호흡계의 발달 및 태아의 성장과 발달에 필요한 수분과 영양소의 공급원으로서의 역할 등을 한다. Amniotic fluid plays an important role in the growth and development of the fetus in the womb. Amniotic fluid acts as a buffer to protect the fetus from external shocks, enables the development of the musculoskeletal system, plays an antibacterial role from infection, maintains fetal body temperature, develops the gastrointestinal tract and respiratory system, and contains moisture and nutrients necessary for the growth and development of the fetus. It serves as a source of supply, etc.

양수량의 이상은 태아 기형이나 다양한 태아 질환과 관련이 있으며, 정상 태아의 경우에도 양수량의 이상은 주산기 유병률과 사망률을 증가시킨다. 따라서 임신 중 양수량의 측정은 태아의 안녕 등을 평가하는 중요한 항목이다. Abnormal amounts of amniotic fluid are associated with fetal malformations or various fetal diseases, and even in the case of a normal fetus, abnormal amniotic fluid increases the perinatal prevalence and mortality. Therefore, measurement of amniotic fluid during pregnancy is an important item for evaluating the well-being of the fetus.

양수량을 정확하게 측정하기 위해서는 양수천자를 통해 색소희석방법으로 측정해야 하지만 임상적으로 시행하기 어려워 일반적으로 초음파를 이용한 반정량적 방법을 통해 측정한다. In order to accurately measure the amount of amniotic fluid, it is necessary to measure it by the pigment dilution method through amniocentesis, but it is difficult to perform clinically, so it is generally measured through a semi-quantitative method using ultrasound.

일반적으로 단일 최대 양수포켓측정이나 양수지수측정을 통해 측정한다. 최대 양수포켓측정은 가장 깊은 하나의 양수포켓을 찾아 깊이를 측정하는 것이고, 양수지수측정은 자궁을 네 부분으로 나누어 각 부분의 가장 깊은 곳을 측정한 후 값을 더하는 것이다. In general, it is measured through a single maximum positive pocket measurement or positive index measurement. The maximum amniotic fluid pocket measurement is to measure the depth by finding the deepest amniotic fluid pocket, and amniotic fluid index measurement is to divide the uterus into four parts, measure the deepest part of each part, and then add the value.

하지만 초음파를 통해 양수량을 측정하기 위해서는, 측정자가 초음파 이미지를 통해 양수가 가장 많아 보이는 부분을 시각적으로 탐색하고, 이를 통해 가장 깊은 부분을 수동 선택하여 수직 직선거리를 측정해야 한다. However, in order to measure the amount of amniotic fluid through ultrasound, the measurer must visually search for the portion where the amniotic fluid is the most visible through the ultrasound image, and through this, manually select the deepest area to measure the vertical linear distance.

이에 1) 양수량이 가장 많은 부분을 선택할 때 문제, 2) 한 단면에서 가장 깊어 보이는 곳을 선택할 때 문제, 3) 직선을 그어 양수량을 측정할 때의 문제 등이 발생하고, 측정자의 주관에 따라 양수 측정량이 달라지는 문제가 발생하게 된다. Therefore, 1) problems when selecting the part with the largest amount of water, 2) problems when selecting the deepest visible part of a section, and 3) problems when measuring the amount of water by drawing a straight line, and the positive water according to the subject of the measurer There is a problem that the amount of measurement varies.

이에 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명은 인공 지능 모듈을 이용하여 초음파 이미지로부터 가장 깊은 양수 영역을 검출하고, 이에 기반한 양수량 측정 동작을 수행하도록 하는 인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법을 제공하고자 한다. Accordingly, as to solve the above problems, the present invention is a method for automatically measuring uterine amniotic fluid volume based on an artificial intelligence model that detects the deepest amniotic fluid region from an ultrasound image using an artificial intelligence module and performs an amniotic fluid volume measurement operation based thereon. Want to provide.

그리고 임산부 초음파 촬영과 양수량 산출 동작이 동시 수행될 수 있도록 하는 인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법을 제공하고자 한다. In addition, it is intended to provide a method for automatically measuring uterine amniotic fluid volume based on an artificial intelligence model that enables both ultrasound imaging of pregnant women and amniotic fluid calculation operations to be performed simultaneously.

본 발명의 목적은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 본 발명이 속하는 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The object of the present invention is not limited to the object mentioned above, and other objects not mentioned will be clearly understood by those of ordinary skill in the art from the following description.

상기 과제를 해결하기 위한 수단으로서, 본 발명의 일 실시 형태에 따르면, 기 획득된 다수의 초음파 이미지를 선택 및 전처리하여, 자궁내 양수 영역이 라벨링된 다수의 학습 이미지를 획득하는 단계; 상기 다수의 학습 이미지를 통해 양수 영역 예측을 위한 인공지능 모델을 학습시키는 단계; 초음파 기기로부터 환자 자궁을 초음파 촬영한 환자 이미지가 입력되면, 상기 인공지능 모델을 통해 상기 환자 이미지내 양수 영역을 예측하는 단계; 상기 양수 영역의 좌측 가장자리에서 우측 가장자리까지 수평 연결하여 관심 영역을 추출하는 단계; 상기 관심 영역을 수평 방향으로 순차 스캐닝하면서 일정 너비가 확보된 가장 긴 직선 길이를 추출하는 단계; 및 기 설정된 양수량 환산 비율에 따라 상기 가장 긴 직선 길이를 양수량으로 환산하여 출력하는 단계를 포함하는 인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법을 제공한다. As a means for solving the above problem, according to an embodiment of the present invention, by selecting and preprocessing a plurality of previously acquired ultrasound images, obtaining a plurality of learning images labeled with an intrauterine amniotic fluid region; Training an artificial intelligence model for predicting a positive region through the plurality of training images; When an ultrasound image of the patient's uterus is input from an ultrasound device, predicting a positive region in the patient image through the artificial intelligence model; Extracting a region of interest by connecting horizontally from a left edge to a right edge of the positive region; Extracting the longest straight line length having a predetermined width while sequentially scanning the region of interest in a horizontal direction; And converting and outputting the longest straight line length into a positive amount according to a preset conversion ratio of the amount of amniotic fluid. It provides a method for automatically measuring uterine amniotic fluid amount based on an artificial intelligence model.

상기 자궁 양수량 자동 측정 방법은 환자의 초음파 촬영 부위가 N(N은 2 이상의 자연수)개인 경우, N 개 부위의 양수량을 모두 합산하여 최종 양수량을 결정 및 통보하는 단계를 더 포함하는 것을 특징으로 한다.The method of automatically measuring the amount of uterine amniotic fluid may further include determining and notifying the final amniotic fluid amount by summing all the amniotic fluid amounts of the N areas when the ultrasound imaging site of the patient is N (N is a natural number of 2 or more).

상기 인공지능 모델은 유-넷 모델로 구현되는 것을 특징으로 한다. The artificial intelligence model is characterized in that it is implemented as a U-Net model.

상기 학습 이미지를 획득하는 단계는 인공지능 모델의 학습에 이용할 초음파 이미지를 선택하고, 임계값에 기반한 이진화를 수행한 후 픽셀값이 1인 픽셀들만을 남기는 단계; 인접 픽셀들을 연결 및 그룹핑한 후 라벨링하고, 라벨들의 도심과 이미지 중심 값의 거리에 기반하여 초음파 영역을 파악하는 단계; 상기 초음파 영역의 경계 값들을 연결하고 안을 채운 후, 상기 초음파 이미지와 곱셈 연산하여 학습 이미지를 획득하는 단계; 상기 학습 이미지의 크기를 기 설정된 크기로 통일하는 단계; 및 상기 학습 이미지내 양수 영역을 검출하고, 양수 영역 검출 결과를 상기 학습 이미지에 추가 표시하여 출력하는 단계를 포함하는 것을 특징으로 한다. The acquiring of the training image may include selecting an ultrasound image to be used for training of an artificial intelligence model, performing binarization based on a threshold value, and leaving only pixels having a pixel value of 1; Labeling after connecting and grouping adjacent pixels, and determining an ultrasound region based on a distance between a center of the labels and an image center value; Connecting boundary values of the ultrasound region, filling the inside, and performing a multiplication operation with the ultrasound image to obtain a training image; Unifying the size of the training image to a preset size; And detecting a positive region in the training image, and displaying and outputting a positive region detection result on the learning image.

상기 가장 긴 양수 깊이를 검출하는 단계는 상기 관심 영역을 수직 방향으로 가로지는 스캐닝 라인을 생성하는 단계; 상기 스캐닝 라인을 기 설정된 픽셀 간격으로 수평 이동시키면서, 상기 스캐닝 라인과 양수 영역 외곽선과의 교차점을 기반으로 다수의 직선을 생성하는 단계; 및 상기 다수의 직선 중 , 양수 영역 외곽선을 기준으로 일정 너비 간격이 확보된 가장 긴 직선을 추출한 후, 상기 가장 긴 직선의 길이를 가장 긴 양수 깊이로 환산하여 출력하는 단계를 포함하는 것을 특징으로 한다. The detecting of the longest positive depth may include generating a scanning line vertically crossing the region of interest; Generating a plurality of straight lines based on an intersection point between the scanning line and a positive area outline while horizontally moving the scanning line at a predetermined pixel interval; And extracting the longest straight line having a predetermined width interval based on an outline of the positive number region among the plurality of straight lines, and converting the length of the longest straight line to the longest positive depth, and outputting the same. .

또한 상기 자궁 양수량 자동 측정 방법은 초음파 기기의 초음파 촬영 각도가 추가 입력되는 경우, 상기 관심 영역의 표시 각도를 초음파 촬영 각도에 따라 보정하고, 상기 스캐닝 라인은 상기 관심 영역을 카메라 촬영 각도로 가로지도록 하는 단계를 더 포함하는 것을 특징으로 한다. In addition, in the method of automatically measuring the amount of uterine amniotic fluid, when an ultrasound imaging angle of an ultrasound device is additionally input, the display angle of the ROI is corrected according to the ultrasound imaging angle, and the scanning line crosses the ROI by the camera imaging angle. It characterized in that it further comprises a step.

이때, 상기 관심 영역의 표시 각도는 "초음파 촬영 각도 - 90°"의 식에 따라 보정 각도를 산출한 후, 상기 보정 각도가 - 값인 경우에는 상기 관심 영역을 시계방향으로 상기 보정 각도만큼 회전되고, 상기 보정 각도 + 값인 경우에는 상기 관심 영역을 반시계방향으로 상기 보정 각도만큼 회전되는 방식으로 보정되는 것을 특징으로 한다. At this time, the display angle of the region of interest is calculated by calculating a correction angle according to the equation of "ultrasonic photographing angle-90°", and if the correction angle is-value, the region of interest is rotated clockwise by the correction angle, In the case of the correction angle + value, it is characterized in that the region of interest is rotated counterclockwise by the correction angle.

본 발명은 인공 지능 모듈을 이용하여 초음파 이미지로부터 가장 깊은 양수 영역을 검출한 후, 이에 기반하여 양수량을 산출하도록 함으로써, 측정자의 주관적 개입을 필요로 하지 않으며, 보다 객관적이고 신뢰성있는 양수량 측정 동작이 가능해지도록 한다. The present invention detects the deepest amniotic fluid region from an ultrasound image using an artificial intelligence module, and then calculates the amniotic fluid amount based on this, so that subjective intervention by the measurer is not required, and a more objective and reliable amniotic fluid amount measurement operation is possible. To lose.

그리고 임산부 초음파 촬영과 양수량 산출 동작이 동시 수행되도록 함으로써, 빠른 응답성을 확보할 수 있도록 한다. In addition, by simultaneously performing ultrasound imaging of pregnant women and calculating the amount of amniotic fluid, it is possible to secure fast response.

도 1은 본 발명의 일 실시예에 따른 자궁 양수량 자동 측정 방법을 설명하기 위한 도면이다.
도 2는 본 발명의 일 실시예에 따른 학습 이미지 획득 단계를 설명하기 위한 도면이다.
도 3는 본 발명의 일 실시예에 따른 인공지능 모델 학습 단계를 설명하기 위한 도면이다.
도 4 및 도 5는 본 발명의 일 실시예에 따른 관심 영역 추출 및 보정 단계를 설명하기 위한 도면이다.
도 6 내지 도 9은 본 발명의 일 실시예에 따른 관심 영역 스캐닝 방법을 설명하기 위한 도면이다.
1 is a view for explaining a method for automatically measuring uterine amniotic fluid according to an embodiment of the present invention.
2 is a diagram for explaining a step of obtaining a learning image according to an embodiment of the present invention.
3 is a diagram for explaining an artificial intelligence model learning step according to an embodiment of the present invention.
4 and 5 are diagrams for explaining a step of extracting and correcting an ROI according to an embodiment of the present invention.
6 to 9 are diagrams for explaining a method of scanning an ROI according to an embodiment of the present invention.

본 발명의 목적 및 효과, 그리고 그것들을 달성하기 위한 기술적 구성들은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 본 발명을 설명함에 있어서 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 것이다.Objects and effects of the present invention, and technical configurations for achieving them will become apparent with reference to the embodiments described below in detail together with the accompanying drawings. In describing the present invention, when it is determined that a detailed description of a known function or configuration may unnecessarily obscure the subject matter of the present invention, a detailed description thereof will be omitted.

그리고 후술되는 용어들은 본 발명에서의 기능을 고려하여 정의된 용어들로서 이는 사용자, 운용자의 의도 또는 관례 등에 따라 달라질 수 있다.In addition, terms to be described later are terms defined in consideration of functions in the present invention, which may vary depending on the intention or custom of users or operators.

그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있다. 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 그러므로 그 정의는 본 명세서 전반에 걸친 내용을 토대로 내려져야 할 것이다.However, the present invention is not limited to the embodiments disclosed below, and may be implemented in various different forms. These embodiments are provided only to make the disclosure of the present invention complete, and to fully inform the scope of the invention to those skilled in the art to which the present invention pertains, and the present invention is defined by the scope of the claims. It just becomes. Therefore, the definition should be made based on the contents throughout this specification.

도 1은 본 발명의 일 실시예에 따른 양수량 자동 측정 시스템을 도시한 도면이다. 1 is a diagram showing a system for automatically measuring a quantity of water according to an embodiment of the present invention.

도 1을 참고하면, 본 발명의 양수량 자동 측정 시스템은 초음파 프로브(110)를 통해 환자 복부를 촬영하여 초음파 이미지를 획득 및 제공하는 초음파 기기(100), 그리고 초음파 기기(100)와 연동하여, 자궁 양수량 자동 측정 동작을 수행하는 양수량 측정 장치(300) 등을 포함한다. Referring to FIG. 1, the system for automatically measuring the amount of amniotic fluid of the present invention includes an ultrasound device 100 that acquires and provides an ultrasound image by photographing a patient's abdomen through an ultrasound probe 110, and interlocks with the ultrasound device 100, And a pumping quantity measuring device 300 for performing an automatic pumping quantity measurement operation.

본 발명의 양수량 측정 장치(300)는 기 획득된 초음파 이미지들을 이용하여 양수 영역 예측을 위한 인공지능 모델을 사전 학습시킨 후, 초음파 기기(100)를 통해 획득된 초음파 이미지를 인공 지능 모델에 입력하여, 인공 지능 모델이 초음파 이미지내 양수 영역을 자동으로 검출하도록 한다. 그리고 양수 영역의 가장 깊은 곳을 자동 탐색하고, 이에 기반하여 양수량을 산출하도록 한다. The pumping quantity measuring apparatus 300 of the present invention pre-trains the artificial intelligence model for predicting the positive water region by using the obtained ultrasonic images, and then inputs the ultrasonic image obtained through the ultrasonic device 100 into the artificial intelligence model. , Let the artificial intelligence model automatically detect the positive region in the ultrasound image. In addition, the deepest part of the amniotic fluid area is automatically searched, and the amniotic fluid amount is calculated based on this.

더하여, 필요한 경우 초음파 기기(100)는 초음파 프로브(110)에 결합된 회전각 센서(120)를 구비하고, 이를 이용하여 초음파 촬영 각도를 추가적으로 센싱 및 출력할 수도 있도록 한다. 이러한 경우, 본 발명의 양수량 측정 장치(300)는 회전각 센서(210)를 통해 초음파 촬영 각도를 반영한 양수량 산출 동작까지 추가로 수행하여, 측정자가 초음파 프로브(110)를 산모 복부에 반드시 수직으로 거치하지 않아도 되도록 한다. In addition, if necessary, the ultrasonic device 100 may include a rotation angle sensor 120 coupled to the ultrasonic probe 110, and additionally sense and output an ultrasonic photographing angle using this. In this case, the pumping amount measuring device 300 of the present invention additionally performs the operation of calculating the amount of water by reflecting the ultrasound photographing angle through the rotation angle sensor 210, so that the measurer must vertically mount the ultrasonic probe 110 on the mother's abdomen. Do not have to.

도 2는 본 발명의 일 실시예에 따른 자궁 양수량 자동 측정 방법을 설명하기 위한 도면이다. 2 is a view for explaining a method for automatically measuring the amount of uterine amniotic fluid according to an embodiment of the present invention.

도 2를 참고하면, 본 발명의 방법은 기 획득된 다수의 초음파 이미지를 선택 및 전처리하여, 자궁내 양수 영역이 라벨링된 다수의 학습 이미지를 획득하는 단계(S1), 상기 다수의 학습 이미지를 통해 양수 영역 예측을 위한 인공지능 모델을 학습시키는 단계(S2), 초음파 기기로부터 환자 자궁을 초음파 촬영한 환자 이미지가 입력되면(S3), 상기 인공지능 모델을 통해 상기 환자 이미지내 양수 영역을 예측하는 단계(S4), 상기 양수 영역의 좌측 가장자리에서 우측 가장자리까지 수평 연결하여 관심 영역을 추출하는 단계(S5), 상기 관심 영역을 수평 방향으로 순차 스캐닝하면서 가장 긴 직선 길이를 추출하는 단계(S6), 기 설정된 양수량 환산 비율에 따라 상기 가장 긴 직선 길이를 양수량으로 환산하여 출력하는 단계(S7)를 포함하는 인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법. 등을 포함한다. Referring to FIG. 2, the method of the present invention selects and preprocesses a plurality of previously acquired ultrasound images to obtain a plurality of learning images labeled with an intrauterine amniotic fluid region (S1), through the plurality of training images. Learning an artificial intelligence model for predicting an amniotic fluid area (S2), when an ultrasound image of the patient's uterus is input from an ultrasound device (S3), predicting an amniotic fluid area in the patient image through the artificial intelligence model (S4), extracting a region of interest by horizontally connecting from the left edge to the right edge of the positive region (S5), extracting the longest straight line length while sequentially scanning the region of interest in the horizontal direction (S6), A method for automatically measuring uterine amniotic fluid amount based on an artificial intelligence model comprising the step (S7) of converting and outputting the longest straight line length to amniotic fluid according to a set amniotic fluid conversion ratio. And the like.

특히, 본 발명은 단계 S3 내지 단계 S7을 임산부 초음파 촬영이 수행되는 동안 수행될 수 있으며, 그 결과 임산부 초음파 촬영과 동시에 양수량 측정 동작이 수행될 수 있도록 한다. In particular, in the present invention, steps S3 to S7 may be performed while ultrasound imaging of a pregnant woman is being performed, and as a result, an operation of measuring an amount of amniotic fluid can be performed simultaneously with ultrasound imaging of a pregnant woman.

또한 이러한 양수량 측정 동작은 한 부위 기반에 수행될 수 있으나, 필요한 경우 자궁을 N개 부위로 나눈 후, 양수량 측정 동작을 N개 부위 각각에 반복적으로 수행하고, 이들 양수량 측정 결과를 모두 고려하여(예를 들어, 합산 또는 평균하여) 최종 양수량을 산출 및 통보할 수도 있도록 한다. In addition, this amniotic fluid measurement operation can be performed on one site basis, but if necessary, after dividing the uterus into N areas, the amniotic fluid level measurement operation is repeatedly performed on each of the N areas, and all of these amniotic fluid measurement results are considered (e.g. For example, by adding up or averaging), the final quantity of water can be calculated and reported.

이하, 도 3 내지 도 7을 참고하여 본 발명의 방법을 보다 상세히 설명하기로 한다. Hereinafter, the method of the present invention will be described in more detail with reference to FIGS. 3 to 7.

도 3은 본 발명의 일 실시예에 따른 학습 이미지 획득 단계를 설명하기 위한 도면이다. 3 is a view for explaining a learning image acquisition step according to an embodiment of the present invention.

초음파 기기의 종류에 따라 초음파 이미지 크기와 초음파 표시 영역의 위치가 달라진다. 이에 본 발명에서는 이미지 전처리 과정을 통해 여러 종류의 초음파 기기가 제공하는 초음파 이미지 크기와 초음파 표시 영역을 통일화한 후, 이를 학습 이미지로써 인공지능 모델에 제공하도록 한다. The size of the ultrasound image and the location of the ultrasound display area vary according to the type of ultrasound device. Accordingly, in the present invention, an ultrasound image size and an ultrasound display area provided by various types of ultrasound devices are unified through an image preprocessing process, and then provided to the artificial intelligence model as a learning image.

이를 위해, 의료 데이터베이스에 기 저장되어 있던 다수의 초음파 이미지들 중에서 인공지능 모델의 학습에 이용할 초음파 이미지 하나를 선택 및 로딩한다(S11). To this end, one ultrasound image to be used for learning an artificial intelligence model is selected and loaded from among a plurality of ultrasound images previously stored in the medical database (S11).

로딩된 초음파 이미지를 임계값(threshold)에 기반한 이진화 처리한 후, 픽셀값이 1인 픽셀들만을 남긴다(S12). 그리고 "Connected Component With Stats 함수"을 이용하여 인접 픽셀들을 연결 및 그룹핑한 후 라벨링한다(S13). After the loaded ultrasound image is binarized based on a threshold, only pixels having a pixel value of 1 are left (S12). Then, adjacent pixels are connected and grouped using the "Connected Component With Stats function" and then labeled (S13).

라벨들의 도심(centroid)과 초음파 이미지의 중심 값간의 거리(Euclidean distance)를 계산하여 값이 기 설정값(예를 들어, 220) 이하인, 즉 도심과 초음파 이미지 중심의 거리가 기 설정값 이하인 라벨들은 초음파 영역이라고 판단한다(S14). Labels whose value is less than a preset value (e.g., 220) by calculating the distance between the centroid of the labels and the center value of the ultrasound image, that is, the distance between the center and the center of the ultrasound image is less than the preset value. It is determined that it is an ultrasonic region (S14).

"Convex_hull 함수" 를 이용하여 초음파 영역의 경계 값들을 연결한 후 안을 채움으로써, 학습 대상 영역을 획득한다(S15). 도 2에서 노란색으로 표시된 부분의 픽셀들의 값은 1이며, 이외의 pixel들의 값은 모두 0이다. After connecting the boundary values of the ultrasound area using the "Convex_hull function", the area to be learned is acquired by filling the inside (S15). In FIG. 2, the values of pixels in the yellow portion are 1, and all other pixels are 0.

단계 S15의 학습 대상 영역만을 인공 지능 모델이 학습할 수 있도록, 단계 S11의 초음파 이미지에 단계 S15의 초음파 영역을 곱셈 연산하여, 학습 이미지를 획득한다(S16). 곱셈 연산시, 동일 위치에 있는 픽셀 끼리 값이 곱해지는데, 단계 S15의 픽셀 값들이 1과 0으로만 표시되어 있으므로, 단계 S11의 이미지에서 단계 S15에서 픽셀 값이 1인 부분은 그대로 남게 되고, 픽셀 값이 0인 부분은 0이 되어 사라지게 된다. In order for the artificial intelligence model to learn only the learning target area of step S15, the ultrasound image of step S11 is multiplied by the ultrasound area of step S15 to obtain a training image (S16). During the multiplication operation, the values of pixels at the same position are multiplied. Since the pixel values in step S15 are displayed as 1 and 0 only, the portion of the image in step S11 where the pixel value is 1 remains as it is. The part with a value of 0 becomes 0 and disappears.

그리고 초음파 기기 별로 서로 상이한 이미지 크기를 가짐을 고려하여, 학습 이미지의 크기를 기 설정된 크기(예를 들어, 1152mm × 872mm)로 통일한다(S17). 만약, 학습 이미지의 크기가 기 설정된 크기값 보다 작다면 이미지의 우측과 하단부에 값이 0인 픽셀들을 추가함으로써, 이미지 크기를 맞출 수 있도록 한다. In addition, considering that each ultrasound device has different image sizes, the size of the training image is unified to a preset size (for example, 1152 mm × 872 mm) (S17). If the size of the training image is smaller than the preset size value, pixels with a value of 0 are added to the right and lower portions of the image to match the image size.

마지막으로 라벨 이미지를 컨투어(Contour)하여 학습 이미지내 양수 영역을 검출하고, 양수 영역 검출 결과를 학습 이미지에 추가 표시하여 출력하도록 한다(S18). Finally, the label image is contoured to detect the positive region in the training image, and the positive region detection result is additionally displayed on the learning image to be output (S18).

도 4는 본 발명의 일 실시예에 따른 인공지능 모델 학습 단계를 설명하기 위한 도면이다. 4 is a diagram for explaining an artificial intelligence model learning step according to an embodiment of the present invention.

본 발명에는 인공지능 모델을 의료 이미지 세크멘테이션(Segmentation)에 주로 사용되고 있는 유-넷(U-Net) 모델로 구현하도록 한다. In the present invention, the artificial intelligence model is implemented as a U-Net model mainly used for medical image segmentation.

도 3에서와 같이, U-net 모델은 이미지를 줄어나가는 엔코더(Encoder)와 이미지를 키워나가는 디코더(Decoder) 부분으로 나뉘어지며, 이는 다음과 같이 구동된다. As shown in FIG. 3, the U-net model is divided into an encoder that reduces an image and a decoder that grows an image, which is driven as follows.

엔코더는 "컨볼루션(Convolution) -> 드랍아웃(Dropout) -> 컨볼루션 -> 맥스풀링(MaxPooling)" 순으로 6번에 걸쳐 반복되며, 마지막 n번째에는 맥스풀링을 하지 않아 맥스풀링은 총 n-1번 실행된다. The encoder is repeated 6 times in the order of "Convolution -> Dropout -> Convolution -> MaxPooling", and the last nth time, MaxPooling is not performed. -Executed once.

컨볼루션에서 사용하는 커널은 3*3이며 활성화 함수(activation function)으로 ReLu(Rectified Linear Unit)를 사용한다. 패딩(padding)값으로 'same'을 주어 컨볼루션의 입력과 출력은 동일한 이미지 크기를 가진다. 컨볼루션을 할 때마다 채널의 수는 늘어나며 채널의 개수는 현재 2index개가 된다. 또한 가중치 초기화 방법으로 'he_normal'을 사용한다. 드랍아웃은 오버피팅(overfitting)을 막기 위한 것으로 일부 네트워크를 생략한다. 현재 인덱스에 0.1만큼의 네트워크를 생략한다. 맥스풀링은 2*2 맥스풀링을 사용해 가장 큰 특징을 추출할 수 있도록 하며, 맥스풀링 계산 시 이미지의 크기는 기존의 크기에 비해 1/2 씩 줄어든다. The kernel used in convolution is 3*3, and ReLu (Rectified Linear Unit) is used as the activation function. By giving'same' as the padding value, the input and output of the convolution have the same image size. Each time convolution is performed, the number of channels increases, and the number of channels is currently 2 indexes . Also,'he_normal' is used as the weight initialization method. Dropout is to prevent overfitting, and some networks are omitted. Omit 0.1 networks in the current index. Maxpooling allows you to extract the largest feature using 2*2 Maxpooling, and when calculating Maxpooling, the size of the image is reduced by 1/2 compared to the existing size.

디코더는 "컨볼루션트랜스포즈(ConvoltionTranspose) -> 컨케드네이트(concatenate) -> 컨볼루션 -> 드랍아웃 -> 컨볼루션) 순으로 총 5번에 걸쳐 반복된다. The decoder is repeated five times in the order of "ConvoltionTranspose -> concatenate -> convolution -> dropout -> convolution).

컨볼루션과 컨볼루션트랜스포즈로 총 2가지의 컨볼루션이 있다. 컨볼루션은 엔코더의 컨볼루션과 동일하며, 컨볼루션트랜스포즈는 사용 커널의 크기가 2*2 라는 점과 컨볼루션의 역 연산으로 입력 이미지에 비해 출력 이미지의 크기가 2배(커널 = 2*2)로 커진다는 점에서 차이가 있다. There are two types of convolutions: convolution and convolution transfer. Convolution is the same as the convolution of the encoder, and convolution transfer is the point that the size of the kernel used is 2*2, and the size of the output image is twice the size of the input image due to the inverse operation of convolution (kernel = 2*2). There is a difference in that it increases as ).

컨케드네이트는 디코더의 현재 인덱스의 디코더와 엔코더를 합치는 과정으로 도 3의 회색 수평선에 해당한다. 드랍아웃은 엔코더의 드랍아웃과 동일하며 현재 인덱스의 0.1만큼의 네트워크를 생략한다. 디코더까지 완료한 후 컨볼루션트랜스포즈를 한번 더 적용한 뒤 모델을 완성한다. Conquednate is a process of combining the decoder and the encoder of the current index of the decoder, and corresponds to the gray horizontal line in FIG. 3. The dropout is the same as the encoder dropout and omits the network as much as 0.1 of the current index. After completing the decoder, convolutional transfer is applied once more, and the model is completed.

이때, 컨볼루션트랜스포즈는 필터들의 값으로 1을 주어 하나의 채널, 즉 하나의 이미지가 출력으로 나오게 된다. 활성화 함수로 'sigmoid'는 적용하고, 가중치 초기화 방법으로 'glorot_normal'을 사용한다. At this time, the convolutional transpose gives 1 as the value of the filters, so that one channel, that is, one image, is output. 'Sigmoid' is applied as the activation function, and'glorot_normal' is used as the weight initialization method.

도 5는 본 발명의 일 실시예에 따른 관심 영역 추출 및 보정 단계를 설명하기 위한 도면이다. 5 is a diagram for describing a step of extracting and correcting an ROI according to an embodiment of the present invention.

단계 S3을 통해 환자 자궁을 초음파 촬영한 환자 이미지가 획득되면, 환자 이미지를 인공지능 모델에 입력하여 양수 영역을 예측한다. 그리고 환자 이미지의 크기를 기 설정된 크기값(예를 들어, 1152mm × 872mm)으로 통일한다(S41).When an ultrasound image of the patient's uterus is acquired through step S3, the patient image is input to the artificial intelligence model to predict the amniotic fluid region. Then, the size of the patient image is unified to a preset size value (eg, 1152 mm × 872 mm) (S41).

양수 영역의 외곽선을 기준으로 하여 좌측, 우측, 상단, 하단의 가장 끝 점 좌표를 획득 및 저장한다. 도 5에서, 최좌측 좌표는 빨강색, 최우측 좌표는 연두색, 최상측 좌표는 파란색, 최하측 좌표는 하늘색으로 표시된다(S42). Acquires and stores the coordinates of the most end points of the left, right, top, and bottom based on the outline of the positive area. In FIG. 5, the leftmost coordinates are displayed in red, the rightmost coordinates are yellow green, the uppermost coordinates are blue, and the lowermost coordinates are displayed in light blue (S42).

양수 영역의 최좌측 좌표와 최우측 좌표를 기반으로 양수 영역의 좌측 가장자리에서 우측 가장자리까지 수평 연결한 관심 영역을 추출한다(S43). A region of interest horizontally connected from the left edge to the right edge of the positive region is extracted based on the leftmost and rightmost coordinates of the positive region (S43).

도 6은 본 발명의 일 실시예에 따른 관심 영역 스캐닝 방법을 설명하기 위한 도면이다. 6 is a diagram illustrating a method of scanning an ROI according to an embodiment of the present invention.

본 발명에서는 관심 영역을 수직 방향으로 가로지는 스캐닝 라인을 생성한다(S51). In the present invention, a scanning line vertically crossing the region of interest is generated (S51).

그리고 이미지의 픽셀별 비교가 가능하도록, 스캐닝 라인의 직선 방정식의 x축 단위를 0.1의 소수점(float) 단위에서 정수형(int) 단위로 변경한다(S52). Then, the unit of the x-axis of the linear equation of the scanning line is changed from the unit of a decimal point (float) of 0.1 to the unit of an integer type (S52) so as to enable comparison for each pixel of the image (S52).

먼저, 스캐닝 라인에 포함되는 픽셀 중 중복되는 값과 (1152, 872)범위를 벗어나는 값을 삭제하여, 이를 하나의 배열(line)에 저장한다(S53).First, redundant values and values out of the range (1152, 872) among the pixels included in the scanning line are deleted, and stored in one line (S53).

그리고 'flag_line'이라는 이름의 bool 변수를 설정해 직선의 시작 여부를 계산한다. 직선의 값을 하나씩 보며 해당 픽셀이 예측된 양수 영역과 겹치는 지에 대한 여부와 flag_line 변수의 값에 따라서 직선의 시작과 끝 값을 계산하고, 이를 하나의 배열(line_arr)에 저장한다(S54). 상황 별 알고리즘은 아래의 표 1과 같다.And by setting a bool variable named'flag_line', it calculates whether or not the line starts. The values of the straight lines are viewed one by one, and the start and end values of the straight lines are calculated according to whether or not the corresponding pixel overlaps the predicted positive region and the value of the flag_line variable, and these are stored in one array (line_arr) (S54). The algorithm for each situation is shown in Table 1 below.

예측된 양수 영역(predict)Predicted positive domain (predict) flag_lineflag_line DoDo predictpredict FalseFalse 현재 pixel은 직선의 시작 pixel이 된다.
flag_line 변수의 값을 True로 변경한다.
The current pixel becomes the starting pixel of the straight line.
Change the value of the flag_line variable to True.
Not predictNot predict TrueTrue 현재 pixel은 직선의 끝 pixel이 된다.
flag_line 변수의 값을 False로 변경한다.
line_arr에 직선의 시작과 끝 점을 저장한다.
The current pixel becomes the end pixel of the straight line.
Change the value of the flag_line variable to False.
Store the start and end points of the line in line_arr.

단계 S53 및 단계 S54는 관심 영역의 스캐닝이 완료될 때까지(S55), 스캐닝 라인을 관심 영역상에서 기 설정된 픽셀 간격으로 수평 이동시키면서 반복 수행되도록 한다(S56). Steps S53 and S54 are repeatedly performed while horizontally moving the scanning line at a predetermined pixel interval on the region of interest until scanning of the region of interest is completed (S55) (S56).

관심 영역의 스캐닝이 완료되면, line_arr에 저장된 여러 쌍의 점들(직선의 시작, 직선의 끝)을 기반으로 가장 긴 직선 길이를 찾는다(S55). When the scanning of the region of interest is completed, the longest straight line length is found based on several pairs of points (start of straight line, end of straight line) stored in line_arr (S55).

이 과정에서, 양수량 측정의 정확도를 증가시키고, 양수벽에 대한 영향을 최소화시키기 위하여 양수 영역 외곽선을 기준으로 일정량의 너비를 확보한 직선 길이를 탐색한다. 도 9은 가장 긴 길이를 찾는 과정에서, 양수 영역 외곽선을 기준으로 일정 너비를 확보한 선을 찾는 방법에 대한 설명을 위한 도면이다. 즉, 본 발명에서는 가장 깊은 곳에 대한 탐색 과정 중에, 양수벽을 기준으로 일정 너비가 확보된 영역을 측정할 수 있도록 한다. In this process, in order to increase the accuracy of the pumping quantity measurement and to minimize the influence on the pumping wall, the length of a straight line that secures a certain amount of width is searched based on the outline of the pumping area. 9 is a diagram for explaining a method of finding a line having a certain width based on an outline of a positive number area in a process of finding the longest length. That is, in the present invention, during the search process for the deepest place, an area in which a certain width is secured based on the positive wall can be measured.

마지막으로 가장 긴 직선의 길이의 단위를 픽셀에서 mm으로 변환한 후, 이를 가장 긴 양수 깊이로 획득 및 출력하도록 한다(S56). Finally, after converting the unit of the length of the longest straight line from pixels to mm, it is obtained and output as the longest positive depth (S56).

단계 S56의 수행을 위한 가장 긴 직선의 길이의 단위를 픽셀에서 mm로 변환하기 위한 픽셀과 mm간 비율은 사전 획득 및 저장될 수 있으나, 필요시에는 도 8의 방법을 통해 초음파 이미지로부터 직접 획득될 수도 있도록 한다. The ratio between the pixel and mm for converting the unit of the length of the longest straight line for performing step S56 from pixel to mm may be obtained and stored in advance, but if necessary, it may be obtained directly from the ultrasound image through the method of FIG. May be.

참고로, 초음파 이미지내에는 영상 크기 척도를 안내하기 위한 길이 인덱스들이 일렬 표시된다. 이에 길이 인덱스들이 일렬 표시된 인덱스 표시 영역(예를 들어, 이미지 좌측의 100 열)을 선택한 후, 열 단위로 0 이외의 값을 가지는 픽셀 개수를 카운팅한다(S56-1). For reference, length indices for guiding the image size scale are displayed in a line in the ultrasound image. Accordingly, after selecting an index display area in which length indices are displayed in a row (eg, 100 columns on the left of the image), the number of pixels having a value other than 0 is counted in column units (S56-1).

다만, 색이미지 일부 영역에 색 팔레트가 존재하는 경우, 색 팔레트 표시 영역을 제외한 후 픽셀 개수 카운팅 동작을 수행한다. 즉, 한 열에 대한 모든 픽셀 값을 하나씩 살펴보며 픽셀 값(밝기)이 50 이상인 픽셀들이 100칸 이상 연결된 경우 해당 열은 제외하는 방식을 통해 예외처리를 한다(S56-2). However, when a color palette exists in a partial area of a color image, the pixel counting operation is performed after excluding the color palette display area. That is, when all pixel values in a column are examined one by one, and when pixels having a pixel value (brightness) of 50 or more are connected to 100 or more cells, exception processing is performed by excluding the column (S56-2).

그리고 인덱스 표시 영역에 포함된 열들 중에서 카운팅된 픽셀 개수가 가장 큰 열을 기준 열로 선택한다(S56-3). In addition, among the columns included in the index display area, the column having the largest counted number of pixels is selected as the reference column (S56-3).

해당 열의 픽셀 값이 1 이상인 값들을 모두 index_arr 배열에 모은다. index_arr 의 마지막 픽셀 값(final)에서부터 index_arr 값을 하나씩 살펴본다. 만일 마지막 픽셀 값(final)과 연결되어 있지 않은 값이라면 해당 값을 다음 칸이라고 판단하여 이를 다음 픽셀값(beside)라 한다. final - beside의 값은 인덱스간 간격(예를 들어, 10mm)을 의미하며, 이로부터 픽셀과 mm간 비율 = 인덱스간 간격 길이/(final - beside)mm를 도출한다(S56-4). All values with a pixel value of 1 or more in the column are collected in the index_arr array. From the last pixel value (final) of index_arr, the index_arr value is examined one by one. If the value is not connected to the last pixel value (final), the corresponding value is determined to be the next cell, and this is called the next pixel value (beside). The value of final-beside means the interval between indexes (for example, 10mm), and the ratio between pixels and mm = length of the interval between indexes/(final-beside)mm is derived from this (S56-4).

더하여, 본 발명의 초음파 기기(100)가 초음파 이미지 이외에 초음파 촬영 각도까지 제공한다면, 도 8에서와 같이 관심 영역의 표시 각도와 스캐닝 각도를 초음파 촬영 각도에 따라 보정한 후, 가장 큰 양수 깊이를 탐색 동작을 수행할 수도 있도록 한다. In addition, if the ultrasound apparatus 100 of the present invention provides an ultrasound imaging angle in addition to an ultrasound image, as shown in FIG. 8, after correcting the display angle and the scanning angle of the ROI according to the ultrasound imaging angle, the largest positive depth is searched. It also allows you to perform actions.

즉, "초음파 촬영 각도 - 90°"의 식에 따라 보정 각도를 산출한 후, 보정 각도가 - 값인 경우에는 관심 영역을 시계방향으로 보정 각도만큼 회전시키고, 보정 각도 + 값인 경우에는 관심 영역을 반시계방향으로 보정 각도만큼 회전시킴으로써, 관심 영역의 표시 각도를 보정하도록 한다. 그리고 스캐닝 라인의 각도 또한 초음파 촬영 각도에 따라 보정한 후(즉, 스캐닝 라인이 관심 영역을 카메라 촬영 각도로 가로지도록 한 후), 이를 기 설정된 픽셀 간격으로 수평 이동시키면서, 가장 큰 양수 깊이를 탐색할 수 있도록 한다. In other words, after calculating the correction angle according to the equation of "Ultrasonic shooting angle-90°", if the correction angle is-value, the ROI is rotated clockwise by the correction angle, and if the correction angle + value, the ROI is By rotating clockwise by the correction angle, the display angle of the region of interest is corrected. And after correcting the angle of the scanning line according to the ultrasound imaging angle (i.e., after making the scanning line cross the region of interest by the camera shooting angle), horizontally moving it at preset pixel intervals, the largest positive depth can be searched. Make it possible.

이때, 초음파 촬영 각도는 초음파 프로브(110)를 산모 복부에 수직 거치된 각도를 기준 각도(예를 들어, 90°)로 설정한 후, 초음파 프로브 움직임에 따른 기준 각도 대비 Yaw 축 각도 변화량(90°-X°)을 추적함으로써 획득 가능하다.At this time, the ultrasound photographing angle is set as the reference angle (eg, 90°) with the ultrasound probe 110 vertically mounted on the mother's abdomen, and then the amount of change in the yaw axis angle relative to the reference angle according to the movement of the ultrasound probe (90°). -X°).

이상의 설명은 본 발명의 기술 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자라면 본 발명의 본질적인 특성에서 벗어나지 않는 범위에서 다양한 수정 및 변형이 가능할 것이다. 따라서, 본 발명에 개시된 실시예들은 본 발명의 기술 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예에 의하여 본 발명의 기술 사상의 범위가 한정되는 것은 아니다. 본 발명의 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술 사상은 본 발명의 권리범위에 포함되는 것으로 해석되어야 할 것이다.The above description is merely illustrative of the technical idea of the present invention, and those of ordinary skill in the art to which the present invention pertains will be able to make various modifications and variations without departing from the essential characteristics of the present invention. Accordingly, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention, but to explain the technical idea, and the scope of the technical idea of the present invention is not limited by these embodiments. The scope of protection of the present invention should be interpreted by the following claims, and all technical ideas within the scope equivalent thereto should be interpreted as being included in the scope of the present invention.

Claims (7)

기 획득된 다수의 초음파 이미지를 선택 및 전처리하여, 자궁내 양수 영역이 라벨링된 다수의 학습 이미지를 획득하는 단계;
상기 다수의 학습 이미지를 통해 양수 영역 예측을 위한 인공지능 모델을 학습시키는 단계;
초음파 기기로부터 환자 자궁을 초음파 촬영한 환자 이미지가 입력되면, 상기 인공지능 모델을 통해 상기 환자 이미지내 양수 영역을 예측하는 단계;
상기 양수 영역의 좌측 가장자리에서 우측 가장자리까지 수평 연결하여 관심 영역을 추출하는 단계;
상기 관심 영역을 수평 방향으로 순차 스캐닝하면서 일정 너비가 확보된 가장 긴 직선 길이를 추출하는 단계; 및
기 설정된 양수량 환산 비율에 따라 상기 가장 긴 직선 길이를 양수량으로 환산하여 출력하는 단계를 포함하는 인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법.
Selecting and pre-processing a plurality of previously acquired ultrasound images to obtain a plurality of learning images labeled with intrauterine amniotic fluid regions;
Training an artificial intelligence model for predicting a positive region through the plurality of training images;
When an ultrasound image of the patient's uterus is input from an ultrasound device, predicting a positive region in the patient image through the artificial intelligence model;
Extracting a region of interest by connecting horizontally from a left edge to a right edge of the positive region;
Extracting a longest straight line length having a predetermined width while sequentially scanning the region of interest in a horizontal direction; And
A method for automatically measuring uterine amniotic fluid amount based on an artificial intelligence model, comprising converting and outputting the longest straight line length into amniotic fluid according to a preset amniotic fluid conversion ratio.
제1항에 있어서, 상기 인공지능 모델은
유-넷 모델로 구현되는 것을 특징으로 하는 인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법.
The method of claim 1, wherein the artificial intelligence model
A method for automatically measuring uterine amniotic fluid based on an artificial intelligence model, which is implemented as a U-NET model.
제1항에 있어서, 상기 학습 이미지를 획득하는 단계는
인공지능 모델의 학습에 이용할 초음파 이미지를 선택하고, 임계값에 기반한 이진화를 수행한 후 픽셀값이 1인 픽셀들만을 남기는 단계;
인접 픽셀들을 연결 및 그룹핑한 후 라벨링하고, 라벨들의 도심과 이미지 중심 값의 거리에 기반하여 초음파 영역을 파악하는 단계;
상기 초음파 영역의 경계 값들을 연결하고 안을 채운 후, 상기 초음파 이미지와 곱셈 연산하여 학습 이미지를 획득하는 단계;
상기 학습 이미지의 크기를 기 설정된 크기로 통일하는 단계; 및
상기 학습 이미지내 양수 영역을 검출하고, 양수 영역 검출 결과를 상기 학습 이미지에 추가 표시하여 출력하는 단계를 포함하는 것을 특징으로 하는 인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법.
The method of claim 1, wherein obtaining the training image
Selecting an ultrasound image to be used for training an artificial intelligence model, performing binarization based on a threshold value, and leaving only pixels having a pixel value of 1;
Labeling after connecting and grouping adjacent pixels, and determining an ultrasound region based on a distance between a center of the labels and an image center value;
Connecting boundary values of the ultrasound region, filling the inside, and performing a multiplication operation with the ultrasound image to obtain a training image;
Unifying the size of the training image to a preset size; And
Detecting an amniotic fluid area in the training image, and displaying and outputting the amniotic fluid area detection result on the training image.
제1항에 있어서, 상기 가장 긴 양수 깊이를 검출하는 단계는
상기 관심 영역을 수직 방향으로 가로지는 스캐닝 라인을 생성하는 단계;
상기 스캐닝 라인을 기 설정된 픽셀 간격으로 수평 이동시키면서, 상기 스캐닝 라인과 양수 영역 외곽선과의 교차점을 기반으로 다수의 직선을 생성하는 단계;
상기 다수의 직선 중, 양수 영역 외곽선을 기준으로 일정 너비 간격이 확보된 가장 긴 직선을 추출하는 단계; 및
상기 다수의 직선 중 가장 긴 직선을 추출한 후, 상기 가장 긴 직선의 길이를 가장 긴 양수 깊이로 환산하여 출력하는 단계를 포함하는 것을 특징으로 하는 인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법.
The method of claim 1, wherein detecting the longest positive depth
Generating a scanning line crossing the region of interest in a vertical direction;
Generating a plurality of straight lines based on an intersection point between the scanning line and an outline of a positive region while horizontally moving the scanning line at a predetermined pixel interval;
Extracting the longest straight line having a predetermined width interval based on an outer line of the positive number region among the plurality of straight lines; And
And extracting the longest straight line among the plurality of straight lines, converting the length of the longest straight line into the longest amniotic fluid depth, and outputting the output.
제4항에 있어서,
초음파 기기로부터 초음파 촬영 각도가 추가 입력되는 경우, 상기 관심 영역의 표시 각도를 초음파 촬영 각도에 따라 보정하고, 상기 스캐닝 라인은 상기 관심 영역을 카메라 촬영 각도로 가로지도록 하는 단계를 더 포함하는 것을 특징으로 하는 인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법.
The method of claim 4,
When an ultrasound imaging angle is additionally input from an ultrasound device, the display angle of the ROI is corrected according to the ultrasound imaging angle, and the scanning line further comprises the step of making the ROI cross the ROI by a camera imaging angle. A method of automatically measuring uterine amniotic fluid based on an artificial intelligence model.
제5항에 있어서, 상기 관심 영역의 표시 각도는
"초음파 촬영 각도 - 90°"의 식에 따라 보정 각도를 산출한 후, 상기 보정 각도가 - 값인 경우에는 상기 관심 영역을 시계방향으로 상기 보정 각도만큼 회전되고, 상기 보정 각도 + 값인 경우에는 상기 관심 영역을 반시계방향으로 상기 보정 각도만큼 회전되는 방식으로 보정되는 것을 특징으로 하는 인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법.
The method of claim 5, wherein the display angle of the region of interest is
After calculating the correction angle according to the equation of "ultrasonic shooting angle-90°", if the correction angle is-value, the region of interest is rotated clockwise by the correction angle, and if the correction angle is + value, the interest The method of automatically measuring uterine amniotic fluid amount based on an artificial intelligence model, characterized in that the area is corrected in a manner that is rotated by the correction angle in a counterclockwise direction.
제1항에 있어서,
환자의 초음파 촬영 부위가 N(N은 2 이상의 자연수)개인 경우, N 개 부위의 양수량 모두를 고려하여 최종 양수량을 결정 및 통보하는 단계를 더 포함하는 것을 특징으로 하는 인공 지능 모델에 기반한 자궁 양수량 자동 측정 방법.
The method of claim 1,
When the patient's ultrasound imaging area is N (N is a natural number of 2 or more), the uterine amniotic fluid amount based on an artificial intelligence model further comprises the step of determining and notifying the final amniotic fluid in consideration of all the amniotic fluid amounts of the N areas How to measure.
KR1020190076999A 2019-06-27 2019-06-27 Method for automatic measurement of amniotic fluid volume based on artificial intelligence model KR102270917B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190076999A KR102270917B1 (en) 2019-06-27 2019-06-27 Method for automatic measurement of amniotic fluid volume based on artificial intelligence model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190076999A KR102270917B1 (en) 2019-06-27 2019-06-27 Method for automatic measurement of amniotic fluid volume based on artificial intelligence model

Publications (2)

Publication Number Publication Date
KR20210002197A true KR20210002197A (en) 2021-01-07
KR102270917B1 KR102270917B1 (en) 2021-07-01

Family

ID=74126752

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190076999A KR102270917B1 (en) 2019-06-27 2019-06-27 Method for automatic measurement of amniotic fluid volume based on artificial intelligence model

Country Status (1)

Country Link
KR (1) KR102270917B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113520465A (en) * 2021-07-29 2021-10-22 合肥合滨智能机器人有限公司 Automatic measurement method for maximum depth of amniotic fluid
KR20220135817A (en) * 2021-03-31 2022-10-07 한국과학기술연구원 Real-time acoustic simulation method based on artificial intelligence, and ultrasound treatment system using the same

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6213949B1 (en) * 1999-05-10 2001-04-10 Srs Medical Systems, Inc. System for estimating bladder volume
KR20050097298A (en) * 2004-04-01 2005-10-07 주식회사 메디슨 Apparatus and method for forming 3d ultrasound image using volume data in the contour of a target object image
KR20070105097A (en) * 2006-04-25 2007-10-30 (주) 엠큐브테크놀로지 Ultrasonic diagnosis apparatus for a urinary bladder and the method thereof
US20080146932A1 (en) * 2002-06-07 2008-06-19 Vikram Chalana 3D ultrasound-based instrument for non-invasive measurement of Amniotic Fluid Volume
JP2012101103A (en) * 2004-08-27 2012-05-31 Verathon Inc System and method for quantifying and classifying coelomic fluid in ultrasonic image
KR20130015490A (en) * 2011-08-03 2013-02-14 포항공과대학교 산학협력단 Measurement and treatment apparatus for dysphagia
JP2019024925A (en) * 2017-07-28 2019-02-21 株式会社日立製作所 Medical imaging apparatus and image processing method
KR20190022185A (en) * 2017-08-25 2019-03-06 연세대학교 산학협력단 Method for measuring fetal body and device for measuring fetal body using the same

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6213949B1 (en) * 1999-05-10 2001-04-10 Srs Medical Systems, Inc. System for estimating bladder volume
US20080146932A1 (en) * 2002-06-07 2008-06-19 Vikram Chalana 3D ultrasound-based instrument for non-invasive measurement of Amniotic Fluid Volume
KR20050097298A (en) * 2004-04-01 2005-10-07 주식회사 메디슨 Apparatus and method for forming 3d ultrasound image using volume data in the contour of a target object image
JP2012101103A (en) * 2004-08-27 2012-05-31 Verathon Inc System and method for quantifying and classifying coelomic fluid in ultrasonic image
KR20070105097A (en) * 2006-04-25 2007-10-30 (주) 엠큐브테크놀로지 Ultrasonic diagnosis apparatus for a urinary bladder and the method thereof
KR20130015490A (en) * 2011-08-03 2013-02-14 포항공과대학교 산학협력단 Measurement and treatment apparatus for dysphagia
JP2019024925A (en) * 2017-07-28 2019-02-21 株式会社日立製作所 Medical imaging apparatus and image processing method
KR20190022185A (en) * 2017-08-25 2019-03-06 연세대학교 산학협력단 Method for measuring fetal body and device for measuring fetal body using the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220135817A (en) * 2021-03-31 2022-10-07 한국과학기술연구원 Real-time acoustic simulation method based on artificial intelligence, and ultrasound treatment system using the same
CN113520465A (en) * 2021-07-29 2021-10-22 合肥合滨智能机器人有限公司 Automatic measurement method for maximum depth of amniotic fluid
CN113520465B (en) * 2021-07-29 2023-11-24 合肥合滨智能机器人有限公司 Automatic measuring method for maximum depth of amniotic fluid

Also Published As

Publication number Publication date
KR102270917B1 (en) 2021-07-01

Similar Documents

Publication Publication Date Title
AU2018206806B2 (en) Liver boundary identification method and system
US20210227144A1 (en) Target tracking method and device, movable platform, and storage medium
CN103957771B (en) Image processing apparatus and image processing method
CN108186051B (en) Image processing method and system for automatically measuring double-apical-diameter length of fetus from ultrasonic image
CN105844205B (en) Character information recognition methods based on image procossing
CN106996751B (en) A kind of grain-transporting vehicle cereal loading condition detection method and device of view-based access control model image
KR102270917B1 (en) Method for automatic measurement of amniotic fluid volume based on artificial intelligence model
CN104732520A (en) Cardio-thoracic ratio measuring algorithm and system for chest digital image
JP2004267393A (en) Image processor and image processing method
CN104363815A (en) Image processing device, image processing method, and image processing program
CN110490833B (en) Method and device for measuring volume of target object
CN112614133B (en) Three-dimensional pulmonary nodule detection model training method and device without anchor point frame
CN110287953A (en) Water level automatic identifying method and device
CN112712518A (en) Fish counting method, fish counting device, electronic equipment and storage medium
CN111323125A (en) Temperature measurement method and device, computer storage medium and electronic equipment
KR102318155B1 (en) Method for automatic measurement of amniotic fluid volume with camera angle correction function
WO2023070946A1 (en) Measurement device and method based on ultrasound image, and medium and electronic device
CN109636843B (en) Amniotic fluid index measurement method, ultrasonic imaging equipment and storage medium
CN111513743A (en) Fracture detection method and device
CN114511556B (en) Gastric mucosa bleeding risk early warning method and device and medical image processing equipment
US20220398718A1 (en) System and methods for medical image quality assessment using deep neural networks
CN115082373A (en) Method, device and equipment for testing medical image positioning line and storage medium
CN207882968U (en) Multiple dimensioned scaling board
CN112308776A (en) Method for solving occlusion and error mapping image sequence and point cloud data fusion
CN114066967B (en) Training method and device of volume estimation model and volume estimation method and device

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant