Link to home
Start Free TrialLog in
Avatar of fevster
fevster

asked on

Image Processing to create Histogram

Hi All,

Hope you all can help. I am currently designing and implementing a content-based image retrieval system and need to create a histogram (array) from an image to store in a SQL server database. I was wondering how I can get each individual pixel colour values (R,G,B) for the image to help me to calclulate the histogram. I will be using VB.net classes to do this.

Any help or advice will be most welcome.

Thanks

Kevin
Avatar of mogun
mogun

If your requirement was to store an image in the data base, you can just load the bytes in to a byte array and store the array in to the blob field ( a field of type Image ). You don't have to worry about calculating the histogram..

Is there a specific requirement for you to calculate the histogram and store the RGB values?
ASKER CERTIFIED SOLUTION
Avatar of AlexFM
AlexFM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fevster

ASKER

Hi yes there is a specific requirement for calculating the histogram. I need to calculate it to be able to compare when trying to retrieve similar images from the database.