mpicbg.trakem2.transform
Class MovingLeastSquaresTransform

java.lang.Object
  extended by mpicbg.models.MovingLeastSquaresTransform
      extended by mpicbg.trakem2.transform.MovingLeastSquaresTransform
All Implemented Interfaces:
mpicbg.models.CoordinateTransform

public class MovingLeastSquaresTransform
extends mpicbg.models.MovingLeastSquaresTransform
implements CoordinateTransform


Field Summary
 
Fields inherited from class mpicbg.models.MovingLeastSquaresTransform
alpha, matches, model
 
Constructor Summary
MovingLeastSquaresTransform()
           
 
Method Summary
 MovingLeastSquaresTransform copy()
           
 void init(java.lang.String data)
          Initialize the properties of the CoordinateTransform from a data string as generated by #toString().
 java.lang.String toDataString()
          Create a String representation of the properties of the CoordinateTransform that can be used to re-create itself with CoordinateTransform.init(String).
 java.lang.String toXML(java.lang.String indent)
          Create an XML-export of the CoordinateTransform for use in TrakEM2.
 
Methods inherited from class mpicbg.models.MovingLeastSquaresTransform
apply, applyInPlace, getAlpha, getMatches, getModel, setAlpha, setMatches, setModel, setModel, weigh
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface mpicbg.models.CoordinateTransform
apply, applyInPlace
 

Constructor Detail

MovingLeastSquaresTransform

public MovingLeastSquaresTransform()
Method Detail

init

public final void init(java.lang.String data)
                throws java.lang.NumberFormatException
Description copied from interface: CoordinateTransform
Initialize the properties of the CoordinateTransform from a data string as generated by #toString().

Throws:
java.lang.NumberFormatException

toDataString

public java.lang.String toDataString()
Description copied from interface: CoordinateTransform
Create a String representation of the properties of the CoordinateTransform that can be used to re-create itself with CoordinateTransform.init(String).

Returns:

toXML

public final java.lang.String toXML(java.lang.String indent)
Description copied from interface: CoordinateTransform
Create an XML-export of the CoordinateTransform for use in TrakEM2.

Returns:
TrakEM2-readable XML

copy

public final MovingLeastSquaresTransform copy()