Effacer les filtres
Effacer les filtres

what should i do to make both images of same size

5 vues (au cours des 30 derniers jours)
Komal Gaikwad
Komal Gaikwad le 3 Avr 2018
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

Réponse acceptée

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

Plus de réponses (1)

KSSV
KSSV le 3 Avr 2018
Modifié(e) : KSSV le 3 Avr 2018

Catégories

En savoir plus sur Geometric Transformation and Image Registration dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by