46 bool setCHparam(vector<Real> &z,
int maxIter,
double tau,
double tolA,
int tvIter);
47 bool runCH(
int complexHidx);
48 bool saveNumRec(
const char *fname);
50 bool loadCHtemp(
const char *real,
const char *imag, uint8_t bitpixel);
52 matrix<Complex<Real>> propagationHoloAS(matrix<Complex<Real>> complexH,
float depth);
58 void tvdenoise(matrix<Real> &input,
double lam,
int iters, matrix<Real> &output);
59 double tvnorm(matrix<Real> &input);
60 void c2ri(matrix<Complex<Real>> &complexinput, matrix<Real> &realimagoutput);
61 void ri2c(matrix<Real> &realimaginput, matrix<Complex<Real>> &complexoutput);
62 void volume2plane(matrix<Real>& realimagvolumeinput, vector<Real> z, matrix<Real>& realimagplaneoutput);
63 void plane2volume(matrix<Real>& realimagplaneinput, vector<Real> z, matrix<Real>& realimagplaneoutput);
64 void convert3Dto2D(matrix<Complex<Real>> *complex3Dinput,
int nz, matrix<Complex<Real>> &complex2Doutput);
65 void convert2Dto3D(matrix<Complex<Real>> &complex2Dinput,
int nz, matrix<Complex<Real>> *complex3Doutput);
66 void twist(matrix<Real>& realimagplaneinput, matrix<Real>& realimagvolumeoutput);
67 double matrixEleSquareSum(matrix<Real> &input);
86 #endif // !__ophSigCH_h
bool readConfig(const char *fname)
Function for Read parameter.
matrix< Real > NumRecRealImag