how to get non zero elements from an image

i needed histogram of non zero elements from an image.... please could someone help me, how to get the non zero elements from an image...

 採用された回答

Matt J
Matt J 2012 年 12 月 31 日

0 投票

nonzeros(yourImage)

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by