Results¶
The Results page loads the outputs of a run into QGIS. After a run has finished, point it to the output folder. It scans the folder, you tick the components you need, and one click adds them to the layer tree with a ready-made symbology. The same page exports layers to Google Earth Pro as georeferenced KMZ overlays.
It has three collapsible sections: Select layers (open by default), Appearance and Google Earth export. The Appearance header shows the current state, for example "default colour scales · opacity 80 %".
- Check the Directory. It is filled in from the Processing output folder and scanned automatically.
- Tick the components you need and click ▶ Load Selected into QGIS.
- Optionally click 🌍 Export to Google Earth Pro… to create KMZ files from the layers.
Click a letter to see what an area of the page does.

Select layers¶
Find the layers of a run and choose which ones to load.
Directory & scan¶
Directory is the root folder of a DIC processing run. It is filled in automatically from the Processing output folder and scanned without pressing anything.
- The scan searches the folder recursively for all
DIC_*.tiffiles and the sparse GeoPackages and fills the layer list. - The ranges of the colour table are computed at the same time.
When does the automatic scan run?
Only when the directory has changed since the last scan and the Results tab is visible (shortly after you stop typing a path, or when you open the tab).
- Switching between tabs does not re-scan an unchanged folder.
- The scan runs while the Results tab is visible, so a large output folder (e.g. a SWISSIMAGE tile batch) is scanned when you open the tab and not while you work on the Processing page.
- Use ↻ Rescan to scan again, for example after a new run has finished.
Data type¶
Choose Displacement results (default) or Velocity results, the same choice as in Map Layout. Switching only re-filters the files already scanned, so no new scan is needed.
| Data type | What it lists |
|---|---|
| Displacement results | The cumulative displacement layers, the sparse GeoPackages and the input images. |
| Velocity results | Only the _vel_ layers, which are written when Export velocity is enabled. |
Sparse GeoPackages written with Export velocity on also contain velocity columns: x_vel_<unit>, y_vel_<unit>, xy_vel_<unit> and, in DEM mode, z_vel_, dz_vel_, xyz_vel_ (for example xy_vel_myear). The values are the displacement divided by the time between the two dates, like the velocity GeoTIFFs.
- Such GeoPackages are listed under Velocity results.
- They can be loaded as coloured points, or as arrows coloured by the chosen velocity component; the arrow direction is unchanged.
- GeoPackages from earlier runs have no velocity columns and stay under Displacement results.
When files of the other type exist, the status line tells you how many are hidden.
The layer grid¶
The found files are shown as a grid of toggle buttons. A blue button means the layer will be loaded; click it to switch it off.
- Blocks, rows and columns. One block per run (its processing parameters as the title), one row per image pair and one column per layer type, in this order: Sparse points, GeoTIFF results, Primary / secondary image (the input files from Input / Output) and DIC input images (hillshade and gradient rasters).
- Switch many at once. Clicking a column header switches that layer type on or off for all pairs; clicking a row label does the same for one pair. Hover a button to see the file name.
- Height. The grid is as tall as it needs to be and only scrolls when there is more than one time step.
- File list. Tick Show file names to see the plain file list instead. It has the same order and also shows the Primary image and Secondary image entries (switched off by default), which are the same switches as the grid buttons.
Choosing layers¶
There is no separate filter: the layer grid is the selection. Switch single layers, whole columns (a component for all pairs) or whole rows (one pair) on or off.
The Appearance section follows the selection:
- The colour table shows the ticked raster components and the component of the ticked sparse points (rows marked points, with the default colormap of the matching raster component).
- The point and arrow settings appear when a sparse-points column is ticked.
- Rows set to Auto recompute their colour range from the ticked rasters only, a moment after each change. Ranges you have edited by hand are not touched.
Loading the layers¶
Click ▶ Load Selected into QGIS to load the blue layers.
- Layers are loaded into a named group in the QGIS layer tree; the group of an earlier load of the same folder is reused.
- New layers are always added on top of the group, and sparse point and arrow layers are always placed above the GeoTIFF layers.
The quick-select buttons manage the selection:
| Button | Selects |
|---|---|
| All | Every layer. |
| Sparse points | Only the sparse point GeoPackages. |
| Magnitude only | Only the XY and XYZ magnitude rasters. |
| DIC inputs | Only the hillshade and gradient rasters. |
| None | Nothing. |
Sparse points¶
Whenever sparse GeoPackages are found (sparse, coherence-filtered or neighbour-filtered), a Sparse points, component dropdown appears above the grid. It chooses which component the loaded points are coloured by; all loads one layer per component.
- It defaults to xyz (3D magnitude) in DEM mode and xy (2D magnitude) in Ortho and Camera mode.
- Choose all or another component if you need it.
- Your choice is kept while you stay on the same GeoPackage type.
Input images as layers¶
Switch on the Primary / Secondary buttons in the layer grid (column Primary / secondary image) to add the two input files from the Input / Output tab to the result group when you load layers. The buttons only appear once the input files are set in Input / Output.
- The images are placed below all results with QGIS' default rendering.
- The primary image is switched on; the secondary one is added switched off (tick it in the layer tree to compare the epochs).
- In DEM mode Draw DEMs as hillshade (default on) shows the input DEMs as a multidirectional hillshade (azimuth 315°, elevation 45°, assumes a metric CRS) instead of grey elevation values.
Camera mode
The images appear in pixel coordinates, in the same place as the results. The plugin writes camera results with the same pixel convention as QGIS uses for an image without georeferencing. Results written from the command line with rescale_results: false use a different vertical origin and would be offset.
Appearance, arrows and Google Earth¶
The two other sections of the page have their own pages:
- Appearance: colour scales and ranges, layer names, opacity and blending.
- Arrows and Points: how the sparse points are shown, as coloured points or arrows.
- Google Earth Export: KMZ overlays with a time slider and a colour legend.
Output components¶
Each DIC run produces one GeoTIFF per displacement component. This table is a reference for the layers that you load above.
| Layer | Modes | Physical meaning |
|---|---|---|
DIC_x |
all modes | East–West displacement. Positive = eastward. In Camera mode: X shift in pixels. |
DIC_y |
all modes | North–South displacement. Positive = northward. In Camera mode: Y shift in pixels. |
DIC_xy |
all modes | 2-D horizontal magnitude: \(\sqrt{x^2 + y^2}\). Always ≥ 0. |
DIC_dz |
DEM only | Raw elevation difference (secondary − primary DEM), without correcting for the horizontal shift. |
DIC_z |
DEM only | Vertical displacement after the secondary DEM is shifted back by the measured horizontal displacement — the physically meaningful value. |
DIC_xyz |
DEM only | 3-D magnitude: \(\sqrt{x^2 + y^2 + z^2}\). Always ≥ 0. |
DIC_az |
all modes | Displacement azimuth in degrees clockwise from North (0–360°); in Camera mode from the top of the image (0° = up, 90° = right). |
DIC_dip |
DEM only | Displacement dip angle from horizontal (−90° to +90°). Positive = upward. |
DIC_ee |
all modes | Correlation error — normalised RMS residual from the DFT registration. |
Optional input images. If the Hillshade and Gradient buttons in Advanced options → Outputs were on, the run also contains these rasters, each for the primary (prim) and the secondary (seco) image:
DIC_input_hillshade_*DIC_input_gradmag_*DIC_input_gradang_*
They show what the correlation was run on; see Correlation input images for what each one means. In the layer grid they are the column DIC input images, and the quick-select button DIC inputs ticks all of them.
They are styled automatically: a grey stretch for hillshade and magnitude and the cyclic twilight scale (0–360°) for direction. Primary and secondary of the same kind share one grey range (union over all loaded files), so they are directly comparable.
EE (correlation error): What it measures
EE is the normalised RMS registration error from the DFT cross-correlation algorithm (Guizar-Sicairos et al. 2008):
where \(\mathrm{CC}_\max\) is the cross-correlation peak value and \(E_\text{ref}\), \(E_\text{sec}\) are the total spectral energies of the reference and secondary image windows. A value of 0 means a perfect correlation peak; 1 means no correlation at all.
EE always reflects the quality of the 2-D image correlation — for Ortho and Camera mode this is the orthoimage patch; for DEM mode it is the hillshade or orientation image used as the correlation feature. It is therefore an XY-plane quality indicator in all modes and does not directly reflect the vertical displacement quality in DEM results.
A more representative quality metric is planned for a future release.