- java.lang.Object
-
- org.scijava.ops.image.features.zernike.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)
-
-
Constructor Summary
Constructors Constructor Description ZernikeMoment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetM()doublegetMagnitude()intgetN()PolynomgetP()doublegetPhase()BigComplexgetZm()voidsetM(int _m)Set repetition mvoidsetN(int _n)Set order nvoidsetP(Polynom _p)Set radial polynom pvoidsetZm(BigComplex _zm)Set zernike moment in complex representation
-
-
-
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-
-
-