7. Computation¶
In the least-squares bundle adjustment, there are two main entities:
parameters corresponding to unknowns (e.g., points coordinates, stations orientations)
observations corresponding to measurements or points constraints.
Since the equation system is non-linear, initial values are required for all parameters (see Parameters Initialization) and iterations are done until convergence.
7.1. Coordinates Systems¶
7.1.1. Spherical Coordinates¶
The compensation is done in Comp3D spherical computation frame close to a local stereographical projection.
Its origin (0,0) corresponds to project local center (see Project Configuration), h direction follows the Earth curvature (assimilated to a sphere), and N direction at the origin corresponds to the geographic north direction.
Note
Azimuths (observation code 8
) and \(\sigma\) are always given in spherical coordinates, therefore there is no
scale error nor convergence of meridians.
Input coordinates (in any user-chosen projection) is converted into spherical frame for computation and final coordinates are converted back into user’s projection for output.
7.1.2. Projection Coordinates¶
Projection coordinates are used for .cor and .new files.
7.1.2.1. Local Projection¶
If the points are given in a local stereographical projection, the approximate Earth radius is determined from the ellipsoid curvature at the project latitude.
The tangency point of the local stereographic projection is the project center.
N is supposed to be the north direction.
7.1.2.2. Georeferenced Projection¶
When a georeferenced projection is used, the project center is the origin of the computation frame and the approximate Earth radius is determined from the ellipsoid curvature at the latitude of the project’s center.
7.1.3. Cartesian Coordinates¶
Comp3D uses cartesian coordinates for subframes adjustment (see Cartesian Subframes) and for export.
The global cartesian frame coincides with the spherical computation frame at project’s center. The global cartesian compensated coordinates of each point can be exported with Export Coordinates tool. If the project is georeferenced, the transformation from global cartesian to geocentric cartesian coordinates is given in the computation report (see Computation Information).
The transformations between each subframe and the global cartesian frame are automatically written as comments at the end of each .xyz file.
7.1.4. Cartesian/Projection Transformation¶
The transformation between a cartesian frame and any projection can be done using the tool Cartesian from/to Projection.
7.1.5. Vertical Deflection¶
The 3D computation is done in a local geodetic frame, where h follows the ellipsoid and not the plumb line.
Many observations are affected by vertical deflection (e.g., topometric angles, leveling, instruments and target heights…) since instruments are verticalized to plumb line. To fix those measurements, vertical deflection value is to be given in .cor files for all points where an instrument or a target was verticalized (see COR File).
Note
If the vertical deflection is missing on a point where it is mandatory, no deflection will be used in the whole project, and a warning will appear when loading the project.
7.2. Parameters Initialization¶
Non-linear least squares adjustment requires coherent initial values for all parameters.
.cor files are used to initialize parameters for declared points. The other parameters are initialized in an iterative process using observations and initialized points.
This process uses several methods to estimate the approximate position of a point from different sets of observations. If a point is impossible to initialize, the point will not be used in computation and a warning message is displayed.
The set of declared points has to be sufficient to be able to initialize everything. Usually, a constrained station and one of its targets are sufficient.
At the end of this process, the initial coordinates of the points are available and can be exported with in the Export to Cor tool.
7.3. Network Contraints¶
In order to find solutions for all least squares parameters, external constraints are needed in addition to topometric observations in order to set the position and orientation of the project.
7.3.1. Free Compensation¶
A free compensation is done when minimal external constraints are applied, which means as many constraints as the number of degrees of freedom.
For standard topometric measurements, the global translation and the global horizontal rotation have to be set. Using four constraints for those four degrees of freedom is a free compensation: the external constraints will not interfere with the measurements, making network debugging easier.
7.3.2. Set Reference Frame¶
Several points may have to be constrained to set the network in a known reference frame.
Inconsistency between the constraints and the observations increases the residuals values.
7.3.3. Rank Deficiency¶
A rank deficiency of the system matrix means that there is insufficient information to solve the system. In this case, the kernel of the linear application will be estimated and shown in the report map to help finding the network problem.
Most of the time this rank deficiency appears if there is not enough external constraints or too many observations deactivated, creating several semi-independent subnetworks.
7.3.4. Internal Constraints¶
To get the internal precision of a topometric network, a special set of minimal constraints is used: instead of constraining a specific point, the internal constraints are applied to all points, except to remote points (see COR File) which will not be used, to prevent their imprecision to affect the whole network in internal constraints.
Internal constraints can only be used with Normal Matrix Inversion and with no fixed points.
If the Internal Constraints
option is selected, any external constraint on the network will be removed before normal matrix inversion, and internal constraints
will be added. To get coherent results, the initial constraints must be minimal.
7.4. Normal Matrix Inversion¶
If the normal matrix is inverted, new statistical information is available:
the variance matrix of all parameters (that can be exported with in a Export Variance-Covariance Matrix tool)
empirical confidence ellipsoids and intervals for points coordinates (see Points Empirical Confidence Indicators)
for observations: a posteriori \(\sigma\), partial redondancy, standardized residual, \(\nabla\) (biggest undetectable error / internal reliability), probable error (see Observations).
This step can be long, disabling it will speed up the calculation.
7.5. Simulation¶
Topometric networks can be simulated to have an idea of the final precision before the actual measurements are done.
A simulation input consists of points coordinates, list of observations and their precisions.
Simulation observations can be easily generated with the Sight Matrix to Obs tool.
7.5.1. Variance Propagation Simulation¶
In this mode, only the Normal Matrix Inversion is done.
7.5.2. Monte-Carlo Simulation¶
In this mode, the observations residuals are randomly drawn following observations’ a priori \(\sigma\) and points displacements are recorded.
The process is repeated maximum iterations times (see Project Configuration).
In the report, mean squared displacement and maximum displacement are given for every point (see Points Displacements Simulation), to outlight any potential network weakness.