how to adjust image size
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
ash fairy
am 18 Jun. 2017
Beantwortet: Image Analyst
am 18 Jun. 2017
i have a point source image... i need to adjust its size...i want to maintain the size of point source as it is..but i need the background to be of size 512*512... i dont want to resize it...Just maintain point source as it is and increase the background width and height by 512*512
thanks in advance
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 18 Jun. 2017
Use padarray() to add a margin of pixels around the outer edge of the image while leaving the pixel dimensions of the original image the same. For example you could have a 123x128 image and use padarray() to pad the outside out to 512x512 but the original 128x128 will be the same, not all magnified.
0 Kommentare
Weitere Antworten (1)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!