How to generate a HS histogram?

조회 수: 5 (최근 30일)
Joshua Jorel Lee
Joshua Jorel Lee 2014년 8월 7일
댓글: Joshua Jorel Lee 2014년 8월 13일
My task is to acquire the frequency values of the H and S values of an image. Therefore, I'm trying to generate a HS histogram of an image. However, I looked up numerous sources and they all create the H and S histograms separately. To state my problem more clearly, how do I know the number of time the H and S values occur together as a pair? Can anyone point me to the right direction?
Thanks!

채택된 답변

Image Analyst
Image Analyst 2014년 8월 7일
See my demo, attached.
  댓글 수: 9
Image Analyst
Image Analyst 2014년 8월 12일
Adjust the scale factor and add 1. See my edited comment above.
Joshua Jorel Lee
Joshua Jorel Lee 2014년 8월 13일
Thanks! I took the liberty of putting an if statement that would make the 0 values into 1 instead. Then I used a surf plot to see the result.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by