can we find out the difference between two histogram , if yes then how ?

2 次查看(过去 30 天)
i use imhist(file_name) command to display histogram of two different images, now i want to see the difference between them, in my case its looks almost similar in picture, so how can i see the difference between them

回答(1 个)

Dhivya
Dhivya 2013-11-7
If you just want to know the difference in values, then go for
a=imread('image1'); b=imread('image2'); c=imhist(a); d=imhist(b); z=c-d;

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by