Sampling nodes equally to cover all the environment
Mostra commenti meno recenti
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 Commenti
Walter Roberson
il 28 Lug 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
il 28 Lug 2019
Walter Roberson
il 28 Lug 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
il 28 Lug 2019
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su National Instruments Frame Grabbers in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!