This is an internal function and not to be used stand-alone.

rspectrum(x, w, hm, n = TRUE, h = TRUE, env, ...)

Arguments

x

a square matrix

w

a moving window size

hm

harmonics to consider as features

n

normalize, bolean TRUE or FALSE

h

high pass filter on the two first spectra values set to 0, limits the influence of low frequency components bolean TRUE or FALSE

env

local environment to evaluate

...

additional parameters to forward

Value

Returns a radial spectrum values for the image used in order to classify texture using a PCA (or other) analysis.