rotation of 4D data
조회 수: 2 (최근 30일)
이전 댓글 표시
I have XYZ matrix of some intensity V space distribution and I need to rotate it. Values of V are placed in each voxel of XYZ matrix. Coordinate vectors are regularly spaced and known: 0...xMax, 0...yMax, 0...zMax.
I know about matrices of rotation, but if I understand correct, their application needs matices of following XYZ_ format:
XYZ_ =
x1 x2 x3 ... xMax
y1 y2 y3 ... yMax
z1 z2 z3 ... zMax
V1 V2 V3 ... VMax
It can be used too simple solution by organizing tree loops for x, y, z coordinates and shaping inside these loops this XYZ_ matrix, but it seems that should exist more clever solution. Number of voxels is in order of 10^8.
How is it possible to reshape XYZ matrix into XYZ_ one in less time consuming way and rotate it?
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 3-D Scene Control에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!