Localization defect real coordinate

4 views (last 30 days)
Ive been doing some reseach on localizing defect and actually to provide information about the real coordianate of the defect such as in x and y axis or meters. im detecting red colour, filter it and i segmentized it. But i couldnt find the algorithm to locate the actual location of the defect in the thermal image.

Accepted Answer

Image Analyst
Image Analyst on 16 Oct 2020
What do you mean by "actual location"? Do you want a list of all the (row, column) coordinates of all the pixels in your blob? Or just the centroid? See my Image Segmentation Tutorial in my File Exchange
Do you want in real world units, like meters? See attached spatial calibration demo.
Do you need to calibrate for non-planar scenes? If so see https://www.mathworks.com/products/computer-vision.html#camera-calibration
  41 Comments
Image Analyst
Image Analyst on 20 Feb 2021
Sure. Start a new question since it doesn't involve the same images as the original at the top of the page. Then, after reading this link,
attach your image and code that messed up.
Faiz Yusoff
Faiz Yusoff on 21 Feb 2021
i already start a new question with the code, wish you could help, thank you.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!