Put some background pixel into top and bottom of a image
1 次查看(过去 30 天)
显示 更早的评论
![](/matlabcentral/answers/uploaded_files/61812/q3.jpg)
I have a image like this and I want to put some background pixels to top and bottom of the image. How to do this??
0 个评论
回答(1 个)
Image Analyst
2016-10-23
Expand the canvass with padarray(). Then use copy and paste, like my attached demo.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!