regionprops [matlab]

regionprops函数在MATLAB中用于计算标记矩阵的区域属性,包括面积、质心、边界框、长轴和短轴长度、离心率、角度等。支持2-D输入标签矩阵,返回的结果如面积、质心坐标、边界框信息、椭圆轴长、离心率、方向、二值图像、填充图像、填充面积、凸包点、等效直径、饱和度、范围和像素索引列表等。
摘要由CSDN通过智能技术生成

regionprops:

对labeled的matrix取属性  STATS = regionprops(L,properties)

area:ROI的面积

Centroid:质心 

BoundingBox:包含ROI的最小矩形。返回值:[ul_corner width] ,ul_corner是upper left corner的坐标,width是矩形的长宽等(多维类推)

'MajorAxisLength'-- Scalar; the length (in pixels) of the major axis of the ellipse that has the same normalized second central moments as the region. This property is supported only for 2-D input label matrices.

         长轴的长度,不过这个椭圆是怎么来的,不懂

'MinorAxisLength' -- Scalar; the length (in pixels) of the minor axis of the ellipse that has the same normalized second central moments as the region. This property is supported only for 2-D input label matrices.

       短轴的长度

Eccentricity:椭圆的 离心率,偏心率

Orientation:x轴和椭圆长轴的夹角

BinaryImage:转为二值图像

FilledImage: BinaryImage填补空心的部分

FilledArea: FilledImage的面积

 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值