OPPO计算机的函数,imfeature函数

IMFEATURE Compute feature measurements for image regions.

Note: This function is obsolete and may be removed in

future versions. Use REGIONPROPS instead.

STATS = IMFEATURE(L,MEASUREMENTS) computes a set of

measurements for each labeled region in the label matrix

L. Positive integer elements of L correspond to different

regions. For example, the set of elements of L equal to 1

corresponds to region 1; the set of elements of L equal to 2

corresponds to region 2; and so on. STATS is a structure

array of length max(L(:)). The fields of the structure array

denote different measurements for each region, as specified

by MEASUREMENTS.

MEASUREMENTS can be a comma-separated list of strings, a cell

array containing strings, the string 'all', or the string

'basic'. The set of valid measurement strings includes:

'Area'              'ConvexHull'    'EulerNumber'

'Centroid'          'ConvexImage'   'Extrema'

'BoundingBox'       'ConvexArea'    'EquivDiameter'

'MajorAxisLength'   'Image'         'Solidity'

'MinorAxisLength'   'FilledImage'   'Extent'

'Orientation'       'FilledArea'    'PixelList'

'Eccentricity'

Measurement strings are case insensitive and can be

abbreviated.

If MEASUREMENTS is the string 'all', then all of the above

measurements are computed. If MEASUREMENTS is not specified

or if it is the string 'basic', then these measurements are

computed: 'Area', 'Centroid', and 'BoundingBox'.

STATS = IMFEATURE(L,MEASUREMENTS,N) specifies the type of

connectivity used in computing the 'FilledImage',

'FilledArea', and 'EulerNumber' measurements. N can have a

value of either 4 or 8, where 4 specifies 4-connected objects

and 8 specifies 8-connected objects; if the argument is

omitted, it defaults to 8.

Class Support

-------------

The input label matrix L can be of class double or of any

integer class.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值