Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我对 Open CV 有点陌生。我CalcHist()用来计算图像灰度图像的直方图。我现在想计算直方图值的平均值。您能告诉我如何实现这一目标吗?
CalcHist()
我正在使用 c++,由 Gcc 在 ubuntu 中编译,opencv 2.4.3。
CalcHist 第 5 个属性是保存直方图值的 Mat。访问它的 .data[]。