mpi.fruitfly.registration
Class PhaseCorrelation2D

java.lang.Object
  extended by mpi.fruitfly.registration.PhaseCorrelation2D

public class PhaseCorrelation2D
extends java.lang.Object

Title:

Description:

Copyright: Copyright (c) 2006

Company:


Nested Class Summary
 class PhaseCorrelation2D.CrossCorrelationResult
           
 
Constructor Summary
PhaseCorrelation2D(ij.ImagePlus img1, ij.ImagePlus img2, int checkImages, boolean kaiserBessel, boolean normalize, boolean showImages)
           
PhaseCorrelation2D(ij.process.ImageProcessor imp1, ij.process.ImageProcessor imp2, int checkImages, boolean kaiserBessel, boolean normalize, boolean showImages)
           
PhaseCorrelation2D(java.lang.String image1, java.lang.String image2, int checkImages, boolean kaiserBessel, boolean normalize, boolean showImages)
           
 
Method Summary
 java.awt.Point computePhaseCorrelation()
           
static FloatArray2D extendImageMirror(FloatArray2D input, int extW, int extH)
           
 ij.ImagePlus getPhaseCorrelationImage()
           
 PhaseCorrelation2D.CrossCorrelationResult getResult()
           
 java.awt.Point getTranslation()
           
 PhaseCorrelation2D.CrossCorrelationResult[] testCrossCorrelation(int numBestHits, boolean createOverlappingImages, boolean createErrorMap)
           
 PhaseCorrelation2D.CrossCorrelationResult testCrossCorrelation(java.awt.Point shift, boolean createOverlappingImages, boolean createErrorMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhaseCorrelation2D

public PhaseCorrelation2D(java.lang.String image1,
                          java.lang.String image2,
                          int checkImages,
                          boolean kaiserBessel,
                          boolean normalize,
                          boolean showImages)

PhaseCorrelation2D

public PhaseCorrelation2D(ij.ImagePlus img1,
                          ij.ImagePlus img2,
                          int checkImages,
                          boolean kaiserBessel,
                          boolean normalize,
                          boolean showImages)

PhaseCorrelation2D

public PhaseCorrelation2D(ij.process.ImageProcessor imp1,
                          ij.process.ImageProcessor imp2,
                          int checkImages,
                          boolean kaiserBessel,
                          boolean normalize,
                          boolean showImages)
Method Detail

computePhaseCorrelation

public java.awt.Point computePhaseCorrelation()

extendImageMirror

public static FloatArray2D extendImageMirror(FloatArray2D input,
                                             int extW,
                                             int extH)

testCrossCorrelation

public PhaseCorrelation2D.CrossCorrelationResult[] testCrossCorrelation(int numBestHits,
                                                                        boolean createOverlappingImages,
                                                                        boolean createErrorMap)

testCrossCorrelation

public PhaseCorrelation2D.CrossCorrelationResult testCrossCorrelation(java.awt.Point shift,
                                                                      boolean createOverlappingImages,
                                                                      boolean createErrorMap)

getPhaseCorrelationImage

public ij.ImagePlus getPhaseCorrelationImage()

getResult

public PhaseCorrelation2D.CrossCorrelationResult getResult()

getTranslation

public java.awt.Point getTranslation()