fft_spectrum: Calculate fft amplitude and phase

View source: R/pictplot.R

fft_spectrumR Documentation

Calculate fft amplitude and phase

Description

Calculate fft amplitude and phase

Usage

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

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

tsuda16k/pictplot documentation built on March 1, 2023, 8:44 p.m.