| CPC G06T 7/11 (2017.01) [G06T 2207/20081 (2013.01); G06T 2207/20084 (2013.01)] | 20 Claims |

|
1. An image processing method, the method comprising:
obtaining an image to be processed that includes a target region to be annotated;
in response to a first click on the target region, performing a first operation, wherein the first operation expands a predicted region for the target region based on a click position of the first click, and reduces an area of the target region that has not been covered by the predicted region;
in response to a second click on a position where the predicted region exceeds the target region, performing a second operation, wherein the second operation reduces the predicted region based on a click position of the first click a click position of the second click, and reduces an area of the predicted region exceeding the target region; and
in response to determining that a difference between the predicted region and the target region is less than a threshold, obtaining an outline of the predicted region to annotate the target region,
wherein the first operation includes:
inputting the click position of the first click and the image to an image processing model, wherein the image processing model is trained with sample data including a sample image and a target region in the sample image; and
obtaining an expanded predicted region output by the image processing model, and
wherein the second operation includes:
inputting the click position of the first click, the click position of the second click and the image to the image processing model; and
obtaining a reduced predicted region output by the image processing model.
|