Failed to generate gpu code with gpu coder because of regionprops
1 次查看(过去 30 天)
显示 更早的评论
Hi, I am trying to generate my matlab code into cude code, but I run into trouble.
```
boxs = regionprops(bw, 'BoundingBox');%return (x,y,width,height)
```
I use the regionprops function, which is said that can be translated by gpu code. I don't know how to solve it.
0 个评论
回答(1 个)
Gautam Chavali
2020-2-25
Hi Zhankun,
The function 'regionprops' is not yet supported by GPU Coder.
Try using 'bwlabel' or 'bwconncomp' to suit your needs.
Thanks
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Computations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!