Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

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 Ansicht (letzte 30 Tage)
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)

Antworten (1)

Walter Roberson
Walter Roberson am 25 Jun. 2015
if nnz(TheSubmatrix) == 0
return; %or whatever to avoid doing processing
end

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by