How to Subtract two jpg image of different dimension?

1 次查看(过去 30 天)
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