Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vfdev-5/cvplot2

Fork of cvplot (https://code.google.com/p/cvplot/) with CMake support and optional QWidget output
https://github.com/vfdev-5/cvplot2

Last synced: 11 days ago
JSON representation

Fork of cvplot (https://code.google.com/p/cvplot/) with CMake support and optional QWidget output

Awesome Lists containing this project

README

        

# CvPlot 2 project
A fork of [cvplot](https://code.google.com/p/cvplot/) project to plot cv::Mat 1D data

- CMake support
- input with cv::Mat
- Optional output with QWidget (Qt4)

## Usage :
### Simple example
``` c++
cv::Mat data; // a [1xDATA_LENGTH] matrix
CvPlot::plot("Data", data);
CvPlot::plot("Half of the data in blue", data, DATA_LENGTH/2, 0, 0, 255);
cv::waitKey(0);
```

### Example with Qt4 :
``` c++
cv::Mat data; // a [1xDATA_LENGTH] matrix
QWidget * plot = CvPlot::getPlotWidget("Data", data, DATA_LENGTH/2, 0, 0, 255);
if (plot1)
{
plot->show();
}
```
### See [demo](https://github.com/vfdev-5/cvplot2/blob/master/Demo/plot_sample.cpp) example for more details