This application discloses an
image segmentation method, apparatus, device, and readable storage medium, belonging to the field of
image processing. The method includes: acquiring an initial segmentation image and an original image to be segmented, including a target object; inputting the initial segmentation image and the original image into an
active contour model for
image segmentation to obtain a target segmented image. The
active contour model uses a target
energy functional that includes a fidelity term with constant weight coefficients, a length term with first adaptive weight coefficients, and a
smoothing term with second adaptive weight coefficients, wherein the first and second adaptive weight coefficients are determined using the original image. Thus, when performing
image segmentation on the image to be segmented using the
active contour model, the weight coefficients of the length and
smoothing terms of the target
energy functional of the active contour model can be adjusted accordingly based on different images to be segmented, thereby improving the robustness of the active contour model and the image segmentation accuracy.