rotation of 4D data
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su 3-D Scene Control in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!