Learn R Programming

FPCA2D (version 1.0)

FFT2FS_2D: Two Dimenstional Fourier Expansion

Description

Conduct the two dimensional Fourier expansion by using fast Fourier transformation.

Usage

FFT2FS_2D(A)

Arguments

A
A is a two dimensional numerical matrix.

Value

Details

Conduct the two dimensional Fourier expansion by using fast Fourier transformation. To make the results comparable, be sure to transform all the intensity values of each image pixel should be between 0 and 1.

References

Lin N, Jiang J, Guo S, Xiong M (2015) Functional Principal Component Analysis and Randomized Sparse Clustering Algorithm for Medical Image Analysis. PLoS ONE 10(7): e0132945. doi:10.1371/journal.pone.0132945

Examples

Run this code
   ## Not run: 
#    A = matrix(sample(seq(0,1,0.01),100),nrow=10)
#    rlt = FFT2FS_2D(A)
#            ## End(Not run) 

Run the code above in your browser using DataLab