public final class ZernikeMoments
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static double |
RadialPolynomial(int n,
int m_in,
double x,
double y)
Computes the Zernike radial polynomial, Rnm(p), in the definition of V(n,m,x,y).
|
static ComplexNumber |
ZernikeBasisFunction(int n,
int m,
double x,
double y)
Computes the Zernike basis function V(n,m,x,y).
|
static ComplexNumber |
ZernikeMoments(double[] x,
double[] y,
int nPoints,
double w,
double h,
double cx,
double cy,
int n,
int m)
Compute zernike moments at specified order.
|
static ComplexNumber |
ZernikeMoments(double[] x,
double[] y,
int nPoints,
int n,
int m)
Compute zernike moments at n and m moments order.
|
static ComplexNumber[] |
ZernikeMoments(int order,
double[] x,
double[] y,
int npoints)
Compute the set of Zernike's moments up to the specified order.
|
static ComplexNumber[] |
ZernikeMoments(int order,
double[] x,
double[] y,
int npoints,
double w,
double h,
double cx,
double cy)
Compute the set of Zernike's moments up to the specified order.
|
public static double RadialPolynomial(int n,
int m_in,
double x,
double y)
n - Moment order.m_in - Moment order.x - X axis coordinate.y - Y axis coordinate.public static ComplexNumber ZernikeBasisFunction(int n, int m, double x, double y)
n - Moment order.m - Moment order.x - X axis coordinate.y - Y axis coordinate.public static ComplexNumber ZernikeMoments(double[] x, double[] y, int nPoints, int n, int m)
x - X axis coordinates.y - Y axis coordinates.nPoints - Indicates the total number of points in the digitized shape.n - Moment order.m - Moment order.public static ComplexNumber ZernikeMoments(double[] x, double[] y, int nPoints, double w, double h, double cx, double cy, int n, int m)
x - X axis coordinates.y - Y axis coordinates.nPoints - Indicates the total number of points in the digitized shape.w - Width of the bounding box of the shape.h - Height of the bounding box of the shape.cx - X axis of centroid point of the shape.cy - Y axis of centroid point of the shape.n - Moment order.m - Moment order.public static ComplexNumber[] ZernikeMoments(int order, double[] x, double[] y, int npoints)
order - Order.x - X axis coordinates.y - Y axis coordinates.npoints - Indicates the total number of points in the digitized shape.public static ComplexNumber[] ZernikeMoments(int order, double[] x, double[] y, int npoints, double w, double h, double cx, double cy)
order - Order.x - X axis coordinate.y - Y axis coordinate.npoints - Indicates the total number of points in the digitized shape.w - Width of the bounding box of the shape.h - Height of the bounding box of the shape.cx - X axis of centroid point of the shape.cy - Y axis of centroid point of the shape.