How to pad ones at end of the image?

1 view (last 30 days)
Hi I want to pad ones at end of image.Help me please....
  1 Comment
Jing
Jing on 5 Jun 2013
Do you want to insert a black or white frame outside of the image?

Sign in to comment.

Accepted Answer

Shaun VanWeelden
Shaun VanWeelden on 5 Jun 2013
There is literally a function called padarray.. It does a pretty nice job. http://www.mathworks.com/help/images/ref/padarray.html It's even in the image processing toolbox!

More Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!