How to create 3D histogram of 1728 bins?

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

Answers (1)

2 Comments

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
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.

Sign in to comment.

Asked:

on 12 Oct 2015

Commented:

on 12 Oct 2015

Community Treasure Hunt

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

Start Hunting!