Info

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

i am working on breaking of image into parts in matlab.. when sub parts of images came to me then there are some black(0 vales) matrices(3*3,or 5*5).i need help how i can avoid these sub-images (or how to use other sub-image excepts these)

1 回表示 (過去 30 日間)
M Shujah Islam Sameem
M Shujah Islam Sameem 2015 年 6 月 25 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I am student of M.Phil in QAU Islamabad Pakistan.I need help.i am working on breaking of image into parts in matlab.. when sub parts of images came to me then there are some black(0 values) matrices(3*3,or 5*5). i need help how i can avoid these sub-images (or how to use other sub-image excepts these)

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 6 月 25 日
if nnz(TheSubmatrix) == 0
return; %or whatever to avoid doing processing
end

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

Community Treasure Hunt

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

Start Hunting!

Translated by