Consider the image segmentation of a binary image . You have to find a path from the two encircled pixels with gray level 1.

4 views (last 30 days)
Consider the image segmentation of a binary image shown below. You have to find a path from the two encircled pixels with gray level 1 (top-left and bottom-right pixels). Show the path by drawing the image and connecting the points that make the path
  4 Comments
Maher Mehro
Maher Mehro on 19 Feb 2020
1 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 1 this is ka matrix with p=(1,1)and q=(5,5) and v={1} if there exist path between p and q... How I make code for checking connectivity between them.. Step by step... 4-connectivity 8-connectivity and m-connectivity..

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!