QMRITools`GeneralTools`
QMRITools`GeneralTools`
Data3DToVector
Data3DToVector[data] converst the data to vector.
Data3DToVector[data,mask] converst the data within the mask to vector.
the data can be reconstructed using VectorToData.
output is the vecotrized data and a list contining the original data dimensions and a list with the data coordinates. {vec, {dim,pos}}.