|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cyberlab.support.MatrixManipulations
public class MatrixManipulations
Various matrix operations on OpenCV Mat objects, not available in the OpenCV library, used by the framework and made available to the framework user.
Constructor Summary | |
---|---|
MatrixManipulations()
|
Method Summary | |
---|---|
static void |
gramSchmidt(org.opencv.core.Mat matx)
Orthonormalize a matrix using the stabilized Gram-Schmidt algorithm |
static org.opencv.core.Mat |
matrixMult(org.opencv.core.Mat a,
org.opencv.core.Mat b)
Helper parameter performing standard matrix multiplications |
static void |
normalize(org.opencv.core.Mat u)
Normalize a matrix column |
static org.opencv.core.Mat |
proj(org.opencv.core.Mat u,
org.opencv.core.Mat v)
Vector projection operator |
static void |
zeroOutRow(org.opencv.core.Mat u)
Helper function for setting all elements in a matrix row to 0 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MatrixManipulations()
Method Detail |
---|
public static void gramSchmidt(org.opencv.core.Mat matx)
matx
- Reference to the matrixpublic static void normalize(org.opencv.core.Mat u)
u
- Reference to the matrix columnpublic static org.opencv.core.Mat proj(org.opencv.core.Mat u, org.opencv.core.Mat v)
u
- First vectorv
- Second vector
public static void zeroOutRow(org.opencv.core.Mat u)
u
- Reference to the specific matrix rowpublic static org.opencv.core.Mat matrixMult(org.opencv.core.Mat a, org.opencv.core.Mat b)
a
- First matrixb
- Second matrix
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |