Padding border of a non-uniform region with a value

1 visualización (últimos 30 días)
Hg
Hg el 30 de Nov. de 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?

Respuestas (0)

Categorías

Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by