Rotating a 3D image?
조회 수: 3 (최근 30일)
이전 댓글 표시
What code could I use in order to be able to rotate a 3d image of a brain? Im using Matlab 2007 version, thanks in advance
댓글 수: 0
채택된 답변
Mike Garrity
2014년 7월 10일
The simplest way is actually to texture map it onto a flat surface:
img=imread('street1.jpg');
surf(0:1,0:1,zeros(2),img,'FaceColor','texturemap')
Those first three arguments are the X, Y, & Z coordinates. You might want to fiddle those to match the aspect ratio of your image.
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Neuroimaging에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!