Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
how to average image pixels without taking black color pixels (pixel=0)
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!