what should i do to make both images of same size

조회 수: 7 (최근 30일)
Komal Gaikwad
Komal Gaikwad 2018년 4월 3일
답변: Von Duesenberg 2018년 4월 3일
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일

카테고리

Help CenterFile Exchange에서 Geometric Transformation and Image Registration에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by