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

Dipy visualization (fvtk) crash when saving series of images #645

mick-d opened this Issue May 12, 2015 · 1 comment


2 participants
Copy link

mick-d commented May 12, 2015

I wrote a script to save a series of slice visualization (ellipsoids) with dipy vtk module (fvtk). However after a few slices (around 6) python crashes with only error message "Segmentation fault (core dumped)".

The script goes:

tenmodel = dti.TensorModel(my_gradient_table)
tenfit =
RGB = color_fa(my_FA_image, tenfit.evecs)
sphere = get_sphere('symmetric724')
ren =
for iSlice in range(0,tenfit.evals.shape[2]):
    fvtk.add(ren, fvtk.tensor(tenfit.evals[:,:,iSlice:iSlice+1], tenfit.evecs[:,:,iSlice:iSlice+1], RGB_scaled[:,:,iSlice:iSlice+1], sphere))
    fvtk.record(ren, n_frames=1, out_path='slice_'+("%03d" % iSlice)+'.png', size=(1000, 1000)) 

This comment has been minimized.

Copy link

skoudoro commented Sep 20, 2018

This issue was moved to fury-gl/fury#2

@skoudoro skoudoro closed this Sep 20, 2018

@skoudoro skoudoro moved this from Issues to Done in Viz Module Oct 31, 2018

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