how to downscale the image

1 次查看(过去 30 天)
OriAlpha
OriAlpha 2018-12-21
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 个)

Image Analyst
Image Analyst 2018-12-21
Use imresize
resizedImage = imresize(originalImage, [150, 300]);

Community Treasure Hunt

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

Start Hunting!

Translated by