how to make pixels to black if it is more or less than threshold
이전 댓글 표시
sir i have a image of size 320X640 and it has divided into blocks of size 32X64 ie totally i have 100 blocks and and number of black pixel in each block is stored in a matrix (10X10)
now i need to make EACH BLOCK black if number of black pixels in each block is more or less(><)than 211 how can it be done plz help me
댓글 수: 1
Walter Roberson
2011년 3월 7일
That's a peculiar condition. How likely is it that the blocks of your image will have _exactly_ 211 black pixels ??
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Neighborhood and Block Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!