Main Content

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

图像分割

分割图像

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

App

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

函数

全部展开

graythresh使用 Otsu 方法计算全局图像阈值
multithreshMultilevel image thresholds using Otsu’s method
otsuthresh使用 Otsu 方法的全局直方图阈值
adaptthresh使用局部一阶统计量的自适应图像阈值
grayconnectedSelect contiguous image region with similar gray values using flood-fill technique
watershed分水岭变换
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
imoverlay将二值掩膜刻入二维图像
labeloverlayOverlay 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

主题

使用色彩分割器进行分割

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

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