fft_spectrum: Calculate fft amplitude and phase

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Calculate fft amplitude and phase

Usage

1
fft_spectrum(im, modify = FALSE)

Arguments

im

an image

modify

if TRUE, amplitude value is log-rescaled, which is useful for plotting purpose

Value

an image

Examples

1
2
3
img = fft_spectrum(im_gray(regatta), modify = TRUE)
plot(img$magnitude)
plot(img$phase, rescale = TRUE)

tsuda16k/noesis documentation built on Nov. 25, 2020, 10:16 a.m.