mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 11:21:39 +08:00
Update plot.cpp
This commit is contained in:
@@ -182,7 +182,7 @@ namespace cv
|
|||||||
void render(Mat &_plotResult)
|
void render(Mat &_plotResult)
|
||||||
{
|
{
|
||||||
//create the plot result
|
//create the plot result
|
||||||
plotResult = Mat::zeros(plotSizeHeight, plotSizeWidth, CV_8UC3);
|
plotResult = Mat(plotSizeHeight, plotSizeWidth, CV_8UC3, plotBackgroundColor);
|
||||||
|
|
||||||
int NumVecElements = plotDataX.rows;
|
int NumVecElements = plotDataX.rows;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user