How do I highlight very faint lines from an image?
3 views (last 30 days)
Show older comments
I am trying to check snapshots from a live video source for the existence of lines. I was hoping to do this with the edge() function, however, the real lines are too faint and instead the granularity of the image is highlighted. Is there a way to alter the image to make the lines stand out more? Altering the actual imaging setup is not an option.
I have attached an example photo. Some of the faint lines that I would like to highlight can be seen in the lower right part of the image.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/354272/50656B42-2F85-46E9-A3F2-0836387FA3AB.jpeg)
0 Comments
Answers (1)
Peter O
on 1 Sep 2020
Have you tried the Hough transform?
https://www.mathworks.com/help/images/ref/houghlines.html
5 Comments
Peter O
on 3 Sep 2020
I don't have much experience with desgining image filters, but a few other contributors do. Does Image Analyst's suggestion in the post below help? It looks like you might be able to pick out the peaks in the spectral plot:
If it the spectrum is obscured in the full image, perhaps try cropping the test image to the portions containing the lines to get the pixel frequency.
See Also
Categories
Find more on Geometric Transformation and Image Registration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!