Skip to contents

Extracts the Fourier coefficients from objects computed with efourier() and efourier_norm() returning a 'ready-to-analyze' data frame.

Usage

efourier_coefs(x)

Arguments

x

An object computed with efourier() or efourier_norm().

Value

A data.frame object

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()
}