Class TranslationInvariantAffineModel3D
java.lang.Object
mpicbg.models.AbstractModel<TranslationInvariantAffineModel3D>
net.preibisch.mvrecon.process.pointcloud.pointdescriptor.model.TranslationInvariantModel<TranslationInvariantAffineModel3D>
net.preibisch.mvrecon.process.pointcloud.pointdescriptor.model.TranslationInvariantAffineModel3D
- All Implemented Interfaces:
Serializable,mpicbg.models.CoordinateTransform,mpicbg.models.Model<TranslationInvariantAffineModel3D>
public class TranslationInvariantAffineModel3D
extends TranslationInvariantModel<TranslationInvariantAffineModel3D>
3d-affine transformation models to be applied to points in 3d-space.
This model includes the closed form weighted least squares solution as
described by \citet{SchaeferAl06} transferred to 3d
Changed by Stephan Preibisch to be translation invariant for descriptor matching
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< and Johannes Schindelin and Stephan Preibisch
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected doubleprotected static final intFields 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) final intfinal voidfinal StringtoString()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
-
Field Details
-
MIN_NUM_MATCHES
protected static final int MIN_NUM_MATCHES- See Also:
-
m00
protected double m00 -
m01
protected double m01 -
m02
protected double m02 -
m10
protected double m10 -
m11
protected double m11 -
m12
protected double m12 -
m20
protected double m20 -
m21
protected double m21 -
m22
protected double m22
-
-
Constructor Details
-
TranslationInvariantAffineModel3D
public TranslationInvariantAffineModel3D()
-
-
Method Details
-
canDoNumDimension
public boolean canDoNumDimension(int numDimensions) Description copied from class:TranslationInvariantModelTheTranslationInvariantModelcan tell which dimensions it supports.- Specified by:
canDoNumDimensionin classTranslationInvariantModel<TranslationInvariantAffineModel3D>- Parameters:
numDimensions- - The dimensionality (e.g. 3 means 3-dimensional)- Returns:
- - If the
TranslationInvariantModelsupports that dimensionality
-
fit
public final <P extends mpicbg.models.PointMatch> void fit(Collection<P> matches) throws mpicbg.models.NotEnoughDataPointsException, mpicbg.models.IllDefinedDataPointsException -
set
-
copy
-
getMinNumMatches
public final int getMinNumMatches() -
apply
public final double[] apply(double[] l) -
applyInPlace
public final void applyInPlace(double[] l) -
toString
-