Search:
Type: Posts; User: tmaneo
Search:
Search took 0.01 seconds.
-
November 5th, 2009, 05:08 PM
yep, decided to just go with that. Caus its just a way to visualize some values that arent directly able to be seen visually, as it is with RGB. But ty for the quick replyes.
-
November 5th, 2009, 09:57 AM
Yes, but what channels should i use for each of the 3 pictures ?
Like should i set R-channel = H
G-channel = S
B-channel = I
or how would it be done ?
...
-
November 5th, 2009, 09:15 AM
Hi, im making a program that can convert RGB to HSI. Hue, Saturation and Intensity.
Im using OpenCV for doing it. But i however cant used the premade funcs in opencv.
Im loading my input image...
-
November 5th, 2009, 08:51 AM
Yes, i crossposted, but thanks alot. Changing the ½ to your suggestions and making radians to degrees did the trick.
//Calculating "H" Hue
if (G>=B)
{
H =...
-
November 5th, 2009, 08:40 AM
if i write "1/cos" it just returns "1" on a 0,255,0 green. Where it should return a 120 value.
H = 1/cos((1/2)*(((R-G)+(R-B))/(sqrt(((R-G)*(R-G))+((R-B)*(G-B))))));
-
November 5th, 2009, 08:28 AM
Im using codeblocks though, but quite sure it has nothing to do with the program, but error in the c++ language ive made.
-
November 5th, 2009, 08:23 AM
Hi, im making a program that can convert RGB to HSI. Hue, Saturation and Intensity.
HSI is abit more complex than HSV and HSB.
Im using OpenCV for doing it. But i however cant used the premade...
|
Click Here to Expand Forum to Full Width
|