Necesito encontrar un punto láser con una cámara web y almacenar sus coordenadas. Mi primer paso sería encontrar el color rojo en la imagen y luego almacenar las coordenadas d
12 views (last 30 days)
Show older comments
Necesito encontrar un punto láser con una cámara web y almacenar sus coordenadas. Mi primer paso sería encontrar el color rojo en la imagen y luego almacenar las coordenadas del resultado. Mi problema es que no sé cómo encontrar un color (específicamente el rojo) en una imagen RGB. Solo trabajé con Matlab durante medio año.
1 Comment
Rik
on 3 Dec 2025 at 8:57
Your question sounds like homework. You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks). If your main issue is with understanding the underlying concept, you may consider re-reading the material you teacher provided and ask them for further clarification.
As to your question: think about what characteristics a red pixel would have that other pixels wouldn't. What exactly would you be looking for?
In your follow-up, it would also help if you include an example image.
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!