difference of image histograms
23 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
giuseppe catarinella
el 29 de Mayo de 2020
Comentada: giuseppe catarinella
el 31 de Mayo de 2020
hello, in Matlab is equal to do the histogram of difference of two grayscale images and the difference of the two histograms of the images? How to perform the difference of two histograms and plot the negative values of this difference?
thank you for the help,
Giuseppe
0 comentarios
Respuestas (1)
KALYAN ACHARJYA
el 29 de Mayo de 2020
Editada: KALYAN ACHARJYA
el 29 de Mayo de 2020
im1=rgb2gray(imread('image1_name'));
im2=rgb2gray(imread('image2_name'));
diff_hist=imhist(im1)-imhist(im2);
plot(diff_hist)
Ensure that both have same data type images to get the same range of bins
10 comentarios
Image Analyst
el 30 de Mayo de 2020
Yes, if you want. It can be tricky to get findpeaks() to get just the peaks you want and not all of the peaks you don't want, but you can play around with the tons of input parameteters until it gets just the ones you want.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!