主要内容

本页翻译不是最新的。点击此处可查看最新英文版本。

语义分割

语义图像分割

语义分割将图像的每个像素与一个类标签相关联,例如花、人、道路、天空或汽车。使用图像标注器视频标注器以交互方式标注像素,并导出标签数据以训练神经网络。

Input image of a seascape, then a series of cubes representing a deep learning network and a semantic segmented output image of the input.

App

图像标注器为计算机视觉应用标注图像
视频标注器Label video for computer vision applications

函数

全部展开

combine合并来自多个数据存储的数据
countEachLabelCount occurrence of pixel or box labels
groundTruthGround truth label data
imageDatastore图像数据的数据存储
pixelLabelDatastoreDatastore for pixel label data
pixelLabelTrainingDataCreate training data for semantic segmentation from ground truth
balancePixelLabelsBalance pixel labels by oversampling block locations in large images
imwarp对图像应用几何变换
imcrop裁剪图像
imresize调整图像大小
transform变换数据存储
randomAffine2dCreate randomized 2-D affine transformation
randomWindow2dRandomly select rectangular region in image (自 R2021a 起)
centerCropWindow2dCreate rectangular center cropping window
bisenetv2Create BiSeNet v2 convolutional neural network for semantic segmentation (自 R2025a 起)
unetCreate U-Net convolutional neural network for semantic segmentation (自 R2024a 起)
unet3dCreate 3-D U-Net convolutional neural network for semantic segmentation of volumetric images (自 R2024a 起)
deeplabv3plusCreate DeepLab v3+ convolutional neural network for semantic image segmentation (自 R2024a 起)
focalCrossEntropyCompute focal cross-entropy loss
semanticsegSemantic image segmentation using deep learning
imsegsamPerform automatic full image segmentation using Segment Anything Model (SAM) (自 R2024b 起)
segmentAnythingModelPretrained Segment Anything Model (SAM) for semantic segmentation (自 R2024a 起)
labeloverlayOverlay label matrix regions on 2-D image
volshowDisplay volume
insertObjectMask Insert masks in image or video stream
evaluateSemanticSegmentationEvaluate semantic segmentation data set against ground truth
bfscoreContour matching score for image segmentation
diceSørensen-Dice similarity coefficient for image segmentation
generalizedDiceGeneralized Sørensen-Dice similarity coefficient for image segmentation (自 R2021a 起)
jaccardJaccard similarity coefficient for image segmentation
segmentationConfusionMatrixConfusion matrix of multi-class pixel-level image segmentation
semanticSegmentationMetricsSemantic segmentation quality metrics

主题

快速入门

为语义分割创建真实值数据

为语义分割创建训练数据

精选示例