finding the coordinates of points with maximum intensity
显示 更早的评论
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
采纳的回答
更多回答(1 个)
Image Analyst
2014-10-16
6 个投票
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 个评论
Mohammad Abouali
2014-10-16
There should be a thumbs up button for MATLAB answer. Nice tool.
Image Analyst
2014-10-16
You can click on the Vote triangle under the user's avatar. Thanks!
Mohammad Abouali
2014-10-16
Nice. I never saw that before.
类别
在 帮助中心 和 File Exchange 中查找有关 Blue 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
