开始使用语义分割使用Deep Learning
Segmentation is essential for image analysis tasks.Semantic segmentationdescribes the process of associating each pixel of an image with a class label, (such asflower,person,road,sky,ocean, orcar).
Applications for semantic segmentation include:
Autonomous driving
Industrial inspection
Classification of terrain visible in satellite imagery
Medical imaging analysis
Label Training Data for Semantic Segmentation
Large datasets enable faster and more accurate mapping to a particular input (or input aspect). Using data augmentation provides a means of leveraging limited datasets for training. Minor changes, such as translation, cropping, or transforming an image provides new distinct and unique images. SeeAugment Images for Deep Learning Workflows Using Image Processing Toolbox(Deep Learning Toolbox)
You can use theImage Labeler,Video Labeler, orGround Truth Labeler(Automated Driving Toolbox)(available in Automated Driving Toolbox™) apps to interactively label pixels and export label data for training. The app can also be used to label rectangular regions of interest (ROIs) and scene labels for image classification.
Train and Test a Semantic Segmentation Network
The steps for training a semantic segmentation network are as follows:
1.Analyze Training Data for Semantic Segmentation
2.Create a Semantic Segmentation Network
Segment Objects Using Pretrained DeepLabv3+ Network
MathWorks®GitHub repository provides implementations of the latest pretrained deep learning networks to download and use for performing out-of-the-box inference.
For a list of all the latest MathWorks pretrained semantic segmentation models and examples, seeMATLAB Deep Learning (GitHub).
See Also
Apps
Functions
semanticseg
|semanticSegmentationMetrics
|evaluateSemanticSegmentation
|pixelLabelDatastore
|segnetLayers
|fcnLayers
|unet3dLayers
|unetLayers
Objects
Related Examples
- Augment Pixel Labels for Semantic Segmentation(Deep Learning Toolbox)
- Import Pixel Labeled Dataset For Semantic Segmentation
- Semantic Segmentation Using Deep Learning
- Label Pixels for Semantic Segmentation
- Define Custom Pixel Classification Layer with Tversky Loss
- Semantic Segmentation Using Dilated Convolutions
- Calculate Segmentation Metrics in Block-Based Workflow
- Explore Semantic Segmentation Network Using Grad-CAM
More About
- Deep Learning in MATLAB(Deep Learning Toolbox)