Padding border of a non-uniform region with a value
2 次查看(过去 30 天)
显示 更早的评论
I would like to add one-pixel padding to the border of a non-uniform region. Instead of looping each pixel and check its 8-pixels neighborhood, is there any efficient way to do it?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!