line of sight
古いコメントを表示
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 件のコメント
Walter Roberson
2012 年 5 月 24 日
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.
回答 (1 件)
Walter Roberson
2012 年 5 月 24 日
1 投票
Found it: viewshed() from the mapping toolbox.
カテゴリ
ヘルプ センター および File Exchange で Read, Write, and Modify Image についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!