Covariance Matrix Data Structures
As discussed in Section 2.8 of Topic 9, detailed accuracy information can be recorded using a covariance matrix, sometimes called a variance-covariance matrix. For the three ground
coordinates of one point, a covariance matrix is a 3 by 3 matrix, with the matrix rows and columns each corresponding to the three coordinates. For just the two horizontal ground coordinates, a
covariance matrix is a 2 by 2 matrix, with the matrix rows and columns each corresponding to the two horizontal coordinates. Similarly, for two image coordinates, a covariance matrix is a 2 by 2
matrix, with the matrix rows and columns each corresponding to the two image coordinates.
The covariance matrix cells contain the expected average values of the product of the error in the matrix row coordinate times the simultaneous error in the matrix column coordinate. For absolute
accuracy, the diagonal matrix cells contain the error variances of the corresponding ground coordinates, or the squares of the standard deviations. The off-diagonal cells contain the
covariances between the errors in the corresponding ground coordinates; these covariances will be zero when the errors in different coordinates are not statistically correlated. All covariance matrices
are symmetrical, meaning that the same cell values appear on both sides of the diagonal cells.
Covariance matrices can be used to record absolute andor relative accuracies. A covariance matrix for the relative accuracy between two points uses the three or two coordinates of one point for
matrix rows and the three or two coordinates of the second point for matrix columns. A complete covariance matrix for N specific points would contain 3N rows and 3N columns.
When other forms of accuracy data are desired by a user, such as Circular Error CE and Linear Error LE, they can be converted from or to covariance matrices. Please see Sections 2.4
through 2.7 of Topic 9 for definitions of CE, LE, and other forms of accuracy data. Such accuracy conversion is the purpose of the Accuracy Conversion Services, as discussed in Section 2.7 of this
document. CE and LE can each be transferred as a single precision floating point number, as can the confidence probability associated with each CE and LE.
This document assumes that accuracy will always be specified in OpenGIS® interfaces in units of meters or meters-squared, as specified in Abstract Specification Topic 9: Quality. Alternately, the
units used for accuracy values must be specified.