mpicbg.models
Class AbstractAffineModel2D<M extends AbstractAffineModel2D<M>>

java.lang.Object
  extended by mpicbg.models.AbstractModel<M>
      extended by mpicbg.models.AbstractAffineModel2D<M>
Type Parameters:
M -
All Implemented Interfaces:
Serializable, Affine2D<M>, Boundable, CoordinateTransform, InverseBoundable, InverseCoordinateTransform, InvertibleBoundable, InvertibleCoordinateTransform, Model<M>
Direct Known Subclasses:
AffineModel2D, RigidModel2D, SimilarityModel2D, TranslationModel2D

public abstract class AbstractAffineModel2D<M extends AbstractAffineModel2D<M>>
extends AbstractModel<M>
implements InvertibleBoundable, InvertibleCoordinateTransform, Affine2D<M>

Author:
Stephan Saalfeld
See Also:
Serialized Form

Field Summary
 
Fields inherited from class mpicbg.models.AbstractModel
cost, rnd
 
Constructor Summary
AbstractAffineModel2D()
           
 
Method Summary
abstract  void concatenate(M model)
           
abstract  AffineTransform createAffine()
          Create an AffineTransform representing the current parameters the model.
abstract  M createInverse()
           
abstract  AffineTransform createInverseAffine()
          Create an AffineTransform representing the inverse of the current parameters of the model.
 void estimateBounds(double[] min, double[] max)
          Estimate the bounds of an n-dimensional interval [min,max] with min and max being n-dimensional vectors.
 void estimateInverseBounds(double[] min, double[] max)
          Estimate the bounds of an n-dimensional interval [min,max] with min and max being n-dimensional vectors.
abstract  void preConcatenate(M model)
           
 String toString()
           
 
Methods inherited from class mpicbg.models.AbstractModel
betterThan, filter, filter, filter, filterRansac, filterRansac, filterRansac, filterRansac, fit, fit, getCost, icp, localSmoothnessFilter, ransac, ransac, setCost, 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.Affine2D
toArray, toMatrix
 
Methods inherited from interface mpicbg.models.Model
copy, fit, getMinNumMatches, set
 

Constructor Detail

AbstractAffineModel2D

public AbstractAffineModel2D()
Method Detail

createAffine

public abstract AffineTransform createAffine()
Create an AffineTransform representing the current parameters the model.

Specified by:
createAffine in interface Affine2D<M extends AbstractAffineModel2D<M>>
Returns:
AffineTransform

createInverseAffine

public abstract AffineTransform createInverseAffine()
Create an AffineTransform representing the inverse of the current parameters of the model.

Specified by:
createInverseAffine in interface Affine2D<M extends AbstractAffineModel2D<M>>
Returns:
AffineTransform

estimateBounds

public void estimateBounds(double[] min,
                           double[] max)
Description copied from interface: Boundable
Estimate the bounds of an n-dimensional interval [min,max] with min and max being n-dimensional vectors.

Specified by:
estimateBounds in interface Boundable

estimateInverseBounds

public void estimateInverseBounds(double[] min,
                                  double[] max)
                           throws NoninvertibleModelException
Description copied from interface: InverseBoundable
Estimate the bounds of an n-dimensional interval [min,max] with min and max being n-dimensional vectors.

Specified by:
estimateInverseBounds in interface InverseBoundable
Throws:
NoninvertibleModelException

toString

public String toString()
Overrides:
toString in class Object

preConcatenate

public abstract void preConcatenate(M model)
Specified by:
preConcatenate in interface Affine2D<M extends AbstractAffineModel2D<M>>

concatenate

public abstract void concatenate(M model)
Specified by:
concatenate in interface Affine2D<M extends AbstractAffineModel2D<M>>

createInverse

public abstract M createInverse()
Specified by:
createInverse in interface Affine2D<M extends AbstractAffineModel2D<M>>
Specified by:
createInverse in interface InvertibleCoordinateTransform


Copyright © 2007-2016 Fiji. All Rights Reserved.