how to set black (pixel=0 or <20) to NaN in an image
조회 수: 11 (최근 30일)
이전 댓글 표시
채택된 답변
KSSV
2017년 8월 31일
Let I be your matrix....read using imread
If you want to make pixels [0 20] to NaN..do this:
I(I>=0 & I<= 20) = NaN
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!