Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想增加相对于像素的图像大小,即大小为 150x225 的图像应更改为 250x250。我怎样才能在 Matlab 中做到这一点?
您可以使用 matlab 函数imresize。
imresize
例如B = imresize(A, [250 250]); ,A您的初始图像大小(150x225)在哪里。
B = imresize(A, [250 250]);
A