Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Plot Plot histogram of Sobel operator magnitude and angle in OpenCV c++?

want to plot histogram in OpenCV C++. The task is that x-axis should be angle and y-axis should be magnitude of histogram. I calculate magnitude and angle by using Sobel operator. Now how can I plot histogram by using magnitude and angle? The Image of histogram is attach I want like this result?

Thanks in advance. The simple code of problem isC:\fakepath\hist11.JPG

click to hide/show revision 2
None

updated 2017-09-15 04:17:27 -0600

berak gravatar image

Plot Plot histogram of Sobel operator magnitude and angle in OpenCV c++?

want to plot histogram in OpenCV C++. The task is that x-axis should be angle and y-axis should be magnitude of histogram. I calculate magnitude and angle by using Sobel operator. Now how can I plot histogram by using magnitude and angle? The Image of histogram is attach I want like this result?

Thanks in advance. The simple code of problem isC:\fakepath\hist11.JPGis C:\fakepath\hist11.JPG