Class Distorter

    • Constructor Detail

      • Distorter

        public Distorter()
    • Method Detail

      • getName

        public abstract String getName()
        A name for this object
        Specified by:
        getName in interface Component
      • inverse

        public abstract Distorter inverse()
        Description copied from class: Transformer
        Get the inverse of the transformation. If the order matters, then the inverse is to be applied after the original transformation. This is primarily an issue with Converters.
        Specified by:
        inverse in class Transformer
      • getOutputDimension

        protected int getOutputDimension()
        What is the output dimensionality of a Distorter?
        Specified by:
        getOutputDimension in class Transformer
      • getInputDimension

        protected int getInputDimension()
        What is the input dimensionality of a Distorter?
        Specified by:
        getInputDimension in class Transformer
      • jacobian

        public double[][] jacobian​(double[] pix)
        Get 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.
        Parameters:
        pix - The input position.
        Returns:
        The Jabobian matrix.
      • applyBeforeScaling

        public boolean applyBeforeScaling()