JKQTPlotter trunk/v5.0.0
an extensive Qt5+Qt6 Plotter framework (including a feature-richt plotter widget, a speed-optimized, but limited variant and a LaTeX equation renderer!), written fully in C/C++ and without external dependencies
|
Functions | |
template<typename TPixel > | |
void | JKQTPDatastore_Helper::copyDataFromMat (double *data, const cv::Mat &mat, int channel) |
internal helper function for JKQTPCopyCvMatToColumn() | |
size_t | JKQTPCopyCvMatToColumn (JKQTPDatastore *datastore, const cv::Mat &mat, const QString &name=QString(""), int channel=0) |
add one external column to the datastore. It will be filled with the contents of CImg matrix cv::Mat | |
Classes and functions in this group allow JKQTPlotter to directly work with OpenCV data structures.
Examples:
The OpenCV-binding itself is header-only, and NOT compiled into the JKQtPlotter libraries. Therefore you can simply include the header and use the facilities provided by it.
The CMake-build system of JKQtPlotter (and its examples) is compatible with both OpenCV 3.4.x and 4.x and uses the standard find_package(OpenCV)
facilities provided by OpenCV to compile and bind against that library. If you want to build the OpenCV-based JKQtPlotter examples (see list above), you either have to ensure that CMake finds OpenCV by itself (i.e. somewhere in the default search paths), or you can set the CMake variable OpenCV_DIR
so it points to the OpenCV directory before configuring JKQtPlotter.
|
inline |
internal helper function for JKQTPCopyCvMatToColumn()
|
inline |
add one external column to the datastore. It will be filled with the contents of CImg matrix cv::Mat
datastore | the datastore to which the OpenCV matrix shuld be added (as column) |
mat | OpenCV-matrix to store here |
name | name for the column |
channel | to copy from mat |