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

Method initializeTables

ij/src/main/java/ij/process/FHT.java:205–211  ·  view source on GitHub ↗
(int maxN)

Source from the content-addressed store, hash-verified

203 }
204
205 void initializeTables(int maxN) {
206 if (maxN>0x40000000)
207 throw new IllegalArgumentException("Too large for FHT: "+maxN+" >2^30");
208 makeSinCosTables(maxN);
209 makeBitReverseTable(maxN);
210 tempArr = new float[maxN];
211 }
212
213 void makeSinCosTables(int maxN) {
214 int n = maxN/4;

Callers 5

transform1DMethod · 0.95
inverseTransform1DMethod · 0.95
transformMethod · 0.95
rc2DFHTMethod · 0.95
dfht3Method · 0.95

Calls 2

makeSinCosTablesMethod · 0.95
makeBitReverseTableMethod · 0.95

Tested by

no test coverage detected