get_centsize provides the classical centroid size which is the square root of the sum of squared distances between each point along the shape and its centroid coordinates. get_centsize_norm is the square root of the mean of squared distances between each point along the shape and its centroid coordinates. See Details.

get_centsize(x)

get_centsize_norm(x)

Arguments

x

coo_single, coo_list or mom_tbl

Value

numeric or additional column

Details

get_centsize_norm does not depend on the number of points of the shape (see Examples) which is both typical for outlines and never seen for landmarks. See Dryden I. E. and Mardia K. V. 1998. Statistical Shape Analysis. Wiley, Chichester. Since get_centsize never made a lot of sense to me, as an "outline" person, and because get_centsize_norm will "work" in all cases, it is the default method in coo_scale

Can be used, among others, to record size before coo_scale.

Functions

  • get_centsize_norm: normalized version

See also

Other coo_descriptors: get_centpos(), get_range()

Examples

b <- bot %>% pick(1) b %>% get_centsize
#> [1] 4277.213
b %>% coo_sample(64) %>% get_centsize()
#> [1] 2921.145
b %>% get_centsize_norm()
#> [1] 364.1006
b %>% coo_sample(64) %>% get_centsize_norm()
#> [1] 365.1431