Skip to contents

Calculated using the ratio of the shape area and the convex hull area.

Usage

coo_solidity(coo)

Source

Rosin PL. 2005. Computing global shape measures. Handbook of Pattern Recognition and Computer Vision. 177-196.

Arguments

coo

a matrix of (x; y) coordinates or any Coo

Value

numeric for a single shape, list for Coo

Examples

coo_solidity(bot[1])
#> [1] 0.8932612

bot %>%
    slice(1:3) %>%  # for speed sake only
    coo_solidity
#> $brahma
#> [1] 0.8932612
#> 
#> $caney
#> [1] 0.9201334
#> 
#> $chimay
#> [1] 0.9279237
#>