1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-19 19:44:14 +08:00

Update plot module (#1367)

* Update plot.hpp

* update

* plot_demo

* remove_tabs

* Update plot_demo.cpp

* Update plot.hpp

* Update plot.hpp
This commit is contained in:
Suleyman TURKMEN
2017-09-18 12:05:01 +03:00
committed by Vadim Pisarevsky
parent eef53c29eb
commit 97ea5bf97d
3 changed files with 54 additions and 10 deletions

View File

@@ -99,17 +99,19 @@ namespace cv
* @brief Creates Plot2d object
*
* @param data \f$1xN\f$ or \f$Nx1\f$ matrix containing \f$Y\f$ values of points to plot. \f$X\f$ values
* @param _invertOrientation true means the y axis is inverted
* will be equal to indexes of correspondind elements in data matrix.
*/
CV_WRAP static Ptr<Plot2d> create(InputArray data);
CV_WRAP static Ptr<Plot2d> create(InputArray data, bool _invertOrientation=false);
/**
* @brief Creates Plot2d object
*
* @param dataX \f$1xN\f$ or \f$Nx1\f$ matrix \f$X\f$ values of points to plot.
* @param dataY \f$1xN\f$ or \f$Nx1\f$ matrix containing \f$Y\f$ values of points to plot.
* @param _invertOrientation true means the y axis is inverted
*/
CV_WRAP static Ptr<Plot2d> create(InputArray dataX, InputArray dataY);
CV_WRAP static Ptr<Plot2d> create(InputArray dataX, InputArray dataY, bool _invertOrientation=false);
};
//! @}
}