cen2uv {dualtrees}R Documentation

centre to vector

Description

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

Usage

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

dt <- fld2dt(blossom)
ce <- dt2cen(dt)
uv <- cen2uv(ce)
uvplot( uv, z=blossom )

[Package dualtrees version 0.1.5 Index]