フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Hi, i need to divide all 5 images into 16x16 block, then perform "minus" operation (i.e 1st from 3rd image, then calculate "mean").Likewise for (3rd and 5th image) and (2nd and 4th image) using block process

1 回表示 (過去 30 日間)
kaavya subramani
kaavya subramani 2016 年 6 月 29 日
閉鎖済み: Walter Roberson 2016 年 6 月 29 日
Thanks a lot sir, i have tried code using those 2 function, please check whether it is correct. n=16*ones(1,16) k=[img1 img2 img3 img4 img5] for i=1:length(k) blockres(i)=mat2cell(i,n,n) end for p=1:length(blockres)-2 for q=2+p:length(blockres) minus(p)=cellfun(@minus,p,q,'uniform',0) end sum(p)=cellfun(@sum,minus,'uniform',0) end mean(p)=cellfun(@mean,sum,'uniform',0)

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by