mpicbg.trakem2.transform
Class AffineModel2D

java.lang.Object
  extended by mpicbg.models.AbstractModel<M>
      extended by mpicbg.models.AbstractAffineModel2D<mpicbg.models.AffineModel2D>
          extended by mpicbg.models.AffineModel2D
              extended by mpicbg.trakem2.transform.AffineModel2D
All Implemented Interfaces:
mpicbg.models.Affine2D<mpicbg.models.AffineModel2D>, mpicbg.models.Boundable, mpicbg.models.CoordinateTransform, mpicbg.models.InverseBoundable, mpicbg.models.InverseCoordinateTransform, mpicbg.models.InvertibleBoundable, mpicbg.models.InvertibleCoordinateTransform, mpicbg.models.Model<mpicbg.models.AffineModel2D>

public class AffineModel2D
extends mpicbg.models.AffineModel2D
implements InvertibleCoordinateTransform


Field Summary
 
Fields inherited from class mpicbg.models.AffineModel2D
i00, i01, i02, i10, i11, i12, m00, m01, m02, m10, m11, m12, MIN_NUM_MATCHES
 
Fields inherited from class mpicbg.models.AbstractModel
cost, rnd
 
Constructor Summary
AffineModel2D()
           
 
Method Summary
 AffineModel2D copy()
           
 AffineModel2D createInverse()
          TODO Not yet tested
 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.AffineModel2D
apply, applyInPlace, applyInverse, applyInverseInPlace, concatenate, concatenate, createAffine, createInverseAffine, fit, getMinNumMatches, invert, preConcatenate, preConcatenate, set, set, set, toArray, toArray, toMatrix, toMatrix
 
Methods inherited from class mpicbg.models.AbstractAffineModel2D
estimateBounds, estimateInverseBounds, toString
 
Methods inherited from class mpicbg.models.AbstractModel
betterThan, filter, filter, filter, filterRansac, filterRansac, filterRansac, filterRansac, getCost, getError, getMinSetSize, icp, ransac, ransac, setCost, setError, test, test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface mpicbg.models.InverseCoordinateTransform
applyInverse, applyInverseInPlace
 
Methods inherited from interface mpicbg.models.CoordinateTransform
apply, applyInPlace
 

Constructor Detail

AffineModel2D

public AffineModel2D()
Method Detail

init

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


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

toDataString

public final 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:

copy

public AffineModel2D copy()
Specified by:
copy in interface mpicbg.models.Model<mpicbg.models.AffineModel2D>
Overrides:
copy in class mpicbg.models.AffineModel2D

createInverse

public AffineModel2D createInverse()
TODO Not yet tested

Specified by:
createInverse in interface mpicbg.models.Affine2D<mpicbg.models.AffineModel2D>
Specified by:
createInverse in interface mpicbg.models.InvertibleCoordinateTransform
Overrides:
createInverse in class mpicbg.models.AffineModel2D