how to compare histograms
6 views (last 30 days)
Show older comments
i want to compare two histograms of lbp images.
i tried using pdist2 but it is showing erroneous results.
please help
Answers (1)
Youssef Khmou
on 19 Apr 2015
Many approaches exist for this purpose, the easiest way is the root mean square error metric, the minimum value means best match from all samples, f1 and f2 are two normalized histograms that we want to compare :
rmse= sqrt(mean((f1-f2).^2));
0 Comments
See Also
Categories
Find more on Histograms in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!