Class TranslationInvariantRigidModel2D
java.lang.Object
mpicbg.models.AbstractModel<TranslationInvariantRigidModel2D>
net.preibisch.mvrecon.process.pointcloud.pointdescriptor.model.TranslationInvariantModel<TranslationInvariantRigidModel2D>
net.preibisch.mvrecon.process.pointcloud.pointdescriptor.model.TranslationInvariantRigidModel2D
- All Implemented Interfaces:
Serializable,mpicbg.models.CoordinateTransform,mpicbg.models.Model<TranslationInvariantRigidModel2D>
public class TranslationInvariantRigidModel2D
extends TranslationInvariantModel<TranslationInvariantRigidModel2D>
2d-rigid transformation models to be applied to points in 2d-space.
This model includes the closed form weighted least squares solution as
described by \citet{SchaeferAl06} and implemented by Johannes Schindelin.
BibTeX:
@article{SchaeferAl06,
author = {Scott Schaefer and Travis McPhail and Joe Warren},
title = {Image deformation using moving least squares},
journal = {ACM Transactions on Graphics},
volume = {25},
number = {3},
year = {2006},
pages = {533--540},
publisher = {ACM},
address = {New York, NY, USA},
url = {http://faculty.cs.tamu.edu/schaefer/research/mls.pdf},
}
- Version:
- 0.1b
- Author:
- Stephan Saalfeld (saalfeld@mpi-cbg.de)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected doubleprotected doubleprotected static final intprotected doubleprotected doubleprotected doubleFields inherited from class mpicbg.models.AbstractModel
cost, rnd -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal double[]apply(double[] l) final voidapplyInPlace(double[] l) booleancanDoNumDimension(int numDimensions) TheTranslationInvariantModelcan tell which dimensions it supports.copy()final <P extends mpicbg.models.PointMatch>
voidfit(Collection<P> matches) Closed form weighted least squares solution as described by \citet{SchaeferAl06} and implemented by Johannes Schindelin.final intfinal voidMethods inherited from class mpicbg.models.AbstractModel
betterThan, filter, filter, filter, filterRansac, filterRansac, filterRansac, filterRansac, fit, fit, getCost, icp, localSmoothnessFilter, ransac, ransac, setCost, test, test
-
Field Details
-
MIN_NUM_MATCHES
protected static final int MIN_NUM_MATCHES- See Also:
-
cos
protected double cos -
sin
protected double sin -
tx
protected double tx -
ty
protected double ty -
itx
protected double itx -
ity
protected double ity
-
-
Constructor Details
-
TranslationInvariantRigidModel2D
public TranslationInvariantRigidModel2D()
-
-
Method Details
-
canDoNumDimension
public boolean canDoNumDimension(int numDimensions) Description copied from class:TranslationInvariantModelTheTranslationInvariantModelcan tell which dimensions it supports.- Specified by:
canDoNumDimensionin classTranslationInvariantModel<TranslationInvariantRigidModel2D>- Parameters:
numDimensions- - The dimensionality (e.g. 3 means 3-dimensional)- Returns:
- - If the
TranslationInvariantModelsupports that dimensionality
-
getMinNumMatches
public final int getMinNumMatches() -
apply
public final double[] apply(double[] l) -
applyInPlace
public final void applyInPlace(double[] l) -
copy
-
set
-
fit
public final <P extends mpicbg.models.PointMatch> void fit(Collection<P> matches) throws mpicbg.models.NotEnoughDataPointsException Closed form weighted least squares solution as described by \citet{SchaeferAl06} and implemented by Johannes Schindelin.
-