Main Content

本页的翻译已过时。点击此处可查看最新英文版本。

图像分割

分割图像

图像分割是将图像分割成多个部分或区域的过程。这种分割通常基于图像中像素的特征。例如,在图像中查找区域的一种方法是寻找像素值中的突变不连续性,这通常表示边缘。这些边缘可以定义区域。其他方法根据颜色值或纹理将图像分成多个区域。

App

色彩分割器对彩色图像进行阈值化处理
图像分割器通过细化区域来分割图像
三维体分割器Segment 3-D grayscale or RGB volumetric images

函数

全部展开

graythresh使用 Otsu 方法计算全局图像阈值
multithresh Multilevel image thresholds using Otsu’s method
otsuthreshGlobal histogram threshold using Otsu's method
adaptthresh使用局部一阶统计量的自适应图像阈值
grayconnectedSelect contiguous image region with similar gray values using flood-fill technique
watershedWatershed transform
activecontour使用主动轮廓 (snake) 区域增长方法将图像分割成前景和背景
lazysnappingSegment image into foreground and background using graph-based segmentation
grabcutSegment image into foreground and background using iterative graph-based segmentation
imseggeodesicSegment image into two or three regions using geodesic distance-based color segmentation
imsegfmmBinary image segmentation using fast marching method
gradientweightCalculate weights for image pixels based on image gradient
graydiffweightCalculate weights for image pixels based on grayscale intensity difference
imsegkmeans基于 K 均值聚类的图像分割
imsegkmeans3K-means clustering based volume segmentation
superpixels图像的二维超像素过分割
superpixels33-D superpixel oversegmentation of 3-D image
imoverlayBurn binary mask into 2-D image
overlayOverlay label matrix regions on 2-D image
label2idxConvert label matrix to cell array of linear indices
boundarymaskFind region boundaries of segmentation
jaccardJaccard similarity coefficient for image segmentation
diceSørensen-Dice similarity coefficient for image segmentation
bfscoreContour matching score for image segmentation

主题

使用色彩分割器进行分割

Segment Image and Create Mask Using Color Thresholder App

This example shows how to segment an image and create a binary mask image using the Color Thresholder app.

Acquire Live Images in the Color Thresholder App

You can perform color thresholding on an image acquired from a live USB webcam.

Image Segmentation Using Point Clouds in the Color Thresholder App

This example shows how to segment an image using the point cloud control in the Color Thresholder app.

使用 Gabor 滤波器、超像素和其他技术进行分割

Plot Land Classification with Color Features and Superpixels

This example shows how to perform land type classification based on color features using K-means clustering and superpixels.

Segment Lungs from 3-D Chest Scan

This example shows how to perform a 3-D segmentation using active contours (snakes).

使用三维体分割器进行分割

Create Binary Mask Using Volume Segmenter

This example shows how to segment a volume in the Volume Segmenter app.

Create Semantic Segmentation Using Volume Segmenter

This example shows how to create a semantic segmentation of a volume using the Volume Segmenter app.

Work with Blocked Images Using Volume Segmenter

This example shows how to work with a single-resolution blocked image in the Volume Segmenter app.

特色示例