Commit 10f1f014 authored by Andrey Filippov's avatar Andrey Filippov

made focusing work for both 5Mpix and 14Mpix, provided config files in resources

parent b04837e7
...@@ -1691,7 +1691,7 @@ public class MatchSimulatedPattern { ...@@ -1691,7 +1691,7 @@ public class MatchSimulatedPattern {
floatPixels = (float[]) fht1.getPixels(); floatPixels = (float[]) fht1.getPixels();
for (i = 0; i < floatPixels.length; i++) for (i = 0; i < floatPixels.length; i++)
pixels[i] = floatPixels[i]; pixels[i] = floatPixels[i];
// show pixels here?
int[][] max2OnSpectrum = findFirst2MaxOnSpectrum(fft_complex, // complex, top half, starting from 0,0 int[][] max2OnSpectrum = findFirst2MaxOnSpectrum(fft_complex, // complex, top half, starting from 0,0
1, // skip +- from (0,0) and previous max - add parameter to dialog? 1, // skip +- from (0,0) and previous max - add parameter to dialog?
0.5); // 0.5 - 30deg. orthogonality of 2 vectors - 1.0 - perpendicular, 0.0 - parallel 0.5); // 0.5 - 30deg. orthogonality of 2 vectors - 1.0 - perpendicular, 0.0 - parallel
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment