line of sight
Mostra commenti meno recenti
is there a nice way to get the line of sight from one pixel to the remaining pixels in an image? like if I had a binary image of a 5-pointed star, each point would only have line of sight to nearby arms in 2-D. or in 3-D, if there was a hemisphere surface, the apex of the hemisphere would have line of sight on nearby pixels, but not the outermost edges because of the curvature of the hemisphere (like the horizon of the earth). thanks
1 Commento
Walter Roberson
il 24 Mag 2012
Do you have the mapping toolbox? There is a function in there that does this for 3D. Unfortunately I do not remember the function name.
Risposte (1)
Walter Roberson
il 24 Mag 2012
1 voto
Found it: viewshed() from the mapping toolbox.
Categorie
Scopri di più su Read, Write, and Modify Image 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!