Drawing the gradient histogram of a grey image's one

2 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Ameer Hamza
Ameer Hamza il 9 Mag 2020
See imgradient(): https://www.mathworks.com/help/images/ref/imgradient.html. Can you further clarify your question about the histogram.
  20 Commenti

Accedi per commentare.

Più risposte (1)

Image Analyst
Image Analyst il 13 Mag 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.

Categorie

Scopri di più su Modify Image Colors in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by