Drawing the gradient histogram of a grey image's one

2 vues (au cours des 30 derniers jours)
Teshan Rezel
Teshan Rezel le 9 Mai 2020
Hi folks,
I'm trying to plot the differential/gradient of a gray image's histogram, to highlight the points of interest more readily.
Searching for a function that does this hasn't yielded anything, but I'm unsure how to go about this in Matlab.
Is there a tutorial or something similar you can point me towards please?
Thanks in advance

Réponse acceptée

Ameer Hamza
Ameer Hamza le 9 Mai 2020
See imgradient(): https://www.mathworks.com/help/images/ref/imgradient.html. Can you further clarify your question about the histogram.
  20 commentaires
Teshan Rezel
Teshan Rezel le 12 Mai 2020
thank you very much!!
Ameer Hamza
Ameer Hamza le 12 Mai 2020
I am glad to be of help.

Connectez-vous pour commenter.

Plus de réponses (1)

Image Analyst
Image Analyst le 13 Mai 2020
If you want you can use kmeans() to partition the histogram into sections. Personally I don't think it does a very good job but it will find the peak regions.

Catégories

En savoir plus sur Modify Image Colors dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by