Image Processing Toolbox    

Example: Marker-Controlled Watershed Segmentation

This example illustrates how to use many different morphology functions in combination to accomplish an image processing task: segmentation. In segmentation, objects in an image that are touching each other are divided into separate objects. (To see other extended examples, view the Image Processing Toolbox Morphology demos.)

The example performs these steps:


  Distance Transform Step 1: Read in Images