Image Segmentation In Foundation Model Era A Survey