See examples for the full list.
Arguments
- coo
a
matrixof (x; y) coordinates or anyCoo- rectilinearity
logicalwhether to include rectilinearity using coo_rectilinearity
Details
coo_rectilinearity being not particularly optimized, it takes around 30 times more time to include it than to calculate all others and is thus not includedby default. by default.
Examples
df <- bot %>% coo_scalars() # pass bot %>% coo_scalars(TRUE) if you want rectilinearity
colnames(df) %>% cat(sep="\n") # all scalars used
#> area
#> calliper
#> centsize
#> circularity
#> circularityharalick
#> circularitynorm
#> convexity
#> eccentricityboundingbox
#> eccentricityeigen
#> elongation
#> length
#> perim
#> rectangularity
#> solidity
#> width
# a PCA on all these descriptors
TraCoe(coo_scalars(bot), fac=bot$fac) %>% PCA %>% plot_PCA(~type)
