How to count the white pixels for each column in a binary image

 Réponse acceptée

KSSV
KSSV le 5 Déc 2018
Modifié(e) : KSSV le 5 Déc 2018
I = imread('download.png') ;
I = rgb2gray(I) ;
idx = I~=0 ;
iwant = sum(idx)

Plus de réponses (0)

Question posée :

Anu
le 5 Déc 2018

Commenté :

Anu
le 5 Déc 2018

Community Treasure Hunt

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

Start Hunting!

Translated by