public class MovingLeastSquaresTransform extends AbstractMovingLeastSquaresTransform
Smooth coordinate transformation interpolating between a set of control points that are maped exactly on top of each other using landmark based deformation by means of Moving Least Squares as described by \citet{SchaeferAl06}.
This implementation internally stores the passed PointMatch
objects per reference and is thus best suited for an interactive application
where these matches are changed from an external context.
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},
month = {July},
year = {2006},
issn = {0730-0301},
pages = {533--540},
publisher = {ACM},
address = {New York, NY, USA},
}
| Modifier and Type | Field and Description |
|---|---|
protected Set<PointMatch> |
matches |
alpha, model| Constructor and Description |
|---|
MovingLeastSquaresTransform() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyInPlace(double[] location)
Apply the
CoordinateTransform to a location. |
Set<PointMatch> |
getMatches() |
void |
setMatches(Collection<PointMatch> matches) |
protected final Set<PointMatch> matches
public final Set<PointMatch> getMatches()
public final void setMatches(Collection<PointMatch> matches) throws NotEnoughDataPointsException, IllDefinedDataPointsException
setMatches in class AbstractMovingLeastSquaresTransformNotEnoughDataPointsExceptionIllDefinedDataPointsExceptionpublic void applyInPlace(double[] location)
CoordinateTransformCoordinateTransform to a location.Copyright © 2015–2021 Fiji. All rights reserved.