How to convert pixel color white to black and other color to white
    4 次查看(过去 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 个评论
回答(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!


