This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好!
我将在 AM5728上探索 OpenCV、并对此有一些问题。
我能够在 AM5728上基于 PSDK 3.02的文件系统上运行 OpenCV 样本。
通过设置"OpenCV_OpenCL_DEVICE"环境变量、我还能够使用 TI 库实现某些算法的 DSP 加速。
为了充分利用 DSP 加速、我尝试尽可能将图像从 CV::Mat 更改为 CV::UMat 类。 但这会导致性能下降。
经过一些调查、我发现从 CV:UMat 复制到 CV::Mat 需要很长时间(640x480图像需要~100ms)、但从 CV:::Mat 复制到 CV::UMat 需要很长时间(~1ms)。
我的问题如下:
1.为什么从 CV::UMat 到 CV:-Mat 的副本很慢? 为什么从 CV::Mat 到 CV:UMat 的复印不相同?
2. CV:Mat 图像与 AM5728上的 CV:UMat 图像有何不同?
3.是否有办法加快从 CV:UMat 到 CV:Mat 的复制速度?
此致、
制造商