Skip to content

Advanced Options

Below DIC Parameters the Processing page has one collapsed group, Advanced options. It holds everything that rarely needs to change. While the group is closed, the defaults apply, so you can ignore it for a first run. The headers of Correlation, Co-registration and Outlier filtering show their current state without opening them, for example "Co-registration — Off".

Correlation The image the correlation runs on, the sub-pixel precision and the grid density. Below.

Co-registration Optional correction of a global shift between the two images. Off by default. Below.

Outlier filtering Filters that remove unreliable vectors, and the vector exports. Below.

Outputs Which result files are written. Below.

Coordinate system The output CRS and the automatic UTM reprojection. Below.

Correlation

The Correlation group of the Advanced options

Parameter Default What it does
Correlation feature Orientation image (OR=1) The image that is fed into the correlation. The orientation image, the sign of the spatial gradient, is more robust when the illumination or the sensor differs between the two dates (Dematteis et al., 2021). Without it (OR=0) the raw intensity is used: a hillshade computed from the DEM, or the grayscale image for Ortho and Camera.
DIC oversampling (os) 10 The upsampling factor of the sub-pixel registration. Higher values locate the shift more finely and cost more computation. Values of 4 to 8 are typical. A note shows a rule-of-thumb detection limit, target resolution ÷ os, the smallest displacement that stands out from the noise. It is a guide, not a hard limit, because the precision also depends on texture, window size and noise.
Skip factor 4 The stride between windows: step = window size ÷ skip factor pixels. A larger value gives sparser, faster results, a smaller one denser, overlapping windows. A note shows the step in real units, (window size ÷ skip factor) × target resolution, which is the true spacing of the measurement points, and the window overlap.

The overlap depends only on the skip factor:

Skip factor 1 4 8
Window overlap 0 % (windows touch) 75 % 87.5 %

A higher overlap smooths the field and reduces noise between neighbours, but adds redundant computation. The GeoTIFFs are resampled to a finer pixel grid for display, yet they carry independent information only at the measurement spacing. Blocks of uniform colour between the points are a resampling effect, not extra detail.

Co-registration

Removes a bulk offset between the two images before the main run. It is off by default. Turn it on only if you suspect a systematic georeferencing offset, which mostly concerns DEM and Ortho. The header of the group shows its state, for example "Co-registration — Off".

The Co-registration group of the Advanced options

The full description of every setting is on the Co-Registration page.

Outlier filtering

Removes unreliable vectors after the correlation and writes cleaned vector outputs. It is off by default. The header of the group shows the chosen filter, for example "Outlier filtering — Iterative neighbour filter". The same filters can be re-run on a finished run in Post-process existing results.

The Outlier filtering group of the Advanced options

The full description of both filters is on the Outlier Filtering page.

Outputs

The raw measurement points are always written to the sparse GeoPackage (one row per valid window), and so are the HDF5 results. The GeoPackage feeds the Iterative Neighbour Filter and the arrow and point layers in Results.

The Outputs group of the Advanced options

Parameter Default What it does
Input images off The teal buttons Hillshade (DEM only) and Gradient write the images the correlation ran on, see Correlation input images.
Sparse results only off Stop after the HDF5 file, the sparse GeoPackage and the outlier filters. The interpolation and the GeoTIFFs are skipped.
GeoTIFF results all Buttons for the result rasters to write: X, Y, Z, dZ, XY, XYZ, AZ, DIP and Error. Blue is written, grey is skipped. All and None switch every result button and the input image buttons at once. Only the rasters that exist in the current mode are shown. The velocity rasters follow this selection. It changes no calculation, only which files are saved, for example only XYZ.

The Error raster

Error is the correlation error of the horizontal image match. It describes the quality of X and Y only, not of Z, dZ, XYZ or DIP.

Correlation input images

Two optional outputs show what the correlation was run on. They are the Hillshade and Gradient buttons in the Input images row at the top of Outputs, both off by default. They are written for the primary and the secondary image, before co-registration shifts the secondary one, so you see both inputs unmodified.

Output Files What it shows
Hillshade (DEM only) DIC_input_hillshade_prim_*.tif, DIC_input_hillshade_seco_*.tif The multidirectional hillshade (illumination from azimuths every 45° from 0° to 360°, altitude 45°, averaged and 3×3 median filtered) computed from each DEM. The correlation uses it when the orientation image is off (OR=0).
Gradient magnitude DIC_input_gradmag_prim/seco_*.tif How strongly the brightness changes at each pixel. Edges, ridges and rock texture are bright, smooth areas such as snow or fog are dark. It shows how much structure there is to track.
Gradient direction DIC_input_gradang_prim/seco_*.tif Which way the brightness change points, in degrees (0 to 360°, counter-clockwise from east: 0° is brighter towards east, 90° towards north). It says nothing about contrast: a faint and a sharp edge facing the same way get the same value.

The gradient is computed on the correlation feature image: the hillshade for DEM, the grayscale image for Ortho and Camera.

How this relates to the orientation image

The orientation image (Dematteis et al., 2021) is built from the gradient. Each pixel becomes the complex number Gx + i·Gy, and its sign() is a unit-length arrow in the gradient direction. The length, the magnitude, is thrown away. The orientation image is therefore the gradient direction without the magnitude, and the Gradient direction raster is a readable version of it.

  • With OR=1 the correlation runs on the orientation image. Every pixel counts equally whether its edge is strong or weak, so the result depends less on illumination and contrast differences between the two dates.
  • With OR=0 the correlation runs on the hillshade or grayscale image. The gradient images are still computed on request, so you can see what the orientation image would look like.
  • The magnitude is not used in the correlation. It helps to judge where there is enough texture to track: areas that are dark in the magnitude tend to give noisy or unreliable displacement.
  • The direction patterns of the primary and the secondary image should agree where the surface did not change. If they differ strongly, the correlation struggles there.

Output CRS

These files stay in the processing CRS and are not reprojected to the output CRS, because angle values must not be resampled bilinearly. QGIS reprojects them on the fly.

Load them from Results (filter Input images) or add them to a Map Layout report, where input images can be ticked in the map grid.

Coordinate system

The Coordinate system group of the Advanced options

Parameter Default What it does
Output CRS EPSG:2056 The EPSG code of the output CRS. It is read from the primary input. Locked to pixel in Camera mode. If it differs from the real CRS of the input files, the processing runs in the real CRS and every output GeoTIFF is reprojected to this value at the end (bilinear resampling). That is a real coordinate transformation, not just a new label on the file.
Auto-reproject to UTM on When the primary input has a geographic CRS (degrees, for example WGS84 / EPSG:4326), it is reprojected to the nearest UTM zone so that pixel sizes are in metres. It has no effect on inputs that are already in a metric CRS.

AI segmentation mask (Camera mode only)

A pretrained SegFormer model (ADE20K) finds regions such as sky or water and excludes them from the DIC results. It needs transformers and torch in the Python environment.

Experimental feature

The AI mask is experimental and the results depend on scene content, image quality and lighting. Snow detection in particular is unreliable: the model was not trained for snow-covered alpine terrain and often mixes up shadowed snow, dirty snow and rock and snow boundaries. Use Save debug segmentation map to check what the model detects before you rely on the mask in production runs.

Parameter Default What it does
Enable AI segmentation mask off Turns the semantic masking on.
Regions to exclude sky, water The classes to mask out: sky, water, snow, land, vegetation, buildings, mountain.
Snow brightness min (V) 200 Minimum HSV brightness (0 to 255) for the colour-based snow detection. Lower it to also catch shadowed or dirty snow. Only active when snow is selected.
Snow saturation max (S) 40 Maximum HSV saturation (0 to 255) for the snow detection. Raise it to catch bluish or yellowish snow. Only active when snow is selected.
Device auto The Torch device. auto uses CUDA if available, then MPS, then the CPU.
Mask dilation (px) 0 Grows each masked region by this many pixels, useful when mask edges are under-detected, for example at a water boundary. 0 turns it off.
Save debug segmentation map off Saves a false-colour PNG of the whole segmentation and logs the 15 most frequent classes. Use it to decide which classes to add or remove.