2013-11-13 11:50:47 -0600 | received badge | ● Critic (source) |
2013-11-12 21:31:52 -0600 | received badge | ● Editor (source) |
2013-11-12 21:25:52 -0600 | asked a question | Can't get simple histogram generation to work. Greetings everyone !. So, I've been trying to get this simple function to work for almost a day now. I'm just trying to show a RGB histogram of an image (an area thereof) and show the bins as rectangles on the screen. I've failed, i've tried a million tutorials, but somehow the answer escapes me. All I am getting from cv.calcHist() at the moment is a bunch of 0 and a couple of "meaningful" values in the first and last positions. I hope you can give me a hand with this one. And the following is the result: Result: Thanks in advance !. |