Class Neat

  • All Implemented Interfaces:
    java.io.Serializable, Component

    public class Neat
    extends Distorter
    This class implements the NEAT radial distortion.
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  Neat.NeatInv  
    • Constructor Summary

      Constructors 
      Constructor Description
      Neat​(double scale, double x0, double y0)  
    • Constructor Detail

      • Neat

        public Neat​(double scale,
                    double x0,
                    double y0)
    • Method Detail

      • inverse

        public 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 Distorter
      • isInverse

        public boolean isInverse​(Transformer test)
        Description copied from class: Transformer
        Are these two transformations, inverses of each other? This method is used to optimize a series of transformations where transformations.
        Specified by:
        isInverse in class Transformer
      • transform

        public void transform​(double[] in,
                              double[] out)
        Description copied from class: Transformer
        Convert a single point where the output vector is supplied.
        Specified by:
        transform in class Transformer
        Parameters:
        in - The input vector.
        out - 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.