How does image segmentation divide an image into meaningful regions or objects? What are the differences between semantic segmentation and instance segmentation? How can image segmentation support applications such as medical imaging, autonomous driving, and industrial inspection?