I am trying to detect rectangular shapes in c# and with aforge.net.
The Problem is not the detection itself. It is to find a reliable algorithm to preprocess the image for detection. There is a lot of noise in the images:
I use a SISThreshold and various dilatation and opening filters, as well as edge detection. The square between 3 and 4 is not detected. I think because of the uneven edge of the square.
Do you have a more reliable algorithm or some Tips to improve my detection?