how can i find center line of weld defect image, and how recoginze object

4 Ansichten (letzte 30 Tage)
In welding defect image found 3 objects want center line these objects , and may i ask how can i recognize these objects for welding defect imge ,i want example code for recognize object and find center line of those .
age ,

Akzeptierte Antwort

Image Analyst
Image Analyst am 9 Apr. 2014
You say you found them already, and I can tell this is the case because you must have used bwboundaries on the binary image so that you could plot the outlines in red. So just pass that binary image into regionprops and ask for the centroid. I'm not sure how you define centerline, but you can also ask for orientation (the angle) and the majoraxis length. From those 3 measurements you can probably get "the center line" according to your definition.
  6 Kommentare
ah gh
ah gh am 4 Mär. 2016
Hi Dear Thet Aung Your sample code in detection of welding defects is very good and helpful for me. Do you write any classifier for this weld detection?? Thanks

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by