reduce number of points in activecontour?
2 次查看(过去 30 天)
显示 更早的评论
I am using the activecontour function and getting a mask back. Then, I want to use bwboundaries to extract the coordinates, and that works well too. However, I'm getting too many points, and would like to have less (it's ok if the contour will be less smooth as a result). But I cannot find how do I do that, assuming I use the Chan-Vese method, and not 'Edge' (meaning, I can't use SmoothFactor property).
0 个评论
采纳的回答
Walter Roberson
2017-11-28
It might also be suitable to do spline interpolation. Or you might be able to use the interparc File Exchange contribution (which uses spline interpolation in some cases.)
7 个评论
Walter Roberson
2017-11-30
I tried reducepatch but I found that it generated a lot of triangles. Perhaps if I had used boundary() (an active contour) on the vertices after that...
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Lighting, Transparency, and Shading 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!