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 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Image Analyst
el 28 de Feb. de 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 comentarios
Image Analyst
el 28 de Feb. de 2015
So you get an IR sensor, like a CCD camera with the IR filter removed.
Ver también
Categorías
Más información sobre Convert Image Type en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!