Info

この質問は閉じられています。 編集または回答するには再度開いてください。

how to average image pixels without taking black color pixels (pixel=0)

1 回表示 (過去 30 日間)
djamaleddine djeldjli
djamaleddine djeldjli 2018 年 3 月 8 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
i'm using m= mean2 (current_image);
mean2 takes all pixels ,the balckpixel=0 do not have value but they are counted in total number of pixels ( n )
mean2= h1+h2+....+h10+....+hn / n
if h1 = 0 ,so it is not counted in numerator but it is counted in the denominator
i wantn't count them in denominator
thanks in advance

回答 (0 件)

この質問は閉じられています。

製品

Community Treasure Hunt

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

Start Hunting!

Translated by