Info
この質問は閉じられています。 編集または回答するには再度開いてください。
how to sum objects from 2 differents image and print the total
1 回表示 (過去 30 日間)
古いコメントを表示
I have 2 different images. I have applied connected components labeling to each of them to get the number of objects each of them containing. Now I want to count the number of objects of both images. Or May be using a for loop to count number objects in multiples different image. Any Ideas??
Thank you.
3 件のコメント
Walter Roberson
2017 年 7 月 20 日
grand_total = 0;
for k=1:selectedCard
[Label3, numObject4] = bwlabel(Iopened);
Total = sum(numObject4);
grand_total = grand_total + Total;
fprintf('\ntotal number of Clubs per card:%s' , numel(TotalSpade));
end
disp(grand_total)
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!