Main Content

Measure Feret properties

measures the Feret properties of objects in an image and returns the measurements in a
table. The input `out`

= bwferet(`BW`

,`properties`

)`properties`

specifies the Feret properties to be
measured for each object in input binary image `BW`

. The measured Feret
properties include the minimum and maximum Feret diameters, Feret angles, and endpoint
coordinates of Feret diameters.

measures the Feret properties for each connected component in structure
`out`

= bwferet(`CC`

,`properties`

)`CC`

.

measures the Feret properties for each object in the input label matrix
`out`

= bwferet(`L`

,`properties`

)`L`

.

The Feret properties of an object are measured by using boundary points on the antipodal vertices of the convex hull that encloses that object.

Given the endpoint coordinates of the maximum (or minimum) Feret diameter, $$\left[\begin{array}{l}{x}_{1}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}{y}_{1}\\ {x}_{2}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}{y}_{2}\end{array}\right]$$, the maximum (or minimum) Feret angle is measured as $$angle\text{\hspace{0.17em}}\text{\hspace{0.17em}}=\text{\hspace{0.17em}}\text{\hspace{0.17em}}{\mathrm{tan}}^{-1}\left(\frac{{y}_{2}-{y}_{1}}{{x}_{2}-{x}_{1}}\right)$$.

`bwconncomp`

| `bwlabel`

| `bwlabeln`

| `labelmatrix`

| `regionprops`