skyview.geometry.distorter
Class DSSDistorter.DSSInvDistorter

java.lang.Object
  extended by skyview.geometry.Transformer
      extended by skyview.geometry.Distorter
          extended by skyview.geometry.distorter.DSSDistorter.DSSInvDistorter
All Implemented Interfaces:
java.io.Serializable, Component
Enclosing class:
DSSDistorter

public class DSSDistorter.DSSInvDistorter
extends Distorter

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:
Serialized Form

Constructor Summary
DSSDistorter.DSSInvDistorter()
           
 
Method Summary
 java.lang.String getDescription()
          Get a description of this component
 java.lang.String getName()
          Get the name of this component
 Distorter inverse()
          Get the inverse Distorter
 Distorter invert()
          Get the forward distorter back
 boolean isInverse(Transformer t)
          Is this the inverse of another distorter?
 void transform(double[] x, double[] y)
          Transform a point
 
Methods inherited from class skyview.geometry.Distorter
getInputDimension, getOutputDimension
 
Methods inherited from class skyview.geometry.Transformer
transform, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSSDistorter.DSSInvDistorter

public DSSDistorter.DSSInvDistorter()
Method Detail

invert

public Distorter invert()
Get the forward distorter back


getName

public java.lang.String getName()
Get the name of this component

Specified by:
getName in interface Component
Overrides:
getName in class Distorter

getDescription

public java.lang.String getDescription()
Get a description of this component

Specified by:
getDescription in interface Component
Overrides:
getDescription in class Distorter

inverse

public Distorter inverse()
Get the inverse Distorter

Specified by:
inverse in class Distorter

isInverse

public boolean isInverse(Transformer t)
Is this the inverse of another distorter?

Specified by:
isInverse in class Transformer

transform

public void transform(double[] x,
                      double[] y)
Transform a point

Specified by:
transform in class Transformer
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.