Diffusion Model In Image Segmentation Algorithm