line of sight

9 views (last 30 days)
Stephen
Stephen on 24 May 2012
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 Comment
Walter Roberson
Walter Roberson on 24 May 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.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 24 May 2012

Categories

Find more on Read, Write, and Modify Image 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!