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

3 ビュー (過去 30 日間)
Anu
Anu 2018 年 12 月 5 日
コメント済み: Anu 2018 年 12 月 5 日
l.PNG

採用された回答

KSSV
KSSV 2018 年 12 月 5 日
編集済み: KSSV 2018 年 12 月 5 日
I = imread('download.png') ;
I = rgb2gray(I) ;
idx = I~=0 ;
iwant = sum(idx)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeImage Segmentation and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by