Accurate image segmentation is a pivotal process in medical imaging, essential for supporting diagnosis, treatment planning, and monitoring disease progression. This study evaluates the effectiveness of machine learning algorithms, including U-Net, Fully Convolutional Networks (FCNs), and Mask R-CNN, in achieving high-precision segmentation of medical images. Experimental results demonstrate that these models significantly enhance segmentation accuracy, enabling more precise diagnostic outcomes in clinical settings and advancing the development of automated medical imaging technologies.