【发布时间】:2022-04-27 17:47:00
【问题描述】:
在 c++ 中,我可以对矩阵执行行算术:
Mat pPrime = Mat::ones(Size(3, 3), CV_64F);
pPrime.row(0) = pPrime.row(0) / pPrime.row(2);
是否可以使用 OpenCVSharp 执行行算术?尝试复制 c++ 代码会导致错误The left-hand side of an assignment must be a variable, property or indexer
Mat pPrime = Mat.Ones(new Size(3, 3), MatType.CV_64F).ToMat();
pPrime.Row(0) = pPrime.Row(0) / pPrime.Row(1);
【问题讨论】:
-
请在minimal reproducible example 上分享您目前的进展情况。