MATLAB: How to get non zero elements from an image

image processing

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…

Best Answer

nonzeros(yourImage)
Related Question