Remove Black Lines Using HoughLines Function
显示 更早的评论
Hi, i want to remove a black lines on image by using houghlines function.
I want like this :
- Detect and remove all horizontally lines with all pixel which bounds with it.
- Detect and remove vertically lines.
Here is process's looks like :

Is this possible?
Please help me...
Many thanks before... :)
4 个评论
Muhammad Usman Saleem
2016-9-14
can use adobe photoshop also cropping in paint, let try this?
Walter Roberson
2016-9-14
I'm pretty sure Photoshop does not use houghlines ;-)
Angga Lisdiyanto
2016-9-15
Walter Roberson
2016-9-15
It is probably possible.
回答(1 个)
Image Analyst
2016-9-15
0 个投票
How general and flexible does this need to be? Will you have other images? If so, will they be translated, rotated, or have different number or thickness of lines? If the lines are always in the same place, you just use a template to whiten everything in the template. Or you can try houghlines. There is demo code in the help. We assume you've tried it though you did not show us your code.
Your only question is "is this possible?", so the answer to that would be "Yes." Good luck. Write back with your code if you still need help, but only after you've read this link.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Segmentation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!