How do I progrmme this code for BCR (Bit Correction Rate)?

I have two images. I want to calculate the BCR between these images.
BCR the bit correction rate between two images :

Asked:

on 9 May 2015

Answered:

on 10 May 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!