Remove Black Lines Using HoughLines Function
Show older comments
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 Comments
Muhammad Usman Saleem
on 14 Sep 2016
can use adobe photoshop also cropping in paint, let try this?
Walter Roberson
on 14 Sep 2016
I'm pretty sure Photoshop does not use houghlines ;-)
Angga Lisdiyanto
on 15 Sep 2016
Walter Roberson
on 15 Sep 2016
It is probably possible.
Answers (1)
Image Analyst
on 15 Sep 2016
0 votes
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.
2 Comments
Angga Lisdiyanto
on 15 Sep 2016
Image Analyst
on 15 Sep 2016
Ok, but where is your call to houghlines?
Categories
Find more on Image Segmentation 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!