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

Method calculateAmplitude

ij/src/main/java/ij/process/FHT.java:515–523  ·  view source on GitHub ↗
(float[] fht, int maxN)

Source from the content-addressed store, hash-verified

513 }
514
515 ImageProcessor calculateAmplitude(float[] fht, int maxN) {
516 float[] amp = new float[maxN*maxN];
517 for (int row=0; row<maxN; row++) {
518 amplitude(row, maxN, fht, amp);
519 }
520 ImageProcessor ip = new FloatProcessor(maxN, maxN, amp, null);
521 swapQuadrants(ip);
522 return ip;
523 }
524
525 /** Amplitude of one row from 2D Hartley Transform. */
526 void amplitude(int row, int maxN, float[] fht, float[] amplitude) {

Callers

nothing calls this directly

Calls 2

amplitudeMethod · 0.95
swapQuadrantsMethod · 0.95

Tested by

no test coverage detected