Azzera filtri
Azzera filtri

How to Subtract two jpg image of different dimension?

1 visualizzazione (ultimi 30 giorni)
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

Risposta accettata

Walter Roberson
Walter Roberson il 11 Mar 2019
use [480 720] not [480 720 3]

Più risposte (0)

Categorie

Scopri di più su Read, Write, and Modify Image in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by