473,471 Members | 1,733 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Constructing color histogram!!

7 New Member
I am trying to make a hsv histogram for storing different values.. It will will give me the max value for a pixel region in the image.. how do i go abt making a histogram.. so that i can compare values?
Oct 4 '07 #1
4 4780
JosAH
11,448 Recognized Expert MVP
I am trying to make a hsv histogram for storing different values.. It will will give me the max value for a pixel region in the image.. how do i go abt making a histogram.. so that i can compare values?
You do realize that the hsv (hue, saturation, value (brightness)) color space is
a 3 dimensional color space? An image (of pixels or single hsv triples) is a two
dimensional space of its own. How do you want to create a histogram out of all
those values?

kind regards,

Jos
Oct 4 '07 #2
r035198x
13,262 MVP
I am trying to make a hsv histogram for storing different values.. It will will give me the max value for a pixel region in the image.. how do i go abt making a histogram.. so that i can compare values?
So you don't have any ideas/code for this yet?
Please post the ideas that you have for this first.
Oct 4 '07 #3
xpertbyshishir
7 New Member
I am intending to divide the image region into equal size boxes ..(prob 256)
Each region will have a max value of hsv for the region , that is computed by the algo.. sample space would contain images with 256 regions and value of each region being set to highest value of hsv for that region.. now i would like to compare query image with sample space for corr. values .. so for this i want to store hsv information in histogram .. how should i go about constructing histogram?
Oct 6 '07 #4
JosAH
11,448 Recognized Expert MVP
I am intending to divide the image region into equal size boxes ..(prob 256)
Each region will have a max value of hsv for the region
Suppose there are two hsv triples: (10, 0, 0) and (0, 0, 10). Which one of the two
is the maximum? I think you should define your algebra on hsv values a bit more.

kind regards,

Jos
Oct 6 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Oracle3001 | last post by:
Hi All, I am trying to use JAI to build a histogram of an image i have. I have posted the code below, and the error I get at runtime. I have taken the code from the offical java examples, so I am...
1
by: bleh | last post by:
....to include a removeData(datatoremove) function, to mirror the existing addData(datatoadd) function. If anybody knows of somewhere where this has been done already, if you could point me in...
7
by: WreckingCru | last post by:
I've been assigned to design a function that takes in a string and creates a word histogram of the letters. So - "hello hi" should give frequencies of h:2, l:2 etc.... I've also told to use maps...
1
by: Engineer | last post by:
hi, i need to write a program that generates a color histogram from an image in BMP format in rgb color base.. iam not sure about the algorithem .. and if u guys have any code .. plz help me.. ...
27
by: ext_u | last post by:
Ok I thought I would try to take the program one thing at a time. (If you remember my last post I am trying to make a histogram with data on the size of each word) Anways first .. I obviously...
12
by: KraftDiner | last post by:
Hi, I wrote a C++ class that implements an n dimensional histogram in C++, using stl maps and vectors. I want to code this up now in Python and would like some input from this group. The C++...
5
by: Enigma Curry | last post by:
I'm playing around with matplotlib for the first time. I'm trying to make a very simple histogram of values 1-6 and how many times they occur in a sequence. However, after about an hour of...
2
by: Daniel Nogradi | last post by:
How does one do a histogram on only a part of an image? This is what I found in the PIL documentation about histogram( ): """ im.histogram(mask) =list Returns a histogram for those parts of...
5
by: arnuld | last post by:
this is a programme that counts the "lengths" of each word and then prints that many of stars(*) on the output . it is a modified form of K&R2 exercise 1-13. the programme runs without any...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.