Padding border of a non-uniform region with a value
1 回表示 (過去 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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/152341/image.png)
0 件のコメント
回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!