dfsp-spirit / fsbrain

R library for structural neuroimaging. Provides high-level functions to access (read and write) and visualize surface-based brain morphometry data for individuals and groups.
Other
65 stars 13 forks source link

Is it possible to visualize the Surface and Volume at the same time? #32

Closed wjddyd66 closed 3 years ago

wjddyd66 commented 3 years ago

If I read your example homepage (https://mran.microsoft.com/snapshot/2019-12-26/web/packages/fsbrain/vignettes/fsbrain.html), I looked at examples such as ROI or Surface.

What I am curious about is 1) LH Entorhinal Volume and 2)RH Entorhinal Thickness.

Is it possible to visualize cortical thickness and volume at the same time as follows?...

dfsp-spirit commented 3 years ago

It's not a design goal of fsbrain, but there is a unit test which does something similar to what I think you may want (it plots voxels and a surface into one view, see the test '"Brain structures can be rendered as contours using misc3d' in tests/testthat/test-u_vis_volume_3d.R:

fsbrain_volume_and_surface Fig.1: Ventricles in red (voxels), surface partly transparent with thickness values mapped. This is never gonna look great though.

Or do you just want plot the volume data after mapping them to surface space (i.e., you want to plot two different data sets at once, maybe with 2 color bars)?

I am not exactly sure how you expect the final plot to look if it is only for a single region. Do you have an example image from another visualization app or from a publication that shows what you want to achieve?

dfsp-spirit commented 3 years ago

@wjddyd66

Just a heads up on this in case it got lost: I still need more information from you.

Please answer my questions above if you are still interested in this. Otherwise I will just assume that this issue can be closed in 7 days.

All the best,

Tim