Calculating difference between histograms

5 vues (au cours des 30 derniers jours)
Renjith V Ravi
Renjith V Ravi le 13 Fév 2017
Commenté : Renjith V Ravi le 13 Fév 2017
Can I use the command
Z = imabsdiff(X,Y)
for calculating the difference between histograms of two images.

Réponse acceptée

Image Analyst
Image Analyst le 13 Fév 2017
Z = imabsdiff(X,Y) subtracts each element in array Y from the corresponding element in array X and returns the absolute difference in the corresponding element of the output array Z. If you passed two count arrays (histograms) in for X and Y, it would give the absolute value of the count differences, but what does that mean? Probably not what you hope it might. What are you trying to accomplish?
  2 commentaires
Renjith V Ravi
Renjith V Ravi le 13 Fév 2017
I have posted it as another question
Renjith V Ravi
Renjith V Ravi le 13 Fév 2017

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by