How to increase image size while keeping image sharp?
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
This is a pretty general question. I took a screenshot of the MATLAB toolstrip (actually part of it).
It looks great except I want it bigger. So I use imresize( ),
B = imresize(A, 4);
but it looks pixelated.
Is there a better way to do this?
回答(1 个)
Image Analyst
2021-5-11
You need to use the nearest option:
B = imresize(A, 4, 'nearest');
5 个评论
Image Analyst
2021-5-11
Yes, it can be, which is good for me because that's my whole career and it's good if people think it's hard because they are impressed with my work.
Post your original image if you want.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!