For the sake of processing time, Oufti does not return those fields automatically. However, we have included the code that will calculate those fields:
Look in the extern folder of the source code download and you will find a matlab function called "getextradata.m" Add this folder to your Matlab path, or copy it to a directory that is in your path. You can also find it on our lab's Github page (
https://github.com/JacobsWagnerLab/Oufti/blob/44deff95dd0f91a42901a6c85ed8a3eaf610ae7a/oufti_windows/source/extern/getextradata.m)
To calculate these fields for the cell at index cellNumber in frame frameNumber:
>> cellList.meshData{frameNumber}{cellNumber} = getextradata(cellList.meshData{frameNumber}{cellNumber});
And of course, you can iterate through all frames and all cells to do this for an entire cellList:
for frameNumber = 1:length(cellList.meshData)
for cellNumber = 1:length(cellList.meshData{frameNumber})
%getextradata will check to make sure that the cell is valid, so no
%need to check here
cellList.meshData{frameNumber}{cellNumber} = getextradata(cellList.meshData{frameNumber}{cellNumber});
end
end
I hope this helps. The output is in pixel, pixel² or pixel³, depending on the variable. Use your camera's pixel to convert these values into µm/µm²/µm³.