i have black images and black images contains small white led, how could i convert the images in black to 0 (binary) and the images in small led to 1?
2 ビュー (過去 30 日間)
古いコメントを表示
i have black images and black images contains small white led, how could i convert the images in black to 0 (binary) and the images in small led to 1?
0 件のコメント
回答 (1 件)
Image Analyst
2015 年 2 月 28 日
You forgot to attach the images, but it sounds like you just threshold them
binaryImage = grayImage > someValue;
someValue would be some gray level, like 128 or whatever.
2 件のコメント
Image Analyst
2015 年 2 月 28 日
So you get an IR sensor, like a CCD camera with the IR filter removed.
参考
カテゴリ
Help Center および File Exchange で Image Processing and Computer Vision についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!