public class ThinPlateSplineTransform extends Object implements CoordinateTransform
| Constructor and Description |
|---|
ThinPlateSplineTransform() |
ThinPlateSplineTransform(ThinPlateR2LogRSplineKernelTransform tps) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
apply(double[] location)
Apply the
CoordinateTransform to a location. |
void |
applyInPlace(double[] location)
Apply the
CoordinateTransform to a location. |
CoordinateTransform |
copy() |
void |
init(String data)
Initialize the properties of the
CoordinateTransform
from a data string as generated by CoordinateTransform.toDataString(). |
String |
toDataString()
Create a
String representation of the properties of the
CoordinateTransform that can be used to
re-create itself with CoordinateTransform.init(String). |
String |
toXML(String indent)
Create an XML-export of the
CoordinateTransform
for use in TrakEM2. |
public ThinPlateSplineTransform()
public ThinPlateSplineTransform(ThinPlateR2LogRSplineKernelTransform tps)
public double[] apply(double[] location)
CoordinateTransformCoordinateTransform to a location.apply in interface CoordinateTransformpublic void applyInPlace(double[] location)
CoordinateTransformCoordinateTransform to a location.applyInPlace in interface CoordinateTransformpublic void init(String data) throws NumberFormatException
CoordinateTransformCoordinateTransform
from a data string as generated by CoordinateTransform.toDataString().NumberFormatExceptionpublic String toXML(String indent)
CoordinateTransformCoordinateTransform
for use in TrakEM2.public String toDataString()
CoordinateTransformString representation of the properties of the
CoordinateTransform that can be used to
re-create itself with CoordinateTransform.init(String).public CoordinateTransform copy()
Copyright © 2015–2021 Fiji. All rights reserved.