Class ColorDeconvMatrix3x3
java.lang.Object
qupath.lib.color.ColorDeconvMatrix3x3
Simple class for representing - and inverting a 3x3 matrix.
-
Constructor Details
-
ColorDeconvMatrix3x3
Constructor for a 3x3 matrix.- Parameters:
M-- Throws:
IllegalArgumentException- if the matrix is not 3x3
-
-
Method Details
-
determinant
public double determinant()Calculate the determinant of the matrix.- Returns:
-
inverse
public double[][] inverse()Calculate the 3x3 matrix inverse.- Returns:
-
toString
-