필터 지우기
필터 지우기

how to to divide two images with different size ?

조회 수: 1 (최근 30일)
ghada sandoub
ghada sandoub 2019년 2월 20일
댓글: ghada sandoub 2019년 2월 20일
i have two images, the first one size is 625x948x3 and the second one size is 633x948x3 .. how can i make the two images with the same size to make division correctly??

채택된 답변

KSSV
KSSV 2019년 2월 20일
Read about imresize
  댓글 수: 1
ghada sandoub
ghada sandoub 2019년 2월 20일
thanks alot but i already read about imresize but still don't understand how to resize it or which command format is more suitable to my case.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Image Analyst
Image Analyst 2019년 2월 20일
How about imresize():
image2 = imresize(image2, [size(image1, 1), size(image1, 2)]); % Make rows and columns of image2 the same as image 1.

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by