Afficher commentaires plus anciens
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 commentaire
Walter Roberson
le 24 Mai 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.
Réponses (1)
Walter Roberson
le 24 Mai 2012
1 vote
Found it: viewshed() from the mapping toolbox.
Catégories
En savoir plus sur Image Arithmetic dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!