Skip to content

Troubleshooting

Common issues and how to resolve them.

Installation

The ▶ Run DIC button stays greyed out after installing the environment

The button requires both inputs to be set and the Python environment to be marked as ready.

  1. Open Settings (⚙, top-right) and check the Python Environment section.
  2. The status line must show ✓ Installed and ✓ Environment ready.
  3. If it shows an error, click Install DIC Environment again or use Test Python to diagnose the issue.
  4. Also confirm that both Primary (earlier) and Secondary (later) inputs are set in the Input / Output section.
Installation fails or stalls
  • Check your internet connection — pixi downloads packages from conda-forge on first install.
  • If behind a corporate proxy, configure it in your system settings before installing.
  • Try deleting ~/.slf-dic/ (macOS/Linux) or %USERPROFILE%\.slf-dic\ (Windows) and reinstalling from scratch.

Processing

All displacement values are near zero or exactly zero

The images likely did not correlate. Common causes:

  • Wrong mode — using DEM mode on ortho images or vice versa.
  • No spatial overlap — primary and secondary extents do not intersect. Check in QGIS by loading both inputs.
  • Window too large — if the window size exceeds the overlapping area in pixels, all windows are masked.
  • Identical inputs — accidentally providing the same file as both primary and secondary.
Results show large striping or grid artefacts
  • The Skip factor is too low relative to the window size. Use 4 (the default) or higher.
  • The DIC Oversampling is too low for the displacement magnitude. The plugin default is 10. If you lowered it, set it back.
  • In DEM mode, make sure Use Orientation Image is switched on (the default). It is less sensitive to illumination differences between acquisitions than the hillshade.
CRS mismatch warning in the log

[CRS-MISMATCH] Primary DEM CRS (...) differs from secondary DEM CRS (...)
The two inputs are in different coordinate reference systems. MOBI-DIC processes them as-is, which will produce incorrect results. Reproject one file to match the other before running.

If your inputs are in a geographic CRS (degrees), enable Auto-reproject to UTM (the default). Both files are then reprojected to UTM automatically.

Run crashes with a MemoryError or the machine becomes unresponsive

Peak RAM scales with input size and window size. Options to reduce memory:

  • Increase the Target Resolution (e.g. 2 m instead of 1 m processes at half the resolution and uses about 4× less RAM).
  • Increase the Window size. Larger windows use less RAM overall (see the RAM table).
  • Reduce the spatial extent of inputs by cropping to the area of interest before processing.
  • See the RAM table in the installation guide for estimates.
The run is very slow
  • Each combination of target resolution and window size is a separate run. While tuning, use a single value for each.
  • Raise pixoff Workers in Settings → Processing to use several CPU threads. Start conservatively, because more threads increase memory use.
  • Increase the Skip factor to reduce the number of correlation windows (e.g. 8 instead of 4).
Co-registration produces an unreasonable shift

With the co-registration method full, the entire image overlap is used to estimate the bulk shift. If most of the overlap is moving (e.g. a landslide covering the whole scene), the estimated shift will be biased.

Switch the method to bbox and draw a bounding box over a clearly stable area (bedrock, buildings, road markings).


Outputs & Results

Output GeoTIFFs are empty or full of NoData
  • Check the log for any [WARNING] or [ERROR] lines — these usually identify the cause.
  • If the co-registration step reports a very large shift, the corrected secondary may fall outside the primary extent. Switch co-registration off to check.
  • Confirm the two inputs actually overlap by loading them in QGIS.
The Results page shows no layers
  • Confirm the Output directory in Input / Output points to the folder that contains the run sub-folders, not to a sub-folder itself.
  • The plugin scans recursively for DIC_*.tif, so at least one completed run must exist.
  • If you moved or renamed the output folder after the run, update the Output directory field and click ↻ Rescan.

Getting more help

If none of the above resolves your issue, write to mobi-dic@slf.ch and include:

  • The full log from the run (saved in the run folder inside your output directory as <timestamp>_<run_tag>_log.txt)
  • Your settings file (the Save Config… button exports it)
  • QGIS version and operating system