Detecting LED array
Hey guys,
im working on a project (Qt & C++) to detect an 10x11 LED array in an image. I need the (center)coordinates from each LED to measure the time. I tried several methods (HoughCircle, contour detection, blob detection) but non of them is robust enough to detect all 110 LEDs due to changes in illumination, reflections on the LEDs and noise in the image. Has anyone an idea how to deal with this?
My image roi looks like this:
Just switch to HSV space and threshold on the red color region. That will work perfectly in this case and illumination is less important in that space.
Thx Steven, but detecting only the red ones is not my problem. I need the coordinates from all 110 LEDs no matter if they're on or off.
Can't you fix the camera and mark the LED centers manually?
No, different cameras and focal length.