|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Document.Windsurf.CovarianceMatrix
public class CovarianceMatrix
Class for computing the covariance matrix of H, S, and V image components.
Constructor Summary | |
---|---|
CovarianceMatrix()
|
Method Summary | |
---|---|
static double |
average(double[][] matrix)
Computes the average value of a bi-dimensional double array. |
static double |
average(java.util.Vector<java.lang.Double> v)
Computes the average value of a double vector. |
static double[][] |
covariance(double[][] H,
double[][] S,
double[][] V)
Computes the covariance matrix for three HSV matrices. |
static double[][] |
covariance(java.util.Vector<java.lang.Double> H,
java.util.Vector<java.lang.Double> S,
java.util.Vector<java.lang.Double> V)
Computes the covariance matrix for three HSV vectors. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CovarianceMatrix()
Method Detail |
---|
public static double[][] covariance(double[][] H, double[][] S, double[][] V)
H
- Matrix containing H(ue) components.S
- Matrix containing S(aturation) components.V
- Matrix containing V(alue) components.
public static double[][] covariance(java.util.Vector<java.lang.Double> H, java.util.Vector<java.lang.Double> S, java.util.Vector<java.lang.Double> V)
H
- Vector containing H(ue) components.S
- Vector containing S(aturation) components.V
- Vector containing V(alue) components.
public static double average(double[][] matrix)
matrix
- Bi-dimensional double array.
public static double average(java.util.Vector<java.lang.Double> v)
v
- Double vector.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |