how to downscale the image

I have a image size of 150 * 300
which is a refernce image
now i have new image size of
195 * 415
i need to downscale to 150 * 300
how can i do this

回答(1 个)

Use imresize
resizedImage = imresize(originalImage, [150, 300]);

类别

帮助中心File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息

提问:

2018-12-21

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by