Ask Your Question
2

How to plot a graph or histogram using Opencv?

asked 2014-04-28 05:04:35 -0600

vibek4989 gravatar image

updated 2016-01-23 13:03:16 -0600

Can anybody had a experience how to plot a graph or histogram using Opencv? I need to plot my result in a graph using Opencv. but couldn't found proper Idea ..>!!

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
3

answered 2014-04-28 05:09:10 -0600

Guanta gravatar image

I would say: just don't do it, generate the csv files with OpenCV and plot it via python/matplotlib or latex/tikz. You'll get nice plots with much less effort!

edit flag offensive delete link more
2

answered 2014-04-28 14:22:12 -0600

I_Dream_In_C gravatar image

You can see how to create/plot a histogram of an image in OpenCV here:

http://docs.opencv.org/doc/tutorials/imgproc/histograms/histogram_calculation/histogram_calculation.html

edit flag offensive delete link more
3

answered 2016-01-23 12:44:36 -0600

m0utinho gravatar image

The Plot2d module is now available in OpenCv (Contrib). You can see more info about it in this thread where you have an example of how to use it.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-04-28 05:04:35 -0600

Seen: 14,708 times

Last updated: Jan 23 '16