fft_slope: Calculate orientation-averaged amplitude

View source: R/pictplot.R

fft_slopeR Documentation

Calculate orientation-averaged amplitude

Description

Calculate orientation-averaged amplitude

Usage

fft_slope(
  im,
  range = c(10, 512),
  n = 10,
  mask = TRUE,
  linear.sample = TRUE,
  rawdata = FALSE,
  show.plot = FALSE
)

Arguments

im

an image

range

frequency range

n

number of samples

mask

if TRUE, apply circular mask before calculation

linear.sample

if TRUE,

rawdata

if TRUE, raw data is returned as well as slope value

show.plot

if TRUE, figure is displayed

Value

a numeric value or a data frame

Examples

fft_slope(regatta)
fft_slope(regatta, rawdata = TRUE, show.plot = TRUE)

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