Percentage of white pixel
- by AZIRAR
After performing processing I want to calculate the percentage of white pixels between this images after the change.
I'm doing this: var = (int2str(nnz(Img2)) / int2str(nnz(Img1))) * 100;
but it returns as result ]
What's the problem ?