Semantic Segmentation

Semantic image segmentation

Semantic segmentation associates each pixel of an image with a class label, such as flower, person, road, sky, or car. Use the Image Labeler and the Video Labeler apps to interactively label pixels and export the label data for training a neural network.

Apps

Image LabelerLabel images for computer vision applications
Video LabelerLabel video for computer vision applications

Functions

expand all

combineCombine data from multiple datastores
countEachLabelCount occurrence of pixel or box labels
groundTruthObject for storing ground truth labels
imageDatastoreDatastore for image data
pixelLabelImageDatastoreDatastore for semantic segmentation networks
pixelLabelDatastoreDatastore for pixel label data
pixelLabelTrainingDataCreate training data for semantic segmentation from ground truth
imwarpApply geometric transformation to image
imcropCrop image
imresizeResize image
transformTransform datastore
randomAffine2dCreate randomized 2-D affine transformation
centerCropWindow2dCreate rectangular center cropping window
randomCropWindow2dCreate randomized rectangular cropping window
deeplabv3plusLayersCreate DeepLab v3+ convolutional neural network for semantic image segmentation
dicePixelClassificationLayerCreate pixel classification layer using generalized Dice loss for semantic segmentation
fcnLayersCreate fully convolutional network layers for semantic segmentation
pixelClassificationLayerCreate pixel classification layer for semantic segmentation
segnetLayersCreate SegNet layers for semantic segmentation
unetLayersCreate U-Net layers for semantic segmentation
unet3dLayersCreate 3-D U-Net layers for semantic segmentation of volumetric images
semanticsegSemantic image segmentation using deep learning
labeloverlayOverlay label matrix regions on 2-D image
labelvolshowDisplay labeled volume
evaluateSemanticSegmentationEvaluate semantic segmentation data set against ground truth
bfscoreContour matching score for image segmentation
diceSørensen-Dice similarity coefficient for image segmentation
jaccardJaccard similarity coefficient for image segmentation
semanticSegmentationMetricsSemantic segmentation quality metrics

Topics

Get Started

Getting Started With Semantic Segmentation Using Deep Learning

Segment objects by class using deep learning

Label Pixels for Semantic Segmentation

Label pixels for semantic segmentation using Image Labeler, Video Labeler, or Ground Truth Labeler app.

How Labeler Apps Store Exported Pixel Labels

Understand how the labeler apps store pixel label data

Create Training Data for Semantic Segmentation

Datastores for Deep Learning (Deep Learning Toolbox)

Learn how to use datastores in deep learning applications.

Training Data for Object Detection and Semantic Segmentation

Create training data for object detection or semantic segmentation using the Image Labeler, Video Labeler, or Ground Truth Labeler.

Featured Examples