registration
Class RegisterMI

java.lang.Object
  |
  +--registration.Register
        |
        +--registration.RegisterMI
Direct Known Subclasses:
RegisterRetina

public class RegisterMI
extends Register

Registration using mutual information. (c) 2003 Michael Abramoff. All rights reserved.


Field Summary
protected  float[] minmaxref
           
protected  double precision
           
 
Fields inherited from class registration.Register
estimate, mask, reference, width
 
Constructor Summary
RegisterMI()
          Zero instantiation
RegisterMI(float[] reference, int width)
          Prepare for registration including preprocessing of the reference image.
 
Method Summary
 float[] register(float[] a)
          Register the image in a to the reference image using MI.
 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

minmaxref

protected float[] minmaxref

precision

protected double precision
Constructor Detail

RegisterMI

public RegisterMI()
Zero instantiation

RegisterMI

public RegisterMI(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.
Method Detail

register

public float[] register(float[] a)
Register the image in a to the reference image using MI. Return the registration parameters.
Overrides:
register in class Register
Parameters:
an - image should be of same size and type as reference image.
Returns:
a vector with the registration coefficients.

toString

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