Problem with voxel integration

조회 수: 2 (최근 30일)
Andre Leitao
Andre Leitao 2018년 10월 25일
댓글: Andre Leitao 2018년 11월 10일
Hi I want to integrate 4 matrices (4 volumes) of 128x128x128 int16 aquired in 4 time point. So, a voxel (k,l,m) of each matrice is a Y(k,l,m) of bi-exponencial time function. Thats the raw data that I have in hands.
The thing is that the funcions, that I know, intregrate the pages of a multidimensional array resulting in a 128x128 matrix. For my problem, that would not work.
One way that I thougt, is to build 128 matrices of 128x128x4 realocating all the voxels, do the trapz integration, resulting in 128 matrices of 128x128 and finally build all the pages together in a single multidimensional array. But that solution seems like too much trouble.
Is it possible to integrate the 4 matrices % voxel-Timepoint-1(k,l,m) to voxel-Timepoint-n(k,l,m) % resulting in a single matrix of 128x128x128 int16 using a vector of X values (time point) Ex: tp = [4 24 48 72]? If so, how?
Thanks for your attention.
  댓글 수: 1
Andre Leitao
Andre Leitao 2018년 11월 10일
Solved Had to "double" and CONCATENATE cat(4,t1,t2,t3,t4) all matrices into a hypercube (128,128,4,128) double Than easily integrate with trapezoid function, using a time vetor: trapz(x,y,4)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by