| CPC G06T 7/0012 (2013.01) [G06T 5/20 (2013.01); G06T 7/194 (2017.01); G06T 2207/10024 (2013.01); G06T 2207/20032 (2013.01); G06T 2207/20081 (2013.01); G06T 2207/30024 (2013.01)] | 18 Claims |

|
1. A medical image processing method, executed by a server, comprising:
obtaining a to-be-processed medical image, the to-be-processed medical image being a color image comprising first image data, second image data, and third image data that respectively correspond to color information of different channels;
generating a difference image according to the first image data, the second image data, and the third image data;
performing binarization processing on the difference image to obtain a binarized image, a foreground region of the binarized image corresponding to a pathological tissue region of the to-be-processed medical image;
detecting a background region in the binarized image based on a flood algorithm, wherein the background region comprises a plurality of background pixels;
obtaining background pixels in a foreground region in the binarized image according to the binarized image and the background region in the binarized image, wherein the foreground region comprises a plurality of foreground pixels;
changing the background pixels in the foreground region in the binarized image to foreground pixels to obtain a hole filling image; and
performing median filtering processing on the hole filling image to obtain a result image, wherein a foreground region of the result image corresponds to the pathological tissue region of the to-be-processed medical image.
|