how to delete the white pixel(255) from grey scale image
2 ビュー (過去 30 日間)
古いコメントを表示
saravanakumar D
2013 年 12 月 29 日
コメント済み: Image Analyst
2013 年 12 月 29 日
I have to delete only 225 value white pixel from gray scale image. But i don't know how to identified each pixel from image and check if it is 255 and assign it's value to zero. Please help me
0 件のコメント
採用された回答
Azzi Abdelmalek
2013 年 12 月 29 日
編集済み: Azzi Abdelmalek
2013 年 12 月 29 日
im(im==255)=0
11 件のコメント
Image Analyst
2013 年 12 月 29 日
Why do you have both g and GRAY? You don't need two. And we're back to Azzi's original answer
g(g==255)=0;
GRAY(GRAY==255)=0;
Why didn't you follow his advice instead of doing things with for loops and two copies of the same image?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!