public abstract class AbstractMovingLeastSquaresTransform extends Object implements CoordinateTransform, Serializable
@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},
month = {July},
year = {2006},
issn = {0730-0301},
pages = {533--540},
publisher = {ACM},
address = {New York, NY, USA},
}
| Modifier and Type | Field and Description |
|---|---|
protected double |
alpha |
protected Model<?> |
model |
| Constructor and Description |
|---|
AbstractMovingLeastSquaresTransform() |
| Modifier and Type | Method and Description |
|---|---|
double[] |
apply(double[] location)
Apply the
CoordinateTransform to a location. |
double |
getAlpha() |
Model<?> |
getModel() |
void |
setAlpha(double alpha) |
abstract void |
setMatches(Collection<PointMatch> matches) |
void |
setModel(Class<? extends Model<?>> modelClass) |
void |
setModel(Model<?> model) |
protected double |
weigh(double d) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyInPlaceprotected Model<?> model
protected double alpha
public final Model<?> getModel()
public final void setModel(Model<?> model)
public final void setModel(Class<? extends Model<?>> modelClass) throws Exception
Exceptionpublic final double getAlpha()
public final void setAlpha(double alpha)
public abstract void setMatches(Collection<PointMatch> matches) throws NotEnoughDataPointsException, IllDefinedDataPointsException
protected double weigh(double d)
public final double[] apply(double[] location)
CoordinateTransformCoordinateTransform to a location.apply in interface CoordinateTransformCopyright © 2015–2021 Fiji. All rights reserved.