Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make video/gif that goes through all slices of high res volume #15

Open
KirstieJane opened this issue Jun 23, 2016 · 2 comments
Open

Make video/gif that goes through all slices of high res volume #15

KirstieJane opened this issue Jun 23, 2016 · 2 comments

Comments

@KirstieJane
Copy link
Member

KirstieJane commented Jun 23, 2016

Kirstie's code for making pngs of all slices of a stats file on top of a high res background.

Added to DrawingVolumes directory.

Updated plan is to convert this code to nipy and nilearn and use PIL to combine the images into a gif.

Check out this advice on stackoverflow: http://stackoverflow.com/a/35943809

Additional stretch goal is to include an overlay for stats files :)

@KirstieJane KirstieJane changed the title Automatically generating pngs of slices from 3D images Make video/gif that goes through all slices of stats volume Jun 24, 2016
@KirstieJane KirstieJane changed the title Make video/gif that goes through all slices of stats volume Make video/gif that goes through all slices of high res volume Jun 24, 2016
@miykael
Copy link
Collaborator

miykael commented Jul 20, 2018

Hey @KirstieJane - as I know that your a big fan of brain-gifs, I by the way wrote a short script that does this in all three directions: https://github.com/miykael/gif_your_brain#grayscale-gif

It uses nilearn and from imageio import mimwrite to create a gif directly out of the 3D volume. Perhaps something of this helps for this Issue.

@KirstieJane
Copy link
Member Author

❤️ ❤️ ❤️ THANK YOU!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants