normalisedCrossCorrelation

Computes the normalised cross correlation, also known as the cosine similarity, between image patches.

The resulting values are multiplied by negative one, so as to act as a loss rather than a fitness.

StereoCostFunction
normalisedCrossCorrelation
(
uint windowSize = 5
)

Meta