EtienneCmb / visbrain

A multi-purpose GPU-accelerated open-source suite for brain data visualization
http://visbrain.org
Other
241 stars 64 forks source link

Animated iEEG measurements projected on brain #95

Open benelot opened 3 years ago

benelot commented 3 years ago

I feel like I am missing something. I would like to use our iEEG recordings and animate their values as a projection on the brain in their respective MNI location. I wonder if I really have to rebuild every scene with new values in the SourceObj or if there is an easier way to get that? Basically any option to play a timeseries of values on the brain and record it would be great.

EtienneCmb commented 3 years ago

SHI @benelot,

This is a good question. Actually, for the moment it requires to recompute the projection for each time point. And I believe the computations are needed in order to blend the colors together.

About the SceneObj systematic redefintiion, I do agree that it's not the best way for creating animations. Maybe the best is to define a BrainObj, computes the projection and save the result as a single png file and finally to create the animation using the screenshots.

benelot commented 3 years ago

Thanks for pointing out that this is the way to go! I realized today that it is really possible to reproject and colorize with new data to change things without rebuilding the scene from scratch. That is already pretty great as I can just do some loops that load and apply new data, then take automated screenshots.

Thanks for the great library, it really simplifies making my brain visualizations for an upcoming paper.

I will drop some example here as soon as I get it right.

EtienneCmb commented 3 years ago

Thanks, always good to hear ! Yes, drop your animation, I'm curious to see the result !

++