mpicbg.models
Class InvertibleInterpolatedModel<A extends Model<A> & InvertibleCoordinateTransform,B extends Model<B> & InvertibleCoordinateTransform,M extends InvertibleInterpolatedModel<A,B,M>>

java.lang.Object
  extended by mpicbg.models.AbstractModel<M>
      extended by mpicbg.models.InterpolatedModel<A,B,M>
          extended by mpicbg.models.InvertibleInterpolatedModel<A,B,M>
All Implemented Interfaces:
Serializable, CoordinateTransform, InverseCoordinateTransform, InvertibleCoordinateTransform, Model<M>
Direct Known Subclasses:
InterpolatedAffineModel1D, InterpolatedAffineModel2D, InterpolatedAffineModel3D

public class InvertibleInterpolatedModel<A extends Model<A> & InvertibleCoordinateTransform,B extends Model<B> & InvertibleCoordinateTransform,M extends InvertibleInterpolatedModel<A,B,M>>
extends InterpolatedModel<A,B,M>
implements InvertibleCoordinateTransform

Invertible specialization of InterpolatedModel.

Author:
Stephan Saalfeld
See Also:
Serialized Form

Field Summary
 
Fields inherited from class mpicbg.models.InterpolatedModel
a, b, l1, lambda
 
Fields inherited from class mpicbg.models.AbstractModel
cost, rnd
 
Constructor Summary
InvertibleInterpolatedModel(A a, B b, double lambda)
           
 
Method Summary
 double[] applyInverse(double[] point)
          Apply the inverse of the model to a point location
 void applyInverseInPlace(double[] point)
          apply the inverse of the model to a point location
 M copy()
          Clone the model.
 InvertibleCoordinateTransform createInverse()
           
 
Methods inherited from class mpicbg.models.InterpolatedModel
apply, applyInPlace, fit, getA, getB, getLambda, getMinNumMatches, set, setLambda
 
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, toString, wait, wait, wait
 
Methods inherited from interface mpicbg.models.CoordinateTransform
apply, applyInPlace
 

Constructor Detail

InvertibleInterpolatedModel

public InvertibleInterpolatedModel(A a,
                                   B b,
                                   double lambda)
Method Detail

copy

public M copy()
Description copied from interface: Model
Clone the model.

Specified by:
copy in interface Model<M extends InvertibleInterpolatedModel<A,B,M>>
Overrides:
copy in class InterpolatedModel<A extends Model<A> & InvertibleCoordinateTransform,B extends Model<B> & InvertibleCoordinateTransform,M extends InvertibleInterpolatedModel<A,B,M>>

applyInverse

public double[] applyInverse(double[] point)
                      throws NoninvertibleModelException
Description copied from interface: InverseCoordinateTransform
Apply the inverse of the model to a point location

Specified by:
applyInverse in interface InverseCoordinateTransform
Returns:
transformed point
Throws:
NoninvertibleModelException

applyInverseInPlace

public void applyInverseInPlace(double[] point)
                         throws NoninvertibleModelException
Description copied from interface: InverseCoordinateTransform
apply the inverse of the model to a point location

Specified by:
applyInverseInPlace in interface InverseCoordinateTransform
Throws:
NoninvertibleModelException

createInverse

public InvertibleCoordinateTransform createInverse()
Specified by:
createInverse in interface InvertibleCoordinateTransform


Copyright © 2007-2016 Fiji. All Rights Reserved.