US 11,812,934 B2
Capsule endoscope system, method of identifying stained area in endoscopic images and computer readable storage medium
Hui Liu, Wuhan (CN); Wenjin Yuan, Wuhan (CN); Hang Zhang, Wuhan (CN); Zhiwei Huang, Wuhan (CN); and Hao Zhang, Wuhan (CN)
Assigned to ANKON TECHNOLOGIES CO., LTD, Wuhan (CN); and ANX IP HOLDING PTE. LTD., Singapore (SG)
Filed by ANKON TECHNOLOGIES CO., LTD, Wuhan (CN); and ANX IP HOLDING PTE. LTD., Singapore (SG)
Filed on Jan. 15, 2021, as Appl. No. 17/150,969.
Claims priority of application No. 202010047174.9 (CN), filed on Jan. 16, 2020.
Prior Publication US 2021/0219829 A1, Jul. 22, 2021
Int. Cl. A61B 1/04 (2006.01); A61B 1/273 (2006.01); A61B 1/00 (2006.01)
CPC A61B 1/041 (2013.01) [A61B 1/000094 (2022.02); A61B 1/273 (2013.01)] 13 Claims
OG exemplary drawing
 
1. A method of identifying a stained area in endoscopic images, comprising:
providing a capsule endoscope system comprising a capsule endoscope and an external device,
obtaining a basic image taken by a photographing device within the capsule endoscope, wherein the capsule endoscope is a swallowable device and used in gastrointestinal examinations;
removing abnormal pixels from the basic image and recording the basic image as a processed image after the abnormal pixels are removed;
obtaining a hue, saturation, and value of each pixel in the processed image of HSV format;
setting a first condition for each pixel where the hue is in a D1 range, the saturation is in a D2 range, and the value is in a D3 range;
obtaining a b component of each pixel in the processed image of Lab format;
setting a second condition that the b component of each pixel is in a D4 range;
collecting and processing pixels that meet the first condition and/or the second condition to form a set C;
calculating an initial range area S1 of the set C,
wherein the D4 range is [¼Bmin, 0.16], and the b component is normalized, and wherein Bmin is a minimum value of the b component of the basic image in a Lab color model.