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?
您可以尝试使用侵蚀来消除噪音,或尝试使用BradleyLocalThresholding而不是SISThresholding。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.