Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vfdev-5/cvplot2
- Owner: vfdev-5
- Created: 2015-10-05T14:15:22.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-20T09:51:59.000Z (about 9 years ago)
- Last Synced: 2024-10-13T12:20:10.509Z (26 days ago)
- Language: C++
- Size: 348 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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