Histogram Difference with Normalization and Equalization ...Help Please
7 views (last 30 days)
Show older comments
Hello everyone.
I am currently working with Histograma diferencia and I have used the following code that is referenced here:
https://de.mathworks.com/matlabcentral/fileexchange/51238-key-frame-extraction-from-video-using-videoreader?focused=3880674&tab=function
the code works perfectly for me.
My Doubt is
what would be the mathematical equation of the function that defines the calculation of Histogram difference and if it is possible to apply another, for example:
n 2
d(Ii,Ij)=∑ (Hik-Hjk) / (Hjk+Hik)
k=1
Where Hi and Hj stand for the histogram of Ii and Ij, respectively.
My second doubt it is possible to introduce normalization and equalization to this code.
How would I do that?
Someone can Help me pls.
Thank you.
2 Comments
Image Analyst
on 6 Apr 2018
I don't understand the question. And what are Hi, Hj, Ii, and Ij? Hi and Hj don't show up in your equation. And what is Hik? Is it H(i, k), which is the element at row i, column k? If so, what is H? What does a 2-D Histogram represent?
Answers (0)
See Also
Categories
Find more on Data Distribution Plots 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!