フィルターのクリア

Info

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

Having trouble understanding some code

2 ビュー (過去 30 日間)
Andy
Andy 2013 年 4 月 16 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
%
[col,row]=size(bw);
prj=zeros(col,1);
for i=1:col
for j=1:row
if bw(i,j)==0
prj(i)=prj(i)+1;
end
plot(prj(i));
end
end
The above code is to do a horizontal projection on an image, however, I am not sure how it works and I try to make a plot for the nested loop to get a better understanding but its crashing my computer. Any one kind enough to share some insight into how this works? Help much appreciated, thanks.
-AT

回答 (0 件)

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by