Learn R Programming

FPCA3D (version 1.0)

FFT2FS_3D: Three dimensional Fourier Series

Description

Calculate the three dimensional Fourier series coeffiients of the input three dimensional array.

Usage

FFT2FS_3D(A)

Arguments

A

A three dimensional numerical data array. For example, A can be the data array of an three dimensional image.

Value

A three dimensional Fourier series coefficients array of the input A data array.

Details

Calcualte the three dimensional numerical data array. The input A array can be any three dimensional data array. For image input data, the input should be data array only without any header information.

References

Lin N, Jiang J, Guo S, Xiong M. Functional Principal Component Analysis and Randomized Sparse Clustering Algorithm for Medical Image Analysis. PLOS ONE. 2015;10(7):e0132945.

Examples

Run this code
# NOT RUN {
test_data = array(runif(1000,0,1),dim = c(10,10,10))
rlt = FFT2FS_3D(test_data)
# }

Run the code above in your browser using DataLab