mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #17368 from themightyoarfish:cv2eigen-doc
* Add documentation about usage of cv2eigen functions in eigen.hpp * Fixed Doxygen syntax. Co-authored-by: Alexander Smorkalov <smorkalov.a.m@gmail.com>
This commit is contained in:
parent
1b336bb602
commit
781fbde449
@ -66,10 +66,18 @@
|
|||||||
namespace cv
|
namespace cv
|
||||||
{
|
{
|
||||||
|
|
||||||
//! @addtogroup core_eigen
|
/** @addtogroup core_eigen
|
||||||
|
These functions are provided for OpenCV-Eigen interoperability. They convert `Mat`
|
||||||
|
objects to corresponding `Eigen::Matrix` objects and vice-versa. Consult the [Eigen
|
||||||
|
documentation](https://eigen.tuxfamily.org/dox/group__TutorialMatrixClass.html) for
|
||||||
|
information about the `Matrix` template type.
|
||||||
|
|
||||||
|
@note Using these functions requires the `Eigen/Dense` or similar header to be
|
||||||
|
included before this header.
|
||||||
|
*/
|
||||||
//! @{
|
//! @{
|
||||||
|
|
||||||
#ifdef OPENCV_EIGEN_TENSOR_SUPPORT
|
#if defined(OPENCV_EIGEN_TENSOR_SUPPORT) || defined(CV_DOXYGEN)
|
||||||
/** @brief Converts an Eigen::Tensor to a cv::Mat.
|
/** @brief Converts an Eigen::Tensor to a cv::Mat.
|
||||||
|
|
||||||
The method converts an Eigen::Tensor with shape (H x W x C) to a cv::Mat where:
|
The method converts an Eigen::Tensor with shape (H x W x C) to a cv::Mat where:
|
||||||
|
Loading…
Reference in New Issue
Block a user