Transform2DLinear MatrixDeterminant Property Cognex VisionPro 9.10

Returns the determinant of the 2-by-2 matrix in this transformation.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax

public double MatrixDeterminant { get; }

Property Value

Type: Double
Remarks

Returns the determinant of this transformation object's 2x2 matrix. You might use the MatrixDeterminant to test for a degenerate transform: for example, the Singular method is based on the determinant. You might also use the determinant to ascertain how a transform changes the handedness of the x- and y-axes: if the matrix determinant is negative, the transform swaps the handedness of the x- and y-axes. In other words, if the determinant is negative, the Skew is greater than +90 or less than -90 degrees; if the determinant is positive, the skew is between +90 and -90 degrees.

See Also