Package | Description |
---|---|
edu.stanford.rsl.conrad.cuda |
Contains classes for hardware-accelerated projection and volume handling using CUDA.
|
edu.stanford.rsl.conrad.geometry |
Contains classes to describe various projection geometries.
|
edu.stanford.rsl.conrad.geometry.motion |
Contains classes to model motion.
|
edu.stanford.rsl.conrad.geometry.shapes.simple |
Contains classes to model simple shapes.
|
edu.stanford.rsl.conrad.geometry.trajectories |
Contains classes to model trajectories, i.e.
|
edu.stanford.rsl.conrad.geometry.transforms |
Contains classes to model transformations in 3D.
|
edu.stanford.rsl.conrad.numerics |
Contains Matrix and Vector objects and associated linear algebra operations.
|
edu.stanford.rsl.conrad.opencl |
Contains classes to use OpenCL.
|
edu.stanford.rsl.conrad.phantom.xcat |
Contains classes to create a phantom that is similar to NCAT.
|
edu.stanford.rsl.conrad.reconstruction |
Contains classes to implement different reconstruction algorithms.
|
edu.stanford.rsl.conrad.reconstruction.iterative |
Contains classes to implement different iterative reconstruction algorithms.
|
edu.stanford.rsl.conrad.reconstruction.test |
Contains classes to test different iterative reconstruction algorithms.
|
edu.stanford.rsl.conrad.utils |
Contains various utility classes.
|
Modifier and Type | Method and Description |
---|---|
SimpleMatrix[] |
CUDAForwardProjectorWithMotion.readInMotionMatrices() |
Modifier and Type | Method and Description |
---|---|
SimpleMatrix |
Projection.computeP()
Computes the 3x4 projection matrix
![]() |
static SimpleMatrix |
Rotations.create3DChangeOfAxesMatrix(CoordinateSystem oldSystem,
CoordinateSystem newSystem)
Calculates rotational change of axis matrix from old system to new system using directional cosines.
|
static SimpleMatrix |
Rotations.createBasicRotationMatrix(Rotations.BasicAxis axis,
double angle) |
static SimpleMatrix |
Rotations.createBasicXRotationMatrix(double angle) |
static SimpleMatrix |
Rotations.createBasicYRotationMatrix(double angle) |
static SimpleMatrix |
Rotations.createBasicZRotationMatrix(double angle) |
static SimpleMatrix |
General.createHomAffineMotionMatrix(SimpleMatrix A) |
static SimpleMatrix |
General.createHomAffineMotionMatrix(SimpleMatrix A,
SimpleVector t) |
static SimpleMatrix |
General.createHomAffineMotionMatrix(SimpleVector t) |
static SimpleMatrix |
Rotations.createRotationMatrix(double angleX,
double angleY,
double angleZ)
Creates a rotation matrix as the product of
RotationMatrixX * RotationMatrixY * RotationMatrixZ
|
static SimpleMatrix |
Rotations.createRotationMatrixAboutAxis(Axis axis,
double angle)
Creates a Rotation Matrix about an arbitrary axis.
|
static SimpleMatrix |
Rotations.createRotationMatrixAboutAxis(SimpleVector axis,
double angle) |
SimpleMatrix |
Projection.getK()
Returns a const reference to the K matrix of intrinsic parameters.
|
SimpleMatrix |
Projection.getR()
Returns a const reference to the rotation matrix R.
|
static SimpleMatrix |
Rotations.getRotationMatrixFromAtoB(SimpleVector a,
SimpleVector b)
Computes the rotation matrix from a to b.
|
SimpleMatrix |
Projection.getRt()
Returns all extrinsic parameters (R and t) in a homogeneous rigid motion matrix.
|
SimpleMatrix |
Projection.getRTKinv() |
Modifier and Type | Method and Description |
---|---|
void |
CoordinateSystem.applyChangeOfCoordinatesMatrix(SimpleMatrix transform) |
static SimpleMatrix |
General.createHomAffineMotionMatrix(SimpleMatrix A) |
static SimpleMatrix |
General.createHomAffineMotionMatrix(SimpleMatrix A,
SimpleVector t) |
void |
Projection.initFromP(SimpleMatrix P)
Define the projection using a 3x4 projection matrix.
|
void |
Projection.initFromSKRT(double s,
SimpleMatrix K,
SimpleMatrix R,
SimpleVector t)
Set the projection's intrinsic and extrinsic parameters all at once.
|
void |
Projection.setKValue(SimpleMatrix K)
Set the intrinsic parameters K of the projection.
|
void |
Projection.setRtValue(SimpleMatrix Rt)
Set the extrinsic parameters of the projection.
|
void |
Projection.setRValue(SimpleMatrix R)
Set the rotation part of the extrinsic parameters of the projection.
|
static void |
General.splitHomAffineMotionMatrix(SimpleMatrix At,
SimpleMatrix A,
SimpleVector t) |
Constructor and Description |
---|
Projection(SimpleMatrix P)
Construct this projection from a 3x4 Matrix.
|
Constructor and Description |
---|
AffineMotionField(PointND transformationCenter,
SimpleMatrix rotMat,
SimpleVector translation)
Creates a new rotational and translation MotionField.
|
Modifier and Type | Method and Description |
---|---|
SimpleMatrix |
SimpleSurface.getChangeOfAxisMatrix(Axis newAxis)
Calculates matrix for rotating shape from a principal axis to new axis.
|
Modifier and Type | Method and Description |
---|---|
static SimpleMatrix |
ExtrapolatedTrajectory.getHomogeneousRotationMatrixZ(double angularIncrement)
Computes a rotation matrix around z axis in homogeneous coordinates.
|
Modifier and Type | Method and Description |
---|---|
SimpleMatrix |
Quaternion.equivalentMatrix() |
SimpleMatrix |
ScaleRotate.getData() |
Constructor and Description |
---|
AffineTransform(SimpleMatrix scaleRotate,
SimpleVector translatorVec)
Initialize a new Affine transform;
|
ScaleRotate(SimpleMatrix t)
Initialize a scale-rotation transform using a rotation matrix
|
Modifier and Type | Field and Description |
---|---|
static SimpleMatrix |
SimpleMatrix.I_2 |
static SimpleMatrix |
SimpleMatrix.I_3 |
static SimpleMatrix |
SimpleMatrix.I_4 |
Modifier and Type | Method and Description |
---|---|
static SimpleMatrix |
SimpleOperators.add(SimpleMatrix... addends)
Computes the sum of provided matrices
|
SimpleMatrix |
SimpleMatrix.clone() |
static SimpleMatrix |
SimpleOperators.concatenateHorizontally(SimpleVector... columns)
Creates a new matrix which is composed of all input column vectors, stacked next to each other.
|
SimpleMatrix |
SimpleMatrix.dividedBy(double divisor)
Divide all entries in matrix by divisor [current matrix is not updated]
|
static SimpleMatrix |
SimpleOperators.divideElementWise(SimpleMatrix M1,
SimpleMatrix M2) |
SimpleMatrix |
DecompositionRQ.getQ()
Computes the orthogonal
![]() ![]() |
SimpleMatrix |
DecompositionQR.getQ()
Compute Q from the internal storage QR.
|
SimpleMatrix |
DecompositionRQ.getR()
Computes the upper-triangular
![]() ![]() |
SimpleMatrix |
DecompositionQR.getR()
Compute R from the internal storages QR and Rdiag.
|
SimpleMatrix |
DecompositionSVD.getreciprocalS()
Return the diagonal matrix of the reciprocals of the singular values
|
SimpleMatrix |
DecompositionSVD.getS()
Return the diagonal matrix of singular values
|
SimpleMatrix |
SimpleMatrix.getSubMatrix(int[] selectRows,
int[] selectCols)
Creates a new sub matrix with entries from ordered rows and ordered columns provided
|
SimpleMatrix |
SimpleMatrix.getSubMatrix(int deleteRow,
int deleteCol) |
SimpleMatrix |
SimpleMatrix.getSubMatrix(int firstRow,
int firstCol,
int sizeRows,
int sizeCols)
Creates a new sub matrix of this matrix
|
SimpleMatrix |
DecompositionSVD.getU()
Return the left singular vectors
|
SimpleMatrix |
DecompositionSVD.getV()
Return the right singular vectors
|
SimpleMatrix |
DecompositionSVD.inverse(boolean omit)
Return the Moore-Penrose (generalized) inverse
Slightly modified version of Kim van der Linde's code
|
SimpleMatrix |
SimpleMatrix.inverse(SimpleMatrix.InversionType inversionType)
Inverts the given matrix using the specified inversion method.
|
static SimpleMatrix |
SimpleOperators.max(SimpleMatrix... matrices)
Computes and returns the element-wise maximum of all given matrices.
|
static SimpleMatrix |
SimpleOperators.min(SimpleMatrix... matrices)
Computes and returns the element-wise minimum of all given matrices.
|
SimpleMatrix |
SimpleMatrix.multipliedBy(double factor)
Multiply factor to all entries in matrix [current matrix is not updated]
|
static SimpleMatrix |
SimpleOperators.multiplyElementWise(SimpleMatrix... factors) |
static SimpleMatrix |
SimpleOperators.multiplyMatrixProd(SimpleMatrix M1,
SimpleMatrix M2)
Computes the product of two matrices
|
static SimpleMatrix |
SimpleOperators.multiplyOuterProd(SimpleVector v1,
SimpleVector v2)
Computes the outer product multiplication of v1 and v2; i.e v1 x v2
|
SimpleMatrix |
SimpleMatrix.negated() |
SimpleMatrix |
DecompositionRQ.solve(SimpleMatrix B)
Computes solution Matrix
![]() ![]() |
SimpleMatrix |
DecompositionQR.solve(SimpleMatrix B)
Computes solution Matrix
![]() ![]() |
static SimpleMatrix |
SimpleOperators.subtract(SimpleMatrix M1,
SimpleMatrix M2)
Subtracts M2 from M1
|
SimpleMatrix |
SimpleVector.transposed() |
SimpleMatrix |
SimpleMatrix.transposed() |
Modifier and Type | Method and Description |
---|---|
static SimpleMatrix |
SimpleOperators.add(SimpleMatrix... addends)
Computes the sum of provided matrices
|
void |
SimpleMatrix.add(SimpleMatrix... addends)
Method to add a set of matrices to this matrix in place.
|
static SimpleMatrix |
SimpleOperators.divideElementWise(SimpleMatrix M1,
SimpleMatrix M2) |
void |
SimpleMatrix.divideElementWiseBy(SimpleMatrix other)
ordered division of matrix entries in place
|
static boolean |
SimpleOperators.equalElementWise(SimpleMatrix M1,
SimpleMatrix M2,
double delta) |
void |
SimpleMatrix.init(SimpleMatrix otherMat)
Initialize matrix with data from supplied matrix
|
static SimpleMatrix |
SimpleOperators.max(SimpleMatrix... matrices)
Computes and returns the element-wise maximum of all given matrices.
|
static SimpleMatrix |
SimpleOperators.min(SimpleMatrix... matrices)
Computes and returns the element-wise minimum of all given matrices.
|
static SimpleVector |
SimpleOperators.multiply(SimpleMatrix M,
SimpleVector v)
Performs a standard matrix-vector product.
|
static SimpleVector |
SimpleOperators.multiply(SimpleVector v,
SimpleMatrix M)
Performs a vector-matrix product, assuming a row vector.
|
static SimpleMatrix |
SimpleOperators.multiplyElementWise(SimpleMatrix... factors) |
void |
SimpleMatrix.multiplyElementWiseBy(SimpleMatrix other)
ordered multiplication of matrix entries in place
|
static SimpleMatrix |
SimpleOperators.multiplyMatrixProd(SimpleMatrix M1,
SimpleMatrix M2)
Computes the product of two matrices
|
void |
SimpleMatrix.setSubMatrixValue(int firstRow,
int firstCol,
SimpleMatrix subMatrix)
Replaces matrix entries starting at firsRow and firstCol with entries from subMatrix
|
SimpleMatrix |
DecompositionRQ.solve(SimpleMatrix B)
Computes solution Matrix
![]() ![]() |
SimpleMatrix |
DecompositionQR.solve(SimpleMatrix B)
Computes solution Matrix
![]() ![]() |
static SimpleVector |
Solvers.solveLinearLeastSquares(SimpleMatrix A,
SimpleVector b)
Solves the linear least squares problem
![]() |
static SimpleVector |
Solvers.solveLinearSysytemOfEquations(SimpleMatrix A,
SimpleVector b)
Solves the linear system of equations
![]() |
static SimpleVector |
Solvers.solveLowerTriangular(SimpleMatrix L,
SimpleVector b)
Solves the linear system of equations L*x = b with a square,
lower-triangular matrix L using forward substitution.
|
static SimpleVector |
Solvers.solveUpperTriangular(SimpleMatrix U,
SimpleVector b)
Solves the linear system of equations U*x = b with a square,
upper-triangular matrix U using backward substitution.
|
void |
SimpleMatrix.subtract(SimpleMatrix... subtrahends)
Method to subtract a set of matrices to this matrix in place.
|
static SimpleMatrix |
SimpleOperators.subtract(SimpleMatrix M1,
SimpleMatrix M2)
Subtracts M2 from M1
|
Constructor and Description |
---|
DecompositionQR(SimpleMatrix A)
Constructor performing the actual decomposition of a matrix
![]() |
DecompositionRQ(SimpleMatrix A)
Constructor performing the actual decomposition of a matrix
![]() |
DecompositionSVD(SimpleMatrix Arg)
Old Constructor
Construct the singular value decomposition Structure to access U, S and V. |
DecompositionSVD(SimpleMatrix Arg,
boolean thin,
boolean wantu,
boolean wantv)
Construct the singular value decomposition, i.e.
|
SimpleMatrix(SimpleMatrix otherMat)
Creates a new matrix from another
|
Modifier and Type | Method and Description |
---|---|
SimpleMatrix[] |
OpenCLForwardProjectorWithMotion.readInMotionMatrices() |
Modifier and Type | Method and Description |
---|---|
ij.process.FloatProcessor |
TestOpenCL.evaluateBSplineCPU(int elementCountT,
int elementCountV,
int elementCountU,
int width,
int height,
TimeVariantSurfaceBSpline cSpline,
double[] x,
double[] y,
double[] z,
SimpleMatrix proj,
boolean show) |
void |
OpenCLRenderer.setProjectionMatrix(SimpleMatrix m) |
Modifier and Type | Method and Description |
---|---|
SimpleMatrix |
ViconAffineTransform.getAffineTransformationMatrix() |
Modifier and Type | Method and Description |
---|---|
static void |
ModelBasedIterativeReconstruction.printSimpleMatrix(SimpleMatrix A) |
Modifier and Type | Method and Description |
---|---|
static void |
ModelBasedIterativeReconstruction.printSimpleMatrix(SimpleMatrix A) |
Modifier and Type | Method and Description |
---|---|
static void |
IterativeReconstructionTestA.printSimpleMatrix(SimpleMatrix A) |
Modifier and Type | Method and Description |
---|---|
static SimpleMatrix |
TestingTools.randLowerTriangularMatrix(int rows,
int cols)
Randomly generates a lower-triangular matrix of the given size.
|
static SimpleMatrix |
TestingTools.randMatrix(int rows,
int cols)
Randomly generates a matrix of the given size.
|
static SimpleMatrix |
TestingTools.randMatrixNonSingular(int size)
Randomly generates a matrix of the given size which is not singular.
|
static SimpleMatrix |
TestingTools.randOrthogonalMatrix(int size)
Randomly generates an orthogonal matrix of the given size, i.e.
|
static SimpleMatrix |
TestingTools.randRotationMatrix2D()
Randomly generates a 2x2 rotation matrix (representing a 2D rotation).
|
static SimpleMatrix |
TestingTools.randRotationMatrix3D()
Randomly generates a 3x3 rotation matrix (representing a 3D rotation).
|
static SimpleMatrix |
TestingTools.randSpecialOrthogonalMatrix(int size)
Randomly generates an special orthogonal matrix of the given size, i.e.
|
static SimpleMatrix |
TestingTools.randUpperTriangularMatrix(int rows,
int cols)
Randomly generates an upper-triangular matrix of the given size.
|
Modifier and Type | Method and Description |
---|---|
static void |
TestingTools.assertEqualElementWise(SimpleMatrix M1,
SimpleMatrix M2,
double delta)
own assert for matrices
|