How to create 3D histogram of 1728 bins?

2 ビュー (過去 30 日間)
sasithra devi
sasithra devi 2015 年 10 月 12 日
コメント済み: Walter Roberson 2015 年 10 月 12 日
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 Center および File ExchangeHistograms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by