Failed to generate gpu code with gpu coder because of regionprops
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Gautam Chavali
on 25 Feb 2020
Hi Zhankun,
The function 'regionprops' is not yet supported by GPU Coder.
Try using 'bwlabel' or 'bwconncomp' to suit your needs.
Thanks
0 Comments
See Also
Categories
Find more on Matrix Computations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!