correction of rough edges for image detection
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I am working on code to detect the edges of printed capacitors that we print in my lab.
I have little (honestly almost none) knowledge about image processing. I have been able to write some code that I can find the edges of a capacitor in an image and label those edges with markers. This code right now only works with a test image I made in paint. However when I try to run it on a real image I find broken, false or non-dectected lines.
I do not have any idea how to improve this. I have looked through and played with all the functions in the image processing tool box. Some made minor improvements but I am still not able to get the correct detection.
I have read that you can blur the edges then re-detect them. I was not sure however if this will change the length or position of the line/edge. If this is true this method will not work for me since I need as precise measurements as I can get.
I have attached the simple paint image I made, a real image of a printed capacitor, and the code.
If anyone has any suggestions I would be deeply appreciative. Thank you all for your help.
6 Commenti
Image Analyst
il 7 Feb 2019
No - lots of problems with your code. Just see my attached code.


Risposte (0)
Vedere anche
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!