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)
CoordinateTransform
CoordinateTransform
to a location.apply
in interface CoordinateTransform
public void applyInPlace(double[] location)
CoordinateTransform
CoordinateTransform
to a location.applyInPlace
in interface CoordinateTransform
public void init(String data) throws NumberFormatException
CoordinateTransform
CoordinateTransform
from a data string as generated by CoordinateTransform.toDataString()
.NumberFormatException
public String toXML(String indent)
CoordinateTransform
CoordinateTransform
for use in TrakEM2.public String toDataString()
CoordinateTransform
String
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.