The image shows the local autocorrelation formula.