Drawing the gradient histogram of a grey image's one

조회 수: 8 (최근 30일)
Teshan Rezel
Teshan Rezel 2020년 5월 9일
답변: Image Analyst 2020년 5월 13일
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

채택된 답변

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

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Image Analyst
Image Analyst 2020년 5월 13일
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.

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by