public class TranslationInvariantRigidModel2D extends TranslationInvariantModel<TranslationInvariantRigidModel2D>
@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},
}
| Modifier and Type | Field and Description |
|---|---|
protected double |
cos |
protected double |
itx |
protected double |
ity |
protected static int |
MIN_NUM_MATCHES |
protected double |
sin |
cost, rnd| Constructor and Description |
|---|
TranslationInvariantRigidModel2D() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
apply(double[] l)
Apply the
CoordinateTransform to a location. |
void |
applyInPlace(double[] l)
Apply the
CoordinateTransform to a location. |
boolean |
canDoNumDimension(int numDimensions)
The
TranslationInvariantModel can tell which dimensions it supports. |
TranslationInvariantRigidModel2D |
copy()
Clone the model.
|
<P extends PointMatch> |
fit(Collection<P> matches)
Closed form weighted least squares solution as described by
\citet{SchaeferAl06} and implemented by Johannes Schindelin.
|
int |
getMinNumMatches() |
void |
set(TranslationInvariantRigidModel2D m)
Set the model to m
|
betterThan, filter, filter, filter, filterRansac, filterRansac, filterRansac, filterRansac, fit, fit, getCost, icp, localSmoothnessFilter, ransac, ransac, setCost, test, testprotected static final int MIN_NUM_MATCHES
protected double cos
protected double sin
protected double itx
protected double ity
public boolean canDoNumDimension(int numDimensions)
TranslationInvariantModelTranslationInvariantModel can tell which dimensions it supports.canDoNumDimension in class TranslationInvariantModel<TranslationInvariantRigidModel2D>numDimensions - - The dimensionality (e.g. 3 means 3-dimensional)TranslationInvariantModel supports that dimensionalitypublic final int getMinNumMatches()
PointMatches required
to solve the model.public final double[] apply(double[] l)
CoordinateTransformCoordinateTransform to a location.public final void applyInPlace(double[] l)
CoordinateTransformCoordinateTransform to a location.public TranslationInvariantRigidModel2D copy()
Modelpublic final void set(TranslationInvariantRigidModel2D m)
Modelpublic final <P extends PointMatch> void fit(Collection<P> matches) throws NotEnoughDataPointsException
matches - set of point correpondencesNotEnoughDataPointsException - if matches does not contain
enough data pointsCopyright © 2015–2021 Fiji. All rights reserved.