registration
Class RegisterFFTHessian

java.lang.Object
  |
  +--registration.Register
        |
        +--registration.RegisterFFTHessian

public class RegisterFFTHessian
extends Register

Registration using Hessian eigenvalues edge detection and Fourier transform cross-correlation. (c) 2003-2004 Michael Abramoff. All rights reserved.


Field Summary
protected  int debug
           
protected  BIJfht fht
          to compute FFT.
protected  float[] referencefft
           
 
Fields inherited from class registration.Register
estimate, mask, reference, width
 
Constructor Summary
RegisterFFTHessian(float[] reference, int width)
          Prepare for registration including preprocessing of the reference image.
RegisterFFTHessian(float[] reference, int width, float[] mask)
          Prepare for registration including preprocessing of the reference image.
 
Method Summary
 float[] register(float[] image)
          Register the image in a to the reference image.
 java.lang.String toString()
           
 
Methods inherited from class registration.Register
plotParameters
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fht

protected BIJfht fht
to compute FFT.

referencefft

protected float[] referencefft

debug

protected int debug
Constructor Detail

RegisterFFTHessian

public RegisterFFTHessian(float[] reference,
                          int width)
Prepare for registration including preprocessing of the reference image. The reference image will be used in register.
Parameters:
image - an image
width - the width of the image.

RegisterFFTHessian

public RegisterFFTHessian(float[] reference,
                          int width,
                          float[] mask)
Prepare for registration including preprocessing of the reference image. The reference image will be used in register.
Parameters:
image - an image
width - the width of the image.
mask - a float[] with 0 for non valid pixels.
Method Detail

register

public float[] register(float[] image)
Register the image in a to the reference image. Return the registration parameters.
Overrides:
register in class Register
Parameters:
an - image should be of same size and type as reference image.
mask - a float[] of the same size as reference and a containing a 1 for each valid pixel, 0 if not valid. If mask == null, not used.
Returns:
a vector with the registration coefficients.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object