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 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (1)
Image Analyst
am 28 Feb. 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 Kommentare
Image Analyst
am 28 Feb. 2015
So you get an IR sensor, like a CCD camera with the IR filter removed.
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!