本文介绍了如何在OpenCV中实现矩阵左除法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将Matlab代码转换为OpenCV-C代码,并且需要实现矩阵左除法.如何在OpenCV中完成?例如,A \ B,A是18 x 12矩阵,B是18 x 1矩阵.如何使它在OpenCV中工作?谢谢

I am converting the Matlab code to the OpenCV-C code and I need to implement matrix left division. How can it be done in OpenCV? For example, A \ B, A is 18 x 12 matrix and B is 18 x 1 matrix. How can I make it work in OpenCV?Thanks

推荐答案

该功能已经在OpenCV中实现,其名称为 cvSolve cv::solve

The function is already implemented in OpenCV by the name of cvSolve or cv::solve

这篇关于如何在OpenCV中实现矩阵左除法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 10:30