How to create 3D histogram of 1728 bins?

1 Ansicht (letzte 30 Tage)
sasithra devi
sasithra devi am 12 Okt. 2015
Kommentiert: Walter Roberson am 12 Okt. 2015
I am having RGB image. I converted that into HSV. I'm rescaling the value of Hue to 180 & saturation to {0 ,255}. Now i need to quantize hue, saturation and value into 18, 12 and 8 bins resp. This will result in 1728 bins. In matlab we can create the 3D histogram for only 2 column matrix. please give me solution for this problem

Antworten (1)

Walter Roberson
Walter Roberson am 12 Okt. 2015
  2 Kommentare
sasithra devi
sasithra devi am 12 Okt. 2015
the code in the provided link results in histogram of 38 bins i.e, 18+12+8=38. But i need 18*12*8=1728 bins. please give me solution
Walter Roberson
Walter Roberson am 12 Okt. 2015
The solution is to read and understand the code and modify it.
You are doing homework (the question has come up a number of times before) and we are not in the business of doing your homework for you. You can program it yourself from scratch or you can study the code from that link and figure out how it works and make the small modifications for your purpose.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by