znccCpp: Zero normalized cross correlation (ZNCC) written in C++

Description Usage Arguments

View source: R/RcppExports.R

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
znccCpp(master, slave, u1, v1, u2, v2, n)

Arguments

master

Matrix.

slave

Matrix.

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.


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