fft_spectrum | R Documentation |
Calculate fft amplitude and phase
fft_spectrum(im, modify = FALSE)
im |
an image |
modify |
if TRUE, amplitude value is log-rescaled, which is useful for plotting purpose |
an image
img = fft_spectrum(im_gray(regatta), modify = TRUE) plot(img$magnitude) plot(img$phase, rescale = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.