Introduction - If you have any usage issues, please Google them yourself
Using matlab to calculate the Mahalanobis distance for the image, Between two images showing the relative circumstances of each pixel, Very suitable for the study using computer vision.