@@ -0,0 +1,1346 @@
+/*%0A * This class uses autocorrelation to detect the movement between a reference image%0A * and the given image%0A */%0Apackage edu.valelab.GaussianFit;%0A%0Aimport ij.ImagePlus;%0Aimport ij.measure.ResultsTable;%0Aimport ij.plugin.filter.Analyzer;%0Aimport ij.process.FHT;%0Aimport ij.process.ImageProcessor;%0A%0A/**%0A *%0A * @author Nico Stuurman%0A */%0Apublic class JitterDetector %7B%0A   private final FHT ref_;%0A   %0A   public JitterDetector(ImageProcessor reference) %7B%0A     ref_ = new FHT(reference);%0A     ref_.transform();%0A     ref_.resetMinAndMax();%0A     new ImagePlus(%22Ref test%22, ref_).show();%0A   %7D%0A   %0A   public void getJitter(ImageProcessor test, double x, double y) %7B%0A      FHT t = new FHT(test);%0A      t.transform();%0A      t.resetMinAndMax();%0A      new ImagePlus(%22Ref Test2%22, t).show();%0A      %0A      FHT m = ref_.conjugateMultiply(t);%0A            %0A      m.inverseTransform();%0A      m.swapQuadrants();%0A      ij.IJ.showStatus(%22Display image%22);%0A      m.resetMinAndMax();%0A      int midx = m.getWidth() / 2;%0A      int midy = m.getHeight() / 2;%0A      int hw = 32;%0A      m.setRoi(midx - hw, midy - hw, 2* hw, 2* hw);%0A      ImagePlus mp = new ImagePlus(%22JitterTest%22, m);%0A      Analyzer al = new Analyzer(mp, ij.measure.Measurements.CENTER_OF_MASS, new ResultsTable());%0A      al.measure();%0A      al.summarize();%0A      %0A      al.displayResults();%0A      mp.show();%0A   %7D%0A   %0A%7D%0A

Add missing file