CPC H04N 1/40012 (2013.01) [G06T 3/4038 (2013.01); G06T 7/11 (2017.01); G06T 2207/20021 (2013.01); G06T 2207/30176 (2013.01)] | 20 Claims |
1. An image processing method, comprising:
obtaining an original image, wherein the original image comprises at least one object;
performing a slicing processing on the original image to obtain a plurality of slice images of the original image;
respectively processing the slice images through a first binarization model to obtain a plurality of slice binary images respectively corresponding to the slice images;
performing a stitching processing on the slice binary images to obtain a first binary image;
processing the first binary image to obtain a pixel circumscribed contour image, wherein the pixel circumscribed contour image comprises a plurality of circumscribed contour pixels, and pixels in a region surrounded by the circumscribed contour pixels are pixels corresponding to at least a part of the at least one object;
processing the original image through a second binarization model to obtain a second binary image; and
synthesizing the second binary image and the first binary image according to positions of the circumscribed contour pixels in the pixel circumscribed contour image to obtain a synthetic image, wherein the synthetic image is a binary image.
|