How to create 3D histogram of 1728 bins?

2 次查看(过去 30 天)
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

回答(1 个)

Walter Roberson
Walter Roberson 2015-10-12
  2 个评论
sasithra devi
sasithra devi 2015-10-12
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 2015-10-12
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.

请先登录,再进行评论。

类别

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