im trying to subtract two images with the same format in matlab, but unfortunatly im getting the image to dark i cant see anything so what i can do to change im sending the code below
clc, clear; close all;
%read image
a= imread('pentan1h_6uLmin_0240.tif');
b= imread('pentan1h_6uLmin_0250.tif');
c=imsubtract(a,b);
subplot(2,2,1),imshow(a),title('dry')
subplot(2,2,2),imshow(b),title('pen')
subplot(2,2,3),imshow(c),title('after')
this is the picture im getting
Best Answer