cen2uv: centre to vector

Description Usage Arguments Details Value See Also Examples

View source: R/spectra.R

Description

transforms the angle and radius component of the spectral centre into vector components for visualization

Usage

1
cen2uv(cen)

Arguments

cen

an nx x ny x 3 array, the output of dt2cen

Details

The resulting vector field represents the degree of anisotropy and the dominant direction, averaged over all scales.

Value

an nx x ny x 2 array, the two matrices representing the u- and v-component of the vector field.

See Also

dt2cen, uvplot

Examples

1
2
3
4
dt <- fld2dt(blossom)
ce <- dt2cen(dt)
uv <- cen2uv(ce)
uvplot( uv, z=blossom )

dualtrees documentation built on March 13, 2020, 1:42 a.m.

Related to cen2uv in dualtrees...