differece image of 2 images
Ältere Kommentare anzeigen
How to calculate difference image of 2 images read from different folders?
2 Kommentare
Rik
am 28 Aug. 2019
If they are the same size you can just subtract one from the other. What have you tried so far?
Bjorn Gustavsson
am 28 Aug. 2019
And just to be clear, subtraction between data of for example uint8 might give you unwanted results, cast the images to doubles before subtracting:
diff_img1 = img1 - img2;
diff_img2 = double(img1) - double(img2);
% compare the two as you see fit
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Arithmetic finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!