Note: This page has been translated by MathWorks. Please click here

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

To view all translated materals including this page, select Japan 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`

. The output `stats`

is a MATLAB
table with height (number of rows) equal to `CC.NumObjects`

. The CC
structure must represent a 3-D image, that is, `CC.ImageSize`

must
be a 1-by-3 vector. The CC structure must also have been created using a 3-D
connectivity value, such as 6, 18, or 26. For more information, see `bwconncomp`

.

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

= regionprops3(`L`

,`properties`

)`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. The output
`stats`

is a MATLAB table with height (number of rows) equal
to `max(L(:))`

.

measures a set of properties for each labeled region in the 3-D volumetric grayscale
image `stats`

= regionprops3(___,`V`

,`properties`

)`V`

. The first input (BW, CC, or L) identifies the regions
in `V`

. The sizes must match: `size(V)`

must
equal `size(BW)`

, `CC.ImageSize`

, or
`size(L)`

.

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

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

Was this topic helpful?