UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

取消
显示结果 
搜索替代 
您的意思是: 
Visitor yanjian
Visitor
224 次查看
注册日期: ‎11-28-2018

vivado hls 如何获取单个像素点值????

 

for (int i = 0; i < rows; i++) {
for (int j = 0; j < cols; j++)
{
dst >> arry_imga[i][j];
}
}

 

arry_imga[i][j]是数组类型,想把图像变成数组。

0 项奖励
2 条回复
Xilinx Employee
Xilinx Employee
184 次查看
注册日期: ‎07-17-2008

回复: vivado hls 如何获取单个像素点值????

你的dst是什么类型的?

建议你看一下UG902文档中OpenCV Interface Functions部分的内容,选取适合你设计的接口函数加以利用。

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
Visitor yanjian
Visitor
175 次查看
注册日期: ‎11-28-2018

回复: vivado hls 如何获取单个像素点值????

能否提供参考例程 ,谢谢!  UG902研究了好几遍了  没结果!!!

0 项奖励