In this task, we are given *m* input vectors, each with *n* numbers. Our task is to calculate the correlation between *every pair of input vectors*.

Input: vector *i* = row *i* of the image.

Output: red pixel at (*i*, *j*) = positive correlation between rows *i* and *j*, blue pixel = negative correlation.