**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
std::complex<double> c (*vRealCol, *vImagCol);\r
*vRealCol++ = std::abs (c);\r
vImagCol++;\r
std::complex<double> c (*vRealCol, *vImagCol);\r
*vRealCol++ = std::abs (c);\r
vImagCol++;\r
ImageFileColumnConst in1 = vLHS[ix];\r
ImageFileColumnConst in2 = vRHS[ix];\r
ImageFileColumn out = vResult[ix];\r
ImageFileColumnConst in1 = vLHS[ix];\r
ImageFileColumnConst in2 = vRHS[ix];\r
ImageFileColumn out = vResult[ix];\r
ImageFileColumnConst in1 = vLHS[ix];\r
ImageFileColumnConst in2 = vRHS[ix];\r
ImageFileColumn out = vResult[ix];\r
ImageFileColumnConst in1 = vLHS[ix];\r
ImageFileColumnConst in2 = vRHS[ix];\r
ImageFileColumn out = vResult[ix];\r
ImageFileColumnConst in1 = vLHS[ix];\r
ImageFileColumnConst in2 = vRHS[ix];\r
ImageFileColumn out = vResult[ix];\r
ImageFileColumnConst in1 = vLHS[ix];\r
ImageFileColumnConst in2 = vRHS[ix];\r
ImageFileColumn out = vResult[ix];\r
ImageFileColumnConst in1 = vLHS[ix];\r
ImageFileColumnConst in2 = vRHS[ix];\r
ImageFileColumn out = vResult[ix];\r
ImageFileColumnConst in1 = vLHS[ix];\r
ImageFileColumnConst in2 = vRHS[ix];\r
ImageFileColumn out = vResult[ix];\r
ImageFileArray vRealResult = result.getArray();\r
ImageFileArray vImagResult = result.getImaginaryArray();\r
\r
ImageFileArray vRealResult = result.getArray();\r
ImageFileArray vImagResult = result.getImaginaryArray();\r
\r
double* pY = new double [m_ny];\r
std::complex<double>** complexOut = new std::complex<double>* [m_nx];\r
for (ix = 0; ix < m_nx; ix++)\r
double* pY = new double [m_ny];\r
std::complex<double>** complexOut = new std::complex<double>* [m_nx];\r
for (ix = 0; ix < m_nx; ix++)\r
ImageFileArray vRealResult = result.getArray();\r
if (result.dataType() == Array2dFile::DATA_TYPE_COMPLEX) {\r
ImageFileArray vImagResult = result.getImaginaryArray();\r
ImageFileArray vRealResult = result.getArray();\r
if (result.dataType() == Array2dFile::DATA_TYPE_COMPLEX) {\r
ImageFileArray vImagResult = result.getImaginaryArray();\r
if (dataType() == Array2dFile::DATA_TYPE_COMPLEX) \r
vRealResult[ix][iy] = ::sqrt (vReal[ix][iy] * vReal[ix][iy] + vImag[ix][iy] * vImag[ix][iy]);\r
else\r
if (dataType() == Array2dFile::DATA_TYPE_COMPLEX) \r
vRealResult[ix][iy] = ::sqrt (vReal[ix][iy] * vReal[ix][iy] + vImag[ix][iy] * vImag[ix][iy]);\r
else\r
ImageFileArray vRealResult = result.getArray();\r
if (result.dataType() == Array2dFile::DATA_TYPE_COMPLEX) {\r
ImageFileArray vImagResult = result.getImaginaryArray();\r
ImageFileArray vRealResult = result.getArray();\r
if (result.dataType() == Array2dFile::DATA_TYPE_COMPLEX) {\r
ImageFileArray vImagResult = result.getImaginaryArray();\r
if (dataType() == Array2dFile::DATA_TYPE_COMPLEX) \r
vRealResult[ix][iy] = ::atan (vImag[ix][iy] / vReal[ix][iy]);\r
else\r
if (dataType() == Array2dFile::DATA_TYPE_COMPLEX) \r
vRealResult[ix][iy] = ::atan (vImag[ix][iy] / vReal[ix][iy]);\r
else\r