Put some background pixel into top and bottom of a image
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
![](/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 Kommentare
Antworten (1)
Image Analyst
am 23 Okt. 2016
Expand the canvass with padarray(). Then use copy and paste, like my attached demo.
2 Kommentare
Image Analyst
am 23 Okt. 2016
The newly attached version also handles color and indexed images.
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!