zncc: Zero normalized cross correlation (ZNCC)

Description Usage Arguments

Description

Calculates the zero normalized cross correlation (ZNCC) coefficient between two SAR-class objects. This method also works for RasterLayer-class objects. The maximum ZNCC value determines disparity.

Usage

1
2
3
4
5
6
7
8
zncc(master, slave, u1, v1, u2, v2, n = 3, m = n)

## S4 method for signature 'RasterLayer,RasterLayer'
zncc(master, slave, u1, v1, u2, v2, n = 3,
  m = n)

## S4 method for signature 'matrix,matrix'
zncc(master, slave, u1, v1, u2, v2, n = 3, m = n)

Arguments

master

SAR-class object (or a subclass e.g. Sentinel-class or TSX-class).

slave

SAR-class object (or a subclass e.g. Sentinel-class or TSX-class).

u1

Integer. Column, i.e. y coordinate of master pixel.

v1

Integer. Row, i.e. x coordinate of master pixel.

u2

Integer. Column, i.e. y coordinate of slave pixel.

v2

Integer. Row, i.e. x coordinate of slave pixel.

n

Integer. (Window size-1)/2 in x direction.

m

Integer. (Window size-1)/2 in y direction.


ragram documentation built on May 2, 2019, 4:42 p.m.