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

1 view (last 30 days)
I have two images. I want to calculate the BCR between these images.
BCR the bit correction rate between two images :

Answers (1)

Walter Roberson
Walter Roberson on 10 May 2015
sum(xor(W(:), Wstar(:))) / sum(W(:).^2)

Community Treasure Hunt

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

Start Hunting!