0

suppose a color image of size 256x256, how can I calculate the bianry histogram of the image? also which is the data structure suited to store the histogram if I want to cluster similar images? Please note that the histogram must be saved in the database along with the image.

Cœur
  • 37,241
  • 25
  • 195
  • 267

1 Answers1

0

Assuming you are using Matlab: rgb2gray and imhist can help you. If you need only 2 values try converting it to binary image

Sridutt
  • 382
  • 3
  • 14
  • I'm using java.. I am making a content-based Image Retrieval system.. and I am using Binary histogram as the feature extraction algorithm. – Nikhil Sharad Mar 01 '13 at 19:10