Method to take the two dimensional backward DFT of a hermition complex DFT held in a double array with real/imag parts in even/odd elements, with the
k,l
Complex components held as follows:
Real part located at 2(j * wft + i)
Imag part located at 2(j * wft + i) + 1
where wft = width/2 + 1
.
The transformed real data is returned in a one-dimension double array with pixel i,j
located at element j*width + i
.
@param width the image width
@param height the image height
@param complexArray the Fourier data packed in a 1-d array.
@param realArray the returned real data of length width*height
. If null or wrong length, then a new array will be created.
@return double[]
DFT packed into one dimensional array
@throws IllegalArgumentException
ifwidth*height
is not consistent with array length.