Main Content

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

区域和图像属性

获取图像中目标的有关信息

图像区域,也称为目标连通分量斑点,具有诸如面积、质心、方向和边界框等属性。要计算这些属性(以及更多属性),您可以使用图像区域分析器regionprops 函数。

您还可以沿图像中的路径测量单个像素的像素值,或在整个图像上进行聚合。

App

图像区域分析器Browse and filter connected components in image

函数

全部展开

regionprops测量图像区域的属性
regionprops3Measure properties of 3-D volumetric image regions
bwarea二值图像中对象的面积
bwconvhullGenerate convex hull image from binary image
bweulerEuler number of binary image
bwferetMeasure Feret properties
bwperim找出二值图像中对象的边界
impixelPixel color values
improfilePixel-value cross-sections along line segments
imcontourCreate contour plot of image data
bwdist二值图像的距离变换
bwdistgeodesicGeodesic distance transform of binary image
graydistGray-weighted distance transform of grayscale image
imhist图像数据的直方图
mean2矩阵元素的平均值或均值
std2矩阵元素的标准差
corr2二维相关系数
bwconncomp查找二值图像中的连通分量并对其计数
bwareaopen从二值图像中删除小对象
bwareafilt按大小从二值图像中提取对象
bwpropfiltExtract objects from binary image using properties
bwselectSelect objects in binary image
bwselect3Select objects in binary volume
bwlabel对二维二值图像中的连通分量进行标注
bwlabeln对二值图像中的连通分量加标签
labelmatrixCreate label matrix from objects in connected components
label2rgbConvert label matrix into RGB image
poly2labelCreate label matrix from set of ROIs (自 R2020b 起)
poly2mask将感兴趣的区域 (ROI) 多边形转换为区域掩膜

主题

区域和目标属性

像素和路径属性

图像属性