what should i do to make both images of same size

9 visualizaciones (últimos 30 días)
Komal Gaikwad
Komal Gaikwad el 3 de Abr. de 2018
Respondida: Von Duesenberg el 3 de Abr. de 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

Respuesta aceptada

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

Más respuestas (1)

KSSV
KSSV el 3 de Abr. de 2018
Editada: KSSV el 3 de Abr. de 2018

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by