Azzera filtri
Azzera filtri

what should i do to make both images of same size

5 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

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

Più risposte (1)

KSSV
KSSV il 3 Apr 2018
Modificato: KSSV il 3 Apr 2018

Community Treasure Hunt

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

Start Hunting!

Translated by