Introduction - If you have any usage issues, please Google them yourself
Average absolute difference method (MAD), MAD method by calculating the two images corresponding to the average absolute value of pixel gray-scale images to measure the similarity between.
Packet : 39709586maddemo.rar filelist
maddemo.m