Padding border of a non-uniform region with a value

2 vues (au cours des 30 derniers jours)
Hg
Hg le 30 Nov 2015
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?

Réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by