finding the coordinates of points with maximum intensity
Show older comments
i have a image file of a welded metal in jpg format. In the image ,the defect in welding appears as an object having maximum intensity.I need a code that can convert the coordinates having intensity above a certain given threshold to '1' and all other points below threshold to '0'. please help. thanks
Accepted Answer
More Answers (1)
Image Analyst
on 16 Oct 2014
6 votes
This is just what my Image Segmentation Tutorial does. http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862 Then it goes beyond that - it also finds centroid, area, etc. and crops out the regions. Adapt it as needed.

3 Comments
Mohammad Abouali
on 16 Oct 2014
There should be a thumbs up button for MATLAB answer. Nice tool.
Image Analyst
on 16 Oct 2014
You can click on the Vote triangle under the user's avatar. Thanks!
Mohammad Abouali
on 16 Oct 2014
Nice. I never saw that before.
Categories
Find more on Blue in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!