How to generate a HS histogram?

5 Ansichten (letzte 30 Tage)
Joshua Jorel Lee
Joshua Jorel Lee am 7 Aug. 2014
Kommentiert: Joshua Jorel Lee am 13 Aug. 2014
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!

Akzeptierte Antwort

Image Analyst
Image Analyst am 7 Aug. 2014
See my demo, attached.
  9 Kommentare
Image Analyst
Image Analyst am 12 Aug. 2014
Adjust the scale factor and add 1. See my edited comment above.
Joshua Jorel Lee
Joshua Jorel Lee am 13 Aug. 2014
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by