Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Measure properties of 3-D volumetric image regions

`stats = regionprops3(BW,properties)`

`stats = regionprops3(CC,properties)`

`stats = regionprops3(L,properties)`

`stats = regionprops3(___,V,properties)`

measures a set of properties for each connected component (object) in the 3-D
volumetric binary image `stats`

= regionprops3(`BW`

,`properties`

)`BW`

. The output
`stats`

is a table with height (number of rows) equal to the
number of objects in `BW`

. The variables (columns) of the table
denote different properties for each region, as specified by
`properties`

.

For all syntaxes, if you do not specify the `properties`

argument, `regionprops3`

returns the `'Volume'`

,
`'Centroid'`

, and `'BoundingBox'`

measurements.

measures a set of properties for each connected component (object) in
`stats`

= regionprops3(`CC`

,`properties`

)`CC`

, which is a structure returned by `bwconncomp`

.

measures a set of properties for each labeled region in the 3-D label matrix
`stats`

= regionprops3(`L`

,`properties`

)`L`

.

[1] Lehmann, Gaetan and David
Legland, *Efficient N-Dimensional surface estimation using Crofton formula and
run-length encoding*, https://hdl.handle.net/10380/3342

[2] Shoemake, Ken,
*Graphics Gems IV* Edited by Paul S. Heckbert, Morgan Kaufmann,
1994, Pg 222-229.