This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Save Mask Image Created Using Image Segmenter

This example shows how to save the binary mask image you created using the Image Segmenter app.

Click Export and select Export Images.

In the Export to Workspace dialog box, you can assign names to the final segmentation mask image and the segmented version of the original image.

To get the MATLAB® code the app used to segment the image, click Export and select the Generate Function option. The app opens the MATLAB editor containing a function with the code required to segment the image.