i,j,k
pixel of the real cube is located in array element k * width * height + j * width + i
The Complex DFT is returned in a double array with real/imag parts in even/odd elements, with the i,j Complex components in
Real part located at 2(k * wft * height + j * wft + i)
Imag part located at 2(k * wft * height + j * wft + i)
+ 1
where wft = width/2 + 1
.
@param width the cube width
@param height the cube height
@param depth the cube depth
@param realArray the cube data in array of length width*height*depth
@param complexArray the output array, must be of length 2*depth*height*(width/2 + 1)
. If null or wrong length, a new array will be allocated.
@return double[]
DFT packed into one dimensional array
@throws IllegalArgumentException
ifwidth*height*depth
is not equal the array length.
|
|
|
|