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 vue (au cours des 30 derniers jours)
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?

Réponses (1)

Image Analyst
Image Analyst le 28 Fév 2015
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 commentaires
noha maabreh
noha maabreh le 28 Fév 2015
its IR light in dark so its hard to detect, and thank you.
Image Analyst
Image Analyst le 28 Fév 2015
So you get an IR sensor, like a CCD camera with the IR filter removed.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by