I need an algorithm to fill in the blank vertical path pixels.

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

Accepted Answer

Image Analyst
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.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!