Package skyview.geometry.distorter
Class DSS.DSSInv
java.lang.Object
skyview.geometry.Transformer
skyview.geometry.Distorter
skyview.geometry.distorter.DSS.DSSInv
- All Implemented Interfaces:
Serializable,Component
- Enclosing class:
- DSS
This inner class is the inverse of the DSS Distorter and corrects
the distortion generated there. For the DSS projection, this
direction is described analytically using a polynomial expansion,
while the 'forward' distortion must be done by inverting the polynomial
using Newton's method.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a description of this componentgetName()Get the name of this componentinverse()Get the inverse Distorterinvert()Get the forward distorter backbooleanIs this the inverse of another distorter?double[][]jacobian(double[] x) Get the local Jacobian for the distortion.voidtransform(double[] x, double[] y) Transform a pointMethods inherited from class skyview.geometry.Distorter
applyBeforeScaling, getInputDimension, getOutputDimensionMethods inherited from class skyview.geometry.Transformer
transform, transform
-
Constructor Details
-
DSSInv
public DSSInv()
-
-
Method Details
-
invert
Get the forward distorter back -
getName
Get the name of this component -
getDescription
Get a description of this component- Specified by:
getDescriptionin interfaceComponent- Specified by:
getDescriptionin classDistorter
-
inverse
Get the inverse Distorter -
isInverse
Is this the inverse of another distorter?- Specified by:
isInversein classTransformer
-
transform
public void transform(double[] x, double[] y) Transform a point- Specified by:
transformin classTransformer- Parameters:
x- The input vector.y- The output vector, it may be the same as the input vector if the dimensionalities are the same. All transformers are expected to work with aliased inputs and output.
-
jacobian
public double[][] jacobian(double[] x) Description copied from class:DistorterGet the local Jacobian for the distortion. This implementation defers the calculation to the inverse distorter. Clearly this will need to be overriden in either the forward or backward distorter.
-