How can I rotate a volshow image programatically?
古いコメントを表示
Hi!
I have a volshow image of a brain and I want to rotate it programatically (and then use getframe to write a video with writeVideo).
I tried using CameraPosition and CameraDirection of the Viewer3D parent object, but I have no clue how these work (and whether I need to move LightPosition with the camera). It seems highly complicated to move the camera around the brain like this. Is there an easier way to do that? Can I rotate the volume instead of the camera?
2 件のコメント
Image Analyst
2024 年 5 月 23 日
Did you want to just rotate the data and axes together, like with view, or did you (for some reason) want to rotate the volume within the fixed axes (keep axes and viewing angle fixed)?
Carsten
2024 年 5 月 23 日
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Computer Vision Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!