Remove Black Lines Using HoughLines Function
Ältere Kommentare anzeigen
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 Kommentare
Muhammad Usman Saleem
am 14 Sep. 2016
can use adobe photoshop also cropping in paint, let try this?
Walter Roberson
am 14 Sep. 2016
I'm pretty sure Photoshop does not use houghlines ;-)
Angga Lisdiyanto
am 15 Sep. 2016
Walter Roberson
am 15 Sep. 2016
It is probably possible.
Antworten (1)
Image Analyst
am 15 Sep. 2016
0 Stimmen
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 Kommentare
Angga Lisdiyanto
am 15 Sep. 2016
Image Analyst
am 15 Sep. 2016
Ok, but where is your call to houghlines?
Kategorien
Mehr zu Image Segmentation finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!