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?

1 回表示 (過去 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?

回答 (1 件)

Image Analyst
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 件のコメント
noha maabreh
noha maabreh 2015 年 2 月 28 日
its IR light in dark so its hard to detect, and thank you.
Image Analyst
Image Analyst 2015 年 2 月 28 日
So you get an IR sensor, like a CCD camera with the IR filter removed.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by