フィルターのクリア

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 Center および File ExchangeRead, 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