mercredi 25 mars 2015

Compare and calculate the average of two different images in Matlab

I have two 480x640 images A and B. I want to compare them where each pixel in A will be compared to the same pixel in image B and then the result of this pixel will be put in C in the same pixel position (where the result is only 0 or 1, 0 incase they don't have the same value, and 1 incase they do have the same value. So C will be a 480x640 matrix containing only 0's and 1's. So if anyone could please advise how this can be done in Matlab?


Aucun commentaire:

Enregistrer un commentaire