Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

HSV value of a RGB pixel

$
0
0
1. [Original.jpg](/upfiles/14429936593799676.jpg) 2. [HSV.jpg](/upfiles/14429937193522643.jpg) The first image is the orginal BGR image and second (HSV.jpg) is the HSV color converted image I opened the original image in GIMP editor and I checked the coordinate (300,300) and in that coordinate following values I found **B:74 G:70 R:75 H:312 S:7 V:29** Then the same coordinate (300,300) when I checked in HSV converted image (HSV.jpg) I didn't find these "312,7,29" HSV values instead I found its RGB value. I know that opencv doesn't display as HSV values, but then through what ways I will be able to get the HSV value of that particular coordinates(300,300) RGB pixel. I thought conversion of BGR2HSV will do that and will give that values(312,7,29) but it didn't give those values Please help me understand with this. Thanks in Advance Sarjoon.

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>