what should i do to make both images of same size

5 次查看(过去 30 天)
lena.jpg image is having value 256*256 uint8 while kssk.jpg is having value 225*225*3 uint8. i want image of value 256*256 uint8,how to make it same or anyone is having pls attach sample

采纳的回答

Von Duesenberg
Von Duesenberg 2018-4-3
im = imread('kssk.jpg');
newIm = rgb2gray(imresize(im, [256, 256]));

更多回答(1 个)

KSSV
KSSV 2018-4-3
编辑:KSSV 2018-4-3

标签

Community Treasure Hunt

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

Start Hunting!

Translated by