Class ZernikeMoment


  • public class ZernikeMoment
    extends Object
    Class to hold a zernike moment, including its polynom, order, repetition and complex representation
    Author:
    Andreas Graumann (University of Konstanz)
    • Field Detail

      • real

        public double real
      • imag

        public double imag
    • Constructor Detail

      • ZernikeMoment

        public ZernikeMoment()
    • Method Detail

      • getPhase

        public double getPhase()
        Returns:
        Phase of moment * 180/PI
      • getMagnitude

        public double getMagnitude()
        Returns:
        Magnitude of moment
      • getZm

        public BigComplex getZm()
        Returns:
        Zernike moment in complex representation
      • setZm

        public void setZm​(BigComplex _zm)
        Set zernike moment in complex representation
        Parameters:
        _zm -
      • getP

        public Polynom getP()
        Returns:
        Get radial polynom p
      • setP

        public void setP​(Polynom _p)
        Set radial polynom p
        Parameters:
        _p -
      • getN

        public int getN()
        Returns:
        Order n
      • setN

        public void setN​(int _n)
        Set order n
        Parameters:
        _n -
      • getM

        public int getM()
        Returns:
        Repetition m
      • setM

        public void setM​(int _m)
        Set repetition m
        Parameters:
        _m -