Extracts the Fourier coefficients from objects computed with efourier()
and
efourier_norm()
returning a 'ready-to-analyze' data frame.
Arguments
- x
An object computed with
efourier()
orefourier_norm()
.
Examples
if (interactive() && requireNamespace("EBImage")) {
library(pliman)
# a list of objects
efourier(contours) |> efourier_coefs()
# one object, normalized coefficients
efourier(contours[[4]]) |>
efourier_norm() |>
efourier_coefs()
}