필터 지우기
필터 지우기

How to Subtract two jpg image of different dimension?

조회 수: 1 (최근 30일)
Anitha Thomas
Anitha Thomas 2019년 3월 11일
답변: Walter Roberson 2019년 3월 11일
Imback = rand(3024, 4032, 3);
Imback1 = rand(480, 720, 3);
f=Imback(1:480, 1:720, 3);
Diff1 = uint8(imresize(Imback,[480 720 3])-Imback1);
i am getting error

채택된 답변

Walter Roberson
Walter Roberson 2019년 3월 11일
use [480 720] not [480 720 3]

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by