Sampling nodes equally to cover all the environment
Show older comments
if i have this binary image, and i would like to distributed nodes in
the white area, which is the best way can distributed nodes to cover all the environments equally?

4 Comments
Walter Roberson
on 28 Jul 2019
How is "covering" the environment "equally" defined ? Is it just pure line of sight, so a node carefully placed along the bottom a bit left of the right edge, could just "nick" the black part on line of sight to get at least 20% of the way up along the right-hand edge? Is it defined by distance, and if so does the black part block signals? Is it okay if there are points that are not covered? Is the task to find the mininum number of locations that somehow cover the white part? -- which is something that could fall apart if the black changed just a little?
mohammed alany
on 28 Jul 2019
Walter Roberson
on 28 Jul 2019
As a first attempt, you could find() the row, column positions of all of the white pixels. Arrange as row column pairs as rows [r1 c1; r2 c2; ...]. Now kmeans requesting 50 clusters.
mohammed alany
on 28 Jul 2019
Accepted Answer
More Answers (0)
Categories
Find more on Image Acquisition Support Packages for Hardware Adaptors (Generic Video Interface) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!