I need an algorithm to fill in the blank vertical path pixels.
1 view (last 30 days)
Show older comments

I need an algorithm to fill in the blank vertical path pixels.
0 Comments
Accepted Answer
Image Analyst
on 23 Jan 2025
Edited: Image Analyst
on 23 Jan 2025
You need an edge linking program. You basically need to label the lines with 8-connected pixels to give a label/number for each isolated line. Then you need to find the end points of each line and find the closest pixel on a line that has a different label/number. Then you need to draw a line connecting them.
See if you can adapt my attached edge linking demo.
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!