|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.bme.smile.commons.optimize.tensor.OptimizeTensor
public class OptimizeTensor
This class is to test the different optimizers in a simple real-world case. All ND optimizers are used to optimize tensors acquired from diffusion weighted imaging.
Constructor Summary | |
---|---|
OptimizeTensor()
|
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
static Matrix |
makeImgMatrix(Matrix m,
double bvalue)
makes the imgMatrix |
static Matrix |
normalizeGrad(double[][] g)
normalizes the gradient matrix |
static void |
randTensor()
Creates a random tensor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OptimizeTensor()
Method Detail |
---|
public static void main(java.lang.String[] args)
public static void randTensor()
public static Matrix normalizeGrad(double[][] g)
g
- gradient matrix to normalize
public static Matrix makeImgMatrix(Matrix m, double bvalue)
m
- normalized gradient matrixbvalue
- the bvalue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |