Skip to content

First Run

From two input files to a displacement map in QGIS, in nine steps. This guide assumes that the plugin and the Python environment are installed, see Get started. How long a run takes depends on the data size, the resolution and the window size.

What you need

Two files of the same kind, taken at different times. Pick the mode that fits them:

DEM Two DEMs (GeoTIFF)
Result: 3D displacement

Ortho Two orthoimages or satellite scenes (GeoTIFF)
Result: 2D displacement

Camera Two photos, any format
Result: 2D displacement in pixels

GeoTIFFs must cover the same area in the same coordinate system. See Input data requirements for the details.

The MOBI-DIC panel at a glance

The panel docks next to the QGIS map. Click a letter below, or in the picture, to see what that area does.

The MOBI-DIC panel docked in QGIS, with six areas marked A to F

Run your first job

  1. Open MOBI-DIC

    Click the MOBI-DIC button in the QGIS toolbar and choose your mode (DEM, Ortho or Camera) with the mode toggle. The numbers in the screenshots match the steps of this guide. Click a number to see what that control does.

    Input / Output section of the MOBI-DIC panel

  2. Select the two input files

    In the Input / Output section, set the Primary input (the earlier DEM or image) and the Secondary input (the later one). For a series of dates, see the Input/Output tab.

  3. Choose the output directory

    Pick a folder for the results. You can edit the Run tag, which is used in all result file names.

  4. Check the DIC parameters

    Open DIC Parameters. The plugin reads the native resolution from the primary input, so the defaults are ready to use. See DIC Parameters for the options.

    DIC Parameters section and the Run DIC button

  5. Run DIC

    Click ▶ Run DIC. Progress appears in the log panel. The first run can take a little longer because of one-time initialisation.

  6. Open the Results page

    When the run is complete, switch to the Results page in the sidebar. The output folder is scanned automatically, and all displacement layers are listed.

  7. Load the layers into QGIS

    Tick the components you want, for example only the 3D displacement, and click ▶ Load Selected into QGIS. The layers are added with an automatic symbology. See Results for the symbology options and the Google Earth export.

    Results page with the scanned layers

  8. View it in 3D in Google Earth (optional)

    Tick the layers you want to see, for example the 3D displacement, and click 🌍 Export to Google Earth Pro… (number 8 in the screenshot above). The plugin creates a georeferenced KMZ overlay with a colour legend and opens it in Google Earth Pro, or in the program that handles KML files on your computer, for a quick 3D view. See Google Earth export for the options, including a time slider for several dates.

    The 3D displacement shown in Google Earth Pro, with the colour legend in the bottom-left corner

  9. Make a finished map (optional)

    The plugin composes a print-ready map with a title block, scale bar, north arrow, colour bar and locator map.

    • 9a Open the Map Layout page in the sidebar.
    • 9b Choose the Result layer, for example the 3D displacement, and add a title under Page & title.
    • 9c Click Build map layout to open it as a QGIS layout, or Export PDF… / Export PNG… to save the map as a file.

    Map Layout page

    Build map layout creates the map as a QGIS print layout. From there you can continue to work on the map layout in QGIS, for example move elements, edit the texts and export it. See Map Layout for single pages, multipage reports and panel grids.

    A map layout made with the Map Layout page

What you get

Each run writes a folder under the output directory, named after the run tag. The displacement maps (GeoTIFF) are the main products. The raw results, the sparse points, the plots and the log are saved next to them.

output_dir/
└── <run tag>/
    ├── DIC_xyz_*.tif        3D displacement magnitude
    ├── DIC_xy_*.tif         2D displacement magnitude
    ├── DIC_x_*.tif  DIC_y_*.tif  DIC_z_*.tif  ...
    ├── DIC_*.h5             raw results
    ├── DIC_sparse_*.gpkg    sparse points (optional)
    └── *_log.txt            processing log

In the file names, * stands for {run_tag}_{date1}_{date2}.

File What it shows Modes
DIC_xyz_*.tif 3D displacement magnitude DEM
DIC_xy_*.tif 2D horizontal displacement magnitude DEM Ortho Camera
DIC_x_*.tif East–West displacement (X shift in Camera mode) DEM Ortho Camera
DIC_y_*.tif North–South displacement (Y shift in Camera mode) DEM Ortho Camera
DIC_z_*.tif Vertical displacement, corrected for the horizontal shift (use this one) DEM
DIC_dz_*.tif Raw elevation difference between the two DEMs, without the horizontal correction DEM
DIC_az_*.tif Displacement azimuth, in degrees from North DEM Ortho Camera
DIC_dip_*.tif Displacement dip angle DEM
DIC_ee_*.tif Correlation error (normalised RMS DFT error), a quality layer DEM Ortho Camera

Camera mode writes the 2D maps in pixels, without a coordinate system.

File What it contains Optional
DIC_*.h5 Raw HDF5 results (sparse correlation grid)
DIC_sparse_*.gpkg Sparse displacement points yes
DIC_coherence_filter_*.gpkg Coherence-filtered displacement vectors yes
DIC_*_filtered.png Vector field plot yes
*_log.txt Full processing log

For the physical meaning of each component and how to read the EE quality layer, see Output components.

What next

You have a displacement map in QGIS. Here is where to go from here.

  • Tune the parameters


    Adapt the resolution, the window size and the correlation feature to your data.

    DIC Parameters

  • Filter outliers


    Remove unreliable vectors with the coherence or the neighbour filter.

    Outlier Filtering

  • Process many dates


    Run a whole series of images or DEMs in one go.

    Input / Output

  • Finish your maps


    Single pages, multipage reports and panel grids, ready to print or share.

    Map Layout

  • Use the command line


    The 📋 Copy Run Command button gives you the exact command for your run.

    CLI & Batch Processing

  • Something went wrong?


    Common problems and how to solve them.

    Troubleshooting