Borrar filtros
Borrar filtros

How to Subtract two jpg image of different dimension?

1 visualización (últimos 30 días)
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

Respuesta aceptada

Walter Roberson
Walter Roberson el 11 de Mzo. de 2019
use [480 720] not [480 720 3]

Más respuestas (0)

Categorías

Más información sobre Read, Write, and Modify Image en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by