How to convert pixel color white to black and other color to white
6 ビュー (過去 30 日間)
古いコメントを表示
dear all,
I need the information how to convert the white pixel to black, and convert the other colors in to white
thanks
5 件のコメント
Image Analyst
2012 年 12 月 16 日
Are you sure you have a true color image and not a gray scale uint8 image?
回答 (2 件)
Image Analyst
2012 年 12 月 16 日
On the wild chance that it's a gray level image...
binaryImage = grayScaleImage < 255;
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!