Padding border of a non-uniform region with a value

조회 수: 2 (최근 30일)
Hg
Hg 2015년 11월 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개)

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by