IP Library Granted Patent US 11,622,676
Granted Patent B2
US 11,622,676 · App. 17/011,343 · Granted Apr 11, 2023

Method of examining digestive tract images, method of examining cleanliness of digestive tract, and computer device and readable storage medium thereof

Inventor: Hang Zhang (Wuhan, CN)
Assignee: ANKON TECHNOLOGIES CO., LTD.
A61B1/041A61B1/00009A61B1/273G06T7/0012A61B1/00016G06T2207/10068G06T2207/30092
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,622,676
App. No.
17/011,343
Granted
Apr 11, 2023
Kind
B2
Abstract

A method of examining digestive tract images is provided. The method of examining digestive tract images include: obtaining a basic image taken by a photographing apparatus; obtaining a set H of pixels with Hue in the range of D1 in the basic image; obtaining a set S of pixels with Saturation in the range of D2 in the basic image; obtaining a set of pixels with Value in the range of D3 in the basic image, and recording it as an effective pixel range; selecting all pixel sets of the set H and the set S in the effective pixel range to form a detection graph block; examining whether the basic image is an unclean image according to the detection graph block. The present invention further provides a method of examining the cleanliness of the digestive tract, a computer device, a computer-readable storage medium thereof.

Claims (56)

1. A method of determining cleanliness of a digestive tract, comprising

examining digestive tract images to determining cleanliness of images, comprising:

introducing a capsule endoscope having a photographing apparatus enclosed therein to the digestive tract;

navigating the capsule endoscope through the digestive tract and taking images of the digestive tract;

obtaining N1 basic images taken by the photographing apparatus of the capsule endoscope in the digestive tract;

obtaining a set H of pixels with Hue in the range of D1 in the basic images;

obtaining a set S of pixels with Saturation in the range of D2 in the basic images;

obtaining a set of pixels with Value in the range of D3 in the basic image, and recording it as an effective pixel range;

selecting all pixel sets of the set H and the set S in the effective pixel range to form detection graph blocks;

examining whether the basic images are unclean images according to the detection graph blocks;

counting the number of images examined to be unclean as N2;

calculating the ratio of N2 and N1, noted as Ratio=N2/N1; and

when Ratio≥T4, T4 is a preset threshold value, determining that the cleanliness of the digestive tract is poor.

2. The method of examining digestive tract images of claim 1 , wherein D1 ranges from 0 to 40, D2 ranges from 0 to 60, and D3 ranges from 20 to 170.

3. The method of examining digestive tract images of claim 1 , wherein the step of “examining whether the basic image is an unclean image according to the detection graph block” comprises:

calculating the number num of connected components of the detection graph block;

when num>T1, determining that the basic image is an unclean image.

4. The method of examining digestive tract images of claim 1 , wherein the step of “examining whether the basic image is an unclean image according to the detection graph block” comprises:

calculating the number num of connected components of the detection graph block;

calculating the ratio R1 between the area of the effective pixel range and the total area of the basic image;

when num>T1 and R1>T2, determining that the basic image is an unclean image.

5. The method of examining digestive tract images of claim 4 , further comprises:

when num≤T1 or R1≤T2, calculating the ratio R2 between the area of the detection graph block and the total area of the basic image;

when R2>T3, determining that the basic image is an unclean image.

6. The method of examining digestive tract images of claim 4 , wherein the value of T2 is between 0.5-0.9.

7. The method of examining digestive tract images of claim 3 , wherein the connected component is calculated through 4-adjacence, and the value of T1 is between 15-35.

8. The method of examining digestive tract images of claim 1 , wherein the step of “examining whether the basic image is an unclean image according to the detection graph block” comprises:

calculating the ratio R2 between the area of the detection graph block and the total area of the basic image;

when R2>T3, determining that the basic image is an unclean image.

9. The method of examining digestive tract images of claim 8 , wherein the value of T3 is between 0.3-0.7.

10. The method of examining the cleanliness of the digestive tract of claim 1 , wherein the value of T4 is between 0.3-0.5.

11. A computer device, comprising a memory and a processor, wherein the memory stores computer programs, and the processor executes the computer programs to implement the steps of a method of examining the cleanliness of digestive tract,

wherein the method of examining the cleanliness comprises:

introducing a capsule endoscope having a photographing apparatus enclosed therein to the digestive tract;

navigating the capsule endoscope through the digestive tract and taking images of the digestive tract;

obtaining N1 basic images taken by the photographing apparatus in the digestive tract;

obtaining a set H of pixels with Hue in the range of D1 in the basic images;

obtaining a set S of pixels with Saturation in the range of D2 in the basic images;

obtaining a set of pixels with Value in the range of D3 in the basic image, and recording it as an effective pixel range;

selecting all pixel sets of the set H and the set S in the effective pixel range to form detection graph blocks;

examining whether the basic images are unclean images according to the detection graph blocks;

counting the number of images examined to be unclean as N2;

calculating the ratio of N2 and N1, as Ratio=N2/N1; and

when Ratio≥T4, wherein T4 is a preset threshold value, examining that the cleanliness of the digestive tract is poor.

12. A non-transitory computer-readable storage medium, which storing computer programs, wherein the computer programs can be executed by a processor to implement the steps of a method of examining the cleanliness of digestive tract, wherein the method of examining the cleanliness comprises:

introducing a capsule endoscope having a photographing apparatus enclosed therein to the digestive tract;

navigating the capsule endoscope through the digestive tract and taking images of the digestive tract;

obtaining N1 basic images taken by the photographing apparatus in the digestive tract;

obtaining a set H of pixels with Hue in the range of D1 in the basic images;

obtaining a set S of pixels with Saturation in the range of D2 in the basic images;

obtaining a set of pixels with Value in the range of D3 in the basic image, and recording it as an effective pixel range;

selecting all pixel sets of the set H and the set S in the effective pixel range to form detection graph blocks;

examining whether the basic images are unclean images according to the detection graph blocks;

counting the number of images examined to be unclean as N2;

calculating the ratio of N2 and N1, as Ratio=N2/N1; and

when Ratio>T4, wherein T4 is a preset threshold value, determining that the cleanliness of the digestive tract is poor.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 3, 2020
From: ZHANG, HANG
To: ANKON TECHNOLOGIES CO., LTD.
Reel/Frame 053686/0551 →
Priority Claims (1)
CN 201910825798.6 · Sep 3, 2019 · national
Continuity (1)
Related Publication 20210059510A1 · Mar 4, 2021