The tool performs displacement analysis using image cross-correlation between two raster datasets. For each raster cell, a reference window and a search window are defined. The reference window extracts a template pattern, which is then matched within the larger search window. The algorithm identifies the correlation peak and uses its position to calculate the magnitude and direction of displacement.
The maximum displacement of a feature that can be measured is:
(search chip size/2 - reference chip size/2) * cell size
This maximum applies only to exactly diagonal motion. In order to measure larger distances, a known offset between reference and search window can be given. The offset specifies the x/y components of the expected movement. Besides a constant offset, spatially variable offsets can be applied when a point shapes layer with start positions and x- and y-displacements, e.g. from a previous tool run, is provided.
The tool can take two elevation models to query the elevations at the start and end points of the each detected movement to compute a 3D displacement vector.
The tool has been ported to SAGA from the standalone IMCORR software developed by the National Snow and Ice Data Center in Boulder, Colorado, United States, and extended to take also elevation and spatially variable offsets into account.
The tool computes the following attributes (some of them are only available if elevation data is provided):
| | Name | Type | Identifier | Description | Constraints |
| Input | Grid 1 | grid, input | GRID_1 | The first grid to correlate. | - |
| Grid 2 | grid, input | GRID_2 | The second grid to correlate. | - |
| DTM 1 | grid, input, optional | DTM_1 | The DEM used to extract elevation information for grid 1. | - |
| DTM 2 | grid, input, optional | DTM_2 | The DEM used to extract elevation information for grid 2. | - |
| Displacement Offsets | shapes, input | SHP_OFFSET | A point shapes layer with start positions and pre-calculated displacement offsets. | - |
| Output | Correlated Points | shapes, output | CORRPOINTS | Point shapes layer of correlated positions with displacement and correlation information. | - |
| Displacement Vector | shapes, output | CORRLINES | Line shapes layer with displacement vectors between correlated points. | - |
| Options | Grid System | grid system | PARAMETERS_GRID_SYSTEM | - | - |
| Search Chip Size | choice | SEARCH_CHIPSIZE | The size of the search chip (rectangular search area) used to find the correlating reference chip (pattern template) [cells]. | Available Choices:
[0] 32x32
[1] 64x64
[2] 128x128
[3] 256x256
Default: 1 |
| Reference Chip Size | choice | REF_CHIPSIZE | The size of the reference chip, i.e. the pattern template to find in search chip [cells]. | Available Choices:
[0] 16x16
[1] 32x32
[2] 64x64
[3] 128x128
Default: 1 |
| Stepping | integer number | STEPPING | The grid cell stepping used to move the search chip over the input grids [cells]. | Minimum: 1
Default: 2 |
| Offset Type | choice | OFFSET_TYPE | Determines whether no offset between reference and search chip is applied, a uniform offset is used, or the offset varies across the spatial extent. | Available Choices:
[0] no offset
[1] constant offset
[2] spatially variable offset
Default: 0 |
| X Displacement | floating point number | DISP_X | The expected displacement in the x-direction (positive = east) [map units]. | Default: 0.000000 |
| Y Displacement | floating point number | DISP_Y | The expected displacement in the y-direction (positive = north) [map units]. | Default: 0.000000 |
| X Displacement | table field | FIELD_DISP_X | The attribute specifying the expected displacement in the x-direction (positive = east) [map units]. | - |
| Y Displacement | table field | FIELD_DISP_Y | The attribute specifying the expected displacement in the y-direction (positive = north) [map units]. | - |
| ID | table field | FIELD_ID | The identifier of the measurement position. | - |
| Maximum Distance | floating point number | MAX_DIST | The maximum distance of a raster cell node to a pre-calculated start position [map units]. | Minimum: 0.000000
Default: 4.000000 |