MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / FHTreal

Method FHTreal

ij/src/main/java/ij/process/FHT.java:495–501  ·  view source on GitHub ↗

FFT real value of one row from 2D Hartley Transform. Author: Joachim Wesner

(int row, int maxN, float[] fht, float[] real)

Source from the content-addressed store, hash-verified

493 * Author: Joachim Wesner
494 */
495 void FHTreal(int row, int maxN, float[] fht, float[] real) {
496 int base = row*maxN;
497 int offs = ((maxN-row)%maxN) * maxN;
498 for (int c=0; c<maxN; c++) {
499 real[base+c] = (fht[base+c] + fht[offs+((maxN-c)%maxN)])*0.5f;
500 }
501 }
502
503
504 /** FFT imag value of one row from 2D Hartley Transform.

Callers 1

getComplexTransformMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected