Introduction - If you have any usage issues, please Google them yourself
There are reference Oh, Including the final calculation of the compressed image peak signal to noise ratio and compression of the source, matlab implements five gray correlation degree computing model.