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

Method inverseTransform1D

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

Performs an inverse 1D Fast Hartley Transform (FHT) of an array

(float[] fht)

Source from the content-addressed store, hash-verified

181
182 /** Performs an inverse 1D Fast Hartley Transform (FHT) of an array */
183 public void inverseTransform1D(float[] fht) {
184 int n = fht.length;
185 if (S==null || n!=maxN) {
186 if (!isPowerOf2(n))
187 throw new IllegalArgumentException("Not power of 2 length: "+n);
188 initializeTables(n);
189 }
190 dfht3(fht, 0, true, n);
191 }
192
193 void transform(boolean inverse) {
194 if (!powerOf2Size())

Callers

nothing calls this directly

Calls 3

isPowerOf2Method · 0.95
initializeTablesMethod · 0.95
dfht3Method · 0.95

Tested by

no test coverage detected